/* ============================================================
   IndiaVibes — design system & components
   Palette: warm ivory, saffron/marigold, peacock teal, rani pink, gold
   ============================================================ */
:root {
  --bg: #fff8ee;
  --bg-soft: #fdeccf;
  --surface: #ffffff;
  --ink: #241608;
  --ink-soft: #574536;
  --line: #ecdcc2;

  --saffron: #f15a22;
  --saffron-dark: #d4451a;
  --marigold: #f7a521;
  --teal: #0c8a82;
  --teal-dark: #086b64;
  --rani: #e02e74;
  --gold: #c8962a;

  --ok: #2f9e6f;
  --danger: #c4422f;

  --maxw: 1240px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(42, 29, 18, .06), 0 2px 8px rgba(42, 29, 18, .05);
  --shadow-md: 0 6px 24px rgba(42, 29, 18, .10);
  --shadow-lg: 0 18px 48px rgba(42, 29, 18, .16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  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; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.hidden { display: none !important; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .8rem 1.4rem; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 700; font-size: .95rem; transition: transform .12s ease, box-shadow .2s ease, background .2s;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--saffron); color: #fff; box-shadow: 0 6px 16px rgba(239, 106, 43, .28); }
.btn-primary:hover { background: var(--saffron-dark); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(15, 124, 120, .25); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--saffron); color: var(--saffron-dark); }
.btn-ghost { background: transparent; color: var(--ink); padding: .6rem .9rem; }
.btn-ghost:hover { color: var(--saffron-dark); }
.btn-block { width: 100%; }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }

