/* ============================================================
   ERIVELLE — Design System & Global Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

/* ---- Custom Properties ------------------------------------ */
:root {
  --cream:         #F5F0E8;
  --linen:         #FAF6EE;
  --white:         #FFFFFF;
  --green-dark:    #2C5F3E;
  --green-mid:     #3D6B4F;
  --green-light:   #A8C5B5;
  --green-pale:    #E6F0EB;
  --mocha:         #6B4F3A;
  --mocha-light:   #C4A882;
  --text-primary:  #1A1A1A;
  --text-secondary:#4A4A4A;
  --text-muted:    #8A8A8A;
  --border:        #E2D9CC;
  --border-light:  #EDE7DD;
  --accent:        #2C5F3E;
  --accent-hover:  #1E4A2E;
  --star:          #D4991A;

  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-full:9999px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container:      1240px;
  --nav-height:     64px;
  --announce-height:38px;
}

/* ---- Reset ------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}
img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

/* ---- Typography ------------------------------------------ */
h1,h2,h3,h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  color: var(--text-primary);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.4rem); font-weight: 500; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 500; }
h4 { font-size: 1rem; font-weight: 600; }
p  { line-height: 1.75; color: var(--text-secondary); }

/* ---- Layout ---------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width:768px) { .container { padding: 0 40px; } }

/* ---- Buttons --------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: all .2s ease;
  white-space: nowrap;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(44,95,62,.3);
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-full  { width: 100%; }
.btn-lg    { padding: 15px 34px; font-size: .98rem; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
  background: var(--green-dark);
  color: var(--white);
  height: var(--announce-height);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  z-index: 200;
}
.announce-track {
  display: flex;
  gap: 100px;
  animation: scroll-announce 22s linear infinite;
  white-space: nowrap;
  padding: 0 20px;
}
.announce-track span {
  font-size: 0.75rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 500;
}
@keyframes scroll-announce {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245,240,232,.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  height: var(--nav-height);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--green-dark);
  letter-spacing: -0.02em;
}
.nav-links { display: none; gap: 28px; }
@media (min-width:768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color .2s;
  letter-spacing: .01em;
}
.nav-links a:hover, .nav-links a.active { color: var(--green-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  transition: background .2s;
}
.nav-cart-btn:hover { background: var(--accent-hover); }
.cart-count {
  background: var(--mocha-light);
  color: var(--white);
  width: 18px; height: 18px;
  border-radius: 50%;
  font-size: 0.68rem;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  line-height: 1;
}
.nav-hamburger {
  display: flex; flex-direction: column; gap: 5px; padding: 4px;
}
@media (min-width:768px) { .nav-hamburger { display: none; } }
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--text-primary); border-radius: 2px;
  transition: all .3s;
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; visibility: hidden;
}
.mobile-nav.open { visibility: visible; }
.mobile-nav-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4); opacity: 0;
  transition: opacity .3s;
}
.mobile-nav.open .mobile-nav-overlay { opacity: 1; }
.mobile-nav-drawer {
  position: absolute; top: 0; right: 0;
  width: 80%; max-width: 320px; height: 100%;
  background: var(--linen);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  padding: 24px; overflow-y: auto;
}
.mobile-nav.open .mobile-nav-drawer { transform: translateX(0); }
.mobile-nav-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 32px;
}
.mobile-nav-logo {
  font-family: var(--font-serif); font-size: 1.25rem; color: var(--green-dark);
}
.mobile-nav-close {
  width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; background: var(--border-light);
  font-size: 1rem; cursor: pointer;
}
.mobile-nav-links { display: flex; flex-direction: column; gap: 2px; }
.mobile-nav-links a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; font-size: .97rem; font-weight: 500;
  color: var(--text-primary); border-bottom: 1px solid var(--border-light);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100svh - var(--nav-height) - var(--announce-height));
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  background: var(--linen);
}
@media (min-width:768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 88vh;
  }
}
.hero-content {
  padding: 56px 20px 40px;
  display: flex; flex-direction: column; gap: 22px;
  justify-content: center;
}
@media (min-width:768px) {
  .hero-content { padding: 80px 48px 80px 60px; max-width: 600px; }
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 14px;
  background: var(--green-pale);
  color: var(--green-dark);
  border-radius: var(--radius-full);
  font-size: .73rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  width: fit-content;
}
.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -.025em;
}
.hero h1 em { font-style: italic; color: var(--green-mid); }
.hero-sub {
  font-size: 1rem; color: var(--text-secondary);
  max-width: 420px; line-height: 1.65;
}
.hero-cta-group { display: flex; flex-direction: column; gap: 10px; }
@media (min-width:480px) { .hero-cta-group { flex-direction: row; align-items: center; } }
.hero-trust {
  display: flex; align-items: center; gap: 8px;
  font-size: .78rem; color: var(--text-muted);
}
.hero-trust .stars { color: var(--star); font-size: .88rem; }
.hero-trust .sep { color: var(--border); }

/* Hero visual */
.hero-visual {
  height: 360px;
  background: linear-gradient(140deg, var(--green-pale) 0%, #c4ddd0 45%, var(--green-mid) 100%);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
}
@media (min-width:768px) { .hero-visual { height: 100%; min-height: 580px; } }
.hero-visual-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: rgba(255,255,255,.8);
  font-family: var(--font-serif); font-size: 1.1rem; text-align: center;
  padding: 24px; gap: 8px;
}
.hero-visual-inner .hero-emoji { font-size: 5rem; filter: drop-shadow(0 8px 24px rgba(0,0,0,.15)); }

