/* =========================================================
   PRAKRITI DHARA — DESIGN SYSTEM
   Natural Living. Sustainable Choices.
   ========================================================= */

:root {
  /* Color — earthy, editorial, single accent used sparingly */
  --bg: #F6F1E4;              /* warm khadi-cloth off-white */
  --bg-alt: #ECE3CE;          /* deeper beige for alternating sections */
  --forest: #1E3A2C;          /* deep forest green — primary */
  --forest-soft: #3F6349;     /* secondary green */
  --ochre: #B9812E;           /* turmeric ochre — the one accent */
  --ochre-deep: #8F631F;
  --brown: #6B4423;           /* earthy brown — dividers, icons */
  --ink: #211E17;             /* warm near-black for text */
  --ink-soft: #55503F;        /* muted body text */
  --line: #D9CBA8;            /* hairline border */
  --white: #FFFFFF;
  --error: #A13A2C;

  --radius-img: 6px;
  --radius-sm: 3px;
  --container: 1240px;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest);
  margin: 0 0 0.4em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.15; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }

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

.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); }
.section-forest { background: var(--forest); color: #EFE9D6; }
.section-forest h2, .section-forest h3 { color: var(--white); }
.section-forest p { color: #C9D3C4; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--ochre-deep);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-head {
  max-width: 620px;
  margin-bottom: 44px;
}
.section-head.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--ochre); color: var(--white); }
.btn-primary:hover { background: var(--ochre-deep); }
.btn-outline { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--white); }
.btn-outline-light { background: transparent; border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

.link-underline {
  border-bottom: 1px solid var(--brown);
  padding-bottom: 2px;
  font-weight: 600;
  color: var(--forest);
}

/* =========== ANNOUNCEMENT BAR =========== */
.announce {
  background: var(--forest);
  color: #EFE9D6;
  text-align: center;
  font-size: 0.82rem;
  padding: 9px 16px;
  letter-spacing: 0.02em;
}

/* =========== HEADER =========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
  gap: 20px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  flex-shrink: 0;
}
.logo svg { width: 30px; height: 30px; }

.main-nav { display: flex; gap: 30px; }
.main-nav a {
  font-size: 0.95rem;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 0;
  height: 1px;
  background: var(--ochre);
  transition: right 0.2s ease;
}
.main-nav a:hover::after { right: 0; }

.header-actions { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.icon-btn {
  background: none; border: none; color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  position: relative; width: 26px; height: 26px;
}
.icon-btn svg { width: 22px; height: 22px; }
.cart-count {
  position: absolute; top: -8px; right: -10px;
  background: var(--ochre); color: white;
  font-size: 0.65rem; font-weight: 700;
  width: 17px; height: 17px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; background: none; border: none; color: var(--forest); }
.hamburger svg { width: 26px; height: 26px; }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 90;
  background: rgba(33,30,23,0.4);
}
.mobile-nav.open { display: block; }
.mobile-nav-panel {
  background: var(--bg);
  width: min(320px, 84vw);
  height: 100%;
  padding: 24px;
  overflow-y: auto;
  animation: slideIn 0.22s ease;
}
@keyframes slideIn { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.mobile-nav-panel a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 1.02rem;
}
.mobile-nav-close { background: none; border: none; margin-bottom: 20px; color: var(--forest); }
.mobile-nav-close svg { width: 24px; height: 24px; }

/* Search overlay */
.search-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 95;
  background: rgba(33,30,23,0.5);
}
.search-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.search-panel {
  background: var(--bg);
  margin-top: 80px;
  width: min(600px, 92vw);
  border-radius: var(--radius-sm);
  padding: 28px;
  max-height: 76vh;
  overflow-y: auto;
}
.search-panel input {
  width: 100%;
  border: none;
  border-bottom: 2px solid var(--forest);
  background: transparent;
  font-size: 1.3rem;
  font-family: var(--font-display);
  color: var(--forest);
  padding: 8px 0;
}
.search-panel input:focus { outline: none; }
.search-results { margin-top: 20px; }
.search-result-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.search-result-row .thumb { width: 52px; height: 52px; flex-shrink: 0; }
.search-empty { color: var(--ink-soft); padding: 20px 0; }

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .header-actions .account-only-desktop { display: none; }
}
@media (max-width: 480px) {
  /* Match the brief's mobile header: hamburger, logo, cart only.
     Search and wishlist move into the mobile nav drawer instead,
     so the header never overflows on narrow phones. */
  .header-actions .header-icon-mobile-hide { display: none; }
  .header-inner { padding: 16px 16px; gap: 10px; }
  .logo { font-size: 1.25rem; }
  .logo svg { width: 24px; height: 24px; }
}