/* ---- header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 250, 242, .92);
  backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line);
}
.header-bar { display: flex; align-items: center; gap: 1.2rem; height: 70px; }
.logo { display: flex; align-items: baseline; gap: .04rem; font-family: var(--font-display); font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; }
.logo .i { background: linear-gradient(120deg, var(--saffron) 20%, var(--marigold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo .v { color: var(--teal); }
.logo .dot { color: var(--rani); font-size: 1.9rem; line-height: 0; }
.nav { display: flex; gap: 1.4rem; margin-left: 1rem; }
.nav a { font-weight: 600; color: var(--ink-soft); padding: .3rem 0; position: relative; }
.nav a:hover, .nav a.active { color: var(--ink); }
.nav a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; background: var(--saffron); border-radius: 3px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .5rem; }

.currency-select {
  appearance: none; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px;
  padding: .5rem 2rem .5rem .9rem; font-weight: 700; color: var(--ink); font-size: .85rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b5946' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .8rem center;
}
.cart-btn { position: relative; display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .9rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); font-weight: 700; }
.cart-btn:hover { border-color: var(--saffron); }
.cart-count { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--rani); color: #fff; font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.5rem; padding: .3rem .5rem; }

/* ---- footer ---- */
.site-footer { margin-top: 4.5rem; background:
    radial-gradient(900px 420px at 88% -40%, rgba(15,124,120,.28) 0%, transparent 60%),
    radial-gradient(700px 360px at -5% 130%, rgba(224,46,116,.22) 0%, transparent 60%),
    #1e1308; color: #e9dcc8; position: relative; }
.footer-accent { height: 4px; background: linear-gradient(90deg, var(--saffron), var(--marigold), var(--teal), var(--rani)); }
.site-footer a { color: #d9c9b1; transition: color .15s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.4rem; padding: 3.4rem 0 2.4rem; }
.footer-brand .logo { font-size: 1.7rem; margin-bottom: .9rem; }
.footer-brand p { color: #b9a78c; max-width: 24rem; line-height: 1.65; font-size: .92rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.1rem; }
.footer-social a { width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: 1rem; transition: background .18s, transform .12s, border-color .18s; }
.footer-social a:hover { background: var(--saffron); border-color: var(--saffron); transform: translateY(-2px); }
.footer-grid h4 { color: var(--marigold); font-family: var(--font-body); font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-grid ul a { font-size: .94rem; font-weight: 500; }
.footer-contact { display: grid; gap: .7rem; font-size: .92rem; color: #c9b89e; line-height: 1.5; }
.footer-contact .row { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact .row .ic { color: var(--marigold); flex: none; margin-top: .05rem; }
.footer-contact a { font-weight: 600; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 1.3rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .84rem; color: #9c8b73; }
.footer-bottom .legal-links { display: flex; gap: 1.2rem; }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; background:
    radial-gradient(1100px 560px at 88% -15%, #ffd9a8 0%, transparent 62%),
    radial-gradient(900px 520px at -5% 120%, #bfe9e5 0%, transparent 58%),
    linear-gradient(180deg, #fff3e0 0%, var(--bg) 60%); }
.hero-inner { display: grid; grid-template-columns: 1.02fr .98fr; gap: 3rem; align-items: center; padding: 3rem 0 3.2rem; min-height: 540px; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .5rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; color: #fff; background: linear-gradient(120deg, var(--teal), var(--teal-dark)); padding: .45rem .9rem; border-radius: 999px; margin-bottom: 1.1rem; box-shadow: 0 4px 12px rgba(12,138,130,.28); }
.hero h1 { margin-bottom: .6rem; }
.hero h1 .accent { color: var(--saffron); font-style: italic; }
.hero p.lead { font-size: 1.12rem; color: var(--ink-soft); max-width: 32rem; }
.hero-trust { display: flex; gap: 1.4rem; flex-wrap: wrap; margin-top: 1.8rem; }
.hero-trust .t { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--ink); }
.hero-trust .t .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 1rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hero-collage a { display: block; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: transparent; }
.hero-collage a:nth-child(odd) { transform: translateY(-14px); }
.hero-collage a:nth-child(even) { transform: translateY(14px); }
.hero-collage img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .4s ease; }
.hero-collage a:hover img { transform: scale(1.05); }

/* ---- section heading ---- */
.section { padding: 3.2rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.section-head .sub { color: var(--ink-soft); margin: 0; }

/* ---- category chips / pills ---- */
.chip-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: var(--surface); color: var(--ink);
  padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .88rem; transition: all .15s;
}
.chip:hover { border-color: var(--saffron); color: var(--saffron-dark); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---- category tiles (home) ---- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.cat-tile { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--shadow-sm); background: var(--surface); transition: transform .18s, box-shadow .2s; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cat-tile { background: #fff; }
.cat-tile img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 9% 9% 22%; }
.cat-tile .label { position: absolute; inset: auto 0 0 0; padding: 1.4rem .9rem .8rem; color: #fff; font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; background: linear-gradient(to top, rgba(20,12,4,.78), transparent); }
.cat-tile .count { font-family: var(--font-body); font-size: .75rem; opacity: .85; display: block; font-weight: 600; }

/* ---- product grid & cards ---- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .16s, box-shadow .2s; position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-media { position: relative; aspect-ratio: 1; background: #fff; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 7%; transition: transform .35s ease; }
.card:hover .card-media img { transform: scale(1.04); }
.card-tag { position: absolute; top: 10px; left: 10px; background: rgba(255,255,255,.92); color: var(--teal-dark); font-size: .7rem; font-weight: 800; letter-spacing: .03em; padding: .25rem .55rem; border-radius: 999px; text-transform: uppercase; }
.card-body { padding: .85rem .9rem 1rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.card-cat { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--saffron-dark); }
.card-name { font-family: var(--font-display); font-size: 1.02rem; font-weight: 600; line-height: 1.2; }
.card-foot { margin-top: auto; padding-top: .7rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-weight: 800; font-size: 1.05rem; }
.price .approx { font-size: .72rem; color: var(--ink-soft); font-weight: 600; }
.stock-out { color: var(--danger); font-size: .78rem; font-weight: 700; }
.stock-low { color: var(--gold); font-size: .78rem; font-weight: 700; }
.icon-add { width: 38px; height: 38px; border-radius: 999px; background: var(--saffron); color: #fff; border: 0; font-size: 1.3rem; display: grid; place-items: center; box-shadow: 0 4px 10px rgba(239,106,43,.3); transition: background .15s, transform .1s; }
.icon-add:hover { background: var(--saffron-dark); }
.icon-add:active { transform: scale(.92); }
.btn-select { padding: .45rem .9rem; font-size: .82rem; border-radius: 999px; }

/* ---- shop layout ---- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: 90px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; }
.filters h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin: 1.2rem 0 .6rem; }
.filters h4:first-child { margin-top: 0; }
.filter-list { display: flex; flex-direction: column; gap: .1rem; max-height: 280px; overflow: auto; }
.filter-opt { display: flex; align-items: center; gap: .55rem; padding: .35rem .3rem; border-radius: 8px; font-size: .92rem; cursor: pointer; }
.filter-opt:hover { background: var(--bg-soft); }
.filter-opt input { accent-color: var(--saffron); width: 16px; height: 16px; }
.filter-opt .n { margin-left: auto; color: var(--ink-soft); font-size: .8rem; }
.shop-toolbar { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.search-box { flex: 1; min-width: 200px; display: flex; align-items: center; gap: .5rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: .55rem 1rem; }
.search-box input { border: 0; outline: 0; background: transparent; width: 100%; font-size: .95rem; color: var(--ink); }
.select { appearance: none; background: var(--surface); border: 1.5px solid var(--line); border-radius: 999px; padding: .6rem 2.2rem .6rem 1rem; font-weight: 700; font-size: .9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b5946' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .9rem center; }
.result-count { color: var(--ink-soft); font-size: .9rem; }
.filter-toggle { display: none; }
.active-filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.active-filters .chip { font-size: .8rem; padding: .35rem .7rem; background: var(--bg-soft); }
.active-filters .chip .x { margin-left: .3rem; font-weight: 800; }

/* ---- product detail ---- */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 2.5rem 0; }
.pdp-media { border-radius: var(--radius); overflow: hidden; background: #fff; box-shadow: var(--shadow-sm); aspect-ratio: 1; }
.pdp-media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6%; }
.pdp-info .breadcrumb { font-size: .85rem; color: var(--ink-soft); margin-bottom: 1rem; }
.pdp-info .breadcrumb a:hover { color: var(--saffron-dark); }
.pdp-info h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.pdp-price { font-size: 1.8rem; font-weight: 800; margin: .4rem 0 1rem; }
.pdp-meta { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1.2rem; margin: 1.2rem 0; font-size: .95rem; }
.pdp-meta dt { color: var(--ink-soft); font-weight: 700; }
.pdp-meta dd { margin: 0; }
.pdp-desc { font-size: 1.02rem; color: var(--ink-soft); line-height: 1.6; margin: .4rem 0 1.2rem; }
.pdp-option { margin: 1.2rem 0; }
.opt-label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.opt-choices { display: flex; gap: .5rem; flex-wrap: wrap; }
.opt-chip { background: var(--surface); border: 1.5px solid var(--line); border-radius: 10px; min-width: 46px; padding: .55rem .9rem; font-weight: 700; font-size: .92rem; color: var(--ink); transition: all .12s; }
.opt-chip:hover { border-color: var(--saffron); }
.opt-chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt-error { color: var(--danger); font-size: .85rem; font-weight: 700; margin: .5rem 0 0; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 42px; height: 42px; border: 0; background: var(--surface); font-size: 1.2rem; color: var(--ink); }
.qty button:hover { background: var(--bg-soft); }
.qty input { width: 46px; text-align: center; border: 0; outline: 0; font-weight: 800; font-size: 1rem; background: transparent; }
.pdp-buy { display: flex; gap: .8rem; align-items: center; margin: 1.4rem 0; flex-wrap: wrap; }
.notice { padding: 1rem 1.2rem; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--line); font-size: .92rem; }

/* ---- cart & checkout ---- */
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; align-items: start; padding: 2rem 0; }
.cart-lines { display: flex; flex-direction: column; gap: .8rem; }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem; }
.cart-line img { width: 84px; height: 84px; border-radius: 10px; object-fit: contain; mix-blend-mode: multiply; background: #fff; }
.cart-line .nm { font-family: var(--font-display); font-weight: 600; }
.cart-line .meta { font-size: .82rem; color: var(--ink-soft); }
.cart-line .rm { background: none; border: 0; color: var(--ink-soft); font-size: .82rem; text-decoration: underline; padding: 0; margin-top: .3rem; }
.cart-line .rm:hover { color: var(--danger); }
.cart-line .qty { transform: scale(.85); transform-origin: right; }
.summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 90px; }
.summary h3 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; color: var(--ink-soft); }
.sum-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: .95rem; }
.sum-row.total { border-top: 1.5px dashed var(--line); margin-top: .5rem; padding-top: .8rem; font-size: 1.25rem; font-weight: 800; font-family: var(--font-display); }
.field { margin-bottom: .9rem; }
.field label { display: block; font-size: .82rem; font-weight: 700; color: var(--ink-soft); margin-bottom: .3rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: .7rem .85rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: .95rem; background: var(--surface); color: var(--ink); outline: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--saffron); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.ship-opt { display: flex; gap: .6rem; align-items: flex-start; padding: .7rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .5rem; cursor: pointer; }
.ship-opt:has(input:checked) { border-color: var(--saffron); background: #fff6ee; }
.ship-opt input { accent-color: var(--saffron); margin-top: .2rem; }
.ship-opt .eta { font-size: .82rem; color: var(--ink-soft); }
.ship-opt .rate { margin-left: auto; font-weight: 800; }
.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state .emoji { font-size: 3rem; }

/* ---- order confirmation ---- */
.confirm-card { max-width: 620px; margin: 3rem auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.5rem; text-align: center; box-shadow: var(--shadow-md); }
.confirm-card .check { width: 64px; height: 64px; border-radius: 999px; background: #e3f5ec; color: var(--ok); display: grid; place-items: center; font-size: 2rem; margin: 0 auto 1rem; }
.order-ref { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; letter-spacing: .04em; background: var(--bg-soft); padding: .5rem 1rem; border-radius: 8px; display: inline-block; margin: .5rem 0 1.2rem; }

/* ---- info banner / marquee ---- */
.usp-bar { background: var(--teal); color: #fff; font-size: .82rem; font-weight: 600; }
.usp-bar .container { display: flex; justify-content: center; gap: 2.2rem; padding: .55rem 20px; flex-wrap: wrap; }
.usp-bar span { display: inline-flex; align-items: center; gap: .4rem; }

/* ---- toast ---- */
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%); background: var(--ink); color: #fff; padding: .85rem 1.3rem; border-radius: 999px; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-lg); z-index: 100; transition: transform .35s cubic-bezier(.2,.8,.2,1); display: flex; align-items: center; gap: .6rem; }
.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- responsive ---- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-collage { max-width: 460px; }
  .pdp { grid-template-columns: 1fr; gap: 1.5rem; }
  .cart-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav { display: none; }
  .cart-btn span { display: none; }
  .currency-select { padding: .5rem 1.7rem .5rem .7rem; }
  .menu-toggle { display: block; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 0 0 auto; width: min(320px, 86vw); border-radius: 0; z-index: 60; transform: translateX(100%); transition: transform .25s; overflow: auto; box-shadow: var(--shadow-lg); }
  .filters.open { transform: translateX(0); }
  .filter-toggle { display: inline-flex; }
  .mobile-nav { display: block; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .field-row { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line img { width: 64px; height: 64px; }
}

/* mobile slide-out menu */
.mobile-nav { display: none; position: fixed; inset: 70px 0 auto 0; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); z-index: 49; padding: 1rem 0; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: .7rem 20px; font-weight: 700; }
.mobile-nav a:hover { background: var(--bg-soft); }
.scrim { position: fixed; inset: 0; background: rgba(20,12,4,.4); z-index: 55; opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
