.goods-banner {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 48px);
    /* background: #ff6b6b; */
    background-image: url('../img/yellow.svg');
    background-size: 22rem;
    transition: background 0.8s ease;
    padding: 0 clamp(24px, 4vw, 72px);
    box-sizing: border-box;
  }

  /* 左边文字区域：覆盖 index.css 中 * { font-size: 10px }，使用正常字号 */
  .goods-banner-text {
    font-size: 16px;
    flex: 0 1 38%;
    color: #3A342E;
    max-width: 520px;
    margin-left: clamp(6%, 10vw, 14%);
    margin-right: clamp(0px, 1vw, 12px);
  }
  .goods-banner .goods-banner-text h1 {
    font-size: 40px;
    line-height: 1.3;
    margin: 0 0 20px 0;
    opacity: 1;
    transform: translateY(0);
  }
  .goods-banner .goods-banner-text p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 1;
    transform: translateY(0);
    margin: 0;
  }
  .goods-banner-text .goods-cta {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 30px;
    background: #ff6b6b;
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    opacity: 1;
    transform: translateY(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .goods-banner-text .goods-cta:hover {
    transform: scale(1.05);
  }

  /* 右边图片区域：放大并居中 */
  .goods-banner-images {
    flex: 1.35 1 58%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: min(88vh, 860px);
    min-height: clamp(400px, 62vh, 760px);
    max-width: 62%;
    margin: 0 auto;
  }
  .goods-banner-images img {
    position: absolute;
    top: 54%;
    left: 50%;
    width: auto;
    height: auto;
    max-width: min(100%, 680px);
    max-height: min(100%, 82vh);
    min-width: min(520px, 88%);
    min-height: min(520px, 82%);
    object-fit: contain;
    object-position: center;
    border-radius: 15px;
    cursor: default;
    transform: translate(-50%, -50%) scale(0.98);
    transition: opacity 0.35s ease;
    opacity: 0;
  }
  .goods-banner-images img.goods-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.12);
    z-index: 2;
  }

  @media(max-width: 900px) {
    .goods-banner {
      flex-direction: column;
      padding: 20px;
      text-align: center;
    }
    .goods-banner-text {
      margin-left: 0;
      max-width: 100%;
    }
    .goods-banner .goods-banner-text h1 {
      font-size: 28px;
    }
    .goods-banner .goods-banner-text p {
      font-size: 15px;
    }
    .goods-banner-images {
      flex: 1 1 auto;
      max-width: 100%;
      margin: 30px auto 0;
      height: min(55vh, 480px);
      min-height: 300px;
    }
    .goods-banner-images img {
      min-width: 0;
      min-height: 0;
      max-width: min(92vw, 420px);
      max-height: min(50vh, 420px);
    }
    .goods-banner-images img.goods-active {
      transform: translate(-50%, -50%) scale(1.06);
    }
  }