/* =========== HERO =========== */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--white);
  overflow: hidden;
}
.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 100px 24px 120px;
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.hero .eyebrow { color: #D8B877; }
.hero h1 { color: var(--white); }
.hero p.lede { color: #D7DECF; font-size: 1.15rem; max-width: 480px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.hero-motif {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 560px; height: 560px; opacity: 0.9; z-index: 1;
}
@media (max-width: 900px) {
  .hero-motif { width: 320px; height: 320px; right: -120px; opacity: 0.5; }
  .hero-inner { padding: 70px 24px 90px; }
}

/* =========== ORGANIC DIVIDER =========== */
.leaf-divider { display: block; width: 100%; height: 40px; }

/* =========== VALUE CARDS =========== */
.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.value-card {
  background: var(--bg);
  padding: 34px 26px;
}
.value-card svg { width: 30px; height: 30px; color: var(--ochre); margin-bottom: 16px; }
.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { font-size: 0.92rem; margin: 0; }
@media (max-width: 800px) {
  .value-grid { grid-template-columns: 1fr 1fr; }
}

/* =========== CATEGORY CARDS =========== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.category-card {
  position: relative;
  border: 1px solid var(--line);
  padding: 40px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: border-color 0.18s ease, transform 0.18s ease;
  background: var(--bg-alt);
}
.category-card:hover { border-color: var(--ochre); transform: translateY(-3px); }
.category-card svg { width: 34px; height: 34px; color: var(--forest-soft); margin-bottom: 20px; }
.category-card h3 { margin-bottom: 6px; }
.category-card p { font-size: 0.9rem; margin-bottom: 0; }
.category-card .arrow { position: absolute; top: 30px; right: 28px; width: 18px; height: 18px; color: var(--ochre); }
@media (max-width: 800px) {
  .category-grid { grid-template-columns: 1fr; }
}

/* =========== PRODUCT CARD =========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-img);
  overflow: hidden;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  margin-bottom: 16px;
}
.product-media img, .product-media .placeholder-art { width: 100%; height: 100%; object-fit: cover; }
.product-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  background: var(--forest); color: white; font-size: 0.68rem;
  padding: 4px 9px; border-radius: 2px; font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-out { background: var(--ink-soft); }
.wishlist-toggle {
  position: absolute; top: 10px; right: 10px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(246,241,228,0.9); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--forest); transition: color 0.15s ease;
}
.wishlist-toggle svg { width: 17px; height: 17px; }
.wishlist-toggle.active { color: var(--error); }
.wishlist-toggle.active svg { fill: var(--error); }

.product-card .p-category { font-size: 0.75rem; color: var(--ochre-deep); font-weight: 600; margin-bottom: 4px; }
.product-card .p-name { font-family: var(--font-display); font-size: 1.08rem; color: var(--forest); margin-bottom: 6px; line-height: 1.3; }
.product-card .p-name a:hover { color: var(--ochre-deep); }
.product-card .p-rating { font-size: 0.8rem; color: var(--ink-soft); margin-bottom: 8px; min-height: 1.1em; }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-bottom: 14px; }
.price-now { font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.price-mrp { font-size: 0.9rem; color: var(--ink-soft); text-decoration: line-through; }
.price-discount { font-size: 0.8rem; color: var(--forest-soft); font-weight: 600; }
.price-tbd { font-size: 0.9rem; color: var(--ink-soft); font-style: italic; }
.product-card-actions { display: flex; gap: 8px; margin-top: auto; }
.product-card-actions .btn { flex: 1; padding: 11px 14px; font-size: 0.85rem; }

@media (max-width: 900px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 24px 16px; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .product-card-actions { flex-direction: column; }
}

/* Placeholder art (used until real photography exists) */
.placeholder-art { display: flex; align-items: center; justify-content: center; }
.placeholder-art svg { width: 46%; height: 46%; color: var(--forest-soft); opacity: 0.55; }

/* =========== BRAND STORY / SPLIT SECTIONS =========== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-img);
  display: flex; align-items: center; justify-content: center;
}
.split-media svg { width: 34%; color: var(--forest-soft); opacity: 0.6; }
@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 32px; }
}

/* Why PD — 4 items list */
.reason-list { display: flex; flex-direction: column; }
.reason-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.reason-item:last-child { border-bottom: 1px solid var(--line); }
.reason-item .r-icon { color: var(--ochre); }
.reason-item .r-icon svg { width: 32px; height: 32px; }
.reason-item h3 { margin-bottom: 6px; }
.reason-item p { margin: 0; }

/* Sustainability icons row */
.sustain-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 40px;
}
.sustain-item { text-align: center; }
.sustain-item svg { width: 32px; height: 32px; color: #D8B877; margin-bottom: 12px; }
.sustain-item h4 { color: var(--white); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem; margin-bottom: 4px; }
.sustain-item p { font-size: 0.85rem; margin: 0; }
@media (max-width: 800px) { .sustain-row { grid-template-columns: 1fr 1fr; } }

/* Featured banner */
.feature-banner {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}
.feature-banner .fb-media { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.feature-banner .fb-media svg { width: 30%; color: var(--forest-soft); opacity: 0.6; }
.feature-banner .fb-copy { padding: 56px; }
@media (max-width: 860px) {
  .feature-banner { grid-template-columns: 1fr; }
  .feature-banner .fb-copy { padding: 36px 28px; }
}

/* Testimonials */
.testimonial-empty {
  text-align: center;
  border: 1px dashed var(--line);
  padding: 50px 24px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* FAQ accordion */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-display); font-size: 1.05rem; color: var(--forest); gap: 20px;
}
.faq-q svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding-bottom: 20px; margin: 0; }

