/* Tea Range page — Figma frame 6:374 ("Tea Range", 1440 x 3810).
   Sections are 1440 x 814 full-bleed images with copy laid over them (grid stacking, not absolute positioning).
   Below 760px the copy moves above its image on a light panel. */
.tea-hero, .tea-tabs, .tea-feature { scroll-margin-top: clamp(72px, 11.4vw, 164px); }

/* ---------------------------------------------------------------- buttons (Learn More / Explore) */
.tea-btn { display: inline-flex; align-items: center; justify-content: center; width: clamp(150px, 16.9vw, 243px);
  min-height: clamp(44px, 5.3vw, 76px); padding: clamp(8px, 1.39vw, 20px) clamp(16px, 2.2vw, 32px); border-radius: 90px;
  color: var(--white); font-weight: 600; font-size: clamp(16px, 1.67vw, 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; }
.tea-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(0,0,0,.18); }
.tea-btn:focus-visible, .tea-tabs__item:focus-visible { outline: 3px solid #f2c14e; outline-offset: 3px; }
.tea-btn--brown { background: var(--brown-2); }
.tea-btn--teal  { background: #088c7a; }

/* ---------------------------------------------------------------- hero (6:481) */
.tea-hero { position: relative; }
.tea-hero__img { width: 100%; aspect-ratio: 1440 / 814; object-fit: cover; }
.tea-hero__btn { position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%); font-family: var(--font-ui); width: clamp(120px, 17vw, 244px); }
.tea-hero__btn:hover { transform: translate(-50%, -2px); }

/* ---------------------------------------------------------------- range tabs (6:468) */
.tea-tabs { background: #563813; display: flex; justify-content: center; align-items: center; min-height: clamp(76px, 8.9vw, 128px); padding: 12px 16px; }
.tea-tabs__pill { display: flex; align-items: center; gap: clamp(14px, 2.8vw, 40px); background: #dcd5c5; border-radius: 77px;
  padding: clamp(5px, .5vw, 7px) clamp(16px, 2.2vw, 32px) clamp(5px, .5vw, 7px) clamp(5px, .5vw, 7px); }
.tea-tabs__item { color: #8a6239; font-weight: 500; font-size: clamp(16px, 1.875vw, 27px); line-height: 1.5; text-decoration: none; white-space: nowrap; }
.tea-tabs__item { border-radius: 90px; padding: clamp(8px, 1.39vw, 20px) clamp(14px, 2.2vw, 32px); transition: background .15s ease, color .15s ease; }
.tea-tabs__item:not(.tea-tabs__item--active):hover { background: #563813; color: var(--white); }
/* items carry their own padding now (for the hover fill), so the pill's gap and right padding shrink to keep the same spacing */
.tea-tabs__pill { gap: clamp(2px, .55vw, 8px); padding-right: clamp(5px, .5vw, 7px); }
.tea-tabs__item--active { background: #563813; color: var(--white); font-weight: 600; border-radius: 90px; text-align: center;
  min-width: clamp(118px, 16.9vw, 243px); padding: clamp(8px, 1.39vw, 20px) clamp(14px, 2.2vw, 32px); filter: drop-shadow(0 1px 1px rgba(0,0,0,.05)); }
.tea-tabs__item--active:hover { text-decoration: none; }

/* ---------------------------------------------------------------- product features (6:476, 6:516, 6:527) */
.tea-feature { display: grid; }
.tea-feature > picture, .tea-feature__copy { grid-area: 1 / 1; }
.tea-feature__img { width: 100%; aspect-ratio: 1440 / 814; object-fit: cover; }
.tea-feature__copy { align-self: start; display: flex; flex-direction: column; align-items: center; text-align: center; z-index: 1; }
.tea-feature h2 { font-weight: 700; font-size: clamp(28px, 4.44vw, 64px); line-height: .941; letter-spacing: -0.02em; }
.tea-feature__sub { font-weight: 600; font-size: clamp(16px, 1.875vw, 27px); line-height: 1.2; margin: .1em 0 clamp(8px, .7vw, 10px); }

/* Oolong & Pu Erh — copy centred in the left half (Figma 17:3) */
.tea-feature--oolong .tea-feature__copy { justify-self: start; width: 44.6%; margin: 3.4% 0 0 2.6%; }
.tea-feature--oolong h2 { color: var(--brown-2); }
.tea-feature--oolong .tea-feature__sub, .tea-feature--fruit .tea-feature__sub { color: #4c291c; }

/* O'Cha — white copy on the right (6:510) */
.tea-feature--ocha .tea-feature__copy { justify-self: start; width: 41.5%; margin: 4.6% 0 0 52.2%; color: var(--white); }

/* Fusion Fruit — centred (6:521) */
.tea-feature--fruit .tea-feature__copy { justify-self: center; width: 41.5%; margin-top: 7.2%; }
.tea-feature--fruit h2 { color: var(--brown-2); }
.tea-feature--fruit .tea-feature__sub { margin-top: .05em; }

@media (max-width: 760px) {
  .tea-feature > picture { grid-area: 2 / 1; }
  .tea-feature .tea-feature__copy { grid-area: 1 / 1; width: auto; margin: 0; justify-self: stretch;
    padding: 32px var(--gutter) 28px; background: var(--cream); color: inherit; }
  .tea-feature--ocha h2 { color: #088c7a; }
  .tea-feature--ocha .tea-feature__sub { color: #4c291c; }
}
@media (max-width: 760px) {
  .tea-hero__btn { width: auto; min-height: 34px; padding: 4px 20px; font-size: 14px; bottom: 6%; }
}

/* Learn More as a pop-up button */
button.tea-btn { border: 0; font-family: inherit; cursor: pointer; }
