/* ===================================================================
   TNT LIFESTYLE — GLOBAL DESIGN TOKENS & COMPONENTS
   Shared by every page.

   Fonts (Cormorant Garamond, Jost) are loaded via <link rel="preconnect">
   + <link rel="stylesheet"> tags in each page's <head> — not via @import
   here — since @import inside CSS is render-blocking in a way a <link>
   with preconnect isn't. See any page's <head> for the two font <link>
   tags, placed right after the styles.css <link>.
=================================================================== */

:root {
  /* Color tokens */
  --cream:        #F6F2EA;
  --cream-dark:   #EFE9DC;
  --espresso:     #2E2118;
  --espresso-70:  rgba(46,33,24,.7);
  --espresso-40:  rgba(46,33,24,.4);
  --espresso-15:  rgba(46,33,24,.15);
  --espresso-08:  rgba(46,33,24,.08);
  --sage:         #6B7F5E;
  --sage-dark:    #576A4B;
  --sage-10:      rgba(107,127,94,.1);
  --clay:         #C4855A;
  --terracotta:   #C4622D;
  --stone:        #C9C5BC;
  --white:        #FFFFFF;

  /* Type tokens */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', -apple-system, sans-serif;

  --step-eyebrow:  .72rem;
  --step-body:     1rem;
  --step-body-lg:  1.125rem;
  --step-h4:       1.4rem;
  --step-h3:       1.9rem;
  --step-h2:       clamp(2rem, 4vw, 2.75rem);
  --step-h1:       clamp(2.4rem, 6vw, 4rem);

  /* Layout tokens */
  --container: 1240px;
  --gutter: 1.5rem;
  --radius-sm: 3px;
  --radius-md: 6px;
  --section-pad: clamp(3.5rem, 8vw, 7rem);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: var(--step-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
  color: var(--espresso);
}
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.eyebrow {
  font-size: var(--step-eyebrow);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--sage-dark);
  font-weight: 500;
}

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .95rem 1.9rem;
  min-height: 44px;
  font-size: .92rem;
  letter-spacing: .03em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary {
  background: var(--espresso);
  color: var(--cream);
}
.btn-primary:hover { background: var(--sage-dark); }
.btn-secondary {
  background: transparent;
  border-color: var(--espresso);
  color: var(--espresso);
}
.btn-secondary:hover { background: var(--espresso); color: var(--cream); }
.btn-ghost {
  background: transparent;
  color: var(--espresso);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: .5rem 0;
}

/* ---------- Icons (inline SVG, line-weight, no libraries) ---------- */
.icon { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.icon-sm { width: 18px; height: 18px; }

/* ---------- Media component ---------- */
/* Wraps every product/lifestyle <img>. Each <img> carries inline
   onerror="mediaFallback(this)" / onload="mediaRestore(this)" handlers
   (functions defined synchronously in the page <head> — see any page's
   <head> — so they fire even before this stylesheet's sibling main.js
   has run). On failure the <img> itself is set to display:none — not
   just its broken icon — so no filename, alt text, or bracket text is
   ever visible; only this neutral gradient card shows. On success
   (including a later image swap, e.g. a color-swatch change) the
   fallback state is fully cleared and the real photo takes over.
   The wrapper's aspect-ratio (set per context below) is preserved in
   both states, so layout never shifts when an image is missing. */
.media {
  position: relative;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center; /* override per-instance via inline style="object-position:...;" when a shot needs a different focal point (e.g. portrait/founder photography uses "center top") */
  display: block;
}
.media.media-missing img { display: none; }
.media.media-missing::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--stone) 0%, var(--cream-dark) 100%);
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--espresso);
  color: var(--cream);
  text-align: center;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: .6rem var(--gutter);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--espresso-08);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  letter-spacing: .04em;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.nav-logo-mark {
  width: 34px; height: 34px;
  border: 1px solid var(--espresso);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; letter-spacing: .05em;
}
.nav-links { display: flex; gap: 2.1rem; font-size: .92rem; }
.nav-links > li { position: relative; }
.nav-links a { padding: .3rem 0; }
.nav-links a:hover { color: var(--sage-dark); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--espresso-08);
  border-radius: var(--radius-md);
  min-width: 170px;
  padding: .6rem 0;
  box-shadow: 0 12px 30px rgba(46,33,24,.08);
}
.nav-links > li:hover .nav-dropdown,
.nav-links > li:focus-within .nav-dropdown { display: block; }
.nav-dropdown a { display: block; padding: .5rem 1rem; font-size: .88rem; }
.nav-dropdown a:hover { background: var(--cream); }