.hero-float-card {
  position: absolute; bottom: 24px; left: 16px; right: 16px;
  background: rgba(245,240,232,.96);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg); padding: 14px;
  display: flex; align-items: center; gap: 12px;
  box-shadow: var(--shadow-lg);
}
@media (min-width:768px) {
  .hero-float-card { left: auto; right: 24px; width: 270px; }
}
.hfc-img {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--green-pale); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.hfc-info .name { font-size: .83rem; font-weight: 600; margin-bottom: 2px; }
.hfc-info .price { font-size: .78rem; color: var(--green-dark); font-weight: 500; }
.hfc-info .rating { font-size: .72rem; color: var(--text-muted); }
.hfc-info .stars-sm { color: var(--star); }

/* ============================================================
   SOCIAL PROOF STRIP
   ============================================================ */
.social-proof {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 44px 0;
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}
@media (min-width:768px) {
  .proof-grid { grid-template-columns: repeat(3,1fr); }
}
.proof-quote {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}
@media (min-width:768px) {
  .proof-quote {
    border-right: 1px solid var(--border);
    border-bottom: none;
  }
  .proof-quote:last-child { border-right: none; }
}
.proof-stars { color: var(--star); margin-bottom: 10px; font-size: .95rem; }
.proof-text {
  font-size: .9rem; line-height: 1.65;
  color: var(--text-secondary); font-style: italic; margin-bottom: 14px;
}
.proof-author {
  display: flex; align-items: center; justify-content: center; gap: 9px;
}
.proof-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; font-weight: 700; color: var(--white);
}
.proof-avatar.a1 { background: #5C8A74; }
.proof-avatar.a2 { background: var(--mocha-light); }
.proof-avatar.a3 { background: #7B9B8A; }
.proof-name { font-size: .82rem; font-weight: 600; color: var(--text-primary); }
.proof-location { font-size: .74rem; color: var(--text-muted); }

/* ============================================================
   PROBLEM / SOLUTION
   ============================================================ */
.problem-solution {
  padding: 80px 0;
  background: var(--white);
}
.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--green-dark); margin-bottom: 12px;
}
.section-header {
  text-align: center; margin-bottom: 52px;
  max-width: 580px; margin-left: auto; margin-right: auto;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: .97rem; }
