/* ShopKasuri storefront. Mobile first. */

:root {
  --green-950: #142A1E;
  --green-900: #1F3A2B;
  --green-700: #2F5D43;
  --green-100: #E4EDE3;
  --mustard: #D9A441;
  --mustard-700: #A87A22;
  --mustard-100: #F6E9C9;
  --cream: #FBF6EC;
  --paper: #FFFDF8;
  --ink: #2B2A22;
  --muted: #6B665A;
  --rule: #E7DCC6;
  --red: #A6392E;
  --wa: #1F8F4E;
  --focus: #2D5BD7;
  --radius: 12px;
  --gutter: 1rem;
  --serif: "Young Serif", Georgia, "Times New Roman", serif;
  --sans: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Jaali lattice: faint gold eight-point stars, for the dark green panels. */
  --jaali: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23D9A441' stroke-opacity='.13'%3E%3Crect x='18' y='18' width='20' height='20'/%3E%3Crect x='18' y='18' width='20' height='20' transform='rotate(45 28 28)'/%3E%3Cpath d='M0 0l14 14M56 0L42 14M0 56l14-14M56 56L42 42'/%3E%3C/g%3E%3C/svg%3E");
  /* Hand-block-print strip: mustard diamonds with a green eye, repeated. */
  --motif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='14' viewBox='0 0 28 14'%3E%3Cpath d='M14 1l6 6-6 6-6-6z' fill='%23D9A441'/%3E%3Ccircle cx='14' cy='7' r='1.6' fill='%231F3A2B'/%3E%3Ccircle cx='0' cy='7' r='1.4' fill='%23D9A441'/%3E%3Ccircle cx='28' cy='7' r='1.4' fill='%23D9A441'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1rem/1.6 var(--sans);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  -webkit-tap-highlight-color: rgba(31, 58, 43, .12);
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-700); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
h1, h2, h3 { color: var(--green-900); overflow-wrap: break-word; }

/* Side padding respects the notch when a phone is held sideways. */
.wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}
.section { padding-top: 2rem; padding-bottom: 2rem; }
[hidden] { display: none !important; }
.narrow-section { max-width: 40rem; }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 0; background: var(--paper); padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: 1rem; }

/* Rows that scroll sideways reach the screen edge, so it's obvious there's more to see. */
.scroll-row {
  margin-left: calc(var(--gutter) * -1);
  margin-right: calc(var(--gutter) * -1);
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  overscroll-behavior-x: contain;
}

/* ---------- Header ---------- */

.topbar {
  background: var(--green-950); color: var(--mustard-100);
  font-size: .8125rem; font-weight: 700;
  padding-top: env(safe-area-inset-top, 0px);
}
.topbar-inner { display: flex; align-items: center; justify-content: center; gap: 1rem; min-height: 2.1rem; }
.topbar p { margin: 0; text-align: center; }
.topbar-links { display: none; }
.topbar a { color: var(--mustard-100); text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }

.site-head { background: var(--paper); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 14px rgba(31, 58, 43, .07); }
.site-head-inner { display: flex; align-items: center; gap: .5rem; min-height: 4.25rem; }
.brand { text-decoration: none; color: inherit; display: inline-flex; min-width: 0; margin-right: auto; }

.logo { display: inline-flex; align-items: center; gap: .55rem; min-width: 0; }
.logo-mark { flex: 0 0 auto; width: auto; height: 2.5rem; }
.logo-text { display: flex; flex-direction: column; min-width: 0; line-height: 1; }
.logo-name { font-family: var(--serif); font-size: clamp(1.3rem, 5.6vw, 1.6rem); color: var(--green-900); letter-spacing: -.01em; white-space: nowrap; }
.brand-shop { color: var(--mustard-700); }
.logo-tag { font-size: .5625rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--mustard-700); margin-top: .3rem; white-space: nowrap; }
.logo--light .logo-name { color: var(--cream); }
.logo--light .brand-shop, .logo--light .logo-tag { color: var(--mustard); }
.logo--light .logo-mark > path:first-child { stroke: var(--mustard); stroke-width: 1.5; }