/* Newsletter */
.newsletter-form { display: flex; gap: 12px; max-width: 460px; margin: 28px auto 0; }
.newsletter-form input {
  flex: 1; padding: 14px 16px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); background: var(--bg); color: var(--ink);
}
@media (max-width: 520px) { .newsletter-form { flex-direction: column; } }

/* =========== FOOTER =========== */
.site-footer { background: var(--forest); color: #C9D3C4; padding: 72px 0 28px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.footer-brand .logo { color: var(--white); }
.footer-brand p { max-width: 260px; margin-top: 14px; font-size: 0.9rem; }
.footer-col h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.03em; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.9rem; padding: 6px 0; color: #C9D3C4; }
.footer-col a:hover { color: var(--white); }
.footer-social { display: flex; gap: 14px; margin-top: 8px; }
.footer-social a { width: 34px; height: 34px; border: 1px solid rgba(255,255,255,0.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.footer-social svg { width: 16px; height: 16px; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 0.82rem; flex-wrap: wrap; gap: 10px; }
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* =========== SHOP PAGE =========== */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.shop-filters { position: sticky; top: 100px; }
.filter-group { border-bottom: 1px solid var(--line); padding-bottom: 20px; margin-bottom: 20px; }
.filter-group h4 { font-size: 0.85rem; text-transform: none; letter-spacing: 0.02em; color: var(--forest); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.filter-option { display: flex; align-items: center; gap: 9px; padding: 6px 0; font-size: 0.92rem; cursor: pointer; }
.filter-option input { accent-color: var(--forest); }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
.shop-toolbar select {
  padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg); color: var(--ink);
}
.result-count { font-size: 0.9rem; color: var(--ink-soft); }
.mobile-filter-toggle { display: none; }
@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { display: none; position: fixed; inset: 0; z-index: 90; background: var(--bg); padding: 24px; overflow-y: auto; top: 0; }
  .shop-filters.open { display: block; }
  .mobile-filter-toggle { display: inline-flex; }
}
.no-results { text-align: center; padding: 70px 20px; }
.no-results svg { width: 54px; height: 54px; color: var(--line); margin-bottom: 16px; }

/* =========== PRODUCT DETAIL PAGE =========== */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 860px) {
  .pd-layout { grid-template-columns: 1fr; gap: 28px; }
}
.pd-main-image { aspect-ratio: 1/1; border: 1px solid var(--line); border-radius: var(--radius-img); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; overflow: hidden; }
.pd-main-image svg { width: 40%; color: var(--forest-soft); opacity: 0.55; }
.pd-thumbs { display: flex; gap: 10px; }
.pd-thumb { width: 68px; height: 68px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pd-thumb.active { border-color: var(--ochre); }
.pd-thumb svg { width: 60%; color: var(--forest-soft); opacity: 0.5; }
.pd-category { color: var(--ochre-deep); font-weight: 600; font-size: 0.85rem; margin-bottom: 8px; }
.pd-info h1 { margin-bottom: 10px; }
.pd-rating { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 18px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 6px; }
.pd-price-row .price-now { font-size: 1.6rem; }
.pd-stock { font-size: 0.85rem; margin-bottom: 22px; font-weight: 600; }
.pd-stock.in { color: var(--forest-soft); }
.pd-stock.low { color: var(--ochre-deep); }
.pd-stock.out { color: var(--error); }
.pd-tagline { font-size: 1.02rem; margin-bottom: 24px; }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.qty-selector { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.qty-selector button { background: none; border: none; width: 38px; height: 42px; font-size: 1.1rem; color: var(--forest); }
.qty-selector span { width: 36px; text-align: center; font-weight: 600; }
.pd-actions { display: flex; gap: 12px; margin-bottom: 26px; }
.pd-actions .btn { flex: 1; padding: 15px; }
.pd-meta { font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 6px; }

.pd-tabs { margin-top: 70px; }
.pd-tab-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.pd-tab-btn { background: none; border: none; padding: 14px 20px; font-size: 0.9rem; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.pd-tab-btn.active { color: var(--forest); border-color: var(--ochre); font-weight: 600; }
.pd-tab-panel { display: none; padding: 30px 0; max-width: 760px; }
.pd-tab-panel.active { display: block; }
.pd-tab-panel ul { padding-left: 20px; color: var(--ink-soft); }
.pd-tab-panel li { margin-bottom: 8px; }

/* Editable placeholder tag */
.editable-note {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--ochre-deep);
  border: 1px dashed var(--ochre-deep);
  padding: 2px 8px;
  border-radius: 20px;
  margin-left: 8px;
  vertical-align: middle;
}

/* =========== CART PAGE =========== */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.cart-row { display: grid; grid-template-columns: 84px 1fr auto auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.cart-row .thumb { width: 84px; height: 84px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.cart-row .thumb svg { width: 55%; color: var(--forest-soft); opacity: 0.5; }
.cart-item-name { font-family: var(--font-display); color: var(--forest); margin-bottom: 4px; }
.cart-item-cat { font-size: 0.8rem; color: var(--ink-soft); }
.cart-remove { background: none; border: none; color: var(--ink-soft); font-size: 0.82rem; margin-top: 8px; text-decoration: underline; }
.cart-summary { border: 1px solid var(--line); padding: 28px; background: var(--bg-alt); position: sticky; top: 100px; }
.summary-row { display: flex; justify-content: space-between; padding: 10px 0; font-size: 0.94rem; }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 18px; font-weight: 700; font-size: 1.1rem; color: var(--forest); }
.coupon-row { display: flex; gap: 8px; margin: 18px 0; }
.coupon-row input { flex: 1; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); }
.empty-cart { text-align: center; padding: 90px 20px; }
.empty-cart svg { width: 60px; height: 60px; color: var(--line); margin-bottom: 20px; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-row { grid-template-columns: 60px 1fr; grid-template-areas: "img name" "img qty"; }
}

/* =========== FORMS (checkout / contact / account) =========== */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 4px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--forest); }
.form-field input, .form-field select, .form-field textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font-size: 0.95rem;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus,
.newsletter-form input:focus, .search-panel input:focus {
  outline: 2px solid var(--ochre); outline-offset: 1px;
}
.form-note { font-size: 0.82rem; color: var(--ink-soft); }
.checkout-layout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .checkout-layout, .form-grid { grid-template-columns: 1fr; } }
.order-line { display: flex; justify-content: space-between; font-size: 0.9rem; padding: 8px 0; }
.payment-placeholder {
  border: 1px dashed var(--line); border-radius: var(--radius-sm);
  padding: 22px; text-align: center; color: var(--ink-soft); font-size: 0.9rem; margin-top: 16px;
}