.ps-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px;
}
@media (min-width:768px) { .ps-grid { grid-template-columns: repeat(3,1fr); } }
.ps-card { padding: 30px 26px; border-radius: var(--radius-lg); }
.ps-card.problem   { background: #FEF6EC; border: 1px solid #F5D89A; }
.ps-card.alts      { background: #F4F4F4; border: 1px solid #E0E0E0; }
.ps-card.solution  { background: var(--green-pale); border: 1px solid var(--green-light); }
.ps-icon {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 16px;
}
.ps-card.problem  .ps-icon { background: #F5D89A; }
.ps-card.alts     .ps-icon { background: #DCDCDC; }
.ps-card.solution .ps-icon { background: var(--green-light); }
.ps-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.ps-card p  { font-size: .87rem; line-height: 1.7; }

/* ============================================================
   PRODUCT SHOWCASE (hero product)
   ============================================================ */
.product-showcase { padding: 80px 0; background: var(--linen); }
.showcase-inner {
  display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center;
}
@media (min-width:768px) {
  .showcase-inner { grid-template-columns: 1fr 1fr; gap: 72px; }
}
.showcase-img {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--green-pale) 0%, #c8ddd4 100%);
  border-radius: var(--radius-xl); overflow: hidden; position: relative;
  display: flex; align-items: center; justify-content: center; font-size: 7rem;
}
.showcase-badge {
  position: absolute; top: 18px; right: 18px;
  background: var(--white); border-radius: var(--radius-full);
  padding: 5px 14px; font-size: .73rem; font-weight: 700;
  color: var(--green-dark); box-shadow: var(--shadow-md);
}
.showcase-content { display: flex; flex-direction: column; gap: 20px; }
.showcase-eyebrow {
  font-size: .73rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--mocha-light);
}
.showcase-content h2 { font-size: clamp(1.7rem,4vw,2.6rem); }
.showcase-bullets { display: flex; flex-direction: column; gap: 10px; }
.showcase-bullet {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .9rem; color: var(--text-secondary);
}
.showcase-bullet .ck {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green-pale); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; flex-shrink: 0; margin-top: 2px;
}
.showcase-price-row {
  display: flex; align-items: center; gap: 14px;
}
.sp-current {
  font-family: var(--font-serif); font-size: 2rem; font-weight: 700;
}
.sp-orig { font-size: 1.1rem; text-decoration: line-through; color: var(--text-muted); }
.sp-save {
  background: #E8F5E9; color: #2A6B2A;
  padding: 3px 12px; border-radius: var(--radius-full);
  font-size: .76rem; font-weight: 700;
}

/* ============================================================
   COLLECTION GRID
   ============================================================ */
.collection-section { padding: 80px 0; background: var(--cream); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px; margin-top: 48px;
}
@media (min-width:600px)  { .product-grid { grid-template-columns: repeat(3,1fr); gap: 20px; } }
@media (min-width:1024px) { .product-grid { grid-template-columns: repeat(4,1fr); gap: 24px; } }

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform .2s, box-shadow .2s;
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
}
.pc-img {
  aspect-ratio: 1; background: var(--linen);
  position: relative; display: flex; align-items: center;
  justify-content: center; font-size: 2.8rem; overflow: hidden;
}
.pc-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--green-dark); color: var(--white);
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em;
}
.pc-body { padding: 15px; }
.pc-name {
  font-family: var(--font-serif); font-size: .97rem;
  font-weight: 500; margin-bottom: 4px; line-height: 1.3;
}
.pc-tagline { font-size: .77rem; color: var(--text-muted); margin-bottom: 10px; line-height: 1.4; }
.pc-footer {
  display: flex; align-items: center;
  justify-content: space-between; gap: 6px;
}
.pc-price { font-size: .97rem; font-weight: 700; }
.pc-rating {
  font-size: .75rem; color: var(--text-muted);
  display: flex; align-items: center; gap: 3px;
}
.pc-rating .stars { color: var(--star); }
.pc-atc {
  display: block; width: 100%; margin-top: 10px;
  padding: 9px; background: var(--accent); color: var(--white);
  border-radius: var(--radius-full); font-size: .8rem; font-weight: 600;
  text-align: center; transition: background .2s;
}
.pc-atc:hover { background: var(--accent-hover); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works {
  padding: 80px 0;
  background: var(--green-dark); color: var(--white);
}
.how-it-works .section-label { color: var(--green-light); }
.how-it-works .section-header h2 { color: var(--white); }
.how-it-works .section-header p { color: rgba(255,255,255,.65); }
.steps-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 32px; margin-top: 48px;
}
@media (min-width:768px) { .steps-grid { grid-template-columns: repeat(3,1fr); } }
.step { text-align: center; }
.step-num {
  width: 54px; height: 54px; border-radius: 50%;
  background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700;
  color: var(--white); margin: 0 auto 18px;
}
.step-icon { font-size: 2.2rem; margin-bottom: 14px; }
.step h3 { color: var(--white); font-size: 1.05rem; margin-bottom: 8px; }
.step p  { color: rgba(255,255,255,.6); font-size: .86rem; line-height: 1.6; max-width: 240px; margin: 0 auto; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 80px 0; background: var(--white); }
.testimonials-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 20px; margin-top: 48px;
}
@media (min-width:768px) { .testimonials-grid { grid-template-columns: repeat(3,1fr); } }
.testimonial-card {
  background: var(--linen); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 26px;
}
.t-stars { color: var(--star); font-size: .92rem; margin-bottom: 12px; }
.t-text {
  font-size: .9rem; line-height: 1.7; color: var(--text-secondary);
  font-style: italic; margin-bottom: 18px;
}
.t-author { display: flex; align-items: center; gap: 10px; }
.t-avatar {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .82rem; color: var(--white); flex-shrink: 0;
}
.t-avatar.b1 { background: #5C8A74; }
.t-avatar.b2 { background: var(--mocha-light); }
.t-avatar.b3 { background: #7B9B8A; }
.t-name  { font-size: .85rem; font-weight: 700; color: var(--text-primary); }
.t-meta  { font-size: .75rem; color: var(--text-muted); }

/* ============================================================
   FAQ TEASER
   ============================================================ */
.faq-teaser { padding: 80px 0; background: var(--linen); }
.faq-list {
  max-width: 720px; margin: 48px auto 0;
}
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  width: 100%; display: flex;
  align-items: center; justify-content: space-between;
  padding: 18px 0; font-size: .93rem; font-weight: 500;
  color: var(--text-primary); text-align: left; gap: 16px;
  transition: color .2s;
}
.faq-q:hover { color: var(--green-dark); }
.faq-toggle {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--green-pale); color: var(--green-dark);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem; font-weight: 300;
  transition: transform .3s, background .2s;
}
.faq-item.open .faq-toggle {
  transform: rotate(45deg);
  background: var(--green-dark); color: var(--white);
}
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a-inner {
  padding-bottom: 18px; font-size: .88rem;
  color: var(--text-secondary); line-height: 1.7;
}
.faq-see-all { text-align: center; margin-top: 28px; }
.faq-see-all a {
  color: var(--green-dark); font-weight: 600; font-size: .9rem;
  text-decoration: underline; text-underline-offset: 3px;
}