.nav-utility { display: flex; align-items: center; gap: 1.1rem; }
.nav-utility button { background: none; border: none; padding: .25rem; color: var(--espresso); }
.cart-count {
  position: absolute;
  top: -4px; right: -6px;
  background: var(--sage);
  color: var(--cream);
  font-size: .65rem;
  width: 16px; height: 16px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.nav-utility .cart-btn { position: relative; }

.hamburger { display: none; background: none; border: none; }
.hamburger .icon { width: 26px; height: 26px; }

.mobile-menu {
  display: none;
  position: fixed; inset: 0;
  background: var(--cream);
  z-index: 60;
  padding: 1.25rem var(--gutter);
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--espresso-08);
}
.mobile-menu .sub-link { font-family: var(--font-body); font-size: 1rem; padding-left: 1rem; border-bottom: none; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .hamburger { display: block; }
}

/* ---------- Section spacing ---------- */
.section { padding: var(--section-pad) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  min-height: 88vh;
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.4rem;
  padding: clamp(2.5rem, 6vw, 5rem);
}
.hero-copy h1 { font-size: var(--step-h1); }
.hero-copy .sub { font-size: var(--step-body-lg); color: var(--espresso-70); max-width: 30rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: .5rem; }
.hero-trustline { font-size: .82rem; color: var(--espresso-70); letter-spacing: .02em; }
.hero-image .media { height: 100%; min-height: 420px; border-radius: 0; }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-image .media { min-height: 60vh; }
  .hero-copy { padding: 2.25rem var(--gutter) 2.75rem; }
}

/* Portrait/lifestyle photography (people + product together) reads best
   anchored toward the top of the frame at every width, not just mobile —
   set once here rather than per-image inline so it stays easy to adjust. */
.hero-image img,
.founder-image img {
  object-position: center top;
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--cream-dark);
  padding: 1.75rem var(--gutter);
}
.trust-list {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.25rem;
  text-align: center;
}
.trust-item { display: flex; align-items: center; gap: .55rem; font-size: .85rem; color: var(--espresso-70); }

/* ---------- Collection cards ---------- */
.collections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.collection-card { position: relative; display: block; }
.collection-card .media { aspect-ratio: 4/5; border-radius: var(--radius-md); }
/* These source photos are landscape, cropped into a portrait card by the
   sitewide object-fit:cover default — that was cutting off real product
   detail. Show the full photo instead, letterboxed on the neutral
   background rather than cropped. */
.collection-card .media img { object-fit: contain; }
.collection-card-body { padding-top: 1.25rem; }
.collection-card h3 { font-size: var(--step-h3); margin-bottom: .5rem; }
.collection-card p { color: var(--espresso-70); max-width: 32rem; margin-bottom: 1rem; }

@media (max-width: 720px) {
  .collections-grid { grid-template-columns: 1fr; }
}

/* ---------- Product spotlight ---------- */
.spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.spotlight-image .media { aspect-ratio: 4/5; border-radius: var(--radius-md); }
/* Same reasoning as the collection cards above — show the full product
   photo (bowl, textured surface, full mat) rather than cropping it. */
.spotlight-image .media img { object-fit: contain; }
.spotlight-copy .price { font-size: 1.4rem; font-family: var(--font-display); margin: .75rem 0 1rem; }
.spotlight-copy .value-prop { color: var(--espresso-70); margin-bottom: 1.25rem; max-width: 30rem; }
.spotlight-copy .care-line { font-size: .82rem; color: var(--espresso-70); margin-top: 1rem; }

@media (max-width: 880px) {
  .spotlight { grid-template-columns: 1fr; }
}

/* ---------- Benefits ---------- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.benefit-item { display: flex; flex-direction: column; align-items: center; gap: .85rem; }
.benefit-item .icon { color: var(--sage); width: 30px; height: 30px; }
.benefit-item h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 500; }
.benefit-item p { font-size: .88rem; color: var(--espresso-70); }

@media (max-width: 880px) {
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: .85fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 5vw, 3.5rem);
}
.founder-image .media { aspect-ratio: 1/1; border-radius: var(--radius-md); }
.founder-copy p { color: var(--espresso-70); margin: 1rem 0; max-width: 34rem; }
@media (max-width: 780px) {
  .founder { grid-template-columns: 1fr; }
}

/* ---------- Vision strip ---------- */
.vision {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}
.vision p.eyebrow-line { font-size: var(--step-h4); font-family: var(--font-display); margin-bottom: .75rem; }
.vision p.support { color: var(--espresso-70); }

