/* Layout: brand storefront — warm paper ground, Milafood green as the anchor colour, the arch from the
   product photography reused as the stage for every jar. */
@font-face {
  font-family: Vazirmatn;
  src: url(../fonts/Vazirmatn.woff2) format("woff2-variations"), url(../fonts/Vazirmatn.woff2) format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --paper: #f7f3ea;
  --card: #fffdf8;
  --ink: #1b2620;
  --muted: #5d6860;
  --line: #e2dccd;
  --green: #1f4a2e;
  --green-2: #2d6a43;
  --green-tint: #e6eee6;
  --saffron: #c8812a;
  --chili: #a83218;
  --arch: #ece6d8;
  --font: Vazirmatn, Tahoma, "Segoe UI", sans-serif;
  --r: 16px;
  --shadow: 0 1px 2px rgba(27, 38, 32, .06), 0 8px 24px rgba(27, 38, 32, .07);
}
* { box-sizing: border-box }
[hidden] { display: none !important }
html { scroll-behavior: smooth; scroll-padding-top: 84px }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.8; -webkit-font-smoothing: antialiased }
img { max-width: 100% }
a { color: inherit }
h1, h2, h3 { margin: 0; line-height: 1.35; text-wrap: balance }
p { margin: 0 }
button { font: inherit; color: inherit }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
.wrap { max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)) }
.eyebrow { font-size: 13px; font-weight: 700; color: var(--saffron); letter-spacing: .02em }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border-radius: 12px; padding: 11px 22px; font-weight: 700; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .15s }
.btn:active { transform: translateY(1px) }
.btn-primary { background: var(--green); color: #fff }
.btn-primary:hover { background: var(--green-2) }
.btn-ghost { border-color: var(--green); color: var(--green); background: transparent }
.btn.wide { width: 100% }
.btn-text { background: none; border: 0; font-weight: 700; color: var(--green); cursor: pointer; padding: 8px 10px }
button:disabled { opacity: .5; cursor: default }

/* Demo bar + header */
.demo-bar { background: var(--ink); color: #e9e4d6; font-size: 12.5px; text-align: center; padding-block: 6px; line-height: 1.6 }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line) }
.header-row { display: flex; align-items: center; gap: 24px; padding-block: 10px }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-size: 20px; color: var(--green) }
.brand img { height: 44px; width: auto; border-radius: 0 0 10px 10px }
.main-nav { display: flex; gap: 22px; margin-inline-start: 12px }
.main-nav a { text-decoration: none; font-weight: 500; color: var(--muted) }
.main-nav a:hover { color: var(--green) }
.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 6px }
.cart-btn { position: relative; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); display: grid; place-items: center; cursor: pointer; color: var(--green) }
.badge { position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--chili); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; padding-inline: 5px; line-height: 1 }
.badge.bump { animation: bump .4s }
@keyframes bump { 50% { transform: scale(1.35) } }
@media (max-width: 760px) { .main-nav { display: none } }

/* Hero */
.hero { padding-block: 32px 24px }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: center }
.hero-copy { display: flex; flex-direction: column; gap: 18px; min-width: 0 }
.hero h1 { font-size: clamp(30px, 4.4vw, 50px); font-weight: 900; color: var(--green); letter-spacing: -.01em }
.lead { font-size: 17px; color: var(--muted); max-width: 34em }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px }
.hero-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px }
.pick { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 10px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 500; font-size: 14px }
.pick i { width: 14px; height: 14px; border-radius: 50% }
.pick[aria-pressed="true"] { border-color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green) }
.hero-stage { position: relative; height: clamp(380px, 58vw, 600px); max-height: 600px; display: grid; place-items: center }
.arch { position: absolute; inset: 6% 16% 0; border-radius: 999px 999px 24px 24px; background:
  radial-gradient(circle at 20% 30%, rgba(255,255,255,.55) 0 2px, transparent 3px) 0 0/28px 28px,
  radial-gradient(circle at 70% 70%, rgba(255,255,255,.4) 0 1.5px, transparent 2.5px) 0 0/22px 22px,
  var(--arch-color, var(--arch)); transition: background-color .6s }
.arch.small { inset: 4% 14% 0 }
.hero-stage canvas, .pd-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab }
/* the product photos are opaque PNGs on white: kept inside the stage (max-height on a
   grid item did not apply, so the photo overflowed onto the perks bar and, on phones,
   the headline) and blended so their white becomes the page background */
.stage-fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply }
.stage-hint { position: absolute; bottom: 10px; inset-inline-start: 50%; transform: translateX(50%); font-size: 12.5px; color: var(--muted); background: var(--card); border: 1px solid var(--line); padding: 2px 12px; border-radius: 99px }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) }
  .hero-stage { order: -1; height: 380px }
}

