/* ==========================================================================
   SubhChoice — Design System v2 (green & gold spice-brand palette)
   Palette:
     --ink        #153521  deep green-black (body text, dark sections)
     --brand      #07552C  vivid brand green (headings, primary buttons)
     --brand-dark #0B6D3B  brand green hover state
     --paper      #FFFAF0  warm cream (page background)
     --marigold   #E4B020  gold accent (eyebrows, badges, CTAs)
     --maroon     #8D2143  wine/berry (sale badges, emphasis)
     --teal       #A64D29  rust/terracotta (discount text, secondary accent)
     --muted      #6D756D  muted grey-green for supporting text
   Type:
     Display  — 'Playfair Display' (serif, expressive, used for headlines)
     Body/UI  — 'Inter' (clean sans, used for everything else)
   ========================================================================== */

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

:root {
  --ink: #153521;
  --brand: #07552C;
  --brand-dark: #0B6D3B;
  --paper: #FFFAF0;
  --paper-dim: #FBF6E3;
  --marigold: #E4B020;
  --marigold-dark: #C39A3C;
  --maroon: #8D2143;
  --teal: #A64D29;
  --muted: #6D756D;
  --line: rgba(21, 53, 33, 0.13);
  --radius-s: 10px;
  --radius-m: 22px;
  --shadow-card: 0 1px 0 rgba(21,53,33,0.05), 0 14px 32px -14px rgba(21,53,33,0.28);
  --max-w: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
  color: var(--brand);
}

p { margin: 0 0 1em; color: var(--ink); max-width: 62ch; }
p.lede { font-size: 1.15rem; color: var(--muted); }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

img, svg { display: block; max-width: 100%; }

button, input, textarea, select { font-family: inherit; font-size: 1rem; }

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

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 700;
  font-size: 0.98rem;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--brand);
  color: #fff;
  border: 2px solid var(--brand);
}
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-1px); }
.btn-gold {
  background: var(--marigold);
  color: var(--ink);
}
.btn-gold:hover { background: var(--marigold-dark); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---------- Announcement / Top bar ---------- */
.topbar {
  background: #064B28;
  color: #fff;
  font-size: 0.82rem;
}
.topbar .wrap {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 6px;
  padding-bottom: 6px;
}
.topbar .top-links { display: flex; gap: 20px; }
.topbar .top-links a { color: #fff; opacity: 0.9; }
.topbar .top-links a:hover { opacity: 1; color: var(--marigold); text-decoration: none; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255,250,240,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
  gap: 20px;
  min-height: 78px;
}
.logo {
  display: flex;
  align-items: center;
}
.logo img { height: 52px; width: auto; display: block; }
.logo:hover { text-decoration: none; }

.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; }
.main-nav a {
  position: relative;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 30px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: 26px;
  height: 2px;
  background: var(--marigold);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { right: 0; }
.main-nav a:hover, .main-nav a.active { color: var(--brand); text-decoration: none; }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--ink);
}
.cart-count {
  background: var(--maroon);
  color: #fff;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  min-width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}
.nav-toggle { display: none; }

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--paper);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    border-bottom: 1px solid var(--line);
    gap: 16px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0; }
  .main-nav a::after { display: none; }
  .nav-toggle {
    display: inline-flex;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
  }
  .nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }
}

/* ---------- Announcement bar ---------- */
.announce {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 12px;
  letter-spacing: 0.01em;
}
.announce b { color: var(--marigold); }

/* ---------- Top promo banner (image) ---------- */
.top-promo-banner {
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
}
.top-promo-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.top-promo-banner:hover img { transform: scale(1.015); }

/* ---------- Hero ---------- */
.hero {
  padding: 64px 0 80px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 14px;
  display: inline-block;
}
.hero h1 {
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  max-width: 12ch;
}
.hero .underline-accent {
  position: relative;
  white-space: nowrap;
}
.hero .underline-accent svg {
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 14px;
}
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 46ch; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-trust div { font-size: 0.85rem; color: var(--muted); }
.hero-trust strong { display: block; font-family: 'Playfair Display', serif; font-size: 1.4rem; color: var(--ink); }