/* ---------- Email capture ---------- */
.email-capture {
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}
.email-capture h2 { color: var(--cream); }
.email-capture p { color: rgba(246,242,234,.75); margin: .9rem auto 1.75rem; max-width: 32rem; }
.email-form {
  display: flex;
  gap: .75rem;
  max-width: 30rem;
  margin: 0 auto;
  flex-wrap: wrap;
}
.email-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: .9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(246,242,234,.3);
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
}
.email-form input::placeholder { color: rgba(246,242,234,.5); }
.email-form .btn-primary { background: var(--sage); }
.email-form .btn-primary:hover { background: var(--sage-dark); }

/* ---------- Wholesale teaser ---------- */
.wholesale-teaser {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto;
}
.wholesale-teaser p { color: var(--espresso-70); margin: .75rem 0 1.5rem; }

/* ---------- Footer ---------- */
.footer { background: var(--cream-dark); padding: 3.5rem 0 2rem; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--espresso-08);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand p { color: var(--espresso-70); font-size: .88rem; max-width: 22rem; }
.footer-tagline { font-family: var(--font-display); font-size: 1rem; margin-top: 1rem; }
.footer-col h5 { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--espresso-70); margin-bottom: 1rem; }
.footer-col li { margin-bottom: .65rem; font-size: .9rem; }
.footer-social { display: flex; gap: .9rem; margin-top: 1.25rem; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--espresso-15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  padding-top: 1.5rem;
  font-size: .78rem;
  color: var(--espresso-70);
}

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(46,33,24,.35);
  opacity: 0; pointer-events: none;
  transition: opacity .2s ease;
  z-index: 90;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 100%);
  background: var(--cream);
  z-index: 91;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .25s ease;
  box-shadow: -10px 0 30px rgba(46,33,24,.12);
}
.cart-drawer.open { transform: translateX(0); }

.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid var(--espresso-08);
}
.cart-header h2 { font-size: 1.3rem; }
.cart-close { background: none; border: none; }

.cart-body { flex: 1; overflow-y: auto; padding: 1.25rem var(--gutter); }
.cart-line {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--espresso-08);
}
.cart-line .media { aspect-ratio: 1/1; border-radius: var(--radius-sm); }
.cart-line-name { font-family: var(--font-display); font-size: 1.05rem; }
.cart-line-variant { font-size: .8rem; color: var(--espresso-70); margin: .25rem 0 .6rem; }
.qty-control {
  display: inline-flex; align-items: center; border: 1px solid var(--espresso-15); border-radius: var(--radius-sm);
}
.qty-control button { background: none; border: none; width: 30px; height: 30px; }
.qty-control span { width: 28px; text-align: center; font-size: .88rem; }
.cart-line-price { font-family: var(--font-display); font-size: 1rem; text-align: right; }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--espresso-70); }

.cart-recommend {
  margin: 1rem 0 0;
  padding: 1rem;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  display: flex; align-items: center; gap: 1rem;
}
.cart-recommend .media { width: 56px; height: 56px; flex-shrink: 0; border-radius: var(--radius-sm); }
.cart-recommend-copy { flex: 1; }
.cart-recommend-copy p:first-child { font-size: .88rem; font-family: var(--font-display); }
.cart-recommend-copy p:last-child { font-size: .78rem; color: var(--espresso-70); }

.cart-footer { padding: 1.25rem var(--gutter) 1.5rem; border-top: 1px solid var(--espresso-08); }
.cart-subtotal { display: flex; justify-content: space-between; font-size: 1.05rem; margin-bottom: 1rem; }
.cart-footer .btn { width: 100%; margin-bottom: .6rem; }
.cart-shipnote { font-size: .78rem; color: var(--espresso-70); text-align: center; margin-top: .5rem; }

/* ---------- Product page specific (used by product-feeding-station.html) ---------- */
.breadcrumb { font-size: .8rem; color: var(--espresso-70); margin-bottom: 1.5rem; }
.breadcrumb a:hover { color: var(--sage-dark); }

.pdp-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.pdp-gallery { display: block; }
.pdp-gallery-main .media { aspect-ratio: 4/5; border-radius: var(--radius-md); margin-bottom: .75rem; }
.pdp-thumbs { display: flex; gap: .6rem; }
.pdp-thumbs .media { width: 72px; height: 72px; border-radius: var(--radius-sm); }