/* Perks */
.perks { border-block: 1px solid var(--line); background: var(--card) }
.perks-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 16px }
.perks-row div { display: flex; flex-direction: column; line-height: 1.5 }
.perks-row strong { font-size: 15px; color: var(--green) }
.perks-row span { font-size: 13px; color: var(--muted) }
@media (max-width: 760px) { .perks-row { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* Sections */
section.shop, section.why, section.erp, section.admin { padding-block: 64px }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 32px; margin-bottom: 28px }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 900; color: var(--green) }
.section-note { color: var(--muted); max-width: 30em; font-size: 15px }

/* Shop */
.shop-tools { display: flex; flex-wrap: wrap; gap: 10px; align-items: center }
.chips { display: flex; flex-wrap: wrap; gap: 8px }
.chip { padding: 7px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-weight: 500; font-size: 14px }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff }
.search input { font: inherit; font-size: 14px; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); width: 200px; max-width: 100% }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px) }
.card-media { position: relative; aspect-ratio: 9 / 11; max-width: 100%; background: transparent; border: 0; padding: 0; cursor: pointer; display: grid; place-items: center; overflow: hidden }
.card-media .arch { inset: 10% 18% 0 }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity .45s, transform .45s }
.card-media img.turn { opacity: 0; transform: rotate(-1deg) scale(.98) }
.card:hover .card-media img.turn, .card:focus-within .card-media img.turn { opacity: 1; transform: none }
.card:hover .card-media img.front, .card:focus-within .card-media img.front { opacity: 0 }
.card-media .ph { position: relative; width: 38%; aspect-ratio: 1 / 2.4; border-radius: 10px 10px 8px 8px; background: var(--ph) }
.tag { position: absolute; top: 10px; inset-inline-start: 10px; font-size: 11.5px; font-weight: 700; padding: 1px 10px; border-radius: 99px; background: var(--card); color: var(--muted); border: 1px solid var(--line); z-index: 1 }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1 }
.card-body h3 { font-size: 17px; font-weight: 700 }
.card-body .en { font-size: 12.5px; color: var(--muted); direction: ltr; text-align: right }
.card-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 8px }
.price { font-weight: 900; color: var(--green); font-variant-numeric: tabular-nums; font-size: 16px }
.price small { font-weight: 500; font-size: 12px; color: var(--muted); margin-inline-start: 4px }
.add { width: 38px; height: 38px; border-radius: 10px; border: 0; background: var(--green); color: #fff; font-size: 22px; line-height: 1; cursor: pointer }
.add:hover { background: var(--green-2) }
.empty { color: var(--muted); padding: 24px 0 }

/* Why */
.why { background: var(--card); border-block: 1px solid var(--line) }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px }
.why-grid article { display: flex; flex-direction: column; gap: 8px; border-top: 2px solid var(--green); padding-top: 14px }
.why-grid .num { font-size: 26px; font-weight: 900; color: var(--saffron); line-height: 1.3 }
.why-grid h3 { font-size: 17px }
.why-grid p { color: var(--muted); font-size: 14.5px }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .why-grid { grid-template-columns: minmax(0, 1fr) } }

