.typageant-sale-banner {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 420px;
  overflow: hidden;
  background: rgb(var(--color-background));
}

.typageant-sale-banner__media {
  position: absolute;
  inset: 0;
}

.typageant-sale-banner__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.typageant-sale-banner__scrim {
  position: absolute;
  inset: 0;
  /* SHOPLINE 的配色变量存的是逗号分隔的裸数字（例如 223, 218, 206）。
     逗号写法不能再接斜杠透明度，rgb(var(--x) / y%) 会整条算成全透明，
     后台的 Overlay opacity 滑块就变成拖了没反应。颜色和透明度必须分开写。
     渐变方向：只护住左侧文案列，右侧主体保持原色不被洗白。 */
  background: linear-gradient(
    to right,
    rgb(var(--color-background)) 0%,
    rgb(var(--color-background)) 30%,
    transparent 68%
  );
  opacity: var(--scrim-opacity, 30%);
}

.typageant-sale-banner__inner {
  position: relative;
  width: 100%;
  max-width: 1760px;
  padding: 96px 80px;
  margin: 0 auto;
}

.typageant-sale-banner__content {
  max-width: 560px;
}

.typageant-sale-banner__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: #a68046;
}

.typageant-sale-banner__title {
  margin: 0 0 18px;
  /* 十周年主视觉:标题用 Playfair 衬线(与 Our Story 页同一套),撑出周年纪念感。 */
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 3.4vw, 50px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
}

.typageant-sale-banner__body {
  max-width: 460px;
  margin: 0 0 32px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.82;
}

.typageant-sale-banner__button {
  display: inline-block;
  padding: 15px 38px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  /* Driven by the scheme's text colour, not its button colour: in scheme-2 the
     button background equals the section background, which hides the button. */
  color: #fbfaf6;
  text-transform: uppercase;
  text-decoration: none;
  background: #a68046;
  border: 1px solid #a68046;
  /* 主题默认是 40px 胶囊；hero 的按钮已经统一成直角，这里跟上。 */
  border-radius: 2px;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.typageant-sale-banner__button:hover {
  background: #8e6d39;
  border-color: #8e6d39;
  color: #fff;
}

/* No background image: centre the copy instead of leaving half the band empty. */
.typageant-sale-banner--plain {
  min-height: 320px;
}

.typageant-sale-banner--plain .typageant-sale-banner__inner {
  padding-block: 80px;
}

.typageant-sale-banner--plain .typageant-sale-banner__content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.typageant-sale-banner--plain .typageant-sale-banner__body {
  margin-inline: auto;
}

@media (max-width: 959px) {
  .typageant-sale-banner {
    min-height: 340px;
  }

  .typageant-sale-banner__inner {
    padding: 56px 24px;
  }

  .typageant-sale-banner__content {
    max-width: none;
  }

  .typageant-sale-banner__eyebrow {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .typageant-sale-banner__title {
    margin-bottom: 14px;
  }

  .typageant-sale-banner__body {
    margin-bottom: 24px;
    font-size: 14px;
  }

  .typageant-sale-banner__button {
    padding: 13px 30px;
  }

  /* 手机端文案占满宽度，左侧渐变遮不住右半边的字，换成整块平铺。 */
  .typageant-sale-banner__scrim {
    background: rgb(var(--color-background));
  }
}