/* ============================================================
   EMAIL CAPTURE
   ============================================================ */
.email-capture {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  color: var(--white); text-align: center;
}
.email-capture h2 { color: var(--white); margin-bottom: 10px; }
.email-capture p  { color: rgba(255,255,255,.72); margin-bottom: 30px; font-size: .97rem; }
.email-form {
  display: flex; flex-direction: column; gap: 10px;
  max-width: 440px; margin: 0 auto;
}
@media (min-width:480px) { .email-form { flex-direction: row; } }
.email-form input {
  flex: 1; padding: 13px 20px;
  border: none; border-radius: var(--radius-full);
  font-size: .92rem; background: rgba(255,255,255,.15); color: var(--white);
  outline: none; transition: background .2s;
}
.email-form input::placeholder { color: rgba(255,255,255,.5); }
.email-form input:focus { background: rgba(255,255,255,.25); }
.email-form .btn-primary {
  background: var(--white); color: var(--green-dark); border-color: var(--white);
}
.email-form .btn-primary:hover {
  background: var(--cream); border-color: var(--cream);
}
.email-fine { margin-top: 14px; font-size: .72rem; color: rgba(255,255,255,.4); }

/* ============================================================
   TRUST BADGES
   ============================================================ */
.trust-badges {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-top: 22px;
}
.trust-badge {
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px; background: var(--linen);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  font-size: .76rem; font-weight: 500; color: var(--text-secondary);
}
.trust-badge .ti { color: var(--green-dark); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: #141414; color: rgba(255,255,255,.75); padding: 64px 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 36px; margin-bottom: 48px;
}
@media (min-width:640px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
}
.footer-brand .logo {
  font-family: var(--font-serif); font-size: 1.4rem;
  color: var(--white); margin-bottom: 10px;
}
.footer-brand p {
  font-size: .83rem; line-height: 1.65; color: rgba(255,255,255,.45);
  max-width: 230px; margin-bottom: 18px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; transition: background .2s;
}
.footer-social a:hover { background: var(--green-mid); }
.footer-col h4 {
  font-size: .77rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--white); margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .83rem; color: rgba(255,255,255,.45); transition: color .2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 12px;
  align-items: center; text-align: center;
}
@media (min-width:640px) {
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}
.footer-bottom p { font-size: .76rem; color: rgba(255,255,255,.3); }
.footer-pay { display: flex; gap: 7px; align-items: center; flex-wrap: wrap; justify-content: center; }
.pay-badge {
  background: rgba(255,255,255,.08); border-radius: 4px;
  padding: 4px 9px; font-size: .68rem; color: rgba(255,255,255,.5); font-weight: 600;
}

/* ============================================================
   CART DRAWER
   ============================================================ */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.4);
  z-index: 300; opacity: 0; visibility: hidden; transition: all .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0;
  width: 100%; max-width: 400px; height: 100%;
  background: var(--white); z-index: 301;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-hdr {
  padding: 18px 22px; border-bottom: 1px solid var(--border-light);
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer-hdr h3 { font-size: .97rem; font-weight: 600; }
.cart-close {
  width: 32px; height: 32px; display: flex; align-items: center;
  justify-content: center; border-radius: 50%; background: var(--linen);
  font-size: 1rem; cursor: pointer; transition: background .2s;
}
.cart-close:hover { background: var(--border); }
.cart-progress-wrap { margin: 14px 22px; background: var(--linen); border-radius: var(--radius-md); padding: 12px 14px; }
.cart-progress-msg { font-size: .78rem; color: var(--text-secondary); text-align: center; margin-bottom: 8px; }
.cart-progress-bar { height: 4px; background: var(--border); border-radius: var(--radius-full); overflow: hidden; }
.cart-progress-fill {
  height: 100%; background: var(--green-dark);
  border-radius: var(--radius-full); transition: width .4s ease;
}
.cart-items { flex: 1; overflow-y: auto; padding: 0 22px; }
.cart-item {
  display: flex; gap: 12px; padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
}
.cart-item-img {
  width: 62px; height: 62px; border-radius: var(--radius-md);
  background: var(--linen); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.6rem;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name  { font-size: .85rem; font-weight: 600; margin-bottom: 3px; }
.cart-item-meta  { font-size: .76rem; color: var(--text-muted); margin-bottom: 8px; }
.cart-item-row2  { display: flex; align-items: center; justify-content: space-between; }
.qty-ctrl {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-full); overflow: hidden;
}
.qty-btn {
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--text-secondary); transition: background .2s;
}
.qty-btn:hover { background: var(--linen); }
.qty-num { font-size: .83rem; font-weight: 600; min-width: 22px; text-align: center; }
.ci-price { font-size: .88rem; font-weight: 700; }
.cart-footer-wrap {
  padding: 18px 22px; border-top: 1px solid var(--border-light);
}
.cart-sub-row {
  display: flex; justify-content: space-between;
  font-size: .85rem; color: var(--text-secondary); margin-bottom: 4px;
}
.cart-sub-row strong { font-size: .97rem; font-weight: 700; color: var(--text-primary); }
.cart-note { font-size: .74rem; color: var(--text-muted); text-align: center; margin: 10px 0 14px; }