.main-nav { display: none; }
.head-tools { display: flex; align-items: center; gap: .25rem; }
.cart-link {
  position: relative; color: var(--green-900); text-decoration: none; font-weight: 800;
  display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: 0 .5rem; border-radius: 10px;
}
.cart-link:hover { background: var(--green-100); }
.cart-word { font-size: .9375rem; }
@media (max-width: 30rem) {
  .cart-word { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}
.cart-count {
  background: var(--mustard); color: var(--green-900);
  font-size: .75rem; font-weight: 800; line-height: 1;
  min-width: 1.35rem; height: 1.35rem; padding: 0 .35rem;
  border-radius: 999px; display: inline-grid; place-items: center;
}

/* Phone and tablet menu: a native <details>, so it opens without any script. */
.menu { order: -1; }
.menu summary {
  list-style: none; cursor: pointer; color: var(--green-900);
  width: 2.75rem; height: 2.75rem; display: grid; place-items: center; border-radius: 10px;
}
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--green-100); }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--paper); border-top: 1px solid var(--rule);
  box-shadow: 0 16px 30px rgba(31, 58, 43, .18);
  padding: 1rem max(var(--gutter), env(safe-area-inset-left, 0px)) 1.25rem;
  max-height: calc(100vh - 7rem); overflow-y: auto;
}
.menu-panel nav { display: grid; margin-top: .75rem; }
.menu-panel nav a {
  color: var(--green-900); text-decoration: none; font-weight: 800; font-size: 1.0625rem;
  padding: .75rem .25rem; border-bottom: 1px solid var(--rule);
}

.search { display: flex; align-items: center; background: var(--cream); border: 1px solid var(--rule); border-radius: 999px; padding: 0 .25rem 0 1rem; min-width: 0; }
.search:focus-within { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(47, 93, 67, .15); }
/* 1rem keeps iOS from zooming the page when the field is tapped. */
.search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 1rem; color: var(--ink); padding: .6rem 0; outline: none; }
.search button { border: 0; background: none; color: var(--green-900); width: 2.5rem; height: 2.5rem; display: grid; place-items: center; cursor: pointer; border-radius: 50%; }
.search--head { display: none; }
.search--page { max-width: 32rem; margin-bottom: 1.25rem; background: var(--paper); }

