/* ═══════════════════════════════════════
   THE GENTLE LAB — SHARED STYLESHEET
   Light / Off-White Theme
═══════════════════════════════════════ */
:root {
  --white:       #FFFFFF;
  --off-white:   #FAF8F5;
  --cream:       #F4F0EA;
  --cream-mid:   #EDE8E0;
  --cream-dark:  #E2DAD0;
  --stone:       #C8C0B4;
  --taupe:       #8C7D6E;
  --brown-light: #5C4A38;
  --brown:       #2A1F14;
  --red:         #C8392B;
  --red-soft:    #D4524A;
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'DM Sans', system-ui, sans-serif;
  --nav-h: 70px;
  --bar-h: 36px;
  --ease:  cubic-bezier(0.25, 0.1, 0.25, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--sans); background: var(--white); color: var(--brown); overflow-x: hidden; line-height: 1.65; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

/* ─── ANNOUNCEMENT BAR ─── */
.announce-bar { background: var(--brown); color: var(--cream); height: var(--bar-h); display: flex; align-items: center; overflow: hidden; }
.announce-track { display: flex; gap: 0; white-space: nowrap; animation: ticker 32s linear infinite; }
.announce-item { display: inline-flex; align-items: center; gap: 28px; padding: 0 28px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 400; }
.announce-sep { color: var(--red); font-size: 7px; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ─── NAVIGATION ─── */
.site-header { position: sticky; top: 0; z-index: 999; background: rgba(255,255,255,0.97); backdrop-filter: blur(12px); border-bottom: 1px solid var(--cream-dark); transition: box-shadow 0.3s var(--ease); }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(42,31,20,0.06); }

/* Logo LEFT · Links CENTER · Icons RIGHT */
.nav-wrap { max-width: 1520px; margin: 0 auto; height: var(--nav-h); display: flex; align-items: center; padding: 0 48px; gap: 0; }
.nav-logo { order: 1; flex-shrink: 0; margin-right: 32px; display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.nav-left  { order: 2; flex: 1; display: flex; align-items: center; gap: 0; }
.nav-right { order: 3; flex-shrink: 0; display: flex; align-items: center; gap: 6px; margin-left: 12px; }

.nav-logo-mark { font-family: var(--serif); font-size: 18px; font-weight: 400; letter-spacing: 0.26em; text-transform: uppercase; color: var(--brown); display: block; }
.nav-logo-sub  { font-family: var(--sans); font-size: 8px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); font-weight: 300; margin-top: 3px; display: block; }

.nav-link { font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase; font-weight: 400; color: var(--brown-light); padding: 8px 13px; transition: color 0.2s; position: relative; white-space: nowrap; }
.nav-link:hover, .nav-link.active { color: var(--brown); }
.nav-link::after { content: ''; position: absolute; bottom: 4px; left: 13px; right: 13px; height: 1px; background: var(--red); transform: scaleX(0); transition: transform 0.3s var(--ease); transform-origin: left; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

.nav-drop { position: relative; }
.nav-drop-menu { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%) translateY(-6px); background: var(--white); border: 1px solid var(--cream-dark); padding: 14px 18px; min-width: 190px; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s var(--ease); z-index: 200; box-shadow: 0 8px 28px rgba(42,31,20,0.07); }
.nav-drop:hover .nav-drop-menu { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.nav-drop-menu a { display: block; font-size: 12px; color: var(--brown-light); padding: 8px 0; border-bottom: 1px solid var(--cream); letter-spacing: 0.04em; transition: color 0.2s; }
.nav-drop-menu a:last-child { border-bottom: none; }
.nav-drop-menu a:hover { color: var(--red); }
.nav-drop-menu a.active { color: var(--red); font-weight: 500; }
.drop-arrow { font-size: 8px; margin-left: 3px; }

.icon-btn { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; color: var(--brown); transition: color 0.2s; position: relative; }
.icon-btn:hover { color: var(--red); }
.icon-btn svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cart-badge { position: absolute; top: 5px; right: 3px; width: 15px; height: 15px; background: var(--red); color: #fff; border-radius: 50%; font-size: 8.5px; font-weight: 500; display: flex; align-items: center; justify-content: center; }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.hamburger span { display: block; width: 21px; height: 1.5px; background: var(--brown); }
.mobile-nav { display: none; position: fixed; inset: 0; background: var(--white); z-index: 10000; flex-direction: column; padding: 80px 40px 40px; overflow-y: auto; transform: translateX(100%); transition: transform 0.4s var(--ease); }
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-close { position: absolute; top: 20px; right: 20px; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--brown); cursor: pointer; }
.mobile-nav-close svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; }
.mobile-nav a { display: block; font-family: var(--serif); font-size: 28px; font-weight: 300; color: var(--brown); padding: 14px 0; border-bottom: 1px solid var(--cream); letter-spacing: 0.02em; }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--red); }