/* ============================================================
   EXIT INTENT POPUP
   ============================================================ */
.popup-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 400; display: flex; align-items: center; justify-content: center;
  padding: 20px; opacity: 0; visibility: hidden; transition: all .3s;
}
.popup-overlay.open { opacity: 1; visibility: visible; }
.popup {
  background: var(--white); border-radius: var(--radius-xl);
  max-width: 400px; width: 100%; overflow: hidden;
  transform: scale(.95); transition: transform .3s;
}
.popup-overlay.open .popup { transform: scale(1); }
.popup-top {
  background: linear-gradient(135deg, var(--green-dark), var(--green-mid));
  padding: 30px 26px 22px; text-align: center; position: relative;
}
.popup-x {
  position: absolute; top: 10px; right: 14px;
  color: rgba(255,255,255,.55); font-size: 1.1rem; cursor: pointer;
}
.popup-pct {
  font-family: var(--font-serif); font-size: 3.4rem;
  font-weight: 700; color: var(--white); line-height: 1;
  margin-bottom: 6px;
}
.popup-top h3 { color: var(--white); font-size: 1.05rem; }
.popup-top p  { color: rgba(255,255,255,.65); font-size: .83rem; margin-top: 6px; }
.popup-body { padding: 22px 26px 26px; }
.popup-form { display: flex; flex-direction: column; gap: 9px; }
.popup-form input {
  padding: 12px 18px; border: 1px solid var(--border);
  border-radius: var(--radius-full); font-size: .9rem; outline: none;
  background: var(--linen); transition: border-color .2s;
}
.popup-form input:focus { border-color: var(--green-dark); }
.popup-dismiss { text-align: center; margin-top: 10px; }
.popup-dismiss button {
  font-size: .77rem; color: var(--text-muted);
  text-decoration: underline; text-underline-offset: 2px;
}

/* ============================================================
   STICKY CART ICON (mobile)
   ============================================================ */