.motif { height: 12px; background: var(--green-900) var(--motif) repeat-x center; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2;
  padding: .85rem 1.3rem; min-height: 3rem;
  border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
}
.btn--primary { background: var(--green-900); color: var(--cream); }
.btn--primary:hover { background: var(--green-700); color: var(--cream); }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--green-900); }
.btn--ghost:hover { background: var(--green-100); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: #17783F; color: #fff; }
.btn--gold { background: var(--mustard); color: var(--green-900); }
.btn--gold:hover { background: #E7B656; color: var(--green-900); }
.btn--ghost-light { background: transparent; border-color: rgba(251, 246, 236, .7); color: var(--cream); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .08); color: var(--cream); }
.btn--primary, .btn--wa, .btn--gold { box-shadow: 0 6px 16px rgba(31, 58, 43, .16); }
.btn { transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn--add { width: 100%; background: var(--mustard-100); color: var(--green-900); padding: .6rem 1rem; min-height: 2.75rem; font-size: .9375rem; }
.btn--add:hover { background: var(--mustard); }
.btn--block { width: 100%; }
.btn--grow { flex: 1; }
.btn.is-disabled { opacity: .45; cursor: not-allowed; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: .875rem; color: var(--muted); text-decoration: underline; cursor: pointer; }

/* ---------- Home ---------- */

.kicker { color: var(--mustard-700); font-weight: 800; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 .4rem; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.section-head a { font-weight: 800; }
.section-head .section-title { margin-bottom: 0; }
.section-title, .page-title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 5.8vw, 2rem); line-height: 1.2; margin: 0 0 1rem; color: var(--green-900); }
.page-title { font-size: clamp(1.625rem, 6vw, 2.25rem); }
.section-intro { text-align: center; max-width: 40rem; margin: 0 auto 1.5rem; }
.section-intro .section-title { margin-bottom: 0; }
.section-intro--light .section-title { color: var(--cream); }
.section-intro--light .kicker { color: var(--mustard); }

.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% 10%, rgba(217, 164, 65, .22), transparent 60%),
    radial-gradient(40rem 26rem at 0% 100%, rgba(47, 93, 67, .10), transparent 60%),
    var(--cream);
}
.hero-inner { display: grid; gap: 2rem; padding-top: 2.25rem; padding-bottom: 2.5rem; align-items: center; }
.hero-copy { min-width: 0; }
.chip {
  display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 1rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 999px;
  padding: .35rem .9rem; font-weight: 800; font-size: .8125rem; color: var(--green-900);
  box-shadow: 0 2px 8px rgba(31, 58, 43, .06);
}
.chip-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--mustard); }
.hero h1 { color: var(--green-900); font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 8.5vw, 3.6rem); line-height: 1.06; margin: 0 0 1rem; max-width: 16ch; }
.hero-text { font-size: 1.0625rem; color: var(--muted); max-width: 34rem; margin: 0 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero-chips { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.hero-chips li {
  font-size: .8125rem; font-weight: 700; color: var(--green-700);
  border: 1px solid var(--rule); background: rgba(255, 253, 248, .7); border-radius: 999px; padding: .3rem .8rem;
}
.hero-chips li::before { content: "\2713"; color: var(--mustard-700); margin-right: .35rem; font-weight: 800; }

@media (max-width: 47.99rem) { .hero-panel { display: none; } }
.hero-panel {
  background: var(--green-900) var(--jaali); color: var(--cream);
  border-radius: 22px; padding: 1.4rem; min-width: 0;
  box-shadow: 0 24px 50px rgba(31, 58, 43, .28);
  border: 1px solid rgba(217, 164, 65, .35);
}
.hero-panel .kicker { color: var(--mustard); }
.hero-panel h2 { color: var(--cream); font-family: var(--serif); font-weight: 400; font-size: 1.5rem; margin: 0 0 1rem; }
.hero-panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.hero-panel a {
  display: flex; align-items: center; gap: .85rem; text-decoration: none; color: var(--cream);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px; padding: .7rem .85rem;
  transition: background .15s, border-color .15s;
}
.hero-panel a:hover { background: rgba(217, 164, 65, .16); border-color: rgba(217, 164, 65, .55); }
.hero-panel strong { display: block; font-size: 1rem; }
.hero-panel small { color: #C9D6C6; font-size: .8125rem; }
.hero-panel-icon { flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 12px; display: grid; place-items: center; background: rgba(217, 164, 65, .18); color: var(--mustard); }
.hero-panel-note { margin: 1rem 0 0; font-size: .8125rem; color: var(--mustard-100); background: rgba(0, 0, 0, .18); border: 1px solid rgba(217, 164, 65, .3); border-radius: 12px; padding: .7rem .85rem; }

/* Hero photo collage: one big photo and two small, from the featured products. */
.hero-photos { position: relative; display: grid; grid-template-columns: 1.35fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; aspect-ratio: 1.25; min-width: 0; }
.hero-photo { position: relative; display: block; border-radius: 20px; overflow: hidden; background: #F3EAD6; box-shadow: 0 14px 34px rgba(31, 58, 43, .18); min-height: 0; }
.hero-photo--1 { grid-row: span 2; border: 3px solid var(--paper); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hero-photo:hover img { transform: scale(1.04); }
.hero-photo-label {
  position: absolute; left: .6rem; bottom: .6rem; right: .6rem; width: fit-content; max-width: calc(100% - 1.2rem);
  background: rgba(255, 253, 248, .93); color: var(--ink); font-size: .75rem; font-weight: 700; line-height: 1.3;
  padding: .3rem .65rem; border-radius: 999px; box-shadow: 0 2px 8px rgba(0, 0, 0, .12);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-photo-label strong { color: var(--green-900); margin-left: .2rem; }
.hero-photo--2 .hero-photo-label, .hero-photo--3 .hero-photo-label { display: none; }
.hero-badge {
  position: absolute; right: .75rem; top: .75rem; margin: 0;
  display: none; align-items: center; gap: .55rem;
  background: var(--green-900); color: var(--cream); border: 1px solid rgba(217, 164, 65, .5);
  border-radius: 14px; padding: .55rem .8rem; font-size: .75rem; line-height: 1.3; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}
.hero-badge .icon { color: var(--mustard); flex: 0 0 auto; }
.hero-badge strong { display: block; font-size: .8125rem; }

/* Category tiles with a product photo. */
.cat-tiles a.has-photo { padding: .5rem .5rem .9rem; }
.cat-tiles a.has-photo::after { display: none; }
.cat-tiles a.has-photo strong, .cat-tiles a.has-photo > span:last-child { padding: 0 .45rem; }
.cat-photo { display: block; aspect-ratio: 4 / 3; border-radius: 13px; overflow: hidden; background: #F3EAD6; margin-bottom: .45rem; }
.cat-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.cat-tiles a:hover .cat-photo img { transform: scale(1.05); }
.cat-tiles em { font-style: normal; font-weight: 800; color: var(--green-700); margin-left: .35rem; }
.cat-tiles li:first-child em { color: var(--mustard); }

.features { background: var(--green-900); color: var(--cream); }
.features-inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem .75rem; padding-top: 1.4rem; padding-bottom: 1.4rem; }
.features-inner div { display: grid; justify-items: center; text-align: center; gap: .2rem; min-width: 0; }
.features .icon { color: var(--mustard); margin-bottom: .2rem; }
.features strong { font-size: .9375rem; line-height: 1.25; }
.features span { font-size: .8125rem; color: #C9D6C6; line-height: 1.35; }

.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.cat-tiles a {
  display: flex; flex-direction: column; gap: .3rem; height: 100%;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 18px;
  padding: 1.1rem 1rem; text-decoration: none; color: inherit; position: relative; overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cat-tiles a::after {
  content: ""; position: absolute; right: -1.6rem; bottom: -1.6rem; width: 5rem; height: 5rem; border-radius: 50%;
  background: var(--mustard-100); z-index: 0;
}
.cat-tiles a > * { position: relative; z-index: 1; }
.cat-tiles a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(31, 58, 43, .12); border-color: var(--mustard); }
.cat-tiles li:first-child a { background: var(--green-900) var(--jaali); border-color: var(--green-900); }
.cat-tiles li:first-child strong { color: var(--cream); }
.cat-tiles li:first-child span:last-child { color: #C9D6C6; }
.cat-tiles li:first-child a::after { background: rgba(217, 164, 65, .2); }
.cat-tiles strong { color: var(--green-900); font-size: 1.0625rem; line-height: 1.25; }
.cat-tiles span:last-child { color: var(--muted); font-size: .8125rem; line-height: 1.4; }
.cat-icon { width: 3rem; height: 3rem; border-radius: 14px; display: grid; place-items: center; background: var(--mustard-100); color: var(--mustard-700); margin-bottom: .35rem; flex: 0 0 auto; }
.cat-tiles li:first-child .cat-icon { background: rgba(217, 164, 65, .2); color: var(--mustard); }

.bulk-band {
  margin-top: 1.5rem; border-radius: 18px; padding: 1.1rem 1.25rem;
  background: var(--green-900) var(--jaali); color: var(--cream);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem 1.5rem;
}
.bulk-band p { margin: 0; max-width: 40rem; }
.bulk-band strong { color: var(--mustard); }

.steps-band { background: var(--green-900) var(--jaali); color: var(--cream); margin-top: 1rem; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; counter-reset: step; }
.steps li {
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(217, 164, 65, .28); border-radius: 18px;
  padding: 1.1rem 1.1rem 1.1rem 4.4rem; position: relative; min-width: 0;
}
.steps strong { display: block; font-size: 1.0625rem; color: var(--cream); }
.steps span:last-child { color: #C9D6C6; font-size: .9375rem; }
.step-n {
  position: absolute; left: 1.1rem; top: 1.1rem; width: 2.4rem; height: 2.4rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--mustard); color: var(--green-900);
  font-family: var(--serif); font-size: 1.15rem;
}

.heritage { display: grid; gap: 1.75rem; align-items: start; }
.heritage-copy { min-width: 0; }
.story-text p { margin: 0 0 1rem; font-size: 1.0625rem; }
.heritage-cards { list-style: none; margin: 0; padding: 1rem; display: grid; gap: .75rem; background: var(--mustard-100); border-radius: 22px; }
.heritage-cards li { display: flex; gap: .85rem; background: var(--paper); border-radius: 16px; padding: 1rem; box-shadow: 0 4px 14px rgba(31, 58, 43, .06); }
.heritage-cards .cat-icon { margin: 0; }
.heritage-cards strong { display: block; color: var(--green-900); font-size: 1.0625rem; }
.heritage-cards span { color: var(--muted); font-size: .9375rem; }
.heritage-cards a { font-weight: 800; font-size: .9375rem; white-space: nowrap; }

.occasions-band { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.occasions { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.occasions li {
  display: grid; justify-items: center; text-align: center; gap: .3rem;
  border: 1px solid var(--rule); border-radius: 18px; padding: 1.2rem .85rem; background: var(--cream); min-width: 0;
}
.occasions .icon { color: var(--mustard-700); margin-bottom: .25rem; }
.occasions strong { color: var(--green-900); }
.occasions span { color: var(--muted); font-size: .875rem; line-height: 1.4; }

.home-faq .faq { margin-bottom: 1rem; }

.cta-band { background: var(--green-950) var(--jaali); color: var(--cream); margin-top: 2rem; text-align: center; }
.cta-inner { padding-top: 3rem; padding-bottom: 3rem; max-width: 44rem; }
.cta-band .kicker { color: var(--mustard); }
.cta-band h2 { color: var(--cream); font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 6vw, 2.4rem); line-height: 1.15; margin: 0 0 .75rem; }
.cta-band p { color: #C9D6C6; }
.cta-band .hero-actions { justify-content: center; margin-top: 1.25rem; }

/* ---------- Product cards ---------- */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.card {
  background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; overflow: hidden;
  display: flex; flex-direction: column; min-width: 0;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(31, 58, 43, .12); border-color: #DCC9A2; }
.card-link { text-decoration: none; color: inherit; flex: 1; display: block; }
.card-img { position: relative; aspect-ratio: 1; background: #F3EAD6; margin: .5rem .5rem 0; border-radius: 13px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card-img img { transform: scale(1.04); }
.card.is-out .card-img img { opacity: .55; }
.card-body { padding: .7rem .8rem .8rem; }
.card-title { font-size: .9375rem; line-height: 1.3; margin: 0 0 .15rem; color: var(--ink); }
.card-weight { margin: 0; font-size: .8125rem; color: var(--muted); }
.card-price { margin: .35rem 0 0; font-weight: 800; color: var(--green-900); }
.card-price s, .pdp-price s { color: var(--muted); font-weight: 600; font-size: .8125em; margin-left: .25rem; }
.card-few { margin: .25rem 0 0; font-size: .75rem; font-weight: 800; color: var(--red); }
.card .btn--add { border-radius: 12px; margin: 0 .5rem .5rem; width: calc(100% - 1rem); }
.stock-tag, .sale-tag {
  position: absolute; left: .5rem; top: .5rem;
  font-size: .75rem; font-weight: 800; padding: .2rem .6rem; border-radius: 999px;
}
.stock-tag { background: var(--ink); color: #fff; }
.sale-tag { background: var(--mustard); color: var(--green-900); box-shadow: 0 2px 6px rgba(0, 0, 0, .12); }
.sale-tag--inline { position: static; display: inline-block; vertical-align: middle; font-size: .8125rem; margin-left: .35rem; }

.filters { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .5rem; margin-bottom: 1rem; scroll-snap-type: x proximity; }
.filters a {
  scroll-snap-align: start;
  flex: 0 0 auto; text-decoration: none; font-weight: 700; font-size: .9375rem;
  display: inline-flex; align-items: center; min-height: 2.5rem;
  padding: .35rem 1rem; border-radius: 999px; border: 1px solid var(--rule);
  background: var(--paper); color: var(--green-900);
}
.filters a[aria-current="page"] { background: var(--green-900); color: var(--cream); border-color: var(--green-900); }

/* ---------- Product page ---------- */

.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.pdp { display: grid; gap: 1.5rem; }
.gallery { min-width: 0; }
.pdp-info { min-width: 0; }
.gallery-main { position: relative; border-radius: var(--radius); overflow: hidden; background: #F3EAD6; aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .5rem; margin-top: .6rem; overflow-x: auto; padding-bottom: .25rem; -webkit-overflow-scrolling: touch; }
.thumb { padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; width: 4.25rem; flex: 0 0 auto; cursor: pointer; background: none; }
.thumb[aria-current="true"] { border-color: var(--mustard); }
.pdp-info h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.75rem, 6vw, 2.5rem); line-height: 1.12; margin: 0 0 .35rem; }
.pdp-weight { color: var(--muted); margin: 0; }
.pdp-price { font-size: 1.75rem; font-weight: 800; color: var(--green-900); margin: .5rem 0 1rem; }
.buy { display: flex; gap: .75rem; align-items: stretch; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); flex: 0 0 auto; }
.qty button { width: 2.75rem; height: 3rem; border: 0; background: none; font-size: 1.25rem; font-weight: 700; color: var(--green-900); cursor: pointer; }
.qty button:disabled { opacity: .3; cursor: default; }
/* 1rem keeps iOS from zooming the page when the field is tapped. */
.qty input { width: 2.5rem; text-align: center; border: 0; font: inherit; font-size: 1rem; font-weight: 800; background: none; appearance: textfield; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.buy .btn--grow { flex: 1 1 10rem; }
.qty--small button { width: 2.5rem; height: 2.5rem; font-size: 1.05rem; }
.qty--small span { min-width: 1.5rem; text-align: center; font-weight: 800; }
.few-left { color: var(--mustard-700); font-weight: 700; font-size: .9375rem; margin: .6rem 0 0; }
.out-note { background: var(--mustard-100); padding: .85rem 1rem; border-radius: var(--radius); }
.pdp-desc { margin-top: 1.5rem; }
.pdp-desc p { margin: 0 0 .9rem; }
.pdp-points { list-style: none; padding: 1rem 0 0; margin: 1rem 0 0; border-top: 1px solid var(--rule); font-size: .9375rem; }
.pdp-points li { padding-left: 1.4rem; position: relative; margin-bottom: .4rem; }
.pdp-points li::before { content: ""; position: absolute; left: 0; top: .5rem; width: .6rem; height: .6rem; background: var(--mustard); transform: rotate(45deg); }

.pdp-trust { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.pdp-trust li { display: flex; gap: .6rem; align-items: flex-start; background: var(--paper); border: 1px solid var(--rule); border-radius: 14px; padding: .7rem .75rem; font-size: .8125rem; color: var(--muted); line-height: 1.35; min-width: 0; }
.pdp-trust .icon { flex: 0 0 auto; color: var(--mustard-700); }
.pdp-trust strong { display: block; color: var(--green-900); font-size: .875rem; }

.track-form { background: var(--paper); border: 1px solid var(--rule); border-radius: 18px; padding: 1.25rem; margin: 1rem 0 1.5rem; }
.track-result { background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--mustard); border-radius: 18px; padding: 1.25rem; margin-bottom: 1.5rem; }
.track-result h2 { font-family: var(--serif); font-weight: 400; margin: 0 0 .25rem; }
.track-steps { list-style: none; margin: 1.25rem 0; padding: 0; display: grid; gap: 0; }
.track-steps li { position: relative; padding: 0 0 1.1rem 2.25rem; color: var(--muted); font-weight: 700; }
.track-steps li::before { content: ""; position: absolute; left: 0; top: .15rem; width: 1.25rem; height: 1.25rem; border-radius: 50%; border: 2px solid var(--rule); background: var(--paper); }
.track-steps li::after { content: ""; position: absolute; left: .56rem; top: 1.5rem; bottom: .1rem; width: 2px; background: var(--rule); }
.track-steps li:last-child::after { display: none; }
.track-steps li.is-done { color: var(--green-900); }
.track-steps li.is-done::before { background: var(--green-700); border-color: var(--green-700); box-shadow: inset 0 0 0 3px var(--paper); }
.track-steps li.is-done::after { background: var(--green-700); }
.track-steps li[aria-current="step"] { font-weight: 800; }

.pdp-guides { margin-top: 1.25rem; background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: .85rem 1rem; }
.pdp-guides h2 { font-family: var(--sans); font-size: .9375rem; font-weight: 800; margin: 0 0 .35rem; }
.pdp-guides ul { margin: 0; padding-left: 1.1rem; }
.pdp-guides li { margin: .2rem 0; }
.pdp-share { margin: 1rem 0 0; font-weight: 700; font-size: .9375rem; }
.pdp-share a { color: var(--wa); }

/* ---------- Guides and information pages ---------- */

.lede { color: var(--muted); font-size: 1.0625rem; max-width: 44rem; margin: -.25rem 0 1.25rem; }
.lede p { margin: 0 0 .75rem; }
.small { font-size: .875rem; }
.crumbs [aria-current="page"] { color: var(--ink); }
.prose { font-size: 1.0625rem; }
.prose h2 { font-family: var(--serif); font-weight: 400; font-size: 1.375rem; line-height: 1.25; margin: 2rem 0 .6rem; }
.prose p, .prose ul, .prose ol { margin: 0 0 1rem; }
.prose li { margin-bottom: .35rem; }
.prose-cta { margin-top: 2rem !important; }
.guide-list { list-style: none; margin: 0; padding: 0; }
.guide-list li { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.guide-list h2 { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.25; margin: 0 0 .35rem; }
.guide-list h2 a { color: var(--green-900); text-decoration: none; }
.guide-list p { margin: 0; color: var(--muted); }
.guide-list--compact li { padding: .6rem 0; font-weight: 700; }
.guide-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.guide-cards a {
  display: block; height: 100%; text-decoration: none; color: inherit;
  background: var(--paper); border: 1px solid var(--rule); border-top: 4px solid var(--mustard);
  border-radius: var(--radius); padding: 1rem;
}
.guide-cards strong { display: block; color: var(--green-900); font-size: 1.0625rem; line-height: 1.3; margin-bottom: .35rem; }
.guide-cards span { color: var(--muted); font-size: .9375rem; }
.guide-cards em { display: block; margin-top: .65rem; font-style: normal; font-weight: 800; color: var(--green-700); }
.guide-cards a { border-radius: 18px; transition: box-shadow .15s, transform .15s; }
.guide-cards a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(31, 58, 43, .1); }
.faq details { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); margin-bottom: .6rem; }
.faq summary { cursor: pointer; font-weight: 800; color: var(--green-900); padding: .9rem 1rem; list-style-position: inside; }
.faq details p { margin: 0; padding: 0 1rem 1rem; }
.contact-list { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; margin: 1.25rem 0; }
.contact-list dt { font-weight: 800; color: var(--green-900); }
.contact-list dd { margin: 0; min-width: 0; }

/* ---------- Cart & checkout ---------- */

.cart-lines { list-style: none; margin: 0 0 1rem; padding: 0; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: .5rem .85rem; padding: 1rem 0; border-bottom: 1px solid var(--rule); align-items: start; }
.cart-line img { border-radius: 8px; width: 72px; height: 72px; object-fit: cover; }
.cart-line-info { display: flex; flex-direction: column; gap: .1rem; min-width: 0; }
.cart-line-name { font-weight: 800; color: var(--ink); text-decoration: none; }
.cart-line-unit { font-size: .8125rem; color: var(--muted); }
.cart-line-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; margin-top: .45rem; }
.cart-line-actions .link-btn { display: inline-flex; align-items: center; min-height: 2.5rem; }
.cart-line-total { white-space: nowrap; color: var(--green-900); }

/* Narrow phones: the line total drops under the name instead of squeezing the middle column. */
@media (max-width: 26rem) {
  .cart-line { grid-template-columns: 64px minmax(0, 1fr); }
  .cart-line img { width: 64px; height: 64px; }
  .cart-line-total { grid-column: 2; justify-self: start; }
}

.summary { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1rem; margin-bottom: 1rem; }
.sum-row { display: flex; justify-content: space-between; gap: .75rem; padding: .3rem 0; }
.sum-row > span:first-child { min-width: 0; }
.sum-row > span:last-child { white-space: nowrap; }
.sum-total { border-top: 1px solid var(--rule); margin-top: .4rem; padding-top: .7rem; font-weight: 800; font-size: 1.125rem; color: var(--green-900); }
.free-hint { margin: .2rem 0; font-size: .8125rem; color: var(--mustard-700); font-weight: 700; }
.min-note { background: var(--mustard-100); border-radius: var(--radius); padding: .75rem 1rem; font-weight: 700; }

.checkout-grid { display: grid; gap: 1.5rem; }
.checkout-grid > * { min-width: 0; }
.checkout-summary { order: -1; }
.checkout-summary h2, .checkout-form h2 { font-size: 1.125rem; margin: 0 0 .85rem; font-family: var(--sans); font-weight: 800; }
.mini-lines { list-style: none; margin: 0 0 .75rem; padding: 0; font-size: .9375rem; }
.mini-lines li { display: flex; justify-content: space-between; gap: .75rem; padding: .3rem 0; }
.mini-lines li > span:first-child { min-width: 0; }
.mini-lines li > span:last-child { white-space: nowrap; }
.field { margin: 0 0 1rem; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 800; margin-bottom: .35rem; color: var(--green-900); }
.field input[type="text"], .field input[type="tel"], .field input[type="search"], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: inherit;
  padding: .8rem .9rem; border: 1px solid #CDBF9F; border-radius: 10px; background: var(--paper);
}
.field textarea { resize: vertical; min-height: 3.5rem; }
.field [aria-invalid="true"] { border-color: var(--red); background: #FDF3F1; }
.field-error { color: var(--red); font-weight: 700; font-size: .875rem; margin: .35rem 0 0; }
.hint { color: var(--muted); font-size: .875rem; margin: .35rem 0 0; }
.optional { font-weight: 400; color: var(--muted); }
.choice { display: flex !important; gap: .6rem; align-items: center; font-weight: 600 !important; color: var(--ink) !important; background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: .75rem .9rem; margin-bottom: .5rem !important; cursor: pointer; }
.choice input { width: 1.15rem; height: 1.15rem; accent-color: var(--green-900); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.flash { padding: .85rem 1rem; border-radius: 10px; }
.flash--error { background: #FBE9E6; border-left: 4px solid var(--red); color: #6E1F17; font-weight: 700; }

.thanks { text-align: left; }
.thanks-seal { color: var(--wa); margin-bottom: .75rem; }
.thanks-number { font-size: 1.125rem; }
.thanks-number strong { background: var(--mustard-100); padding: .1rem .5rem; border-radius: 6px; letter-spacing: .02em; }
.thanks .btn--wa { margin: .75rem 0 1.25rem; }

/* ---------- Footer & floating ---------- */

.site-foot { background: var(--green-900) var(--jaali); color: #D6E0D3; margin-top: 3rem; font-size: .9375rem; padding-bottom: 5rem; }
.foot-grid { display: grid; gap: 1.5rem; padding-top: 2.25rem; padding-bottom: 1.5rem; }
.site-foot h2 { color: var(--mustard); font-size: .9375rem; margin: 0 0 .5rem; font-family: var(--sans); }
.site-foot p { margin: 0 0 .5rem; }
.site-foot a { color: var(--cream); }
.foot-links { list-style: none; margin: 0; padding: 0; }
.foot-links li { margin: 0 0 .35rem; }
.foot-social a { margin-right: .75rem; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 1rem; font-size: .8125rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1.5rem; }
.foot-brand .brand { margin-bottom: .85rem; }
.foot-brand .logo-mark { height: 3rem; }
.pay-label { margin-top: 1rem !important; color: var(--mustard); font-weight: 800; font-size: .8125rem; }
.pay-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.pay-chips li { font-size: .75rem; font-weight: 700; color: var(--cream); border: 1px solid rgba(217, 164, 65, .45); border-radius: 999px; padding: .2rem .6rem; }
main:has(> .cta-band:last-child) + .site-foot { margin-top: 0; }

/* --float-lift is raised by the sticky buy bar so the two never sit on top of each other. */
.wa-float {
  position: fixed; right: 1rem; bottom: calc(1rem + var(--float-lift, 0rem) + env(safe-area-inset-bottom, 0px)); z-index: 30;
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--wa); color: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .22);
}
.toast {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(5.25rem + var(--float-lift, 0rem) + env(safe-area-inset-bottom, 0px)); z-index: 40;
  background: var(--ink); color: #fff; font-weight: 700; font-size: .9375rem;
  padding: .7rem 1.1rem; border-radius: 999px; max-width: calc(100% - 2rem);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .2);
}

/* ---------- Sticky buy bar (phones and small tablets, product page only) ---------- */

.buy-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
  background: var(--paper); border-top: 1px solid var(--rule);
  box-shadow: 0 -4px 16px rgba(43, 42, 34, .1);
  padding: .6rem max(1rem, env(safe-area-inset-right, 0px)) calc(.6rem + env(safe-area-inset-bottom, 0px)) max(1rem, env(safe-area-inset-left, 0px));
  display: flex; align-items: center; gap: .75rem;
  transform: translateY(110%); transition: transform .18s ease-out;
}
.buy-bar.is-visible { transform: translateY(0); }
.buy-bar-price { font-weight: 800; color: var(--green-900); white-space: nowrap; }
.buy-bar-price small { display: block; font-weight: 600; color: var(--muted); font-size: .75rem; }
.buy-bar .btn { flex: 1; min-height: 2.9rem; }
.has-buy-bar { --float-lift: 4.25rem; }
.has-buy-bar main { padding-bottom: 4.5rem; }
@media (min-width: 60rem) {
  .buy-bar { display: none; }
  .has-buy-bar { --float-lift: 0rem; }
  .has-buy-bar main { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .buy-bar { transition: none; }
}

/* ---------- Larger screens ---------- */

/* Short, wide screens: a phone held sideways shouldn't give the hero the whole view. */
@media (max-height: 30rem) and (orientation: landscape) {
  .hero-inner { padding-top: 1.75rem; padding-bottom: 2rem; }
  .site-head { position: static; }
}

@media (min-width: 30rem) {
  .hero-actions .btn { min-width: 11rem; }
  .logo-mark { height: 2.75rem; }
}
@media (min-width: 40rem) {
  :root { --gutter: 1.25rem; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
  .topbar-inner { justify-content: space-between; }
  .topbar-links { display: flex; gap: 1.25rem; }
  .features-inner { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .occasions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2rem; }
  .guide-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cart-line { grid-template-columns: 80px minmax(0, 1fr) auto; }
  .cart-line img { width: 80px; height: 80px; }
  .pdp-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 48rem) {
  .pdp { grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; }
  .checkout-grid { grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: start; }
  .checkout-summary { order: 0; position: sticky; top: 6.5rem; }
  .hero-inner { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem; }
  .heritage { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
  .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 60rem) {
  .section { padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .hero-inner { padding-top: 4.5rem; padding-bottom: 4.5rem; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pdp { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
  .checkout-grid { gap: 3rem; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; }
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .steps li { padding: 4.25rem 1.2rem 1.3rem; }
  .step-n { top: 1.2rem; left: 1.2rem; }

  /* Full header: logo, main links, search and cart in one row. The menu button goes. */
  .menu { display: none; }
  .site-head-inner { min-height: 5rem; gap: 1rem; }
  .brand { margin-right: 0; }
  .logo-mark { height: 3rem; }
  .logo-name { font-size: 1.7rem; }
  .main-nav { display: flex; flex: 1; justify-content: center; gap: 0; min-width: 0; }
  .main-nav a {
    color: var(--green-900); text-decoration: none; font-weight: 800; font-size: .875rem; white-space: nowrap;
    padding: .5rem .55rem; border-radius: 999px;
  }
  .main-nav a:hover { background: var(--mustard-100); }
  .search--head { display: flex; width: 11.5rem; }
  .hero-photo-label, .hero-photo--2 .hero-photo-label, .hero-photo--3 .hero-photo-label { display: block; }
  .hero-badge { display: flex; top: 1.5rem; right: auto; left: -1.25rem; }
}
@media (min-width: 75rem) {
  .search--head { width: 15rem; }
  .main-nav a { font-size: .9375rem; padding: .55rem .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .card, .card-img img, .cat-tiles a, .btn, .hero-photo img, .cat-photo img { transition: none; }
  .card:hover, .cat-tiles a:hover, .card:hover .card-img img { transform: none; }
}