/* ─── CATEGORY HERO ─── */
.cat-hero { position: relative; height: 440px; overflow: hidden; background: var(--cream); display: flex; align-items: flex-end; }
.cat-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; /* object-position set per-page via inline style */ }
/* Strong white fade on left — hides any baked-in editorial text, reveals image on right */
.cat-hero-overlay { position: absolute; inset: 0; background: linear-gradient(105deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.85) 22%, rgba(255,255,255,0.55) 42%, rgba(255,255,255,0.12) 62%, transparent 100%); }
.cat-hero-content { position: relative; z-index: 2; padding: 0 80px 60px; max-width: 580px; animation: fadeUp 0.8s var(--ease) both; }
.cat-hero-eye { font-size: 10px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe); margin-bottom: 12px; font-weight: 300; }
.cat-hero-title { font-family: var(--serif); font-size: clamp(40px, 6vw, 72px); font-weight: 300; color: var(--brown); line-height: 0.95; margin-bottom: 16px; }
.cat-hero-desc { font-size: 14px; font-weight: 300; color: var(--brown-light); line-height: 1.75; max-width: 380px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* ─── BREADCRUMB ─── */
.breadcrumb { background: var(--off-white); border-bottom: 1px solid var(--cream-dark); padding: 0 48px; }
.breadcrumb-inner { max-width: 1520px; margin: 0 auto; display: flex; align-items: center; gap: 8px; height: 44px; font-size: 11.5px; }
.breadcrumb a { color: var(--taupe); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { color: var(--stone); font-size: 10px; }
.breadcrumb-cur { color: var(--brown); font-weight: 500; }

/* ─── FILTER BAR ─── */
.filter-bar { background: var(--white); padding: 0 48px; border-bottom: 1px solid var(--cream-dark); position: sticky; top: var(--nav-h); z-index: 50; }
.filter-inner { max-width: 1520px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 52px; gap: 20px; }
.filter-left { display: flex; align-items: center; gap: 6px; }
.filter-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px; border: 1px solid var(--cream-dark); color: var(--taupe); cursor: pointer; transition: all 0.2s; background: transparent; font-family: var(--sans); white-space: nowrap; }
.filter-tag:hover, .filter-tag.active { background: var(--brown); color: var(--cream); border-color: var(--brown); }
.filter-count { font-size: 11.5px; color: var(--taupe); }

/* ─── SECTION COMMONS ─── */
.sec { padding: 88px 48px; }
.sec-inner { max-width: 1520px; margin: 0 auto; }
.sec-label { font-size: 9.5px; letter-spacing: 0.32em; text-transform: uppercase; color: var(--taupe); font-weight: 400; margin-bottom: 9px; }
.sec-title { font-family: var(--serif); font-size: clamp(30px, 3.5vw, 46px); font-weight: 300; line-height: 1.05; color: var(--brown); }
.sec-title em { font-style: italic; color: var(--red-soft); }
.sec-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 48px; gap: 20px; flex-wrap: wrap; }
.see-all { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--taupe); display: flex; align-items: center; gap: 6px; border-bottom: 1px solid var(--stone); padding-bottom: 2px; transition: color 0.2s, border-color 0.2s; white-space: nowrap; }
.see-all:hover { color: var(--red); border-color: var(--red); }
.see-all svg { width: 12px; height: 12px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ─── PRODUCT GRID ─── */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.product-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.product-card { cursor: pointer; }
.product-card:hover .pcard-img img { transform: scale(1.05); }
.product-card:hover .pcard-add { opacity: 1; transform: translateY(0); }
.pcard-img { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--cream); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.pcard-badge { position: absolute; top: 12px; left: 12px; background: var(--brown); color: var(--cream); font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px; z-index: 2; }
.pcard-badge.new { background: var(--red); }
.pcard-badge.kit { background: var(--taupe); }
.pcard-add { position: absolute; bottom: 0; left: 0; right: 0; background: var(--brown); color: var(--cream); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; padding: 13px; text-align: center; opacity: 0; transform: translateY(5px); transition: opacity 0.2s, transform 0.2s, background 0.2s; z-index: 3; }
.pcard-add:hover { background: var(--red); }
.pcard-info { padding: 14px 2px 0; }
.pcard-name { font-family: var(--serif); font-size: 18px; font-weight: 400; color: var(--brown); line-height: 1.2; margin-bottom: 4px; }
.pcard-desc { font-size: 12px; color: var(--taupe); margin-bottom: 9px; font-weight: 300; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; }
.pcard-stars { display: flex; align-items: center; gap: 2px; }
.star { width: 10px; height: 10px; fill: var(--red); }
.pcard-reviews { font-size: 11px; color: var(--stone); margin-left: 5px; }
.pcard-price { font-size: 14px; font-weight: 500; color: var(--brown); }

/* ─── PRODUCT FEATURE (split editorial) ─── */
.product-feature { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; margin-bottom: 2px; }
.product-feature.flip { direction: rtl; }
.product-feature.flip > * { direction: ltr; }
.pf-img { position: relative; overflow: hidden; background: var(--cream); }
.pf-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.9s var(--ease); }
.product-feature:hover .pf-img img { transform: scale(1.03); }
.pf-text { background: var(--off-white); padding: 64px 72px; display: flex; flex-direction: column; justify-content: center; }
.pf-eye { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; font-weight: 300; }
.pf-name { font-family: var(--serif); font-size: clamp(28px, 3vw, 44px); font-weight: 300; color: var(--brown); line-height: 1.05; margin-bottom: 12px; }
.pf-divider { width: 36px; height: 1px; background: var(--red); margin-bottom: 16px; }
.pf-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pf-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 12px; border: 1px solid var(--cream-dark); color: var(--taupe); font-weight: 300; }
.pf-desc { font-size: 14px; font-weight: 300; color: var(--brown-light); line-height: 1.85; margin-bottom: 24px; max-width: 400px; }
.pf-price { font-family: var(--serif); font-size: 26px; font-weight: 300; color: var(--brown); margin-bottom: 24px; }
.pf-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--brown); color: var(--cream); font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 28px; transition: background 0.25s; }
.btn-primary:hover { background: var(--red); }
.btn-outline-dark { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--cream-dark); color: var(--brown-light); font-family: var(--sans); font-size: 11px; font-weight: 300; letter-spacing: 0.14em; text-transform: uppercase; padding: 13px 28px; transition: border-color 0.2s, color 0.2s; }
.btn-outline-dark:hover { border-color: var(--brown); color: var(--brown); }