.sticky-cart {
  position: fixed; bottom: 20px; right: 20px;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; z-index: 50; box-shadow: 0 4px 14px rgba(44,95,62,.45);
  transition: transform .2s;
}
.sticky-cart:hover { transform: scale(1.08); }
@media (min-width:768px) { .sticky-cart { display: none; } }
.sticky-cart-count {
  position: absolute; top: -2px; right: -2px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--mocha-light); color: var(--white);
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--white);
}

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  padding: 56px 0 38px; background: var(--linen);
  border-bottom: 1px solid var(--border); text-align: center;
}
.page-header h1 { margin-bottom: 10px; }
.page-header p {
  font-size: .97rem; color: var(--text-secondary);
  max-width: 520px; margin: 0 auto;
}
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; color: var(--text-muted); padding: 14px 0;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); transition: color .2s; }
.breadcrumb a:hover { color: var(--green-dark); }
.breadcrumb .sep { color: var(--border); }
.breadcrumb .current { color: var(--text-primary); }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-detail { padding: 28px 0 80px; }
.product-layout {
  display: grid; grid-template-columns: 1fr; gap: 36px;
}
@media (min-width:768px) {
  .product-layout { grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
}

/* Gallery */
.gallery-main {
  aspect-ratio: 1; background: var(--linen);
  border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 10px;
  position: relative; display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}
.gallery-thumbs {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none;
}
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumb {
  width: 66px; height: 66px; border-radius: var(--radius-md);
  background: var(--linen); flex-shrink: 0;
  border: 2px solid transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; transition: border-color .2s;
}
.gallery-thumb.active { border-color: var(--green-dark); }

/* Product info */
.product-tag {
  font-size: .72rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green-mid); margin-bottom: 7px;
}
.product-title {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem,3.5vw,2.1rem);
  line-height: 1.15; margin-bottom: 10px;
}
.product-rating-row {
  display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.rating-stars { color: var(--star); font-size: .88rem; }
.rating-count {
  font-size: .8rem; color: var(--text-muted);
  text-decoration: underline; text-underline-offset: 2px; cursor: pointer;
}
.product-price-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 18px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border-light);
}
.price-now  { font-family: var(--font-serif); font-size: 1.85rem; font-weight: 700; }
.price-was  { font-size: 1.05rem; text-decoration: line-through; color: var(--text-muted); }
.price-save { background: #E8F5E9; color: #2A6B2A; padding: 3px 12px; border-radius: var(--radius-full); font-size: .74rem; font-weight: 700; }
.product-bullets { margin-bottom: 22px; display: flex; flex-direction: column; gap: 8px; }
.p-bullet { display: flex; align-items: flex-start; gap: 9px; font-size: .89rem; color: var(--text-secondary); }
.p-bullet .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green-dark); flex-shrink: 0; margin-top: 6px;
}
.variant-section { margin-bottom: 18px; }
.variant-label {
  font-size: .78rem; font-weight: 700; color: var(--text-primary);
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 9px;
}
.variant-opts { display: flex; gap: 8px; flex-wrap: wrap; }
.v-opt {
  padding: 7px 15px; border: 1px solid var(--border);
  border-radius: var(--radius-full); font-size: .83rem; cursor: pointer;
  transition: all .2s;
}
.v-opt.active {
  border-color: var(--green-dark); background: var(--green-pale);
  color: var(--green-dark); font-weight: 600;
}
.qty-atc { display: flex; gap: 10px; margin-bottom: 14px; }
.qty-input-ctrl {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: var(--radius-full); overflow: hidden;
}
.qty-input-ctrl button {
  width: 40px; height: 48px; font-size: 1rem;
  color: var(--text-secondary); transition: background .2s;
}
.qty-input-ctrl button:hover { background: var(--linen); }
.qty-input-ctrl input {
  width: 46px; text-align: center; border: none;
  font-size: .93rem; font-weight: 600; outline: none; background: transparent;
}
.atc-main {
  flex: 1; padding: 14px; background: var(--accent); color: var(--white);
  border-radius: var(--radius-full); font-size: .93rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .2s;
}
.atc-main:hover { background: var(--accent-hover); }
.micro-trust {
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center;
  padding: 13px; background: var(--linen); border-radius: var(--radius-md);
  margin-bottom: 20px;
}
.mt-item {
  display: flex; align-items: center; gap: 5px;
  font-size: .75rem; color: var(--text-secondary);
}
.mt-item .mti { color: var(--green-dark); }
.ship-est {
  background: var(--linen); border: 1px solid var(--border-light);
  border-radius: var(--radius-md); padding: 12px 16px;
  font-size: .83rem; color: var(--text-secondary); margin-bottom: 20px;
}
.ship-est strong { color: var(--text-primary); }