/* Account tabs */
.account-tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 32px; flex-wrap: wrap; }
.account-tab-btn { background: none; border: none; padding: 12px 18px; color: var(--ink-soft); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.account-tab-btn.active { color: var(--forest); border-color: var(--ochre); font-weight: 600; }
.account-panel { display: none; max-width: 420px; }
.account-panel.active { display: block; }
.account-panel.wide { max-width: 100%; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card { border: 1px solid var(--line); }
.blog-card .thumb { aspect-ratio: 16/10; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; }
.blog-card .thumb svg { width: 30%; color: var(--forest-soft); opacity: 0.5; }
.blog-card .body { padding: 22px; }
.blog-card .cat { font-size: 0.75rem; color: var(--ochre-deep); font-weight: 600; margin-bottom: 8px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }

/* Simple content page */
.page-hero { padding: 56px 0 20px; text-align: center; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h2 { margin-top: 1.4em; }

/* Toast */
#toast {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--forest); color: white; padding: 14px 24px; border-radius: var(--radius-sm);
  font-size: 0.9rem; opacity: 0; pointer-events: none; transition: all 0.25s ease; z-index: 200;
  display: flex; align-items: center; gap: 10px;
}
#toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* Skip link (accessibility) */
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--forest); color: white;
  padding: 12px 20px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Utility */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.hidden { display: none !important; }