.pdp-info .review-state { font-size: .85rem; color: var(--espresso-70); margin: .5rem 0 1rem; }
.pdp-info .price { font-family: var(--font-display); font-size: 1.5rem; margin: .25rem 0 1rem; }
.pdp-info .value-prop { color: var(--espresso-70); margin-bottom: 1.5rem; max-width: 30rem; }

.variant-block { margin-bottom: 1.5rem; }
.variant-label { font-size: .82rem; letter-spacing: .05em; text-transform: uppercase; color: var(--espresso-70); margin-bottom: .6rem; display: block; }
.color-swatches { display: flex; gap: .65rem; }
.color-swatch {
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}
.color-swatch[aria-checked="true"] { border-color: var(--espresso); }
.color-swatch.sage { background: var(--sage); }
.color-swatch.clay { background: var(--clay); }
.color-swatch.stone { background: var(--stone); }

.pdp-actions { display: flex; gap: .75rem; margin-bottom: 1rem; }
.pdp-actions .btn { flex: 1; }
.express-pay { display: flex; gap: .6rem; margin-bottom: 1.25rem; }
.express-pay .media { flex: 1; height: 40px; border-radius: var(--radius-sm); }

.shipping-note { font-size: .85rem; color: var(--espresso-70); padding: .85rem 1rem; background: var(--cream-dark); border-radius: var(--radius-sm); margin-bottom: 1.5rem; }

.pdp-benefits { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1.5rem; }
.pdp-benefit { display: flex; gap: .75rem; align-items: flex-start; font-size: .92rem; }
.pdp-benefit .icon { color: var(--sage); flex-shrink: 0; margin-top: .1rem; }

.accordion { border-top: 1px solid var(--espresso-08); }
.accordion-item { border-bottom: 1px solid var(--espresso-08); }
.accordion-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  background: none; border: none;
  padding: 1.1rem 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: left;
}
.accordion-trigger .icon { transition: transform .2s ease; }
.accordion-trigger[aria-expanded="true"] .icon { transform: rotate(45deg); }
.accordion-panel {
  display: none;
  padding: 0 0 1.25rem;
  color: var(--espresso-70);
  font-size: .92rem;
  line-height: 1.7;
}
.accordion-panel.open { display: block; }
.accordion-panel ul { list-style: disc; padding-left: 1.2rem; }
.accordion-panel li { margin-bottom: .4rem; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.related-card .media { aspect-ratio: 4/5; border-radius: var(--radius-sm); margin-bottom: .75rem; }
.related-card h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 500; }
.related-card .price { font-size: .9rem; font-family: var(--font-body); color: var(--espresso-70); margin-top: .25rem; }

.bundle-block {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--cream-dark);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
}
.bundle-block .media { width: 90px; height: 90px; flex-shrink: 0; border-radius: var(--radius-sm); }

.sticky-atc {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--cream);
  border-top: 1px solid var(--espresso-08);
  padding: .75rem var(--gutter);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 40;
  box-shadow: 0 -6px 20px rgba(46,33,24,.06);
}
.sticky-atc .price { font-family: var(--font-display); font-size: 1.05rem; }
@media (max-width: 880px) {
  .sticky-atc { display: flex; }
  .pdp-layout { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  body { padding-bottom: 70px; } /* room for sticky bar */
}

.placeholder-flag {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--terracotta);
  border: 1px dashed var(--terracotta);
  padding: .15rem .5rem;
  border-radius: var(--radius-sm);
  margin-left: .5rem;
  vertical-align: middle;
}

/* ===================================================================
   ADDITIONS — interior pages, forms, focus management, disabled states
=================================================================== */

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--espresso);
  color: var(--cream);
  padding: .85rem 1.25rem;
  z-index: 200;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--gutter);
  top: var(--gutter);
}

/* Prevent background scroll while a drawer is open */
body.no-scroll { overflow: hidden; }

/* Disabled button state (e.g. checkout pre-launch) */
.btn[disabled], .btn[aria-disabled="true"] {
  background: var(--espresso-15);
  border-color: transparent;
  color: var(--espresso-40);
  cursor: not-allowed;
}
.btn[disabled]:hover, .btn[aria-disabled="true"]:hover { background: var(--espresso-15); }