/* Product sections below fold */
.pd-section { padding: 52px 0; border-top: 1px solid var(--border-light); }
.pd-section:first-child { border-top: none; }
.pd-section h2 { font-size: 1.45rem; margin-bottom: 22px; }
.features-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 14px;
}
@media (min-width:768px) { .features-grid { grid-template-columns: repeat(3,1fr); } }
.feat-card {
  background: var(--linen); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 20px;
}
.feat-icon { font-size: 1.5rem; margin-bottom: 9px; }
.feat-card h4 { font-size: .9rem; margin-bottom: 5px; }
.feat-card p  { font-size: .8rem; color: var(--text-muted); line-height: 1.5; }
.specs-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.specs-table tr:nth-child(even) { background: var(--linen); }
.specs-table td { padding: 11px 14px; border-bottom: 1px solid var(--border-light); vertical-align: top; }
.specs-table td:first-child { font-weight: 600; color: var(--text-primary); width: 42%; }
.specs-table td:last-child { color: var(--text-secondary); }
.compare-table { width: 100%; border-collapse: collapse; font-size: .83rem; }
.compare-table th { padding: 11px 14px; background: var(--linen); text-align: center; font-weight: 700; font-size: .78rem; }
.compare-table th:first-child { text-align: left; }
.compare-table th.us-col { background: var(--green-pale); color: var(--green-dark); }
.compare-table td { padding: 11px 14px; border-bottom: 1px solid var(--border-light); text-align: center; vertical-align: middle; }
.compare-table td:first-child { text-align: left; font-weight: 500; color: var(--text-primary); }
.c-yes { color: var(--green-dark); font-size: 1rem; }
.c-no  { color: #C0392B; font-size: 1rem; }
.review-card {
  padding: 22px; background: var(--linen);
  border-radius: var(--radius-lg); border: 1px solid var(--border-light); margin-bottom: 14px;
}
.review-hdr { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 8px; }
.review-stars { color: var(--star); font-size: .83rem; }
.review-date  { font-size: .73rem; color: var(--text-muted); }
.review-title { font-size: .9rem; font-weight: 700; margin-bottom: 7px; }
.review-body  { font-size: .85rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 10px; }
.review-meta  { font-size: .77rem; color: var(--text-muted); }
.review-verified { color: var(--green-dark); font-weight: 600; }
.related-grid {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 0;
}
@media (min-width:768px) { .related-grid { grid-template-columns: repeat(4,1fr); } }

/* Sticky ATC */
.sticky-atc {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: var(--white); border-top: 1px solid var(--border);
  padding: 10px 18px; display: flex; align-items: center; gap: 12px;
  z-index: 50; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
  transform: translateY(100%); transition: transform .3s;
}
.sticky-atc.show { transform: translateY(0); }
@media (min-width:768px) { .sticky-atc { display: none; } }
.satc-info { flex: 1; min-width: 0; }
.satc-name  { font-size: .83rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.satc-price { font-size: .78rem; color: var(--text-muted); }
.satc-btn {
  padding: 10px 20px; background: var(--accent); color: var(--white);
  border-radius: var(--radius-full); font-size: .85rem; font-weight: 700;
  white-space: nowrap; transition: background .2s;
}
.satc-btn:hover { background: var(--accent-hover); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  display: grid; grid-template-columns: 1fr; gap: 44px;
  padding: 72px 0; align-items: center;
}
@media (min-width:768px) { .about-intro { grid-template-columns: 1fr 1fr; } }
.founder-img {
  aspect-ratio: 4/5;
  background: linear-gradient(145deg, var(--green-pale) 0%, #cce0d6 100%);
  border-radius: var(--radius-xl);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-size: 4rem; gap: 14px; color: rgba(44,95,62,.5);
}
.founder-img small { font-size: .8rem; font-family: var(--font-serif); font-style: italic; }
.about-story h2 { margin-bottom: 18px; }
.about-story p  { margin-bottom: 14px; }
.principles { padding: 72px 0; background: var(--white); }
.principles-grid {
  display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 44px;
}
@media (min-width:768px) { .principles-grid { grid-template-columns: repeat(3,1fr); } }
.principle-card {
  padding: 26px; background: var(--linen);
  border-radius: var(--radius-lg); border-left: 3px solid var(--green-dark);
}
.principle-icon { font-size: 1.6rem; margin-bottom: 10px; }
.principle-card h3 { font-size: .97rem; margin-bottom: 7px; }
.principle-card p  { font-size: .86rem; }

/* ============================================================
   FAQ PAGE
   ============================================================ */
.faq-page  { padding: 56px 0 80px; }
.faq-block { margin-bottom: 44px; }
.faq-block-title {
  font-family: var(--font-serif); font-size: 1.25rem;
  color: var(--green-dark); margin-bottom: 20px;
  padding-bottom: 10px; border-bottom: 2px solid var(--green-pale);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap { padding: 56px 0 80px; }
.contact-layout { display: grid; grid-template-columns: 1fr; gap: 44px; }
@media (min-width:768px) { .contact-layout { grid-template-columns: 1fr 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-card {
  display: flex; gap: 14px; padding: 18px;
  background: var(--linen); border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}
.contact-icon {
  width: 42px; height: 42px; border-radius: var(--radius-md);
  background: var(--green-pale); display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem; flex-shrink: 0;
}
.contact-card h4 { font-size: .9rem; margin-bottom: 3px; }
.contact-card p, .contact-card a { font-size: .83rem; color: var(--text-secondary); }
.contact-card a { color: var(--green-dark); font-weight: 600; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-label { font-size: .78rem; font-weight: 700; color: var(--text-primary); letter-spacing: .03em; }
.form-input, .form-select, .form-textarea {
  padding: 11px 15px; border: 1px solid var(--border);
  border-radius: var(--radius-md); font-size: .9rem;
  background: var(--white); outline: none; color: var(--text-primary);
  transition: border-color .2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--green-dark); }
.form-textarea { resize: vertical; min-height: 110px; }

/* ============================================================
   SHIPPING & RETURNS PAGE
   ============================================================ */
.shipping-wrap { padding: 56px 0 80px; }
.shipping-card {
  background: var(--linen); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 28px; margin-bottom: 22px;
}
.shipping-card h2 {
  font-size: 1.2rem; color: var(--green-dark);
  margin-bottom: 18px; display: flex; align-items: center; gap: 9px;
}
.shipping-table {
  width: 100%; border-collapse: collapse; font-size: .85rem; margin-bottom: 14px;
}
.shipping-table th {
  text-align: left; padding: 9px 12px;
  background: var(--green-pale); color: var(--green-dark);
  font-size: .74rem; text-transform: uppercase; letter-spacing: .05em;
}
.shipping-table td {
  padding: 9px 12px; border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.shipping-table tr:last-child td { border-bottom: none; }
.shipping-card p { font-size: .87rem; margin-bottom: 10px; }
.shipping-card ul { list-style: disc; padding-left: 18px; }
.shipping-card ul li { font-size: .86rem; color: var(--text-secondary); margin-bottom: 6px; line-height: 1.6; }

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-wrap { max-width: 720px; margin: 0 auto; padding: 56px 20px 80px; }
.policy-wrap h2 { font-size: 1.15rem; margin: 32px 0 10px; }
.policy-wrap p  { margin-bottom: 12px; font-size: .9rem; }
.policy-wrap ul { list-style: disc; padding-left: 20px; margin-bottom: 14px; }
.policy-wrap ul li { font-size: .88rem; color: var(--text-secondary); margin-bottom: 5px; line-height: 1.6; }
.policy-date { font-size: .78rem; color: var(--text-muted); margin-bottom: 28px; }

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page { padding: 36px 0 80px; }
.cart-page-layout { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width:768px) {
  .cart-page-layout { grid-template-columns: 1fr 360px; gap: 44px; align-items: start; }
}
.cart-row {
  display: grid; grid-template-columns: 76px 1fr; gap: 14px;
  padding: 18px 0; border-bottom: 1px solid var(--border-light);
}
.cart-row-img {
  width: 76px; height: 76px; border-radius: var(--radius-md);
  background: var(--linen); display: flex; align-items: center;
  justify-content: center; font-size: 2rem;
}
.cart-row-name  { font-size: .9rem; font-weight: 600; margin-bottom: 3px; }
.cart-row-meta  { font-size: .78rem; color: var(--text-muted); margin-bottom: 10px; }
.cart-row-controls { display: flex; align-items: center; justify-content: space-between; }
.cart-summary-box {
  background: var(--linen); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 24px;
  position: sticky; top: calc(var(--nav-height) + 16px);
}
.cart-summary-box h3 { font-size: .97rem; margin-bottom: 18px; }
.sum-row {
  display: flex; justify-content: space-between;
  padding: 8px 0; font-size: .86rem; color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}
.sum-row.total {
  font-size: .97rem; font-weight: 700; color: var(--text-primary);
  border-bottom: none; padding-top: 14px;
}
.sum-row.total span:last-child { color: var(--green-dark); }
.checkout-trust { margin-top: 14px; }
.secure-note {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: .73rem; color: var(--text-muted); margin-top: 10px;
}
.coupon-row { display: flex; gap: 8px; margin-top: 14px; }
.coupon-row input {
  flex: 1; padding: 9px 14px; border: 1px solid var(--border);
  border-radius: var(--radius-full); font-size: .85rem; outline: none;
}
.coupon-row button {
  padding: 9px 16px; background: var(--accent); color: var(--white);
  border-radius: var(--radius-full); font-size: .82rem; font-weight: 600;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */
.checkout-wrap { padding: 36px 0 80px; }
.checkout-layout { display: grid; grid-template-columns: 1fr; gap: 32px; }
@media (min-width:768px) {
  .checkout-layout { grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
}
.checkout-section {
  background: var(--linen); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 24px; margin-bottom: 18px;
}
.checkout-section h3 { font-size: .97rem; margin-bottom: 18px; color: var(--green-dark); }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkout-order-box {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-lg); padding: 22px;
  position: sticky; top: calc(var(--nav-height) + 16px);
}
.co-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border-light); }
.co-img {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--linen); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.co-name  { font-size: .83rem; font-weight: 600; margin-bottom: 2px; }
.co-meta  { font-size: .74rem; color: var(--text-muted); }
.co-price { font-size: .86rem; font-weight: 700; margin-left: auto; }
.co-total {
  font-size: .95rem; font-weight: 700; display: flex; justify-content: space-between;
  padding-top: 14px;
}
.co-total span:last-child { color: var(--green-dark); }
.payment-methods { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.pm-opt {
  flex: 1; min-width: 80px; padding: 10px;
  border: 2px solid var(--border); border-radius: var(--radius-md);
  text-align: center; font-size: .8rem; cursor: pointer; transition: border-color .2s;
}
.pm-opt.active { border-color: var(--green-dark); background: var(--green-pale); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 1; transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center  { text-align: center; }
.mt-4  { margin-top: 16px; }
.mt-8  { margin-top: 32px; }
.mb-4  { margin-bottom: 16px; }
.mb-8  { margin-bottom: 32px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* Collection page filter */
.collection-filter {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 32px; justify-content: center;
}
.filter-btn {
  padding: 7px 18px; border: 1px solid var(--border);
  border-radius: var(--radius-full); font-size: .82rem; font-weight: 500;
  color: var(--text-secondary); transition: all .2s; background: var(--white);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--green-dark); color: var(--white); border-color: var(--green-dark);
}

@media (max-width:390px) {
  h1 { font-size: 1.9rem; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .pc-body { padding: 11px; }
  .pc-name { font-size: .9rem; }
}
