/* Product pages (/products/…) — same look as the home page, no build step needed. */
:root {
  --c-orange: #ff8a47; --c-lime: #bdff5c; --c-aqua: #5ce1e6; --c-blue: #4d6bfe; --c-purple: #c86dd7; --c-peach: #ffb86b;
  --c-wa: #25d366; --c-wa-ink: #075e54;
  --paper: #fff; --paper-2: #f6f5f1; --ink: #111; --ink-2: #3d3d3d; --muted: #6b6b6b; --line: #e6e4de; --night: #0b0f1a;
  --font-display: 'Anton', 'Impact', sans-serif;
  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 16px; --max: 1240px; --r: 18px;
}
:lang(ru) { --font-display: 'Oswald', 'Anton', sans-serif; }
:lang(am) { --font-display: 'Noto Sans Ethiopic', sans-serif; --font-body: 'Noto Sans Ethiopic', 'Manrope', sans-serif; }
[dir='rtl'] { --font-display: 'Cairo', 'Anton', sans-serif; --font-body: 'Cairo', system-ui, sans-serif; }
:root:lang(fa) { --font-display: 'Vazirmatn', 'Cairo', sans-serif; --font-body: 'Vazirmatn', 'Cairo', system-ui, sans-serif; }
@media (min-width: 768px) { :root { --gutter: 32px; } }
@media (min-width: 1200px) { :root { --gutter: 48px; } }

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, p { margin: 0; }
:focus-visible { outline: 3px solid var(--c-blue); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; background: #fff; padding: 8px 12px; border-radius: 8px; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgb(255 255 255 / .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { text-decoration: none; display: inline-flex; flex-direction: column; line-height: 1; }
.wm { font-family: 'Anton', 'Impact', sans-serif; font-size: 1.6rem; letter-spacing: .02em; -webkit-text-stroke: .6px rgb(0 0 0 / .25); }
.wm-sub { font-size: .6rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.top-nav { display: none; gap: 4px; margin-inline-start: 12px; }
.top-nav a { text-decoration: none; font-weight: 700; padding: 8px 12px; border-radius: 999px; }
.top-nav a:hover { background: var(--paper-2); }
@media (min-width: 760px) { .top-nav { display: flex; } }
.top-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; }
.langs { position: relative; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 800; font-size: .85rem; }
.langs summary::-webkit-details-marker { display: none; }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 12px 30px rgb(0 0 0 / .12); min-width: 180px; }
.langs li a { display: block; padding: 8px 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.langs li a:hover, .langs li a[aria-current] { background: var(--paper-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font-weight: 800; text-decoration: none; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.btn-wa { background: var(--c-wa); border-color: var(--c-wa); color: #05371f; }
.btn-wa:hover { background: #1fc05b; }
.btn-lg { min-height: 56px; font-size: 1.08rem; padding: 0 28px; width: 100%; }
@media (max-width: 480px) { .top .btn-wa span { display: none; } .top .btn-wa { padding: 0 12px; } }

/* Breadcrumbs + headings */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 18px 0 0; margin: 0; font-size: .88rem; color: var(--muted); }
.crumbs li + li::before { content: '›'; margin-inline-end: 6px; }
[dir='rtl'] .crumbs li + li::before { content: '‹'; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding: 22px 0 18px; max-width: 820px; }
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3.4rem); line-height: 1.05; text-transform: uppercase; }
:lang(am) .page-head h1, [dir='rtl'] .page-head h1, :lang(ru) .page-head h1 { font-weight: 800; text-transform: none; line-height: 1.25; }
.lead { margin-top: 12px; color: var(--ink-2); font-size: 1.05rem; }

/* Category chips */
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 16px; scrollbar-width: none; }
.chips a { flex: none; text-decoration: none; font-weight: 700; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; min-height: 40px; display: inline-flex; align-items: center; gap: 6px; }
.chips a small { color: var(--muted); font-weight: 700; }
.chips a[aria-current] { background: var(--night); color: #fff; border-color: var(--night); }
.chips a[aria-current] small { color: rgb(255 255 255 / .7); }
.chips + .chips-stock { margin-top: -8px; }

/* Product grid */
.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card a { display: flex; flex-direction: column; height: 100%; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; transition: transform .2s, box-shadow .2s; }
.card a:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgb(0 0 0 / .08); }
.card-img { position: relative; aspect-ratio: 1; background: var(--paper-2); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-cat { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.card-name { font-weight: 800; line-height: 1.3; }
.card-price { margin-top: auto; padding-top: 6px; font-weight: 800; color: var(--c-wa-ink); font-size: .95rem; }
.card.is-sold .card-img img { filter: grayscale(.7); opacity: .75; }

.badge { position: absolute; top: 10px; inset-inline-start: 10px; font-size: .72rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); }
.p-tags .badge { position: static; }
.badge-new { background: var(--c-aqua); }
.badge-surplus { background: var(--c-peach); }
.badge-used { background: var(--c-lime); }
.badge-sold { inset-inline-start: auto; inset-inline-end: 10px; background: var(--ink); color: #fff; }

.empty { padding: 40px 20px; text-align: center; border: 2px dashed var(--line); border-radius: var(--r); display: grid; gap: 16px; justify-items: center; color: var(--ink-2); }
.freight { margin: 24px 0; padding: 14px 16px; background: var(--paper-2); border-radius: 14px; color: var(--ink-2); font-size: .92rem; }

/* Product page */
.product { display: grid; gap: 24px; padding: 18px 0 8px; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; } }
.gallery { display: grid; gap: 10px; }
@media (min-width: 900px) { .gallery { position: sticky; top: 84px; } }
.g-main { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.g-main img { width: 100%; max-height: 72vh; object-fit: contain; margin: 0 auto; }
.g-thumbs { list-style: none; margin: 0; padding: 0; display: flex; gap: 8px; overflow-x: auto; }
.g-thumbs a { display: block; width: 76px; height: 76px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; flex: none; }
.g-thumbs a[aria-current] { border-color: var(--c-orange); }
.g-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.p-info { display: grid; gap: 16px; }
.p-tags { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.p-avail { font-weight: 800; font-size: .85rem; color: #11633a; }
.p-avail::before { content: '●'; margin-inline-end: 4px; }
.p-avail.is-sold { color: #8e1f1f; }
.p-info h1 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); line-height: 1.15; font-weight: 800; }
.p-orig { color: var(--muted); font-weight: 600; margin-top: -8px; }
.p-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; padding: 14px 16px; background: var(--paper-2); border-radius: 14px; }
.p-price-label { color: var(--muted); font-weight: 700; }
.p-price strong { font-size: 1.6rem; font-weight: 800; }
.p-price .p-price-ask { font-size: 1.1rem; color: var(--c-wa-ink); }
.p-lot { flex-basis: 100%; color: var(--ink-2); font-weight: 600; }
.p-lot strong { font-size: 1.1rem; color: var(--ink); }
.btn-full { width: 100%; min-height: 52px; margin-top: -6px; border: 2px solid var(--c-wa); color: var(--c-wa-ink); flex-wrap: wrap; text-align: center; }
.btn-full:hover { background: #effbf3; }
.btn-full small { font-weight: 700; color: var(--muted); }
.specs { margin: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.specs div { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 12px; padding: 10px 14px; }
.specs div + div { border-top: 1px solid var(--line); }
.specs dt { color: var(--muted); font-weight: 700; }
.specs dd { margin: 0; font-weight: 700; }
.p-details h2, .related h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 8px; }
.p-details div { color: var(--ink-2); }
.p-info .freight { margin: 0; }
.p-trust { font-size: .85rem; color: var(--muted); font-weight: 600; }
.related { padding: 32px 0 8px; }
.back { display: inline-block; margin: 16px 0 40px; font-weight: 800; text-decoration: none; }
[dir='rtl'] .back { direction: rtl; }

/* Footer */
.foot { background: var(--night); color: rgb(255 255 255 / .75); margin-top: 32px; }
.foot-in { display: grid; gap: 20px; padding-block: 36px; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1fr 1fr; align-items: end; } }
.foot .wm-sub { color: rgb(255 255 255 / .6); }
.foot-trust { margin-top: 12px; font-weight: 600; color: #fff; }
.foot address { font-style: normal; font-size: .9rem; line-height: 1.7; }
.foot address a { color: #fff; }

/* Info pages + buying box */
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 16px; }
.foot-links a { color: rgb(255 255 255 / .85); font-weight: 700; font-size: .9rem; text-decoration: none; }
.foot-links a:hover { text-decoration: underline; }
.info { max-width: 860px; }
.steps { list-style: none; margin: 8px 0 32px; padding: 0; display: grid; gap: 16px; }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 16px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r); }
.step-n { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--night); color: #fff; font-weight: 800; }
.steps h2 { font-size: 1.125rem; font-weight: 800; margin-bottom: 4px; }
.steps p { color: var(--ink-2); }
.info-sec { margin: 32px 0; }
.info-sec h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 12px; }
.info-sec p + p { margin-top: 12px; }
.info-sec p { color: var(--ink-2); }
.info-map { margin-top: 12px; font-weight: 700; }
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
.team li { display: grid; gap: 2px; padding: 16px; background: var(--paper-2); border-radius: 14px; }
.team span { color: var(--muted); font-size: .9rem; font-weight: 600; }
.team a { font-weight: 800; }
.team-wa { color: var(--c-wa-ink); }
.info-cta { display: grid; gap: 16px; margin: 40px 0 48px; }
.info-cta p { font-weight: 700; }
.buybox { margin: 32px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); }
.buybox h2 { font-size: 1.15rem; font-weight: 800; margin-bottom: 12px; }
.buybox ul { margin: 0 0 12px; padding-inline-start: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.buybox a { font-weight: 800; }

/* Google reviews strip above the footer */
.rv { background: var(--paper-2); border-top: 1px solid var(--line); padding-block: 48px; margin-top: 48px; }
.rv-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.rv-eyebrow { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.rv h2 { font-family: var(--font-display); font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1.15; margin-top: 4px; }
.rv-score { display: flex; align-items: center; gap: 12px; }
.rv-num { font-family: var(--font-display); font-size: 2.5rem; line-height: 1; }
.rv-count { display: block; margin-top: 4px; font-size: .875rem; color: var(--muted); }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-stars svg { fill: var(--line); }
.rv-stars svg.on { fill: #f5a400; }
.rv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 760px) { .rv-list { grid-template-columns: repeat(3, 1fr); } }
.rv-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.rv-card blockquote { margin: 0; flex: 1; line-height: 1.6; }
.rv-who { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.rv-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .875rem; }
.rv-src { margin-inline-start: auto; font-size: .75rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.rv-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Landing pages and export guides */
.guide { max-width: 960px; }
.g-updated { margin-top: 8px; font-size: .875rem; color: var(--muted); }
.g-facts { margin: 24px 0 8px; padding: 20px; background: var(--paper-2); border-radius: var(--r); }
.g-facts h2 { font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.g-facts .specs { background: #fff; }
.g-list { margin: 0; padding-inline-start: 20px; color: var(--ink-2); display: grid; gap: 8px; }
.g-countries { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.g-countries a { display: flex; flex-direction: column; gap: 4px; min-height: 44px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; }
.g-countries a:hover { border-color: var(--ink); }
.g-countries span { font-size: .875rem; color: var(--muted); }
.g-lots .grid { margin-bottom: 16px; }
.g-faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.g-faq summary { cursor: pointer; font-weight: 800; min-height: 44px; display: flex; align-items: center; }
.g-faq details p { margin-top: 8px; }
.g-more { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; }
.g-more a { font-weight: 700; }
.foot-countries { margin-top: 8px; }
.foot-countries a { font-weight: 600; color: rgb(255 255 255 / .7); }
.p-guides { margin-top: 8px; font-weight: 700; }