/* Interior page header */
.page-header {
  padding: clamp(3rem, 7vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  text-align: center;
}
.page-header .eyebrow { display: block; margin-bottom: .75rem; }
.page-header h1 { font-size: var(--step-h1); }
.page-header .lede { color: var(--espresso-70); max-width: 38rem; margin: 1rem auto 0; font-size: var(--step-body-lg); }

/* Prose blocks (About, Privacy, Terms, Accessibility) */
.prose { max-width: 46rem; margin: 0 auto; }
.prose h2 { font-size: var(--step-h3); margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.2rem; font-family: var(--font-body); font-weight: 500; margin: 1.5rem 0 .5rem; }
.prose p { color: var(--espresso-70); margin-bottom: 1.1rem; }
.prose ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1rem; }
.prose li { color: var(--espresso-70); margin-bottom: .5rem; }
.prose a { color: var(--sage-dark); text-decoration: underline; text-underline-offset: 3px; }
.prose .dev-note {
  font-size: .78rem;
  color: var(--espresso-70);
  border-left: 2px solid var(--stone);
  padding-left: .85rem;
  margin: 1.5rem 0;
}

/* Two-column layout (About founder block, Contact) */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 780px) { .split-layout { grid-template-columns: 1fr; } }

/* Value / benefit tiles (About, Wholesale) */
.tile-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.tile {
  background: var(--white);
  border: 1px solid var(--espresso-08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.tile h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 500; margin-bottom: .6rem; }
.tile p { color: var(--espresso-70); font-size: .92rem; }
@media (max-width: 780px) { .tile-grid { grid-template-columns: 1fr; } }

/* Retailer-type chip list (Wholesale) */
.chip-list { display: flex; flex-wrap: wrap; gap: .75rem; }
.chip {
  background: var(--cream-dark);
  border-radius: 999px;
  padding: .5rem 1.1rem;
  font-size: .88rem;
  color: var(--espresso);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-grid .field-full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: .5rem; }
.field label { font-size: .85rem; font-weight: 500; color: var(--espresso); }
.field .hint { font-size: .78rem; color: var(--espresso-70); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 1rem; /* prevents iOS auto-zoom */
  padding: .8rem .9rem;
  border: 1px solid var(--espresso-15);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--espresso);
  min-height: 44px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--sage);
}
.field-checkbox { display: flex; align-items: flex-start; gap: .6rem; }
.field-checkbox input { width: 18px; height: 18px; margin-top: .2rem; }
.field-checkbox label { font-size: .85rem; color: var(--espresso-70); font-weight: 400; }

.form-submit { margin-top: .5rem; }
.form-status {
  font-size: .85rem;
  color: var(--sage-dark);
  margin-top: .75rem;
  display: none;
}
.form-status.visible { display: block; }

/* ---------- FAQ ---------- */
.faq-category { margin-bottom: 2.5rem; }
.faq-category h2 { font-size: var(--step-h3); margin-bottom: .5rem; }

/* ---------- Coming-soon inline notice (used instead of dead links) ---------- */
.notice-inline {
  font-size: .82rem;
  color: var(--espresso-70);
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: .6rem .9rem;
  display: inline-block;
}

/* ===================================================================
   ADDITIONS — Wholesale & Partnerships page components
   Reuses existing tokens (color, radius, spacing, type scale) only.
=================================================================== */

/* Partner-type self-identification nav — segmented pill row.
   Horizontally scrollable on mobile per spec; plain anchor links so
   it's keyboard-accessible with no extra JS. */
.partner-nav {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  padding-bottom: .5rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.partner-nav a {
  flex: 0 0 auto;
  padding: .65rem 1.15rem;
  border: 1px solid var(--espresso-15);
  border-radius: 999px;
  font-size: .88rem;
  white-space: nowrap;
  background: var(--white);
}
.partner-nav a:hover,
.partner-nav a:focus-visible {
  border-color: var(--sage);
  color: var(--sage-dark);
}
@media (max-width: 640px) {
  .partner-nav { flex-wrap: nowrap; }
}

/* In-development badge for collection-preview cards that don't have
   approved photography yet — pairs with the existing .media-missing
   fallback so nothing reads as a finished, photographed product. */
.badge-development {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: var(--sage-10);
  padding: .3rem .65rem;
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
}

/* Four-step "How Partnerships Work" process */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  counter-reset: step;
}
.process-step { position: relative; padding-top: .5rem; }
.process-step .step-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--sage);
  display: block;
  margin-bottom: .5rem;
}
.process-step h4 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 500; margin-bottom: .5rem; }
.process-step p { font-size: .88rem; color: var(--espresso-70); }
@media (max-width: 780px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}

