/* Herbal Wellness page (Figma 32:1549). Prefix: .hw- */
:root { --hw-brown: #6f4119; --hw-band: #563813; }

/* ---------------------------------------------------------------- hero (32:2815) */
.hw-hero { position: relative; background: #f7d8b5; overflow: hidden; }
.hw-hero__img { width: 100%; aspect-ratio: 1440 / 802; object-fit: cover; }
.hw-hero__copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center;
  padding-top: clamp(20px, 5.8vw, 84px); text-align: center; }
.hw-hero__title { color: #fff; font-weight: 600; font-size: clamp(36px, 6.94vw, 100px); line-height: 1; letter-spacing: -0.02em;
  text-shadow: 0 4px 4px rgba(0,0,0,.25); }
.hw-hero__title span { display: block; font-weight: 300; font-size: .65em; letter-spacing: -0.02em; margin-top: .12em; }
.hw-badge { list-style: none; margin: clamp(12px, 1.6vw, 22px) 0 0; padding: 0 3% 0 7%;
  width: clamp(270px, 31.9vw, 460px); aspect-ratio: 460 / 70;
  background: url(../img/herbal-wellness/badge-outline.svg) center / 100% 100% no-repeat;
  display: flex; align-items: center; justify-content: space-around; color: #000; }
.hw-badge li { display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
.hw-badge b { font-family: var(--font-ui); font-weight: 700; font-size: clamp(12px, 1.39vw, 20px); }
.hw-badge span { font-family: "PT Serif", "Songti SC", "Noto Serif SC", serif; font-size: clamp(12px, 1.39vw, 20px); }
.hw-badge__dot { width: clamp(6px, .69vw, 10px); aspect-ratio: 1; border-radius: 50%; background: #593400; margin-top: -1.2em; }
@media (max-width: 700px) {
  .hw-hero__img { aspect-ratio: auto; height: 420px; }
}

/* ---------------------------------------------------------------- intro band (32:2854 / 32:2860) */
.hw-intro { background: var(--hw-band) url(../img/herbal-wellness/band.webp) center / cover no-repeat; color: #fff; text-align: center;
  min-height: clamp(260px, 25.1vw, 362px); display: flex; flex-direction: column; justify-content: center;
  padding: clamp(28px, 3vw, 40px) var(--gutter); }
.hw-intro h2 { font-weight: 700; font-size: clamp(40px, 6.94vw, 100px); line-height: 1; letter-spacing: -0.02em; }
.hw-intro p { font-weight: 300; font-size: clamp(19px, 2.78vw, 40px); line-height: 1.125; letter-spacing: -0.02em;
  max-width: 980px; margin: clamp(10px, 1.2vw, 18px) auto 0; }

/* ---------------------------------------------------------------- benefit cards (32:2865) */
.hw-cards { padding: clamp(40px, 3.9vw, 56px) clamp(16px, 5vw, 72px) 0; text-align: center; }
.hw-cards__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.67vw, 24px); max-width: 1288px; margin: 0 auto; text-align: left; }
.hw-card { position: relative; border-radius: clamp(32px, 4.4vw, 63px); aspect-ratio: 413.6 / 757; display: flex; flex-direction: column;
  padding: clamp(20px, 3.6vw, 52px) clamp(16px, 1.46vw, 21px) clamp(14px, 1.4vw, 20px); overflow: hidden; }
.hw-card--gold  { background: linear-gradient(180deg, #f5d28d -7%, #f5d594 -3%, #f9e6c0 24%, #fbf3df 50%, #fdfbf3 71%, #fefefa 116%); }
.hw-card--mint  { background: linear-gradient(180deg, #9cd9e0 0%, #c4e8ea 30%, #e3f4f3 59%, #f7fbf8 83%, #fefefa 100%); }
.hw-card--berry { background: linear-gradient(180deg, #944710 20%, #d3d9cc 89%, #fefefa 97%); }
.hw-card h3 { font-weight: 700; font-size: clamp(34px, 4.17vw, 60px); line-height: 1; letter-spacing: -0.02em; color: #000; }
.hw-card p { font-weight: 300; font-size: clamp(19px, 2.08vw, 30px); line-height: 1.17; letter-spacing: -0.02em; color: #000;
  max-width: 244px; margin: clamp(14px, 3.1vw, 45px) 0 0 clamp(0px, 3.6vw, 48px); }
.hw-card--gold { padding-top: clamp(20px, 2.2vw, 32px); }
.hw-card--gold h3 { color: #fff; text-shadow: 0 4px 4px rgba(0,0,0,.25); }
.hw-card--gold p { margin-top: clamp(14px, 4.5vw, 65px); }
.hw-card--berry h3, .hw-card--berry p { color: #fff; }
.hw-card__can { margin: auto auto 0; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 16px;
  width: 44%; transition: transform .2s ease; }
.hw-card__can img { width: 100%; filter: drop-shadow(0 10px 14px rgba(60,35,10,.18)); }
.hw-card__can:hover, .hw-card__can:focus-visible { transform: translateY(-6px) scale(1.03); }
.hw-card__can:focus-visible { outline: 3px solid var(--hw-brown); outline-offset: 6px; }

.hw-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 274px; min-height: 76px; padding: 20px 32px;
  border-radius: 90px; background: var(--hw-brown); color: #fff; font-weight: 600; font-size: 24px; line-height: 1.5; text-decoration: none;
  filter: drop-shadow(0 1px 1px rgba(0,0,0,.05)); transition: transform .15s ease, box-shadow .15s ease; }
.hw-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(86,57,22,.25); }
.hw-btn:focus-visible { outline: 3px solid #000; outline-offset: 3px; }
.hw-cards .hw-btn { margin-top: clamp(32px, 5.5vw, 79px); }

@media (max-width: 860px) {
  .hw-cards__grid { grid-template-columns: 1fr; max-width: 420px; }
  .hw-card { aspect-ratio: auto; }
  .hw-card p { margin-left: 0; }
  .hw-card__can { width: 40%; max-width: 160px; margin-top: 24px; }
}
@media (max-width: 700px) {
  .hw-btn { min-width: 200px; min-height: 56px; font-size: 18px; padding: 12px 24px; }
}

/* ---------------------------------------------------------------- take a close look (35:2, 205:516, 184:420) */
.hw-look { padding: clamp(48px, 5.5vw, 80px) 0 clamp(56px, 5.8vw, 82px); }
.hw-look h2 { font-weight: 700; font-size: clamp(40px, 6.6vw, 95px); line-height: 1.25; color: #000; padding-left: clamp(16px, 3.75vw, 54px); }
.hw-look__grid { display: grid; grid-template-columns: 620fr 628fr; gap: 14px; max-width: 1262px; margin: clamp(20px, 3vw, 43px) auto 0;
  padding: 0 clamp(16px, 2.5vw, 36px); align-items: start; box-sizing: content-box; }
.hw-look .carousel { border-radius: clamp(40px, 6.94vw, 100px); aspect-ratio: 620 / 987; }
.hw-product { clip-path: inset(0 1px 0 0 round clamp(40px, 6.94vw, 100px)); }
.hw-look .carousel__track { height: 100%; }
.hw-look .carousel__nav { position: absolute; left: 0; right: 0; bottom: 6.5%; margin: 0; gap: clamp(28px, 5.4vw, 74px); }
.hw-look .carousel__nav > button { width: 44px; height: 44px; padding: 0; display: grid; place-items: center; border-radius: 50%; }
.hw-look .carousel__nav > button:focus-visible { outline: 3px solid currentColor; outline-offset: 2px; }
.hw-tri { width: 33px; height: 29px; }
.hw-tri--left { transform: rotate(-90deg); }
.hw-tri--right { transform: rotate(90deg); }
.hw-look .carousel__dots { gap: 12px; align-items: center; }
.hw-look .carousel__dots button { color: inherit; width: 16px; height: 16px; background: transparent; box-shadow: inset 0 0 0 2px currentColor; }
.hw-look .carousel__dots button[aria-current="true"] { width: 40px; height: 40px; background: currentColor; }

.hw-product { background: #fff; color: #fff; }
.hw-product__slide { position: relative; height: 100%; display: grid; place-items: center; }
.hw-product__slide > img:not(.hw-product__can) { width: 100%; height: 100%; object-fit: cover; }
.hw-product__slide--gold  { background: linear-gradient(180deg, #f5d28d, #f9e6c0 35%, #fbf3df 62%, #f0d9b8); }
.hw-product__slide--mint  { background: linear-gradient(180deg, #9cd9e0, #c4e8ea 30%, #e3f4f3 59%, #cfe4e2); }
.hw-product__slide--berry { background: linear-gradient(180deg, #944710 20%, #c7b9a2 75%, #e9e1d4); }
.hw-product__can { width: 42%; margin-bottom: 14%; filter: drop-shadow(0 18px 24px rgba(60,35,10,.22)); }
.hw-product .carousel__nav { color: #fff; filter: drop-shadow(0 1px 3px rgba(0,0,0,.25)); }

.hw-benefit { background: #fff; border: 1px solid #000; color: #231f20; aspect-ratio: 628 / 981; margin-top: 6px; }
.hw-benefit__slide { height: 100%; display: flex; flex-direction: column; align-items: center; text-align: center; color: #000;
  padding: clamp(36px, 5.3vw, 76px) clamp(20px, 5vw, 72px) 0; }
.hw-benefit__kicker { font-weight: 700; font-size: clamp(40px, 5.56vw, 80px); line-height: 1.27; }
.hw-benefit__zh { font-weight: 700; font-size: clamp(46px, 6.6vw, 95px); line-height: 1.27; }
.hw-benefit__text { font-size: clamp(17px, 1.74vw, 25px); line-height: 1.26; max-width: 472px; margin-top: clamp(6px, 1.4vw, 10px); }
.hw-benefit__img { width: 112%; max-width: none; margin-top: clamp(0px, 1vw, 16px); }
.hw-benefit--single .carousel__nav > button { visibility: hidden; }

@media (max-width: 860px) {
  .hw-look__grid { grid-template-columns: 1fr; max-width: 520px; padding: 0 16px; gap: 24px; margin-inline: auto; }
  .hw-benefit { aspect-ratio: auto; margin-top: 0; }
  .hw-benefit__slide { padding-bottom: 96px; }
  .hw-benefit__img { width: 100%; }
  .hw-look .carousel__nav { bottom: 28px; }
  .hw-look .carousel__dots button[aria-current="true"] { width: 28px; height: 28px; }
}

/* ---------------------------------------------------------------- CTA (37:39) */
.hw-cta { position: relative; background: #edcdb4; margin-bottom: 34px; }
.hw-cta__img { width: 100%; aspect-ratio: 1440 / 635; object-fit: cover; }
.hw-cta__copy { position: absolute; left: 4.2%; top: 27.7%; color: var(--hw-brown); }
.hw-cta h2 { font-weight: 700; font-size: clamp(36px, 5.56vw, 80px); line-height: .825; }
.hw-cta p { font-size: clamp(18px, 2.22vw, 32px); margin: clamp(10px, 1.7vw, 24px) 0 clamp(12px, 1.4vw, 20px) 4.4vw; }
.hw-cta .hw-btn { margin-left: 8.4vw; }
@media (max-width: 1100px) { .hw-cta__copy { top: 18%; } .hw-cta .hw-btn { min-width: 200px; min-height: 56px; font-size: 18px; padding: 12px 24px; } }
@media (max-width: 760px) {
  .hw-cta { display: flex; flex-direction: column-reverse; background: #f2d8c0; }
  .hw-cta__img { aspect-ratio: auto; height: 240px; object-position: 88% center; }
  .hw-cta__copy { position: static; padding: 36px var(--gutter) 32px; }
  .hw-cta h2 { line-height: 1; }
  .hw-cta p, .hw-cta .hw-btn { margin-left: 0; }
}

/* product pop-ups: shared .pm styles in site.css */
/* the Herbal Tea product slide opens its pop-up */
.hw-product__open { display: block; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.hw-product__open img { width: 100%; height: 100%; object-fit: cover; }
.hw-product__open:focus-visible { outline: 3px solid var(--brown); outline-offset: -3px; }
/* more than three cards (spare slots switched on): wrap and keep the last row centred */
@media (min-width: 761px) {
  .hw-cards__grid { display: flex; flex-wrap: wrap; justify-content: center; }
  .hw-cards__grid > .hw-card { flex: 0 0 calc((100% - 2 * clamp(14px, 1.67vw, 24px)) / 3); }
}

/* Relief / Refocus / Restore: fixed columns so each Chinese line sits under its English word at every screen width,
   and the dots line up with the English row */
.hw-badge { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: start; padding: 0 9%; column-gap: 4%; }
.hw-badge li { align-self: center; }
.hw-badge__dot { align-self: center; margin-top: -1.15em; }
/* fix: % padding/gap were measured against the whole hero, not the badge, pushing the words right */
.hw-badge { padding: 0 clamp(28px, 4.2vw, 60px); column-gap: clamp(6px, .9vw, 12px); justify-items: center; }