.hero-art {
  position: relative;
}
.hero-card {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 26px;
  transform: rotate(-3deg);
  position: relative;
}
.hero-card .tag {
  position: absolute;
  top: -14px;
  right: 22px;
  background: var(--marigold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 999px;
  transform: rotate(6deg);
}
.hero-card figure { margin: 0 0 14px; aspect-ratio: 1/1; background: var(--paper-dim); border-radius: var(--radius-s); overflow: hidden; }
.hero-card figure img { width: 100%; height: 100%; object-fit: cover; }
.hero-card h4 { margin-bottom: 4px; }
.hero-card .price-row { display: flex; align-items: baseline; gap: 10px; }
.price { font-weight: 800; font-size: 1.2rem; }
.price-strike { text-decoration: line-through; color: var(--muted); font-size: 0.95rem; }
.price-off { color: var(--teal); font-weight: 700; font-size: 0.85rem; }

/* ---------- Section headings ---------- */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.section-head p { margin: 6px 0 0; color: var(--muted); }
.bg-dim { background: var(--paper-dim); }
.bg-ink { background: var(--ink); color: var(--paper); }
.bg-ink h2, .bg-ink h3, .bg-ink p { color: var(--paper); }
.bg-ink .muted { color: rgba(244,239,227,0.7); }

/* ---------- Category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.cat-tile {
  border-radius: var(--radius-m);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  background: #fff;
}
.cat-tile-photo {
  height: 190px;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}
.cat-tile-footer {
  padding: 18px 20px;
  color: #fff;
}
.cat-tile-footer h3 { color: #fff; font-size: 1.08rem; margin: 0 0 4px; }
.cat-tile-footer span { font-size: 0.82rem; font-weight: 700; color: var(--marigold); }
.cat-tile:hover { text-decoration: none; }
.cat-tile:hover .cat-tile-photo { transform: scale(1.06); }

/* ---------- Product grid & cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card-product {
  background: #fff;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.card-product .thumb {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.card-product .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-product .thumb .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--maroon);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
}
.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.9);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.wishlist-btn:hover { transform: scale(1.1); }
.wishlist-btn svg { width: 17px; height: 17px; }
.wishlist-btn.active { background: var(--maroon); color: #fff; }
.wishlist-btn.active svg { fill: currentColor; }
.card-product .body { padding: 16px 16px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-product .cat-label { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
.card-product h3 { font-size: 1.05rem; margin: 0; }
.card-product .price-row { display: flex; align-items: baseline; gap: 8px; margin-top: auto; }
.card-product .actions { display: flex; gap: 8px; margin-top: 10px; }
.card-product .actions .btn { padding: 10px 14px; font-size: 0.88rem; flex: 1; }
.card-product a.card-link { color: inherit; }
.card-product a.card-link:hover { text-decoration: none; }

/* ---------- Filters (shop page) ---------- */
.shop-layout { display: grid; grid-template-columns: 220px 1fr; gap: 40px; align-items: start; }
.filter-group { margin-bottom: 26px; }
.filter-group h4 { font-size: 0.9rem; text-transform: none; margin-bottom: 10px; color: var(--muted); }
.filter-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
}
.filter-chip input { accent-color: var(--maroon); width: 16px; height: 16px; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 12px; }
.shop-toolbar select { padding: 9px 12px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: #fff; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-item { display: flex; gap: 14px; align-items: flex-start; }
.trust-item h4 { font-size: 1rem; margin-bottom: 3px; }
.trust-item p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: #fff;
  border-radius: var(--radius-m);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.testi-card .stars { color: var(--marigold); margin-bottom: 10px; letter-spacing: 2px; }
.testi-card p { color: var(--ink); margin-bottom: 16px; }
.testi-name { font-weight: 700; font-size: 0.92rem; }
.testi-role { font-size: 0.82rem; color: var(--muted); }

/* ---------- Newsletter ---------- */
.newsletter { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter-form input {
  padding: 13px 16px;
  border-radius: var(--radius-s);
  border: none;
  min-width: 260px;
}

/* ---------- Footer ---------- */
.site-footer { background: #063E22; color: var(--paper); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 36px; padding: 56px 0 40px; }
.footer-brand .footer-logo { height: 46px; width: auto; filter: brightness(0) invert(1); margin-bottom: 16px; }
.footer-brand p { color: rgba(255,250,240,0.75); max-width: 30ch; }
.footer-brand .trust { font-size: 0.85rem; color: rgba(255,250,240,0.6); margin-top: 10px; }
.footer-brand .trust span { color: var(--marigold); }
.col h4 { color: var(--paper); font-family: 'Inter', sans-serif; font-size: 0.92rem; font-weight: 800; margin-bottom: 16px; letter-spacing: 0.03em; text-transform: uppercase; }
.col a { color: rgba(255,250,240,0.72); display: block; margin-bottom: 11px; font-size: 0.92rem; }
.col a:hover { color: var(--marigold); }
.col.contact p { color: rgba(255,250,240,0.72); font-size: 0.9rem; margin-bottom: 12px; }

.newsletter-strip { background: #052E19; border-top: 1px solid rgba(255,250,240,0.1); border-bottom: 1px solid rgba(255,250,240,0.1); }
.newsletter-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 26px 0; }
.newsletter-inner h3 { color: #fff; font-size: 1.2rem; margin-bottom: 2px; }
.newsletter-inner p { color: rgba(255,250,240,0.65); margin: 0; font-size: 0.9rem; }
.newsletter-inner form { display: flex; gap: 10px; }
.newsletter-inner input { padding: 12px 16px; border-radius: 999px; border: none; min-width: 240px; }
.newsletter-inner button { border: none; border-radius: 999px; padding: 12px 22px; background: var(--marigold); color: var(--ink); font-weight: 800; cursor: pointer; }
.newsletter-inner button:hover { background: var(--marigold-dark); }

.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 0.85rem; color: rgba(255,250,240,0.55); }
.site-footer .logo img { filter: brightness(0) invert(1); }

@media (max-width: 820px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .newsletter-inner form { width: 100%; }
  .newsletter-inner input { flex: 1; min-width: 0; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------- Breadcrumb ---------- */
.breadcrumb { font-size: 0.88rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: var(--muted); font-weight: 600; }
.breadcrumb span { color: var(--ink); }

/* ---------- Product Detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: start; }
.pd-gallery { background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-card); aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-cat { color: var(--maroon); font-weight: 700; font-size: 0.9rem; }
.pd-title { font-size: 2rem; margin-bottom: 10px; }
.pd-price-row { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; }
.pd-price-row .price { font-size: 1.7rem; }
.pd-desc { color: var(--muted); margin-bottom: 22px; }
.pd-meta-list { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 8px; }
.pd-meta-list li { font-size: 0.92rem; color: var(--muted); display: flex; gap: 8px; }
.pd-meta-list b { color: var(--ink); }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-control { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-s); }
.qty-control button { background: none; border: none; width: 36px; height: 40px; font-size: 1.1rem; cursor: pointer; }
.qty-control span { width: 34px; text-align: center; font-weight: 700; }
.pd-actions { display: flex; gap: 12px; }
.pd-note { margin-top: 22px; font-size: 0.85rem; color: var(--muted); }

/* ---------- Cart page ---------- */
.cart-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
.cart-row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row .thumb-sm { width: 90px; height: 90px; border-radius: var(--radius-s); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.cart-row .thumb-sm img { width: 100%; height: 100%; object-fit: cover; }
.cart-row h4 { margin: 0 0 4px; font-size: 1rem; }
.cart-row .cat-label { font-size: 0.8rem; color: var(--muted); }
.remove-link { background: none; border: none; color: var(--maroon); font-weight: 700; font-size: 0.85rem; cursor: pointer; padding: 0; margin-top: 6px; }
.summary-card { background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-card); padding: 26px; }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.95rem; }
.summary-row.total { font-weight: 800; font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.coupon-row { display: flex; gap: 8px; margin: 18px 0; }
.coupon-row input { flex: 1; padding: 11px 12px; border-radius: var(--radius-s); border: 1.5px solid var(--line); }

/* ---------- About page ---------- */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value-card { background: #fff; border-radius: var(--radius-m); padding: 28px; box-shadow: var(--shadow-card); }
.value-card .num { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--maroon); display: block; margin-bottom: 10px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-top: 1px solid var(--line); }
.timeline-item:last-child { border-bottom: 1px solid var(--line); }
.timeline-item .yr { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.2rem; color: var(--maroon); }

/* ---------- Contact page ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.form-field { margin-bottom: 18px; }
.form-field label { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 7px; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.contact-info-card { background: #fff; border-radius: var(--radius-m); padding: 28px; box-shadow: var(--shadow-card); margin-bottom: 20px; }
.contact-info-card h4 { margin-bottom: 6px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: var(--paper);
  padding: 14px 22px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 0.92rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }

/* ---------- Promo banner ---------- */
.promo-banner {
  background: linear-gradient(100deg, var(--maroon) 0%, #5c2029 100%);
  color: var(--paper);
  border-radius: var(--radius-m);
  padding: 30px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: "";
  position: absolute;
  right: -40px;
  top: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(231, 163, 62, 0.18);
}
.promo-banner .eyebrow {
  display: inline-block;
  color: var(--marigold);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.promo-banner h3 { color: var(--paper); font-size: 1.5rem; margin: 0 0 6px; position: relative; }
.promo-banner p { color: rgba(246,238,220,0.85); margin: 0; position: relative; }
.promo-banner .btn { position: relative; white-space: nowrap; }
.promo-code {
  display: inline-block;
  border: 1.5px dashed rgba(246,238,220,0.6);
  padding: 3px 10px;
  border-radius: var(--radius-s);
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--marigold);
}

/* ---------- Wax-seal badge (used on cards, gift box, hero) ---------- */
.seal {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--marigold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 800;
  font-size: 0.62rem;
  line-height: 1.1;
  border: 2px dashed rgba(46,26,18,0.35);
  box-shadow: 0 4px 10px rgba(46,26,18,0.25);
  transform: rotate(-8deg);
}

/* ---------- Size / variant selector (product detail page) ---------- */
.size-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }
.size-btn {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: var(--radius-s);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.size-btn:hover { border-color: var(--maroon); }
.size-btn.active {
  border-color: var(--maroon);
  background: var(--maroon);
  color: var(--paper);
}

/* ---------- Trust badges row (purity / FSSAI style) ---------- */
.purity-strip { display: flex; gap: 26px; flex-wrap: wrap; align-items: center; justify-content: center; padding: 8px 0; }
.purity-chip { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.88rem; color: var(--muted); }
.purity-chip .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--marigold); display: inline-block; }

/* ---------- Admin panel ---------- */
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.admin-login-wrap { max-width: 380px; margin: 80px auto; }
.admin-login-wrap .summary-card h2 { margin-bottom: 6px; }
.admin-error { color: var(--maroon); font-size: 0.88rem; font-weight: 700; margin-top: 6px; min-height: 1.2em; }
.tab-row { display: flex; gap: 10px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.tab-btn { background: none; border: none; padding: 12px 4px; margin-right: 22px; font-weight: 700; color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--maroon); }
.admin-panel { display: none; }
.admin-panel.active { display: block; }
.auth-form-panel { display: none; }
.auth-form-panel.active { display: block; }
.admin-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; gap: 12px; flex-wrap: wrap; }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius-m); overflow: hidden; box-shadow: var(--shadow-card); }
.admin-table th, .admin-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 0.9rem; vertical-align: top; }
.admin-table th { background: var(--paper-dim); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); }
.admin-table tr:last-child td { border-bottom: none; }
.pill { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.75rem; font-weight: 700; }
.pill-pending_payment { background: #F0DCC0; color: #7A5A22; }
.pill-paid { background: #D7E6D0; color: #2F5D2F; }
.pill-confirmed { background: #D7E6D0; color: #2F5D2F; }
.pill-shipped { background: #CBDCEA; color: #1F4A6B; }
.pill-delivered { background: #C9E3C9; color: #1F5C2E; }
.pill-cancelled { background: #EBC9C9; color: #7C2D3B; }
.icon-btn { background: none; border: none; cursor: pointer; color: var(--teal); font-weight: 700; font-size: 0.85rem; padding: 2px 4px; }
.icon-btn.danger { color: var(--maroon); }
.admin-form-panel { background: #fff; border-radius: var(--radius-m); box-shadow: var(--shadow-card); padding: 26px; margin-bottom: 24px; display: none; }
.admin-form-panel.open { display: block; }
.admin-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.admin-form-grid .full { grid-column: 1 / -1; }
.admin-form-panel select { width: 100%; padding: 12px 14px; border-radius: var(--radius-s); border: 1.5px solid var(--line); background: #fff; }
.status-select { padding: 7px 10px; border-radius: var(--radius-s); border: 1.5px solid var(--line); font-size: 0.85rem; }
.order-items-mini { font-size: 0.82rem; color: var(--muted); }
@media (max-width: 700px) {
  .admin-form-grid { grid-template-columns: 1fr; }
  .admin-table { display: block; overflow-x: auto; }
}

/* ---------- Nav icons (search / account / cart) ---------- */
.icon-btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--brand);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  position: relative;
  margin-left: 6px;
}
.icon-btn-nav:hover { background: var(--paper-dim); border-color: var(--marigold); text-decoration: none; }
.icon-btn-nav svg { width: 19px; height: 19px; }
.cart-icon-link .cart-count-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--marigold);
  color: var(--ink);
  font-size: 0.65rem;
  font-weight: 800;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  line-height: 1;
}

/* ---------- Search box (collapsible) ---------- */
.search-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background: var(--paper-dim);
  border-bottom: 1px solid var(--line);
}
.search-box.open { max-height: 90px; }
.search-box form {
  display: flex;
  gap: 10px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 28px;
}
.search-box input {
  flex: 1;
  padding: 11px 16px;
  border-radius: var(--radius-s);
  border: 1.5px solid var(--line);
  background: #fff;
  font-size: 0.95rem;
}
.search-box button { white-space: nowrap; }

/* ---------- Hero slider ---------- */
.hero-slider {
  position: relative;
  width: 100%;
  height: min(78vh, 680px);
  min-height: 460px;
  overflow: hidden;
  background: var(--ink);
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
  display: flex;
  align-items: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,250,240,0.96) 0%, rgba(255,250,240,0.82) 34%, rgba(255,250,240,0.25) 60%, rgba(0,0,0,0.05) 100%);
}
.hero-slide-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
  padding: 0 28px;
}
.hero-slide-content .eyebrow { display: inline-block; color: var(--marigold-dark); font-weight: 800; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 16px; }
.hero-slide-content h1 { color: var(--brand); font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(2.4rem, 5.5vw, 4.6rem); line-height: 1; max-width: 12ch; margin-bottom: 16px; }
.hero-slide-content p { color: #3A5245; font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 38ch; margin-bottom: 28px; }
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.7);
  background: rgba(21,53,33,0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.hero-slider-arrow:hover { background: var(--brand); border-color: var(--brand); }
.hero-slider-arrow.next { right: 30px; }
.hero-slider-arrow.prev { left: 30px; }
.hero-slider-arrow svg { width: 22px; height: 22px; }
.hero-slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero-slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 1.5px solid rgba(21,53,33,0.4);
  background: rgba(255,255,255,0.6);
  cursor: pointer;
  padding: 0;
}
.hero-slider-dots button.active { background: var(--marigold); border-color: var(--marigold); width: 24px; border-radius: 5px; }