/* Partnership-section anchors get a little extra top offset so the
   sticky nav doesn't cover the heading when jumped to via #anchor. */
.partner-section { scroll-margin-top: 90px; }

/* Collection-preview grid (Wholesale page) — same card shape as
   homepage collection cards, sized for more items in a row. */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.preview-card .media { aspect-ratio: 4/5; border-radius: var(--radius-md); margin-bottom: .75rem; }
.preview-card h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 500; margin-bottom: .35rem; }
.preview-card p { font-size: .85rem; color: var(--espresso-70); margin-bottom: .6rem; }
@media (max-width: 880px) { .preview-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .preview-grid { grid-template-columns: 1fr; } }

/* Line-sheet callout — reuses the .email-capture visual weight
   (dark, high-contrast block) for a second strong CTA moment. */
.callout-block {
  background: var(--espresso);
  color: var(--cream);
  border-radius: var(--radius-md);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
}
.callout-block h3 { color: var(--cream); font-size: var(--step-h3); }
.callout-block p { color: rgba(246,242,234,.75); margin: .75rem auto 1.5rem; max-width: 34rem; }
.callout-block .btn-primary { background: var(--sage); }
.callout-block .btn-primary:hover { background: var(--sage-dark); }

/* Shared "smaller h2" utility — used wherever a section heading should
   read at the h3 size without breaking heading-level semantics.
   Replaces the repeated inline style="font-size:var(--step-h3)" pattern. */
.h2-tight { font-size: var(--step-h3); }

/* ===================================================================
   ADDITIONS — Testimonials / Community Feedback component
   Reusable wherever a [data-testimonials] container appears (see
   main.js section 8 and testimonials-data.js).
=================================================================== */

.testimonials-section { background: var(--cream-dark); }
.testimonials-intro { text-align: center; max-width: 34rem; margin: 0 auto 2rem; }
.testimonials-intro p { color: var(--espresso-70); margin-top: .5rem; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}
.testimonial-quote {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--espresso);
  padding-left: 1.4rem;
}
.testimonial-quote::before {
  content: "\201C";
  position: absolute;
  left: -.15rem;
  top: -.35rem;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--sage);
  font-family: var(--font-display);
}
.testimonial-creator {
  margin-top: 1rem;
  font-size: .85rem;
  color: var(--espresso-70);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .55rem;
}
.testimonial-gifted-tag {
  font-size: .66rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--sage-dark);
  background: var(--sage-10);
  padding: .2rem .55rem;
  border-radius: var(--radius-sm);
}

@media (max-width: 640px) {
  .testimonial-grid { grid-template-columns: 1fr; }
}

/* ===================================================================
   ADDITIONS — Pet Collection page components
=================================================================== */

/* Espresso variant for color displays (existing .color-swatch only had
   sage/clay/stone; the Grooming Glove adds Espresso as a 4th colorway). */
.color-swatch.espresso { background: var(--espresso); }

/* "Available Now" badge — solid sage, distinct from the lighter-tint
   .badge-development used for not-yet-photographed/in-development items. */
.badge-available {
  display: inline-block;
  font-size: .68rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--sage-dark);
  padding: .3rem .65rem;
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
}

/* Static (non-interactive) color-availability dots for collection cards
   that link out to a marketplace rather than offering an on-site variant
   picker. Reuses the same sage/clay/stone/espresso fills as .color-swatch. */
.color-dots { display: flex; gap: .4rem; margin: .5rem 0; }
.color-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 1px solid var(--espresso-15);
}
.color-dot.sage { background: var(--sage); }
.color-dot.clay { background: var(--clay); }
.color-dot.stone { background: var(--stone); }
.color-dot.espresso { background: var(--espresso); }

/* Shop grid — Pet Collection page product cards */
.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.shop-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.shop-card .media { aspect-ratio: 4/5; border-radius: 0; }
.shop-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.shop-card h3 { font-size: 1.15rem; margin-bottom: .4rem; }
.shop-card .shop-card-desc { font-size: .88rem; color: var(--espresso-70); margin-bottom: .5rem; flex: 1; }
.shop-card .shop-card-price { font-family: var(--font-display); font-size: 1.15rem; margin: .4rem 0 .85rem; }
.shop-card .btn { width: 100%; }
.external-link-note { font-size: .72rem; color: var(--espresso-70); text-align: center; margin-top: .5rem; }

@media (max-width: 880px) { .shop-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .shop-grid { grid-template-columns: 1fr; } }