/* ─── INGREDIENTS STRIP ─── */
.ingredients-strip { background: var(--cream-mid); padding: 40px 48px; border-top: 1px solid var(--cream-dark); border-bottom: 1px solid var(--cream-dark); }
.ing-inner { max-width: 1520px; margin: 0 auto; display: flex; align-items: center; gap: 60px; justify-content: center; flex-wrap: wrap; }
.ing-item { text-align: center; }
.ing-icon { width: 34px; height: 34px; margin: 0 auto 10px; color: var(--red-soft); }
.ing-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.ing-name { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brown); font-weight: 400; margin-bottom: 3px; }
.ing-desc { font-size: 11px; font-weight: 300; color: var(--taupe); }

/* ─── CROSS-SELL ─── */
.cross-sell { background: var(--off-white); }
.cross-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; }
.cross-card { position: relative; overflow: hidden; aspect-ratio: 3/4; cursor: pointer; background: var(--cream); }
.cross-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.cross-card:hover img { transform: scale(1.05); }
.cross-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(42,31,20,0.65) 0%, transparent 55%); display: flex; flex-direction: column; justify-content: flex-end; padding: 22px; }
.cross-name { font-family: var(--serif); font-size: 20px; font-weight: 300; color: var(--cream); margin-bottom: 10px; line-height: 1.2; }
.cross-link { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(244,240,234,0.8); display: flex; align-items: center; gap: 5px; border-bottom: 1px solid rgba(244,240,234,0.3); padding-bottom: 2px; align-self: flex-start; transition: color 0.2s, border-color 0.2s; }
.cross-link svg { width: 10px; height: 10px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cross-card:hover .cross-link { color: #ECA8A0; border-color: #ECA8A0; }

/* ─── NEWSLETTER ─── */
.newsletter-sec { background: var(--cream); padding: 80px 48px; }
.newsletter-inner { max-width: 520px; margin: 0 auto; text-align: center; }
.nl-eyebrow { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--taupe); margin-bottom: 14px; font-weight: 300; }
.nl-title { font-family: var(--serif); font-size: clamp(28px, 3.5vw, 42px); font-weight: 300; color: var(--brown); margin-bottom: 12px; line-height: 1.1; }
.nl-sub { font-size: 13px; font-weight: 300; color: var(--taupe); margin-bottom: 32px; line-height: 1.7; }
.nl-form { display: flex; max-width: 420px; margin: 0 auto 12px; }
.nl-input { flex: 1; background: var(--white); border: 1px solid var(--cream-dark); border-right: none; color: var(--brown); font-family: var(--sans); font-size: 13px; padding: 13px 18px; outline: none; transition: border-color 0.2s; }
.nl-input::placeholder { color: var(--stone); }
.nl-input:focus { border-color: var(--taupe); }
.nl-btn { background: var(--brown); color: var(--cream); font-family: var(--sans); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; padding: 13px 22px; cursor: pointer; border: 1px solid var(--brown); transition: background 0.2s; white-space: nowrap; }
.nl-btn:hover { background: var(--red); border-color: var(--red); }
.nl-note { font-size: 10.5px; color: var(--stone); line-height: 1.6; }

/* ─── FOOTER ─── */
footer { background: var(--brown); color: var(--cream); padding: 64px 48px 36px; }
.footer-inner { max-width: 1520px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 56px; padding-bottom: 48px; border-bottom: 1px solid rgba(244,240,234,0.1); margin-bottom: 32px; }
.footer-logo-text { font-family: var(--serif); font-size: 20px; font-weight: 400; letter-spacing: 0.22em; color: var(--cream); text-transform: uppercase; display: block; margin-bottom: 3px; }
.footer-logo-sub { font-size: 8.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--taupe); display: block; margin-bottom: 18px; }
.footer-tagline { font-size: 13px; font-weight: 300; color: var(--stone); line-height: 1.8; max-width: 280px; margin-bottom: 22px; }
.footer-socials { display: flex; gap: 10px; }
.social-btn { width: 34px; height: 34px; border: 1px solid rgba(244,240,234,0.15); display: flex; align-items: center; justify-content: center; color: var(--stone); transition: border-color 0.2s, color 0.2s; }
.social-btn:hover { border-color: var(--red); color: var(--red); }
.social-btn svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.footer-col h4 { font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--cream); font-weight: 400; margin-bottom: 17px; }
.footer-col a { display: block; font-size: 13px; font-weight: 300; color: var(--stone); margin-bottom: 9px; transition: color 0.2s; }
.footer-col a:hover { color: var(--cream); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-size: 11px; color: rgba(200,192,180,0.4); font-weight: 300; }
.footer-pay { display: flex; gap: 7px; flex-wrap: wrap; }
.pay-badge { background: rgba(244,240,234,0.06); border: 1px solid rgba(244,240,234,0.1); border-radius: 3px; padding: 4px 8px; font-size: 9.5px; color: rgba(200,192,180,0.5); letter-spacing: 0.05em; }

/* ─── SHARED JS BUTTON STYLES ─── */
.pf-add-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--brown); color: var(--cream); font-family: var(--sans); font-size: 11px; font-weight: 400; letter-spacing: 0.14em; text-transform: uppercase; padding: 14px 28px; transition: background 0.25s; cursor: pointer; border: none; }
.pf-add-btn:hover { background: var(--red); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .cross-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav-left { display: none; }
  .nav-right .nav-link { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }
  .nav-wrap { padding: 0 20px; }
  .nav-logo { margin-right: auto; }
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-feature, .product-feature.flip { grid-template-columns: 1fr; direction: ltr; }
  .pf-img { aspect-ratio: 16/9; }
  .pf-text { padding: 48px 32px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .sec { padding: 56px 24px; }
  .newsletter-sec { padding: 56px 24px; }
  .cat-hero { height: 340px; }
  .cat-hero-content { padding: 0 28px 40px; }
  .breadcrumb, .filter-bar { padding: 0 24px; }
  .filter-left { overflow-x: auto; }
  .ing-inner { gap: 32px; }
  .ingredients-strip { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .product-grid, .product-grid.cols-2 { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cross-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .nl-input { border-right: 1px solid var(--cream-dark); border-bottom: none; }
}