/* ---------- Build-your-own combo picker ---------- */
.combo-select-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: rgba(255,255,255,0.35);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}
.combo-select-btn svg { width: 16px; height: 16px; opacity: 0; transition: opacity 0.15s ease; }
.card-product.selected .combo-select-btn {
  background: var(--maroon);
  border-color: var(--maroon);
  transform: scale(1.08);
}
.card-product.selected .combo-select-btn svg { opacity: 1; }
.card-product.selected { outline: 2.5px solid var(--maroon); outline-offset: -2.5px; }

.combo-summary-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 60;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.2);
}
.combo-summary-bar.show { transform: translateY(0); }
.combo-summary-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 16px;
  flex-wrap: wrap;
}
.combo-summary-bar strong { font-size: 1.15rem; }
.combo-intro-card {
  background: #fff;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 22px 26px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
body.has-combo-bar { padding-bottom: 76px; }

/* ---------- Product card size picker ---------- */
.size-picker { position: relative; margin-top: 4px; }
.size-picker-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 6px;
  padding: 9px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  background: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  color: var(--ink);
}
.size-picker-btn svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.size-picker.open .size-picker-btn svg { transform: rotate(180deg); }
.size-picker-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  box-shadow: var(--shadow-card);
  z-index: 5;
  overflow: hidden;
}
.size-picker-menu[hidden] { display: none; }
.size-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  border: none;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.size-option:hover { background: var(--paper-dim); }
.size-option.active { color: var(--maroon); font-weight: 800; }
.card-product .price-row { margin-top: 8px; }

