/* China Lucky Shoes — wholesale site. "The sample room": carton-board ground, white sample tiles,
   navy header/footer, gold only for the carton-label strip and "on your inquiry list", green only for WhatsApp. */
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
/* Vazirmatn (OFL): Arabic and Persian only. Loaded only by :lang(ar) / :lang(fa) rules below; Latin letters and digits stay in Barlow. */
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/vazirmatn-arabic-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/vazirmatn-arabic-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }
@font-face { font-family: "Vazirmatn"; src: url("/assets/fonts/vazirmatn-arabic-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; unicode-range: U+0600-06FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE80-FEFC; }

:root {
  --navy: #13284B;
  --navy-2: #1F3A66;
  --navy-deep: #0D1D38;
  --gold: #C8A03A;
  --gold-soft: #F4EAC8;
  --board: #F2EFE8;
  --tile: #FFFFFF;
  --line: #E3DED3;
  --ink: #1A2233;
  --muted: #5A6578;
  --field: #868E9C; /* form field borders only (3.3:1 on white) */
  /* WhatsApp buttons. To switch them back to navy, change only this line to: --wa: var(--navy); */
  --wa: #15803D;
  --wa-hover: color-mix(in srgb, var(--wa) 85%, #000);
  --cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Arial, sans-serif;
  --r-tag: 3px;
  --r: 8px;
  --r-tile: 12px;
  --shadow-bar: 0 -2px 12px rgba(13,29,56,.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--board); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--cond); font-weight: 700; color: var(--navy); letter-spacing: 0; margin: 0 0 .5em; }
h1 { font-size: 32px; line-height: 1.08; margin-bottom: 8px; }
h2 { font-size: 24px; line-height: 1.15; }
h3 { font-size: 21px; line-height: 1.2; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding-block: 32px; }
main > .section:first-child { padding-top: 20px; }
.lead { font-size: 18px; line-height: 1.5; color: var(--ink); max-width: 62ch; }
.intro { font-size: 15.5px; line-height: 1.5; color: var(--muted); max-width: 70ch; margin: 0 0 16px; }
.note { color: var(--muted); font-size: 15.5px; line-height: 1.5; max-width: 62ch; }
.skip { position: absolute; inset-inline-start: -9999px; }
.skip:focus { inset-inline-start: 12px; top: 12px; background: var(--tile); padding: 8px 12px; z-index: 10; }
.hide-sm { display: none; }
.ico { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn-navy, .btn-gold, .btn-wa, .btn-quiet {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 20px; border-radius: var(--r); border: 2px solid transparent;
  font: 600 16px/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: background-color .12s, color .12s;
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); color: #fff; }
.btn-gold { background: var(--gold); color: var(--navy); } /* only on the navy visit band */
.btn-gold:hover { background: #D6B052; color: var(--navy); }
.btn-quiet { background: var(--tile); color: var(--navy); }
.btn-quiet:hover { color: var(--navy-2); text-decoration: underline; }
.btn-sm { min-height: 40px; padding: 6px 12px; }
.btn-wide { width: 100%; }
.btn-text { background: none; border: 0; padding: 8px 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 20px 0; }

/* Header: navy, two compact rows on mobile (not sticky), one sticky 64px row from 960px */
.top { background: var(--navy); position: static; }
.top-row { display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; padding-block: 8px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.mark { width: 36px; height: 36px; flex: none; overflow: visible; }
.top .mark circle:first-child { fill: none; stroke: var(--gold); stroke-width: 1.5; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font: 700 22px/1 var(--cond); color: #fff; }
.brand-sub { font-size: 13px; color: #B9C4D6; margin-top: 3px; }
.top-actions { display: flex; align-items: center; gap: 10px; margin-inline-start: auto; }
.top-actions .btn-sm { width: 40px; padding: 0; }
.inq-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: #fff; min-height: 40px; }
.inq-link:hover { color: #fff; text-decoration: underline; }
.badge[hidden] { display: none; }
.badge { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 999px; background: var(--gold); color: var(--navy); font: 700 14px/1 var(--body); font-variant-numeric: tabular-nums; }
.nav { order: 3; flex-basis: 100%; display: flex; gap: 20px; margin-top: 8px; padding: 0; border-top: 1px solid rgba(255,255,255,.14); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { white-space: nowrap; text-decoration: none; color: #DCE3EE; font: 500 15.5px/1.2 var(--body); padding-block: 10px 8px; border-bottom: 2px solid transparent; }
.nav a[aria-current="page"], .nav a:hover { color: #fff; border-bottom-color: var(--gold); }

/* Home hero */
.hero { padding-block: 24px 32px; }
.hero h1 { font-size: 36px; line-height: 1.05; }
.hero-grid { display: grid; gap: 24px; }
.facts { list-style: none; padding: 16px 0 0; margin: 24px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
.facts li { font-size: 15.5px; line-height: 1.4; color: var(--ink); }
.facts strong { color: var(--navy); font-weight: 600; }
.mosaic { display: none; grid-template-columns: repeat(3, 1fr); gap: 10px; align-content: start; }
.mosaic a { background: var(--tile); border-radius: var(--r-tile); overflow: hidden; aspect-ratio: 1; }
.mosaic img { width: 100%; height: 100%; object-fit: contain; }

/* Category photo tiles (home and /catalogue): square cover photo, name and count under it, whole tile is the link */
.cat-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.cat-tile { display: flex; flex-direction: column; background: var(--tile); border-radius: var(--r-tile); overflow: hidden; text-decoration: none; padding-bottom: 12px; }
.cat-photo { display: block; aspect-ratio: 1; background: var(--tile); }
.cat-photo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cat-name { display: block; padding: 6px 12px 0; font: 600 17px/1.3 var(--body); color: var(--navy); }
.cat-n { display: block; padding: 2px 12px 0; font-size: 14.5px; line-height: 1.4; color: var(--muted); }
.cat-tile:hover .cat-name { text-decoration: underline; }
.all-h { margin-top: 36px; }

/* Category page: one scrolling row of small photo tiles, current category ringed in gold */
.cat-strip { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 16px; margin: 0 -16px 12px; padding: 6px 16px 8px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip a { flex: 0 0 100px; scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 5px 4px 6px; border: 2px solid transparent; border-radius: var(--r-tile); background: var(--tile); text-decoration: none; text-align: center; }
.cat-strip .sp { display: block; width: 88px; height: 88px; background: var(--tile); }
.cat-strip .sp img { display: block; width: 100%; height: 100%; object-fit: contain; }
.cat-strip .sp-all { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.cat-strip .sl { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font: 500 14px/1.25 var(--body); color: var(--navy); overflow-wrap: anywhere; }
.cat-strip a:hover { border-color: var(--line); }
.cat-strip a[aria-current="page"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.cat-strip a[aria-current="page"] .sl { font-weight: 700; }
h1 .h1-n { font: 500 17px/1 var(--body); color: var(--muted); white-space: nowrap; margin-inline-start: 6px; }

/* Grid + cards */
.section-head { display: flex; align-items: baseline; gap: 4px 12px; flex-wrap: wrap; margin-bottom: 12px; }
.section-head h2 { margin: 0; }
.section-head a { margin-inline-start: auto; font-weight: 600; color: var(--navy); }
.section-n { font-size: 15.5px; color: var(--muted); }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.card { display: flex; flex-direction: column; border: 0; border-radius: var(--r-tile); overflow: hidden; background: var(--tile); }
.card-img { display: block; background: var(--tile); aspect-ratio: 1; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.card-body { display: flex; flex-direction: column; gap: 6px; padding: 4px 12px 12px; flex: 1; }
.tag { align-self: flex-start; font: 700 18px/1 var(--cond); letter-spacing: .04em; font-variant-numeric: tabular-nums; color: #fff; background: var(--navy); border: 0; border-inline-start: 3px solid var(--gold); border-radius: var(--r-tag); padding: 5px 8px 4px; text-decoration: none; }
a.tag:hover { background: var(--navy-2); color: #fff; }
.card-title { margin: 2px 0 0; font: 500 16px/1.3 var(--body); color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-meta { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.4; }
.card-body > :nth-last-child(2) { margin-bottom: 8px; } /* size line, or the title when there is none */
.add { margin-top: auto; min-height: 44px; width: 100%; border: 0; border-radius: var(--r); background: var(--board); color: var(--navy); font: 600 15px/1.2 var(--body); cursor: pointer; transition: background-color .12s, color .12s; }
.add:hover { background: #E8E3D8; }
.add[aria-pressed="true"] { background: var(--gold); color: var(--navy); }
.add[aria-pressed="true"]::before { content: "\2713\00a0"; }

/* Steps (a real sequence) */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 8px 0 16px; display: grid; gap: 16px; }
.steps li { counter-increment: s; position: relative; padding-block: 16px 8px; padding-inline: 60px 16px; border: 0; background: var(--tile); border-radius: var(--r-tile); }
.steps li::before { content: counter(s); position: absolute; inset-inline-start: 16px; top: 16px; width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: var(--navy); font: 700 19px/32px var(--cond); text-align: center; }
.steps h3 { margin-bottom: .3em; }

/* Visit band (home) */
.visit-band { background: var(--navy); color: #fff; padding-block: 40px; }
.visit-band h2 { color: #fff; }
.visit-grid { display: grid; gap: 24px; }
.visit-contact { display: grid; gap: 10px; align-content: center; }
.visit-contact a { color: #fff; font: 600 24px/1.2 var(--cond); text-decoration: none; display: inline-flex; gap: 10px; align-items: center; }
.visit-contact a:hover { color: var(--gold); }
.visit-contact span { display: block; color: #B9C4D6; font-size: 14.5px; }
.visit-band .addr { font: 600 22px/1.25 var(--cond); color: var(--gold); }

/* Product page */
.crumbs { font-size: 14.5px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.product { display: grid; gap: 24px; }
.product-img { background: var(--tile); border-radius: var(--r-tile); aspect-ratio: 1; overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: contain; }
.product h1 { font-size: 28px; line-height: 1.1; }
.tag-lg { display: table; font-size: 30px; padding: 8px 12px 6px; border-inline-start-width: 5px; margin-bottom: 12px; letter-spacing: .03em; }
/* The carton label: a white tile with a gold top edge and hairline rows */
.carton { margin: 20px 0 0; background: var(--tile); border: 0; border-top: 4px solid var(--gold); border-radius: var(--r-tile); padding: 0 16px; }
.carton > div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; border-top: 1px solid var(--line); padding: 12px 0; }
.carton > div:first-child { border-top: 0; }
.carton dt { padding: 0; border: 0; font: 400 15.5px/1.4 var(--body); color: var(--muted); }
.carton dd { margin: 0; padding: 0; font-weight: 500; }
.product .cta-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 20px 0 12px; }
.product .cta-row > * { min-height: 52px; font-size: 17px; width: 100%; }
.product .add { margin: 0; background: var(--navy); color: #fff; border: 2px solid transparent; }
.product .add:hover { background: var(--navy-2); color: #fff; }
.product .add[aria-pressed="true"] { background: var(--gold); color: var(--navy); }

/* Inquiry */
.inq { display: grid; gap: 24px; margin-top: 8px; }
.inq-list { display: grid; gap: 8px; align-content: start; }
.inq-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; border: 0; background: var(--tile); border-radius: var(--r-tile); padding-block: 8px; padding-inline: 8px 12px; }
.inq-item img { width: 72px; height: 72px; object-fit: contain; background: var(--tile); border-radius: var(--r); }
.inq-item p { margin: 4px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.4; }
.inq-item button { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; min-height: 44px; }
.empty { border: 0; background: var(--tile); border-radius: var(--r-tile); padding: 24px; }
.empty p { margin: 0 0 16px; }
.inq-form { display: grid; gap: 16px; align-content: start; background: var(--tile); padding: 20px; border-radius: var(--r-tile); }
.inq-form label, .wa-fields label { display: grid; gap: 6px; font: 600 15.5px/1.35 var(--body); color: var(--navy); }
.inq-form small { font-weight: 400; color: var(--muted); font-size: 14.5px; }
.inq-form input, .inq-form textarea, .wa-fields input { font: 400 17px/1.4 var(--body); min-height: 48px; padding: 11px 12px; border: 1.5px solid var(--field); border-radius: var(--r); background: var(--tile); color: var(--ink); width: 100%; }
.inq-form input:focus, .inq-form textarea:focus, .wa-fields input:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.inq-form button[type="submit"] { min-height: 52px; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; min-height: 1.4em; color: var(--navy); font-weight: 500; }

/* Visit page */
.visit-page { display: grid; gap: 24px; }
.map { border-radius: var(--r-tile); overflow: hidden; border: 0; background: var(--tile); min-height: 320px; }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }

/* Footer */
.foot { background: var(--navy-deep); border-top: 0; color: #C9D2E0; margin-top: 48px; padding-block: 32px; font-size: 15.5px; }
main:has(> .visit-band:last-child) + .foot { margin-top: 0; }
.foot-grid { display: grid; gap: 16px; }
.foot p { margin: 0 0 .4em; }
.foot a { color: #fff; }
.foot a:hover { color: var(--gold-soft); }
.foot-name { font: 700 21px/1.1 var(--cond); color: #fff; }

/* Mobile: inquiry list bar, fixed at the bottom once something is on the list */
.inq-bar[hidden] { display: none; }
.inq-bar { position: fixed; inset: auto 0 0 0; z-index: 6; display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: var(--navy); color: #fff; font-weight: 600; text-decoration: none; box-shadow: var(--shadow-bar); }
.inq-bar:hover { color: #fff; }
.inq-bar-go { margin-inline-start: auto; background: var(--gold); color: var(--navy); border-radius: var(--r); padding: 8px 14px; }

/* WhatsApp number chooser (native <dialog>) */
.wa-pick { overflow: auto; width: min(400px, 100vw - 24px); max-width: none; border: 0; padding: 0; border-radius: var(--r-tile); background: var(--tile); color: var(--ink); }
.wa-pick::backdrop { background: rgba(13,29,56,.6); }
.wa-pick-in { display: grid; gap: 10px; padding: 8px 16px 16px; }
.wa-pick-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.wa-pick h2 { margin: 0; font-size: 22px; }
.wa-pick-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: var(--r); background: var(--board); color: var(--navy); font: 500 28px/1 var(--body); cursor: pointer; }
.wa-pick-x:hover { background: #E8E3D8; }
.wa-who, .wa-fields { display: grid; gap: 12px; }
.wa-pick:not([data-need]) .wa-who, .t2, .wa-pick:not([data-need]) .wa-sum, .wa-pick.pre .wa-fields, .wa-pick:not(.pre) .wa-sum, .wa-pick.pre .wa-then { display: none; }
.wa-pick[data-need]:not(.pre) .t2 { display: inline; }
.wa-pick[data-need]:not(.pre) .t1 { display: none; }
.wa-sum, .wa-then { margin: 0; font-size: 15.5px; color: var(--muted); }
.wa-fields label { font: 600 15.5px/1.35 var(--body); color: var(--navy); gap: 4px; }
.err { color: #B42318; font: 500 14.5px/1.3 var(--body); }
.err:empty { display: none; }
[aria-invalid="true"] { border-color: #B42318 !important; }
.wa-pick .btn-wa { width: 100%; min-height: 52px; padding: 10px 12px; font-size: 16.5px; }

/* Language switcher: a thin strip above the brand row on phones, inline in the header from 960px */
.lang { order: -1; flex-basis: 100%; display: flex; justify-content: flex-end; gap: 4px; margin: 0 0 6px; padding: 0 0 6px; border-bottom: 1px solid rgba(255,255,255,.14); }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 44px; padding: 0 12px; border-radius: 999px; color: #DCE3EE; text-decoration: none; font: 500 16px/1.2 var(--body); white-space: nowrap; }
.lang a:hover { color: #fff; background: rgba(255,255,255,.08); }
.lang a[aria-current] { color: var(--navy); background: var(--gold); font-weight: 600; }
.lang a:focus-visible { outline-offset: -2px; }
/* Suggestion bar (English pages, Arabic / Persian browsers) */
.lang-bar { display: flex; align-items: center; gap: 4px 12px; flex-wrap: wrap; padding: 6px 16px; background: var(--gold-soft); color: var(--navy); font: 500 16px/1.5 var(--body); }
.lang-bar a { color: var(--navy); font-weight: 600; }
.lang-bar button { margin-inline-start: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--navy); font: 500 26px/1 var(--body); cursor: pointer; }
.crumbs span, .tag, .tag-lg { unicode-bidi: isolate; direction: ltr; }

@media (max-width: 380px) { .brand-sub { display: none; } .brand-name { font-size: 20px; } }
@media (max-width: 360px) {
  .top-row { gap: 0 8px; }
  .brand { gap: 6px; }
  .mark { width: 28px; height: 28px; }
  .brand-name { font-size: 18px; }
  .top-actions { gap: 6px; }
  .top-actions .btn-sm { width: 36px; min-height: 36px; }
}
@media (max-width: 959.98px) {
  body:has(.inq-bar:not([hidden])) .foot { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
}
@media (min-width: 640px) {
  .hide-sm { display: inline; }
  .top-actions .btn-sm { width: auto; padding: 6px 12px; }
  .mosaic { display: grid; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .product .cta-row { grid-template-columns: 1fr 1fr; }
  .visit-grid { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 800px) {
  .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  h1 { font-size: 40px; }
  h2 { font-size: 28px; }
  .wrap { width: min(1240px, 100% - 64px); }
  .section { padding-block: 48px; }
  main > .section:first-child { padding-top: 28px; }
  .intro { margin-bottom: 24px; }
  .top { position: sticky; top: 0; z-index: 5; }
  .top-row { flex-wrap: nowrap; padding-block: 10px; gap: 32px; min-height: 64px; }
  .lang { order: 0; flex-basis: auto; margin: 0; padding: 0; border: 0; order: 1; }
  .lang a { min-height: 36px; padding: 0 10px; font-size: 15px; }
  .top-actions { margin-inline-start: 0; order: 2; }
  .nav { order: 0; flex: 1; flex-basis: auto; margin: 0; border-top: 0; gap: 24px; }
  .nav a { font-size: 16px; }
  .hero { padding-block: 40px 48px; }
  .hero h1 { font-size: 52px; }
  .lead { font-size: 19px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .cat-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
  .cat-strip { margin-inline: 0; padding-inline: 0; scroll-padding-inline: 0; scrollbar-width: thin; padding-bottom: 12px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .card-body { padding: 4px 14px 14px; }
  .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
  .product-img { position: sticky; top: 88px; }
  .product h1 { font-size: 36px; }
  .tag-lg { font-size: 34px; }
  .inq { grid-template-columns: 1.2fr 1fr; align-items: start; }
  .inq-form { position: sticky; top: 88px; }
  .visit-page { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .map, .map iframe { min-height: 420px; }
  .inq-bar { display: none; }
}
@media (min-width: 1200px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .cat-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  /* Wide screens: every category visible at once (two rows) instead of a sideways scroll a mouse can't easily use */
  .cat-strip { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; padding-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }

/* Arabic and Persian: Vazirmatn for Arabic-script text (Latin letters and digits fall through to Barlow), more line height, no condensed face */
:lang(ar), :lang(fa) { --cond: "Vazirmatn", "Barlow Condensed", "Arial Narrow", sans-serif; --body: "Vazirmatn", "Barlow", "Segoe UI", Tahoma, Arial, sans-serif; }
:lang(ar) body, :lang(fa) body { line-height: 1.85; }
:lang(ar) h1, :lang(fa) h1 { line-height: 1.35; }
:lang(ar) h2, :lang(fa) h2 { line-height: 1.4; }
:lang(ar) h3, :lang(fa) h3 { line-height: 1.45; }
:lang(ar) .hero h1, :lang(fa) .hero h1 { font-size: 32px; line-height: 1.3; }
:lang(ar) .lead, :lang(fa) .lead { line-height: 1.8; }
:lang(ar) .intro, :lang(ar) .note, :lang(fa) .intro, :lang(fa) .note { line-height: 1.8; }
:lang(ar) .card-title, :lang(fa) .card-title { line-height: 1.6; }
:lang(ar) .brand-sub, :lang(fa) .brand-sub { line-height: 1.5; }
:lang(ar) .nav a, :lang(fa) .nav a { line-height: 1.6; }
:lang(ar) .cat-name, :lang(fa) .cat-name, :lang(ar) .cat-strip .sl, :lang(fa) .cat-strip .sl { line-height: 1.5; }
:lang(ar) .carton > div, :lang(fa) .carton > div { grid-template-columns: 110px 1fr; }
:lang(ar) .tag, :lang(fa) .tag { line-height: 1; }
:lang(ar) .brand-name, :lang(fa) .brand-name, :lang(ar) .foot-name, :lang(fa) .foot-name { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
:lang(ar) .visit-contact a, :lang(fa) .visit-contact a { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; }
:lang(ar) .add[aria-pressed="true"]::before, :lang(fa) .add[aria-pressed="true"]::before { content: "\2713\00a0"; }
.lang-bar:lang(ar), .lang-bar:lang(fa) { font-size: 16px; line-height: 1.7; }
@media (min-width: 960px) {
  :lang(ar) .hero h1, :lang(fa) .hero h1 { font-size: 44px; }
}
:lang(ar) h1, :lang(ar) h2, :lang(fa) h1, :lang(fa) h2 { text-wrap: balance; }