/* ERP */
.erp { background: var(--green); color: #eef2ea }
.erp .section-head h2 { color: #fff }
.erp .eyebrow { color: #f0b462 }
.erp .section-note { color: #c5d3c7 }
.flow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin-bottom: 28px; counter-reset: s }
.flow-step { position: relative; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; animation: glow 7.2s infinite; animation-delay: calc(var(--i) * 1.2s) }
.flow-step b { font-size: 15px }
.flow-step span { font-size: 12px; color: #a9bdad; direction: ltr; text-align: right; font-family: ui-monospace, Menlo, Consolas, monospace }
@keyframes glow { 0%, 100% { background: transparent; border-color: rgba(255,255,255,.18) } 6%, 14% { background: rgba(240,180,98,.18); border-color: #f0b462 } 22% { background: transparent; border-color: rgba(255,255,255,.18) } }
@media (max-width: 860px) { .flow { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 460px) { .flow { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
.diagram-wrap { overflow-x: auto; border-radius: var(--r); background: rgba(0,0,0,.14); padding: 12px }
.diagram { display: block; width: 100%; min-width: 640px; height: auto; font-family: var(--font) }
.diagram .lines use { fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2 }
.diagram .node rect { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.35); stroke-width: 1.5 }
.diagram .node text { fill: #f4f1e6; font-size: 17px; font-weight: 700; text-anchor: middle; direction: rtl }
.diagram .node text.small { font-size: 13px; font-weight: 500; fill: #c5d3c7 }
.diagram .core rect { fill: #f0b462; stroke: none }
.diagram .core text { fill: #1b2620 }
.diagram .core text.small { fill: #4a3a1c }
.diagram .mod.now rect { fill: rgba(255,255,255,.12); stroke: #f4f1e6 }
.diagram .mod.later rect { stroke-dasharray: 6 5 }
.diagram .mod.later text { fill: #c5d3c7 }
.diagram .d1 { fill: #f0b462 } .diagram .d2 { fill: #ffffff } .diagram .d3 { fill: #e2775a }
.legend { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 13.5px; color: #c5d3c7; margin-top: 12px }
.legend i { display: inline-block; width: 18px; height: 12px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; border: 1.5px solid #f4f1e6 }
.legend i.later { border-style: dashed; border-color: #c5d3c7 }
.erp-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px }
.erp-points h3 { color: #fff; font-size: 18px; margin-bottom: 6px }
.erp-points p { color: #c5d3c7; font-size: 14.5px }
@media (max-width: 760px) { .erp-points { grid-template-columns: minmax(0, 1fr) } }

/* Admin mock */
.window { border-radius: var(--r); border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); overflow: hidden }
.window-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f1ece0 }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d6cfbd }
.window-bar span { margin-inline-start: 12px; font-size: 12.5px; color: var(--muted); direction: ltr }
.window-body { display: grid; grid-template-columns: 190px minmax(0, 1fr) }
.side { display: flex; flex-direction: column; gap: 2px; padding: 14px 10px; border-inline-end: 1px solid var(--line); font-size: 14px }
.side b, .side span { padding: 6px 12px; border-radius: 8px }
.side b { background: var(--green-tint); color: var(--green) }
.side span { color: var(--muted) }
.dash { padding: 18px; display: flex; flex-direction: column; gap: 16px; min-width: 0 }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.kpis div { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; display: flex; flex-direction: column; line-height: 1.5 }
.kpis span { font-size: 13px; color: var(--muted) }
.kpis strong { font-size: 22px; font-weight: 900; color: var(--green); font-variant-numeric: tabular-nums }
.kpis em { font-style: normal; font-size: 12px; color: var(--muted) }
.kpis .warn { border-color: #e9c7a0; background: #fdf4e8 }
.kpis .warn strong { color: var(--saffron) }
.dash-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px }
.chart-card, .orders-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; min-width: 0 }
.card-title { font-weight: 700; font-size: 14px; margin-bottom: 8px }
.card-title small { font-weight: 400; color: var(--muted); margin-inline-start: 6px }
.bars { width: 100%; height: auto; display: block }
.bars text { font-family: var(--font); font-size: 11px; fill: var(--muted); text-anchor: middle }
.orders { width: 100%; border-collapse: collapse; font-size: 13px }
.orders th { text-align: right; font-weight: 500; color: var(--muted); padding: 4px 6px; border-bottom: 1px solid var(--line) }
.orders td { padding: 7px 6px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap }
.pill { font-size: 11.5px; padding: 1px 9px; border-radius: 99px; font-weight: 700 }
.pill.paid { background: #e3efe5; color: #1f6a3a } .pill.prep { background: #fbefdc; color: #95601a }
.pill.ship { background: #e2ecf6; color: #24527d } .pill.wait { background: #f4e4e0; color: #9a3a22 }
@media (max-width: 900px) {
  .window-body { grid-template-columns: minmax(0, 1fr) } .side { display: none }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)) } .dash-row { grid-template-columns: minmax(0, 1fr) }
  .orders-card { overflow-x: auto }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 22px; color: var(--muted); font-size: 14px }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px }
.site-footer .brand img { height: 36px }

/* Dialogs */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--card) }
dialog::backdrop { background: rgba(20, 28, 22, .45); backdrop-filter: blur(2px) }
.close { position: absolute; top: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2 }
.sheet { width: min(880px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); border-radius: 20px; overflow: auto }
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) }
.pd-stage { position: relative; min-height: 440px; background: var(--paper); display: grid; place-items: center }
.pd-stage canvas { position: absolute; inset: 0 }
.pd-stage img { position: relative; max-height: 420px; max-width: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply }
.pd-info { padding: 32px 28px; display: flex; flex-direction: column; gap: 14px }
.pd-info h2 { font-size: 28px; font-weight: 900; color: var(--green) }
.pd-desc { color: var(--muted) }
.field { display: flex; flex-direction: column; gap: 6px }
.field-label { font-size: 13px; font-weight: 700; color: var(--muted) }
.pd-buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px }
.pd-buy .price { font-size: 22px }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; overflow: hidden }
.qty button { width: 34px; height: 34px; border: 0; background: transparent; cursor: pointer; font-size: 18px }
.qty span { min-width: 26px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums }
.pd-note { font-size: 13px; color: var(--muted) }
@media (max-width: 720px) { .pd-grid { grid-template-columns: minmax(0, 1fr) } .pd-stage { min-height: 320px } .pd-stage img { max-height: 300px } .pd-info { padding: 20px 18px 24px } }

.drawer { margin: 0; margin-inline-start: auto; height: 100dvh; max-height: 100dvh; max-width: 100vw; width: min(420px, 100vw); border-radius: 0; display: none; flex-direction: column; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px) }
.drawer[open] { display: flex; animation: slide .25s ease-out }
@keyframes slide { from { transform: translateX(-30px); opacity: 0 } }
.drawer-head { position: relative; padding: 18px 20px; border-bottom: 1px solid var(--line) }
.drawer-head h2 { font-size: 20px }
.drawer-head .close { top: 14px }
.drawer-body { flex: 1; overflow: auto; padding: 8px 20px }
.drawer-foot { border-top: 1px solid var(--line); padding: 16px 20px; display: flex; flex-direction: column; gap: 10px }
.line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line) }
.line img, .line .ph { width: 64px; height: 76px; object-fit: contain; border-radius: 10px; background: var(--paper) }
.line h3 { font-size: 15px }
.line .meta { font-size: 12.5px; color: var(--muted) }
.line .right { display: flex; flex-direction: column; align-items: flex-end; gap: 6px }
.line .qty button { width: 28px; height: 28px }
.rm { background: none; border: 0; color: var(--muted); font-size: 12.5px; cursor: pointer; text-decoration: underline }
.sum { display: flex; justify-content: space-between; font-size: 14.5px; font-variant-numeric: tabular-nums }
.sum.total { font-weight: 900; font-size: 17px; color: var(--green) }
.sum .off { color: var(--chili) }
.coupon { display: flex; gap: 8px }
.coupon input { flex: 1; min-width: 0 }
.cart-empty { padding: 40px 0; text-align: center; color: var(--muted); display: flex; flex-direction: column; gap: 14px; align-items: center }

input[type=text], input[type=tel], input[type=search], select, textarea { font: inherit; font-size: 15px; padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: 100% }
textarea { min-height: 80px; resize: vertical }
.hint { font-size: 13px; color: var(--muted) }
.err { font-size: 13px; color: var(--chili) }

.checkout { width: min(520px, calc(100vw - 24px)); padding: 28px 24px 26px }
.checkout h2 { font-size: 22px; color: var(--green); margin: 10px 0 16px }
.checkout form { display: flex; flex-direction: column; gap: 12px }
.checkout .row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px }
.steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0 0 4px 44px; font-size: 12px; color: var(--muted); flex-wrap: wrap }
.steps li { padding: 2px 10px; border-radius: 99px; border: 1px solid var(--line) }
.steps li.on { background: var(--green); color: #fff; border-color: var(--green) }
.steps li.done { color: var(--green); border-color: var(--green) }
.otp { direction: ltr; letter-spacing: .6em; text-align: center; font-size: 22px !important; font-weight: 700 }
.gateway { border: 1px solid var(--line); border-radius: 14px; overflow: hidden }
.gateway-head { background: #fff4c7; padding: 10px 14px; font-weight: 700; display: flex; justify-content: space-between; font-size: 14px }
.gateway-body { padding: 16px 14px; display: flex; flex-direction: column; gap: 10px }
.gateway-body .btns { display: flex; gap: 8px }
.gateway-body .btns .btn { flex: 1 }
.tracker { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 0 }
.tracker li { position: relative; padding: 8px 32px 8px 0; color: var(--muted); font-size: 14.5px }
.tracker li::before { content: ""; position: absolute; right: 6px; top: 15px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); background: var(--card) }
.tracker li:not(:last-child)::after { content: ""; position: absolute; right: 12px; top: 29px; bottom: -13px; width: 2px; background: var(--line) }
.tracker li.done { color: var(--ink); font-weight: 700 }
.tracker li.done::before { background: var(--green); border-color: var(--green) }
.tracker li.done:not(:last-child)::after { background: var(--green) }
.tracker small { display: block; font-weight: 400; color: var(--muted); font-size: 12px }
.ok-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--green-tint); color: var(--green); display: grid; place-items: center; font-size: 28px; font-weight: 900 }

.toast { position: fixed; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); left: 50%; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 10px 18px; border-radius: 12px; font-size: 14.5px; z-index: 50; box-shadow: var(--shadow); max-width: calc(100vw - 32px) }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important }
}
@media (max-width: 520px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
  .card-body { padding: 10px 10px 12px; gap: 6px }
  .card-body h3 { font-size: 15px }
  .card-body .price { font-size: 14px }
  .add { width: 34px; height: 34px; font-size: 20px }
  .tag { font-size: 10.5px; padding: 0 8px }
  .search input { width: 100% }
  .search { flex: 1 1 100% }
}