/* ---------- Animations: splash screen ---------- */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.splash-screen.hide { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: clamp(2rem, 6vw, 3rem);
  color: var(--paper);
  opacity: 0;
  transform: translateY(14px) scale(0.96);
  animation: splashIn 0.8s ease forwards 0.1s;
}
.splash-logo span { color: var(--marigold); }
.splash-dots { opacity: 0; animation: splashIn 0.6s ease forwards 0.5s; }
.splash-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--marigold);
  display: inline-block;
  margin: 0 3px;
  animation: dotPulse 1.1s infinite ease-in-out;
}
.splash-dot:nth-child(2) { animation-delay: 0.15s; }
.splash-dot:nth-child(3) { animation-delay: 0.3s; }
@keyframes splashIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes dotPulse { 0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; } 40% { transform: scale(1); opacity: 1; } }

/* ---------- Animations: logo entrance ---------- */
.site-header .logo {
  animation: logoIn 0.6s ease backwards;
}
@keyframes logoIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.logo:hover span { animation: logoShimmer 0.6s ease; }
@keyframes logoShimmer { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }

/* ---------- Animations: scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.in-view { opacity: 1; transform: scale(1); }

/* ---------- Animations: smoother hover ---------- */
.card-product { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-product:hover { transform: translateY(-7px); box-shadow: 0 20px 34px -18px rgba(46, 26, 18, 0.4); }
.card-product .thumb svg { transition: transform 0.35s ease; }
.card-product:hover .thumb svg { transform: scale(1.1) rotate(-4deg); }
.cat-tile { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.cat-tile:hover { transform: translateY(-5px) scale(1.015); box-shadow: 0 16px 28px -16px rgba(46, 26, 18, 0.35); }
.value-card, .testi-card, .contact-info-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.value-card:hover, .testi-card:hover, .contact-info-card:hover { transform: translateY(-4px); box-shadow: 0 16px 28px -16px rgba(46, 26, 18, 0.35); }

@media (prefers-reduced-motion: reduce) {
  .splash-screen { display: none; }
  .reveal, .reveal-scale { opacity: 1; transform: none; }
  .site-header .logo { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { order: -1; max-width: 380px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-strip { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-layout { grid-template-columns: 1fr; }
  .pd-layout { grid-template-columns: 1fr; }
  .cart-layout { grid-template-columns: 1fr; }
  .about-hero { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .promo-banner { flex-direction: column; align-items: flex-start; text-align: left; }
  .hero-slider { height: 480px; }
  .hero-slider-arrow { right: 16px; width: 42px; height: 42px; }
  .hero-slide-content p { display: none; }
}
@media (max-width: 560px) {
  .product-grid { grid-template-columns: 1fr 1fr; }
  .cart-row { grid-template-columns: 70px 1fr; }
  .cart-row .thumb-sm { width: 70px; height: 70px; }
  .hero-slider { height: 400px; }
  .search-box form { flex-wrap: wrap; }
}

/* ==========================================================================
   Custom Category Showcase Section (Replacing Old Combo Banner)
   ========================================================================== */
.category-showcase-section {
  padding: 50px 0 30px;
  background: radial-gradient(circle at center, #f4fbf4 0%, #ebf5ea 60%, #e2efe0 100%);
  border-top: 1px solid rgba(7, 85, 44, 0.08);
  border-bottom: 1px solid rgba(7, 85, 44, 0.08);
  margin-bottom: 40px;
}

.category-header-wrap {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-brand-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.cat-header-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.06));
}

.category-title-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 16px;
  margin-bottom: 10px;
}

.category-title-divider .divider-line {
  flex: 1;
  max-width: 140px;
  height: 1.5px;
  background: #0b6d3b;
  opacity: 0.5;
}

.leaf-icon-left,
.leaf-icon-right {
  color: #07552c;
  font-size: 1.4rem;
  line-height: 1;
  display: inline-block;
}

.leaf-icon-right {
  transform: scaleX(-1);
}

.category-main-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  color: #07552c;
  margin: 0;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.category-tagline {
  font-family: 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: #153521;
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .category-title-divider .divider-line {
    max-width: 45px;
  }
  .cat-header-logo {
    height: 70px;
  }
  .category-tagline {
    font-size: 0.92rem;
    padding: 0 10px;
  }
}

/* ==========================================================================
   Feature Highlights Strip (Icon + Title + Subtitle with Dividers)
   ========================================================================== */
.feature-strip-section {
  padding: 32px 0 28px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 24px;
  position: relative;
}

/* Vertical separator line between items */
.feature-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}

/* Light-green circular badge for the icon */
.feature-icon-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #E8F5E9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
}

.feature-icon-circle svg {
  width: 22px;
  height: 22px;
}

.feature-content {
  display: flex;
  flex-direction: column;
}

.feature-content h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--brand);
  margin: 0 0 3px 0;
  line-height: 1.25;
}

.feature-content p {
  font-size: 0.82rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.35;
  white-space: nowrap;
}

/* Responsive adjustments */
@media (max-width: 980px) {
  .feature-strip-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 20px;
  }
  .feature-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 580px) {
  .feature-strip-grid {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }
  .feature-item {
    padding: 6px 12px;
  }
  .feature-item::after {
    display: none !important;
  }
  .feature-content p {
    white-space: normal;
  }
}