/* ==========================================================================
   DZ MEN STORE — storefront
   Identity: strength & masculinity · Algerian flag colours (green #006233 · white · red #D21034)
   Layout: marketplace (AliExpress-style) — dense grids, red prices, bold type. Mobile-first, RTL.
   ========================================================================== */
:root {
  --green: #006233; --green-d: #004a26; --green-dd: #0b2416; --red: #d21034; --red-d: #a90c29;
  --ink: #111512; --ink-2: #3b423d; --muted: #6d746f;
  --bg: #f1f3f1; --surface: #fff; --surface-2: #f6f7f6; --line: #e2e6e3;
  --ok: #0f7a3f; --ok-bg: #e5f4ea; --err: #c4142f; --err-bg: #fdebee; --warn-bg: #fff6e0; --gold: #f2b01e;
  --r: 8px; --r-lg: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 6px 18px rgba(0,30,15,.07);
  --font: "Cairo", "Segoe UI", Tahoma, "Noto Sans Arabic", Arial, sans-serif;
  --container: 1280px; color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --ink: #eef2ef; --ink-2: #c9d1cb; --muted: #8f9892; --bg: #0b0f0c; --surface: #151a16; --surface-2: #1c221d; --line: #29312b; --ok-bg: #0f2a1b; --err-bg: #3a1218; --warn-bg: #2d240e; --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark; }
}
:root[data-theme="dark"] { --ink: #eef2ef; --ink-2: #c9d1cb; --muted: #8f9892; --bg: #0b0f0c; --surface: #151a16; --surface-2: #1c221d; --line: #29312b; --ok-bg: #0f2a1b; --err-bg: #3a1218; --warn-bg: #2d240e; --shadow: 0 1px 2px rgba(0,0,0,.4); color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(1.35rem, 4vw, 2rem); }
h2 { font-size: clamp(1.1rem, 3vw, 1.4rem); }
.h3, h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; inset-inline-start: -9999px; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; z-index: 100; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 12px; }
.narrow { max-width: 860px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .center { text-align: center; } .w-full { width: 100%; } .mb { margin-bottom: 16px; } .mt { margin-top: 18px; }
[hidden] { display: none !important; }
.ltr { direction: ltr; unicode-bidi: isolate; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 9px 18px; border-radius: var(--r); border: 2px solid transparent; font-weight: 800; cursor: pointer; transition: background .15s, transform .1s, border-color .15s, color .15s; line-height: 1.25; text-align: center; letter-spacing: .1px; }
.btn:active { transform: translateY(1px); }
.btn-red, .btn-primary { background: var(--red); color: #fff; box-shadow: 0 4px 0 var(--red-d); }
.btn-red:hover, .btn-primary:hover { background: var(--red-d); color: #fff; }
.btn-green { background: var(--green); color: #fff; box-shadow: 0 4px 0 var(--green-dd); }
.btn-green:hover { background: var(--green-d); color: #fff; }
.btn-outline { border-color: var(--ink); background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--surface); }
.btn-ghost { background: transparent; color: var(--ink-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #178a45; color: #fff; }
.btn-lg { min-height: 52px; padding: 11px 24px; font-size: 1.05rem; }
.btn-sm { min-height: 36px; padding: 5px 12px; font-size: .88rem; }
.btn[aria-busy="true"], .btn[disabled] { opacity: .6; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; cursor: pointer; position: relative; color: inherit; }
.icon-btn:hover { background: rgba(255,255,255,.12); }
.link-btn { background: none; border: 0; color: var(--err); cursor: pointer; padding: 0; font-weight: 700; }

/* Top bar + header */
.topbar { background: var(--red); color: #fff; font-size: .82rem; font-weight: 700; }
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 32px; }
.topbar-links { display: none; gap: 16px; }
.topbar-links a:hover { color: #fff; text-decoration: underline; }
.site-header { position: sticky; top: 0; z-index: 40; background: linear-gradient(180deg, var(--green-dd), var(--green-d2, #0f2e1c)); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.25); }
.header-row { display: flex; align-items: center; gap: 6px; min-height: 60px; flex-wrap: wrap; padding-block: 8px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-weight: 900; font-size: 1.15rem; white-space: nowrap; letter-spacing: .3px; color: #fff; }
.logo:hover { color: #fff; }
.logo img { height: 40px; width: auto; }
.logo-mark { display: inline-grid; grid-template-columns: repeat(3, 6px); gap: 2px; height: 26px; transform: skewX(-12deg); }
.logo-mark i { display: block; border-radius: 1px; }
.logo-mark i:nth-child(1) { background: #0a8a47; } .logo-mark i:nth-child(2) { background: #fff; } .logo-mark i:nth-child(3) { background: var(--red); }
.header-actions { display: flex; align-items: center; gap: 2px; margin-inline-start: auto; }
.header-actions .icon-btn, .menu-btn { color: #fff; }
.badge { position: absolute; top: 2px; inset-inline-end: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--green-dd); }
.search { order: 10; position: relative; flex: 1 1 100%; display: flex; }
.search input { width: 100%; height: 44px; border-radius: var(--r); border: 2px solid #fff; background: #fff; color: #111; padding-inline: 14px 58px; font-weight: 600; }
.search input::placeholder { color: #8a918c; }
.search button { position: absolute; inset-inline-end: 3px; top: 3px; height: 38px; width: 52px; border: 0; border-radius: 6px; background: var(--red); color: #fff; cursor: pointer; display: grid; place-items: center; }
.suggest { position: absolute; top: calc(100% + 6px); inset-inline: 0; background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; z-index: 50; }
.suggest a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.suggest a:last-child { border-bottom: 0; }
.suggest a:hover, .suggest a.active { background: var(--surface-2); color: inherit; }
.suggest img { width: 42px; height: 42px; border-radius: 6px; object-fit: cover; }
.suggest .s-price { margin-inline-start: auto; font-weight: 800; color: var(--red); white-space: nowrap; }
.suggest .s-label { font-size: .75rem; color: var(--muted); padding: 6px 12px; background: var(--surface-2); font-weight: 700; }
.cat-nav { background: var(--green); }
.cat-nav-row { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.cat-nav-row::-webkit-scrollbar { display: none; }
.cat-nav a { white-space: nowrap; padding: 9px 13px; font-size: .9rem; font-weight: 700; color: rgba(255,255,255,.88); border-bottom: 3px solid transparent; }
.cat-nav a.active, .cat-nav a:hover { color: #fff; border-bottom-color: #fff; }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 70; }
.drawer-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.drawer-panel { position: absolute; inset-block: 0; inset-inline-start: 0; width: min(86vw, 340px); background: var(--surface); padding: 16px; overflow-y: auto; animation: slideInRtl .22s ease-out; }
[dir="ltr"] .drawer-panel { animation-name: slideIn; }
@keyframes slideIn { from { transform: translateX(-100%); } }
@keyframes slideInRtl { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; font-weight: 900; }
.drawer-head .icon-btn:hover { background: var(--surface-2); }
.drawer-nav a { display: flex; justify-content: space-between; padding: 11px 6px; border-bottom: 1px solid var(--line); font-weight: 700; }
.drawer-nav small { color: var(--muted); }
.drawer-sep { margin-top: 14px; font-size: .78rem; color: var(--red); font-weight: 900; letter-spacing: .5px; }

/* Alerts & toast */
.alert { padding: 12px 16px; border-radius: var(--r); margin: 12px 0; font-weight: 700; }
.alert-ok { background: var(--ok-bg); color: var(--ok); }
.alert-err { background: var(--err-bg); color: var(--err); }
.toast { position: fixed; inset-inline: 16px; bottom: calc(76px + env(safe-area-inset-bottom)); margin-inline: auto; max-width: 420px; z-index: 90; background: var(--green-dd); color: #fff; border-radius: var(--r); padding: 12px 16px; display: flex; align-items: center; gap: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.3); border-inline-start: 5px solid var(--red); font-weight: 700; animation: rise .25s ease-out; }
.toast a { margin-inline-start: auto; font-weight: 900; color: #fff; background: var(--red); padding: 4px 10px; border-radius: 6px; white-space: nowrap; }
@keyframes rise { from { transform: translateY(20px); opacity: 0; } }

/* Hero (marketplace style) */
.hero { padding: 12px 0 4px; }
.hero-grid { display: grid; gap: 10px; }
.hero-cats, .hero-side { display: none; }
.hero-main { position: relative; overflow: hidden; border-radius: var(--r-lg); background: var(--green-dd); color: #fff; min-height: 220px; display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; isolation: isolate; }
.hero-main::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, var(--green) 0 52%, transparent 52%), linear-gradient(115deg, transparent 0 54%, var(--red) 54% 58%, transparent 58%); z-index: -1; }
.hero-main::after { content: ""; position: absolute; inset-inline-end: -40px; bottom: -60px; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(255,255,255,.06); z-index: -1; }
.hero-copy { padding: 22px 18px; }
.hero-kicker { display: inline-block; background: var(--red); color: #fff; font-weight: 900; font-size: .75rem; padding: 3px 10px; border-radius: 4px; transform: skewX(-8deg); margin-bottom: 10px; letter-spacing: .5px; }
.hero h1 { font-size: clamp(1.6rem, 6.5vw, 3rem); font-weight: 900; margin-bottom: 8px; line-height: 1.15; text-shadow: 0 2px 0 rgba(0,0,0,.2); }
.hero p { color: rgba(255,255,255,.88); font-size: .95rem; font-weight: 600; margin-bottom: 14px; }
.hero-art { position: relative; height: 100%; min-height: 200px; }
.hero-art img { position: absolute; border-radius: 12px; object-fit: cover; box-shadow: 0 14px 30px rgba(0,0,0,.35); border: 3px solid #fff; }
.ha-0 { width: 62%; inset-inline-end: 14%; top: 14%; z-index: 2; }
.ha-1 { width: 42%; inset-inline-end: 60%; top: 30%; transform: rotate(-8deg); }
.ha-2 { width: 42%; inset-inline-end: -6%; top: 40%; transform: rotate(8deg); }
.hero-art > img:only-child { position: static; width: 100%; height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.hero-cats { background: var(--surface); border-radius: var(--r-lg); padding: 10px 6px; box-shadow: var(--shadow); }
.hero-cats h2 { font-size: .95rem; padding: 4px 10px 8px; margin: 0; border-bottom: 2px solid var(--red); }
.hero-cats a { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 6px; font-weight: 700; font-size: .9rem; }
.hero-cats a:hover { background: var(--surface-2); }
.hero-cats svg { width: 18px; height: 18px; color: var(--green); }
.hero-side { gap: 10px; }
.side-card { display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 16px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow); flex: 1; }
.side-card b { font-size: 1.05rem; font-weight: 900; }
.side-card span { color: var(--muted); font-size: .85rem; font-weight: 600; }
.side-red { background: var(--red); color: #fff; } .side-red span { color: rgba(255,255,255,.85); } .side-red:hover { color: #fff; background: var(--red-d); }
.side-green { background: var(--green); color: #fff; } .side-green span { color: rgba(255,255,255,.85); }

/* Sections */
.section { padding: 14px 0; }
.section-tight { padding: 8px 0; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.section-head h2 { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 900; }
.section-head h2::before { content: ""; width: 6px; height: 1.1em; background: var(--red); border-radius: 2px; box-shadow: 4px 0 0 var(--green); }
.section-head a { font-size: .88rem; font-weight: 800; color: var(--green); white-space: nowrap; }
.section-dark { background: var(--green-dd); color: #fff; padding: 26px 0; margin: 10px 0; }
.section-dark .section-head h2::before { box-shadow: 4px 0 0 #fff; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.page { padding-block: 14px 30px; }
.page-head { margin: 6px 0 14px; }
.page-head h1 { font-weight: 900; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; font-size: .82rem; color: var(--muted); margin-bottom: 8px; font-weight: 600; }
.empty { text-align: center; padding: 40px 16px; }

/* Category bubbles */
.cat-strip { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px 2px 8px; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); padding: 12px 8px; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-bubble { flex: 0 0 78px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: .78rem; font-weight: 700; line-height: 1.3; }
.cat-ic { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(145deg, var(--green-t, #e6f2eb), #fff); border: 2px solid var(--green); color: var(--green); overflow: hidden; transition: transform .15s, background .15s; }
.cat-ic img { width: 100%; height: 100%; object-fit: cover; }
.cat-bubble:hover .cat-ic { transform: translateY(-2px); background: var(--green); color: #fff; }
.cat-ic svg { width: 26px; height: 26px; }

/* Flash deals box */
.deal-box { background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; border-top: 4px solid var(--red); }
.deal-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; padding: 12px 14px; background: linear-gradient(90deg, rgba(210,16,52,.08), transparent); }
.deal-head h2 { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--red); font-weight: 900; }
.deal-head h2 svg { fill: var(--red); stroke: none; }
.deal-timer { font-size: .85rem; font-weight: 700; }
.deal-timer .countdown { background: var(--ink); color: #fff; padding: 2px 8px; border-radius: 5px; margin-inline-start: 4px; }
.deal-head a { margin-inline-start: auto; font-weight: 800; color: var(--green); font-size: .88rem; }
.deal-box .hscroll { padding: 4px 12px 14px; }

/* Product grids */
.grid-products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.hscroll { display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 6px; }
.hscroll > * { scroll-snap-align: start; }

/* Product card */
.pcard { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s, border-color .2s; }
.pcard:hover { box-shadow: 0 10px 26px rgba(0,40,20,.14); border-color: transparent; transform: translateY(-2px); }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: var(--surface-2); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.pcard:hover .pcard-media img { transform: scale(1.05); }
.ribbon { position: absolute; top: 8px; inset-inline-start: 0; background: var(--red); color: #fff; font-weight: 900; font-size: .78rem; padding: 3px 10px 3px 8px; border-radius: 0 4px 4px 0; z-index: 1; }
[dir="rtl"] .ribbon { border-radius: 4px 0 0 4px; }
.ribbon-green { background: var(--green); }
.ribbon-lg { font-size: 1rem; padding: 5px 14px; top: 12px; }
.soldout { position: absolute; inset: auto 0 0 0; background: rgba(17,21,18,.82); color: #fff; text-align: center; font-weight: 800; font-size: .8rem; padding: 4px; }
.pcard-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.pcard-title { font-size: .86rem; font-weight: 600; margin: 0; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; }
.pcard-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin-top: 2px; }
.price { font-weight: 900; color: var(--red); white-space: nowrap; }
.pcard-price .price { font-size: 1.12rem; }
.price small { font-size: .7rem; font-weight: 700; color: var(--muted); }
.pcard-price del, del { color: var(--muted); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.pcard-meta { display: flex; gap: 8px; font-size: .75rem; color: var(--muted); font-weight: 700; min-height: 1.2em; }
.rate { color: var(--ink); font-weight: 800; }
.rate::first-letter { color: var(--gold); }
.cod-chip { align-self: flex-start; margin-top: auto; font-size: .68rem; font-weight: 800; color: var(--green); background: var(--green-t, #e6f2eb); padding: 1px 7px; border-radius: 4px; }
:root[data-theme="dark"] .cod-chip { background: #12301f; color: #6fd29b; }
.pcard-add { position: absolute; top: auto; bottom: 10px; inset-inline-end: 10px; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 10px rgba(0,98,51,.35); transition: background .15s, transform .15s; }
.pcard-add:hover { background: var(--red); transform: scale(1.08); }
.pcard-add svg { width: 19px; height: 19px; }
.stars { color: var(--gold); font-size: .9rem; letter-spacing: 1px; white-space: nowrap; }
.stars small { color: var(--muted); letter-spacing: 0; }
.stars-off { color: var(--line); }

/* Bundles, testimonials, posts */
.bundle-grid, .testi-grid, .post-grid { display: grid; gap: 10px; }
.bundle-card { display: flex; gap: 12px; padding: 10px; align-items: center; background: var(--surface); border-radius: var(--r-lg); border: 2px dashed var(--green); }
.bundle-card img { width: 96px; height: 96px; border-radius: var(--r); object-fit: cover; }
.bundle-card h3 { margin: 4px 0; font-size: 1rem; }
.bundle-card p { font-size: .82rem; margin: 0 0 4px; color: var(--muted); }
.tag-red { display: inline-block; background: var(--red); color: #fff; font-size: .7rem; font-weight: 900; padding: 1px 8px; border-radius: 4px; }
.testi { margin: 0; padding: 18px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--r-lg); border-inline-start: 4px solid var(--red); }
.testi blockquote { margin: 8px 0 12px; color: rgba(255,255,255,.9); font-weight: 600; }
.testi figcaption { color: rgba(255,255,255,.7); font-size: .9rem; }
.post-card { overflow: hidden; background: var(--surface); border-radius: var(--r-lg); border: 1px solid var(--line); }
.post-media { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { padding: 12px 14px; }
.post-body h3 { margin: 4px 0 6px; font-size: 1rem; }
.post-hero { width: 100%; border-radius: var(--r-lg); margin-bottom: 16px; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; padding: 14px 4px; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; font-weight: 900; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 4px 14px; color: var(--ink-2); }
.faq.card { padding: 4px 16px; }

/* Newsletter */
.newsletter { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-lg); background: var(--green); color: #fff; position: relative; overflow: hidden; }
.newsletter::after { content: ""; position: absolute; inset-inline-end: 0; top: 0; bottom: 0; width: 10px; background: var(--red); }
.newsletter h2 { font-weight: 900; }
.newsletter p { color: rgba(255,255,255,.85); margin: 0; }
.nl-form { display: flex; gap: 8px; flex-wrap: wrap; }
.nl-form input[type=email] { flex: 1; min-width: 180px; height: 48px; border-radius: var(--r); border: 0; padding-inline: 16px; background: #fff; color: #111; }

/* Forms */
.form-grid { display: grid; gap: 14px; padding: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-weight: 700; min-width: 0; }
.field > span { font-size: .9rem; }
.field input, .field select, .field textarea, .coupon-form input, .shop-bar select {
  width: 100%; min-height: 48px; padding: 10px 14px; border-radius: var(--r); border: 2px solid var(--line); background: var(--surface); transition: border-color .15s; font-weight: 600;
}
.field textarea { min-height: 80px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px rgba(0,98,51,.12); }
.field.invalid input, .field.invalid select { border-color: var(--err); }
.err { color: var(--err); font-size: .85rem; font-style: normal; font-weight: 700; }
.hint-txt { color: var(--muted); font-size: .8rem; font-weight: 500; }
.check { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 700; }
.check input { width: 18px; height: 18px; accent-color: var(--green); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.chip-list { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; padding: 4px 12px; border-radius: 99px; background: var(--surface-2); font-size: .82rem; border: 1px solid var(--line); font-weight: 700; }
.chip.active, .chip:hover { border-color: var(--green); color: var(--green); background: var(--surface); }

/* Shop */
.shop-layout { display: grid; gap: 12px; }
.filters summary { list-style: none; width: 100%; }
.filters summary::-webkit-details-marker { display: none; }
.filters-form { display: grid; gap: 14px; padding: 16px; margin-top: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.shop-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; background: var(--surface); padding: 8px 12px; border-radius: var(--r); border: 1px solid var(--line); font-weight: 700; }
.shop-bar select { min-height: 40px; width: auto; }
.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 22px 0 0; }
.pagination a, .pagination span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: var(--r); border: 2px solid var(--line); background: var(--surface); font-weight: 800; }
.pagination span[aria-current] { background: var(--green); color: #fff; border-color: var(--green); }

/* Product page */
.pp-grid { display: grid; gap: 16px; }
.gallery { display: flex; flex-direction: column-reverse; gap: 8px; }
.stage { position: relative; border-radius: var(--r-lg); overflow: hidden; background: #000; aspect-ratio: 1; }
.stage img { width: 100%; height: 100%; object-fit: cover; background: var(--surface-2); }
.stage video, .stage iframe { width: 100%; height: 100%; border: 0; object-fit: contain; background: #000; }
.thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.thumb { position: relative; flex: 0 0 66px; height: 66px; padding: 0; border-radius: var(--r); border: 2px solid var(--line); overflow: hidden; cursor: pointer; background: var(--surface-2); }
.thumb.active { border-color: var(--red); }
.thumb img, .thumb video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.thumb.is-video::after { content: "▶"; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(0,0,0,.35); font-size: 1.1rem; }
.pp-info h1 { font-size: clamp(1.15rem, 3.6vw, 1.6rem); font-weight: 800; margin-bottom: 6px; }
.pp-stats { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: .85rem; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.pp-stats > * + *::before { content: "|"; margin-inline-end: 14px; color: var(--line); }
.price-banner { border-radius: var(--r-lg); overflow: hidden; background: linear-gradient(100deg, var(--red), #e8344f); color: #fff; margin-bottom: 12px; }
.pb-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px; padding: 6px 14px; background: rgba(0,0,0,.18); font-size: .85rem; }
.pb-top .countdown { background: #fff; color: var(--red); padding: 0 6px; border-radius: 4px; margin-inline-start: 4px; }
.pb-main { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 12px 14px; }
.price-xl { font-size: clamp(1.7rem, 6vw, 2.2rem); font-weight: 900; line-height: 1.1; }
.pb-main del { color: rgba(255,255,255,.75); font-size: .95rem; }
.pb-pct { background: #fff; color: var(--red); font-weight: 900; padding: 1px 8px; border-radius: 4px; font-size: .9rem; }
.lead { color: var(--ink-2); font-weight: 500; }
.buy-form { display: grid; gap: 14px; margin-top: 10px; }
.variants, .tiers { border: 0; padding: 0; margin: 0; }
.variants legend, .tiers legend { font-weight: 800; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pill span { display: inline-flex; align-items: center; gap: 8px; min-width: 62px; justify-content: center; padding: 8px 14px; border-radius: var(--r); border: 2px solid var(--line); background: var(--surface); font-weight: 800; }
.pill.has-img span { padding: 4px 12px 4px 4px; }
.pill img { width: 36px; height: 36px; border-radius: 5px; object-fit: cover; }
.pill input:checked + span { border-color: var(--red); color: var(--red); box-shadow: inset 0 0 0 1px var(--red); }
.pill input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.pill.is-out span { opacity: .4; text-decoration: line-through; }
.tier { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border: 2px solid var(--line); border-radius: var(--r); margin-bottom: 8px; cursor: pointer; background: var(--surface); font-weight: 700; }
.tier:has(input:checked) { border-color: var(--green); background: color-mix(in srgb, var(--green) 7%, var(--surface)); }
.tier input { accent-color: var(--green); width: 18px; height: 18px; }
.tier span { flex: 1; }
.tier b { font-size: 1.1rem; }
.tier strong { color: var(--red); font-weight: 900; font-size: 1.05rem; }
.tier em { font-style: normal; color: #fff; background: var(--green); font-size: .74rem; font-weight: 800; padding: 1px 7px; border-radius: 4px; margin-inline-start: 6px; }
.hint { background: var(--warn-bg); padding: 8px 12px; border-radius: var(--r); font-size: .88rem; font-weight: 700; border-inline-start: 4px solid var(--gold); }
.qty-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.qty-label { font-weight: 800; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.qty button { width: 42px; height: 42px; border: 0; background: var(--surface-2); font-size: 1.2rem; cursor: pointer; font-weight: 900; }
.qty button:hover { background: var(--green); color: #fff; }
.qty input { width: 50px; height: 42px; border: 0; text-align: center; background: transparent; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty-sm button { width: 34px; height: 34px; }
.qty-sm input { width: 38px; height: 34px; }
.stock .in { color: var(--ok); font-weight: 800; }
.stock .low { color: #b25e00; font-weight: 800; }
.stock .out { color: var(--err); font-weight: 800; }
.buy-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ship-box { list-style: none; margin: 16px 0 10px; padding: 4px 14px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.ship-box li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: .88rem; border-bottom: 1px dashed var(--line); }
.ship-box li:last-child { border-bottom: 0; }
.ship-box svg { color: var(--green); margin-top: 1px; }
.ship-box b { font-weight: 800; }
.pp-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.pp-sections { display: grid; gap: 12px; margin-top: 20px; }
.pp-sections > .card, .pp-cols > .card { padding: 18px; }
.pp-sections h2 { font-weight: 900; }
.pp-cols { display: grid; gap: 12px; }
.prose { overflow-wrap: anywhere; }
.prose h2 { font-size: 1.15rem; border-bottom: 2px solid var(--line); padding-bottom: 8px; }
.prose h3 { font-size: 1.05rem; margin-top: 1.2em; color: var(--green); }
.prose ul { padding-inline-start: 1.2em; }
.prose li::marker { color: var(--red); }
.prose.card { padding: 18px; }
.warn { border-color: #f1c27d; background: var(--warn-bg); }
.disclaimer { font-size: .85rem; color: var(--ink-2); background: var(--surface-2); border-inline-start: 4px solid var(--gold); padding: 12px 14px; border-radius: var(--r); }
.meta-list { display: grid; grid-template-columns: max-content 1fr; gap: 6px 14px; margin: 12px 0 0; font-size: .92rem; }
.meta-list dt { color: var(--muted); font-weight: 700; }
.meta-list dd { margin: 0; }
.rv-summary { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.rv-summary b { font-size: 2rem; font-weight: 900; }
.reviews { list-style: none; padding: 0; margin: 0 0 14px; }
.reviews li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.reviews p { margin: 6px 0 2px; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rv-head .stars { margin-inline-start: auto; }
.rv-avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: .85rem; }
.verified { color: var(--ok); font-size: .78rem; font-weight: 800; }
.review-form summary { list-style: none; display: inline-flex; }
.review-form summary::-webkit-details-marker { display: none; }
.review-form .form-grid { padding: 14px 0 0; }
.rating-input { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input legend { width: 100%; margin-bottom: 4px; font-weight: 700; }
.rating-input input { position: absolute; opacity: 0; }
.rating-input label { font-size: 1.9rem; color: var(--line); cursor: pointer; line-height: 1; }
.rating-input input:checked ~ label, .rating-input label:hover, .rating-input label:hover ~ label { color: var(--gold); }
.sticky-buy { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); transform: translateY(110%); transition: transform .25s; }
.sticky-buy.show { transform: none; }
.sb-price { display: flex; flex-direction: column; min-width: 0; margin-inline-end: auto; line-height: 1.2; }
.sb-price .price { font-size: 1.15rem; }
.sticky-buy .btn { min-height: 44px; padding: 8px 14px; }
body:has(.sticky-buy.show) .bottom-nav { transform: translateY(110%); }
.bundle-items { list-style: none; padding: 0; margin: 0 0 8px; }
.bundle-items li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.bundle-items img { width: 56px; height: 56px; border-radius: var(--r); object-fit: cover; }
.bundle-items span { flex: 1; font-weight: 700; }
.gallery-main { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); aspect-ratio: 1; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.tag { position: absolute; top: 12px; inset-inline-start: 12px; padding: 3px 10px; border-radius: 4px; font-size: .85rem; font-weight: 900; }
.tag-sale { background: var(--red); color: #fff; }
.eyebrow { display: inline-block; color: #fff; background: var(--green); font-weight: 900; font-size: .78rem; padding: 2px 10px; border-radius: 4px; margin-bottom: 8px; }
.pp-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin: 10px 0; }
.price-lg { font-size: 1.8rem; }
.old { color: var(--muted); }

/* Cart & checkout */
.cart-layout, .checkout-layout { display: grid; gap: 14px; align-items: start; }
.cart-lines { padding: 4px 14px; }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; grid-template-areas: "img info remove" "img qty total"; gap: 6px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-line:last-child { border-bottom: 0; }
.cl-img { grid-area: img; }
.cl-img img { width: 72px; height: 72px; border-radius: var(--r); object-fit: cover; }
.cl-info { grid-area: info; display: flex; flex-direction: column; min-width: 0; }
.cl-name { font-weight: 800; }
.cl-unit { font-size: .9rem; font-weight: 700; }
.cart-line .qty { grid-area: qty; justify-self: start; }
.cl-total { grid-area: total; font-weight: 900; white-space: nowrap; color: var(--red); }
.cl-remove { grid-area: remove; align-self: start; }
.cl-remove .icon-btn:hover { background: var(--err-bg); color: var(--err); }
.promo-mini { color: var(--ok); font-size: .82rem; font-weight: 800; }
.summary { padding: 18px; position: sticky; top: 130px; border-top: 4px solid var(--green); }
.summary h2 { font-size: 1.15rem; font-weight: 900; }
.coupon-form { display: flex; gap: 8px; margin-bottom: 14px; }
.coupon-form input { min-height: 44px; }
.coupon-applied { display: flex; justify-content: space-between; width: 100%; padding: 10px 12px; background: var(--ok-bg); border-radius: var(--r); font-weight: 700; }
.totals { margin: 0 0 14px; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-weight: 600; }
.totals dt { color: var(--ink-2); }
.totals dd { margin: 0; font-weight: 800; white-space: nowrap; }
.totals .disc dd, .totals .disc dt { color: var(--ok); }
.totals .grand { border-top: 2px dashed var(--line); margin-top: 6px; padding-top: 12px; font-size: 1.2rem; }
.totals .grand dt { color: var(--ink); font-weight: 900; }
.totals .grand dd { color: var(--red); font-weight: 900; }
.mini-lines { list-style: none; padding: 0; margin: 0 0 12px; }
.mini-lines li { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.mini-lines img { width: 50px; height: 50px; border-radius: 6px; object-fit: cover; }
.mini-lines span { flex: 1; display: flex; flex-direction: column; font-size: .9rem; font-weight: 700; }
.mini-lines b { white-space: nowrap; font-weight: 900; }
.checkout-form { padding: 4px 0 18px; border-top: 4px solid var(--red); }
.checkout-form > h2, .checkout-form > .method-cards, .checkout-form > .btn, .checkout-form > p, .checkout-form > .alert, .checkout-form > .err { margin-inline: 16px; }
.checkout-form > h2 { margin-top: 18px; font-weight: 900; }
.checkout-form > .btn { width: calc(100% - 32px); }
.method-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.method { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 14px; border: 2px solid var(--line); border-radius: var(--r); cursor: pointer; background: var(--surface); }
.method input { position: absolute; opacity: 0; }
.method:has(input:checked) { border-color: var(--green); background: color-mix(in srgb, var(--green) 7%, var(--surface)); box-shadow: inset 0 0 0 1px var(--green); }
.method:has(input:disabled) { opacity: .5; }
.method:has(input:focus-visible) { outline: 2px solid var(--red); }
.m-title { font-weight: 800; font-size: .95rem; }
.m-price { color: var(--red); font-size: 1rem; font-weight: 900; }
.field.full { grid-column: 1 / -1; }

/* Success & tracking */
.success { padding: 28px 18px; text-align: center; border-top: 5px solid var(--green); }
.success .mini-lines, .success .totals, .success .meta-list { text-align: start; }
.success-icon { width: 76px; height: 76px; margin: 0 auto 12px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px var(--ok-bg); }
.success-icon svg { width: 40px; height: 40px; stroke-width: 3; }
.order-num { display: inline-block; margin: 6px 0 18px; padding: 10px 18px; border-radius: var(--r); background: var(--surface-2); font-size: 1.05rem; border: 2px dashed var(--green); font-weight: 700; }
.success .buy-actions { margin: 18px 0 8px; }
.track-card { padding: 18px; margin-top: 16px; }
.track-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.status-pill { padding: 4px 12px; border-radius: 99px; font-size: .82rem; font-weight: 800; background: var(--surface-2); }
.st-delivered, .st-completed { background: var(--ok-bg); color: var(--ok); }
.st-cancelled, .st-returned { background: var(--err-bg); color: var(--err); }
.st-shipped { background: #e6f0fb; color: #1f5fa8; }
.steps { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; font-size: .8rem; color: var(--muted); font-weight: 700; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.steps li span { width: 18px; height: 18px; border-radius: 50%; background: var(--line); z-index: 1; }
.steps li::before { content: ""; position: absolute; top: 8px; inset-inline-end: 50%; width: 100%; height: 3px; background: var(--line); }
.steps li:first-child::before { display: none; }
.steps li.done { color: var(--ink); }
.steps li.done span, .steps li.done::before { background: var(--green); }
.steps li.current span { background: var(--red); box-shadow: 0 0 0 4px var(--err-bg); }
.history { list-style: none; padding: 0; margin: 0; }
.history li { padding: 6px 0; border-bottom: 1px dashed var(--line); display: flex; justify-content: space-between; }
.contact-cards { display: grid; gap: 10px; margin-bottom: 14px; }
.contact-cards .card { padding: 14px; display: flex; flex-direction: column; gap: 2px; }

/* Trust band + footer */
.trust-band { background: var(--surface); border-top: 1px solid var(--line); margin-top: 20px; }
.trust-band-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding-block: 18px; }
.trust-band-row div { display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; }
.trust-band-row svg { grid-row: span 2; width: 32px; height: 32px; color: var(--green); }
.trust-band-row b { font-weight: 900; font-size: .9rem; }
.trust-band-row small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.site-footer { background: var(--green-dd); color: #c9d6cd; padding-top: 0; }
.flag-stripe { display: grid; grid-template-columns: 1fr 1fr 1fr; height: 6px; }
.flag-stripe i:nth-child(1) { background: var(--green); } .flag-stripe i:nth-child(2) { background: #fff; } .flag-stripe i:nth-child(3) { background: var(--red); }
.footer-grid { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; padding-top: 28px; }
.footer-grid > div:first-child { grid-column: 1 / -1; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 10px; font-weight: 900; }
.site-footer a { display: block; padding: 3px 0; color: #c9d6cd; font-weight: 600; }
.site-footer a:hover { color: #fff; }
.logo-foot { margin-bottom: 8px; }
.site-footer .muted { color: #8fa596; }
.socials { display: flex; gap: 14px; flex-wrap: wrap; }
.lang-switch { display: flex; gap: 10px; margin-top: 8px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 26px; padding-block: 16px; font-size: .82rem; }
.footer-bottom a { display: inline; }

/* Bottom app bar (mobile) */
.bottom-nav { position: fixed; inset-inline: 0; bottom: 0; z-index: 44; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -4px 14px rgba(0,0,0,.06); transition: transform .25s; }
.bottom-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 7px 0 6px; font-size: .7rem; font-weight: 800; color: var(--muted); }
.bottom-nav a.active { color: var(--red); }
.bottom-nav svg { width: 22px; height: 22px; }
.bottom-nav .badge { top: 3px; inset-inline-end: calc(50% - 22px); border-color: var(--surface); }

/* Live chat */
.chat { position: fixed; z-index: 60; bottom: calc(74px + env(safe-area-inset-bottom)); inset-inline-end: 14px; }
.chat-fab { position: relative; width: 56px; height: 56px; border-radius: 50%; border: 0; background: var(--green); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 8px 22px rgba(0,98,51,.4); transition: transform .15s; }
.chat-fab:hover { transform: scale(1.06); color: #fff; }
.chat-fab svg { width: 28px; height: 28px; }
.wa-fab { position: fixed; z-index: 60; bottom: calc(74px + env(safe-area-inset-bottom)); inset-inline-end: 14px; background: #1fa855; }
.chat.is-open .chat-fab { background: var(--red); }
.chat-badge { position: absolute; top: -2px; inset-inline-end: -2px; min-width: 20px; height: 20px; border-radius: 99px; background: var(--red); color: #fff; font-size: .72rem; display: grid; place-items: center; border: 2px solid #fff; }
.chat-panel { position: absolute; bottom: 68px; inset-inline-end: 0; width: min(360px, calc(100vw - 28px)); height: min(520px, calc(100vh - 170px)); background: var(--surface); border-radius: var(--r-lg); box-shadow: 0 18px 50px rgba(0,0,0,.28); display: flex; flex-direction: column; overflow: hidden; animation: rise .2s ease-out; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 14px; background: var(--green); color: #fff; border-bottom: 4px solid var(--red); }
.chat-head strong { display: block; font-weight: 900; }
.chat-head small { display: flex; align-items: center; gap: 6px; font-size: .75rem; opacity: .9; }
.dot-on { width: 8px; height: 8px; border-radius: 50%; background: #5df29b; box-shadow: 0 0 0 3px rgba(93,242,155,.25); }
.chat-head .icon-btn { color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; background: var(--surface-2); }
.cmsg { max-width: 82%; padding: 8px 12px; border-radius: 14px; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; font-weight: 600; line-height: 1.5; }
.cmsg small { display: block; font-size: .68rem; opacity: .6; margin-top: 2px; }
.cmsg-admin { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-start-start-radius: 4px; }
.cmsg-visitor { align-self: flex-end; background: var(--green); color: #fff; border-start-end-radius: 4px; }
.chat-form { padding: 10px; border-top: 1px solid var(--line); display: grid; gap: 8px; }
.chat-ident { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chat-ident input { min-height: 38px; border: 1px solid var(--line); border-radius: var(--r); padding: 6px 10px; background: var(--surface); font-size: .85rem; min-width: 0; }
.chat-input { display: flex; gap: 6px; align-items: flex-end; }
.chat-input textarea { flex: 1; resize: none; min-height: 42px; max-height: 110px; border: 2px solid var(--line); border-radius: 21px; padding: 9px 14px; background: var(--surface); font-weight: 600; }
.chat-input textarea:focus { outline: none; border-color: var(--green); }
.chat-send { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--red); color: #fff; display: grid; place-items: center; cursor: pointer; flex: none; }
.chat-send svg { width: 20px; height: 20px; }
[dir="rtl"] .chat-send svg { transform: scaleX(-1); }
.chat-wa { text-align: center; font-size: .8rem; font-weight: 800; color: #1fa855; }
body:has(.sticky-buy.show) .chat { bottom: calc(74px + env(safe-area-inset-bottom)); }
.error-page { padding-top: 80px; }
.err-code { font-size: 5.5rem; font-weight: 900; color: var(--red); line-height: 1; text-shadow: 4px 4px 0 var(--green); }

/* ───── Breakpoints ───── */
@media (min-width: 480px) {
  .hscroll { grid-auto-columns: 32%; }
}
@media (min-width: 640px) {
  .container { padding-inline: 16px; }
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .hscroll { grid-auto-columns: 24%; }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid, .post-grid, .bundle-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .trust-band-row { grid-template-columns: repeat(4, 1fr); }
  .newsletter { grid-template-columns: 1fr 1fr; align-items: center; padding: 30px; }
  .cart-line { grid-template-columns: 88px 1fr auto auto auto; grid-template-areas: "img info qty total remove"; }
  .cl-img img { width: 88px; height: 88px; }
  .pp-cols { grid-template-columns: 1fr 1fr; }
  .topbar-links { display: flex; }
  .hero-main { min-height: 280px; }
  .hero-copy { padding: 30px; }
}
@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .bottom-nav, .menu-btn, .sticky-buy { display: none; }
  .header-row { flex-wrap: nowrap; min-height: 72px; gap: 14px; }
  .search { order: 0; flex: 1 1 auto; max-width: 680px; margin-inline: 20px; }
  .search input { height: 46px; }
  .search button { height: 40px; }
  .hero { padding: 16px 0 6px; }
  .hero-grid { grid-template-columns: 230px 1fr 230px; }
  .hero-cats, .hero-side { display: flex; flex-direction: column; }
  .hero-main { min-height: 360px; }
  .hero-copy { padding: 40px; }
  .grid-products { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .hscroll { grid-auto-columns: calc((100% - 48px) / 5); }
  .shop-layout { grid-template-columns: 240px 1fr; align-items: start; }
  .shop-layout .grid-products { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .filters { position: sticky; top: 130px; }
  .filters > summary { display: none; }
  .filters-form { margin-top: 0; }
  .pp-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .gallery { flex-direction: row; position: sticky; top: 130px; }
  .thumbs { flex-direction: column; overflow-y: auto; max-height: 560px; flex: 0 0 76px; }
  .thumb { flex: 0 0 72px; width: 72px; height: 72px; }
  .stage { flex: 1; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr 380px; }
  .testi-grid, .post-grid, .bundle-grid { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 18px 0; }
  .chat, .wa-fab { bottom: 24px; inset-inline-end: 24px; }
  .toast { bottom: 24px; }
}
@media (min-width: 1200px) {
  .grid-products { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .hscroll { grid-auto-columns: calc((100% - 60px) / 6); }
}
@media (max-width: 959px) {
  .filters:not([open]) > .filters-form { display: none; }
  .summary { position: static; }
  .hide-sm { display: none; }
}
@media (max-width: 380px) {
  .container { padding-inline: 8px; }
  .grid-products { gap: 6px; }
  .pcard-body { padding: 6px 8px 8px; }
  .method-cards { grid-template-columns: 1fr; }
  .logo-text { font-size: 1rem; }
  .buy-actions { grid-template-columns: 1fr; }
  .hero-main { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .sticky-buy .btn { padding: 8px 10px; font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print { .site-header, .site-footer, .chat, .sticky-buy, .topbar, .bottom-nav, .trust-band { display: none !important; } }

/* ── International checkout (PayPal) ── */
.step-n { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--green); color: #fff; font-size: .8rem; margin-inline-end: 6px; vertical-align: 2px; }
.pay-box { border: 2px solid var(--line); border-radius: var(--r); padding: 14px; background: var(--surface-2); }
.pay-total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; margin-bottom: 12px; }
.pay-total b { font-size: 1.35rem; color: var(--red); }
#paypal-buttons { min-height: 110px; position: relative; z-index: 1; }
.pay-wait { display: flex; align-items: center; justify-content: center; gap: 8px; font-weight: 800; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--red); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.trust-mini { list-style: none; padding: 12px 0 0; margin: 12px 0 0; border-top: 1px dashed var(--line); display: grid; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.mt { margin-top: 12px; }
/* International edition: neutral brand mark (no flag colours) */
.intl .logo-mark i:nth-child(1) { background: #9aa0aa; } .intl .logo-mark i:nth-child(2) { background: #fff; }
.intl .flag-stripe i:nth-child(1) { background: #2a2d35; } .intl .flag-stripe i:nth-child(2) { background: #9aa0aa; }
