/* Alpha Market site styles (plan 9): concept F (design/concepts/f.html + conversion.css + common.css).
   Mobile-first: base rules for phones (360px+), min-width queries for tablet (640/768/900px) and PC (1100px). */

/* Behaviour-level styles shared by all concepts (each concept styles everything else). */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
details > summary { list-style: none; cursor: pointer; }
details > summary::-webkit-details-marker { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.86); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox img { max-height: 92vh; max-width: 92vw; object-fit: contain; border-radius: 4px; }
[data-zoom] { cursor: zoom-in; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; z-index: 90;
  background: #111; color: #fff; padding: 12px 18px; border-radius: 8px; font: 500 14px/1.4 system-ui, sans-serif;
  transition: .25s; pointer-events: none; max-width: calc(100vw - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

.sugg-box { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 60; overflow: hidden; }
.sugg { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.sugg img { width: 44px; height: 44px; object-fit: cover; flex: none; }
.sugg .s-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg-all, .sugg-empty { display: block; text-decoration: none; }

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; -webkit-tap-highlight-color: transparent; }
button, a, input, summary { touch-action: manipulation; }
h1, h2, h3, .card h3 { overflow-wrap: anywhere; }

.trust { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.trust li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 14px; line-height: 1.45; color: var(--ink); }
.trust em { font-style: normal; color: var(--muted); }
.ic { width: 20px; height: 20px; color: var(--brand); flex: none; }
.ic.sm { width: 16px; height: 16px; vertical-align: -3px; }
.ic.big { width: 34px; height: 34px; color: #fff; }

/* Horizontal chip row (trust facts on phones); becomes a grid on wider screens. */
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -12px; padding: 2px 12px; scroll-padding: 0 12px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chips > * { flex: none; scroll-snap-align: start; display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line); font-size: 13px; font-weight: 600; white-space: nowrap; color: var(--ink); }
.chips .ic { width: 17px; height: 17px; }

.total { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-size: 13.5px; color: var(--muted); }
.total b { color: var(--ink); font-weight: 700; }
.total .plus { color: var(--line); font-weight: 700; }

.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--brand); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.stock.low { color: #b45309; }

/* Order form: 16px inputs (no iOS zoom), 52-56px tap targets. */
.oform { display: grid; gap: 12px; }
.oform-title { font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.oform .f span { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.oform input { width: 100%; height: 54px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px;
  font: 600 16px var(--font); color: var(--ink); background: #fff; outline: none; transition: border-color .15s; -webkit-appearance: none; }
.oform input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.oform input.bad { border-color: #d92d20; }
.tel { display: flex; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .15s; }
.tel:focus-within { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.tel.bad { border-color: #d92d20; }
.tel b { display: grid; place-items: center; padding: 0 10px 0 14px; font-weight: 700; color: var(--ink); background: var(--soft); font-size: 16px; }
.tel input { border: 0 !important; border-radius: 0; letter-spacing: .02em; box-shadow: none !important; }
/* Offer choice: one item from several offers (plan 9.4.1) */
.ofr { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.ofr legend { font-weight: 800; font-size: 16px; padding: 0; margin-bottom: 2px; }
.ofr p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.ofr-o { display: grid; grid-template-columns: auto 56px 1fr; grid-template-areas: "r i n" "r i p"; align-items: center;
  column-gap: 10px; padding: 8px 12px 8px 10px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; }
.ofr-o:has(input:checked) { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.ofr-o.gone { opacity: .45; cursor: not-allowed; }
.oform .ofr-o input { grid-area: r; width: 20px; height: 20px; margin: 0; padding: 0; accent-color: var(--brand); -webkit-appearance: radio; appearance: auto; box-shadow: none; }
.ofr-o img, .ofr-ph { grid-area: i; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--soft); }
.ofr-n { grid-area: n; font-size: 14px; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow-wrap: anywhere; }
.ofr-p { grid-area: p; display: flex; gap: 8px; align-items: baseline; flex-wrap: wrap; }
.ofr-p b { font-size: 15.5px; } .ofr-p s { color: var(--muted); font-size: 13px; }
.err { display: block; color: #d92d20; font-size: 13px; font-weight: 600; margin-top: 6px; }
.oform-note { font-size: 13px; color: var(--muted); text-align: center; }
.oform-note .ic { color: var(--brand); }

.cta { width: 100%; height: 56px; border: 0; border-radius: 14px; background: var(--cta); color: var(--cta-ink, #fff); font: 800 17px var(--font);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .15s, transform .1s;
  box-shadow: 0 6px 18px color-mix(in srgb, var(--cta) 35%, transparent); }
.cta:hover { background: var(--cta-h); }
.cta:active { transform: scale(.985); }
.cta.loading { cursor: progress; opacity: .92; }
.spin { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Order panel (plan 9.3.3): a coloured header that says "Buyurtma berish", so the form is unmistakable. */
.order { border: 2px solid var(--cta); border-radius: 18px; overflow: hidden; background: #fff;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--cta) 16%, transparent); scroll-margin-top: calc(var(--hh, 60px) + 96px); } /* keeps the price visible above it */
.order-head { background: var(--cta); color: var(--cta-ink, #fff); padding: 12px 16px 13px; }
.order-head h2 { margin: 0; display: flex; align-items: center; gap: 9px; font: 800 19px/1.2 var(--font); letter-spacing: -.01em; }
.order-head h2 .ic { color: currentColor; width: 22px; height: 22px; }
.order-head p { margin: 3px 0 0; font-size: 13.5px; line-height: 1.4; opacity: .95; }
.order-body { padding: 16px; display: grid; gap: 14px; }
.order-mini { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px dashed var(--line); counter-reset: om; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.order-mini li { counter-increment: om; font-size: 12px; line-height: 1.3; color: var(--muted); text-align: center; display: grid; justify-items: center; gap: 4px; }
.order-mini li::before { content: counter(om); width: 22px; height: 22px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 12px; display: grid; place-items: center; }
.order.flash { animation: flash 1.2s ease-out; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--cta) 55%, transparent); } 100% { box-shadow: 0 0 0 14px transparent; } }
.cta .ic { color: currentColor; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; padding: 14px; border-radius: 16px;
  background: var(--brand-soft); }
.cta-row b { display: block; font-size: 19px; line-height: 1.2; } .cta-row small { color: var(--muted); font-size: 12.5px; }
.cta-row .cta { width: auto; height: 50px; padding: 0 18px; font-size: 16px; flex: none; }
/* "Buyurtma berish" on product cards: goes straight to the product's order form. */
.card-buy { display: flex; align-items: center; justify-content: center; gap: 6px; height: 40px; margin-top: 4px; border-radius: 10px;
  background: var(--cta); color: var(--cta-ink, #fff); font-weight: 800; font-size: 14px; }
.card-buy .ic { color: currentColor; width: 17px; height: 17px; }
@media (max-width: 420px) { .card-buy { font-size: 13.5px; height: 38px; } .card-buy .ic { display: none; } }
/* Header order button: product pages on PC only. */
.hdr-cta { display: none !important; }

/* How ordering works: a compact vertical timeline on phones, 4 cards from 900px. */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: st; display: grid; gap: 0; }
.steps li { counter-increment: st; position: relative; display: grid; gap: 2px; padding: 0 0 16px 44px; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 800; display: grid; place-items: center; font-size: 14px; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 14.5px; top: 34px; bottom: 4px; width: 1.5px; background: var(--line); }
.steps b { font-size: 15px; padding-top: 4px; } .steps span { color: var(--muted); font-size: 13.5px; line-height: 1.45; }

.contact { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13.5px; color: var(--muted); }
.contact a, .contact span { display: inline-flex; align-items: center; gap: 8px; }
.contact a { color: var(--ink); font-weight: 700; text-decoration: none; }
.contact a:hover { color: var(--brand); }

/* ---------- Gallery carousel (plan 9.1.4) ---------- */
.car { position: relative; }
.car-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  aspect-ratio: 1; background: var(--soft); outline: none; }
.car-track::-webkit-scrollbar { display: none; }
.car-slide { position: relative; flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; overflow: hidden; display: grid; place-items: center; }
.car-img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.car-bg { position: absolute; inset: -30px; width: calc(100% + 60px); height: calc(100% + 60px); object-fit: cover; filter: blur(28px) saturate(.85); opacity: .5; }
.car-tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px;
  background: rgba(17,24,39,.72); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: .01em; backdrop-filter: blur(6px); pointer-events: none; }
.car-tag .ic { color: #fde68a; }
.car-count { position: absolute; right: 10px; top: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(17,24,39,.6); color: #fff; font-size: 12px; font-weight: 600; pointer-events: none; }
.car-dots { position: absolute; left: 0; right: 0; bottom: -18px; display: flex; justify-content: center; gap: 6px; }
.car-dots button { width: 7px; height: 7px; padding: 0; border: 0; border-radius: 999px; background: var(--line); transition: .2s; }
.car-dots button.on { width: 20px; background: var(--brand); }
.car-nav, .car-thumbs { display: none; }
.car.one .car-dots { display: none; }

/* Thank-you page */
.thanks { max-width: 620px; margin: 32px auto 24px; text-align: center; }
.ring { position: relative; width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; }
.ring svg { animation: wiggle 1.6s ease-in-out infinite; position: relative; z-index: 1; }
.ring i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: pulse 2.4s ease-out infinite; opacity: 0; }
.ring i:nth-child(3) { animation-delay: .8s; } .ring i:nth-child(4) { animation-delay: 1.6s; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(2.1); opacity: 0; } }
@keyframes wiggle { 0%, 60%, 100% { transform: rotate(0); } 10%, 30%, 50% { transform: rotate(-14deg); } 20%, 40% { transform: rotate(14deg); } }
.thanks h1 { margin: 0 0 10px; font-size: 23px; letter-spacing: -.02em; line-height: 1.2; }
.thanks .lead { margin: 0 0 22px; color: var(--muted); font-size: 16.5px; line-height: 1.55; }
.thanks .lead b { color: var(--ink); }
.t-order { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 12px; }
.t-order img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex: none; }
.t-no { font-size: 12.5px; color: var(--muted); font-weight: 600; } .t-no em { font-style: normal; }
.t-sum { font-size: 14px; color: var(--muted); margin-top: 2px; }
.t-facts { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; text-align: left; }
.t-facts li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; }
.t-facts .ic { color: var(--brand); }
.t-help { font-size: 14px; color: var(--muted); } .t-help a { color: var(--brand); font-weight: 700; }
.t-related { margin: 36px 0 0; } .t-related h2 { font-size: 20px; margin: 0 0 14px; }

/* Sticky order bar: phones and small tablets only. */
.sticky { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; gap: 12px; align-items: center; justify-content: space-between;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.06); transition: transform .25s; }
.sticky.off { transform: translateY(115%); }
.sticky b { display: block; font-size: 18px; line-height: 1.2; } .sticky small { color: var(--muted); font-size: 12px; }
.sticky .cta { width: auto; height: 50px; padding: 0 22px; font-size: 16px; flex: none; }
.has-sticky { padding-bottom: 84px; }

/* Search suggestions on phones: a full-width sheet under the header with big rows. */
.sugg-box { position: fixed; left: 0; right: 0; top: var(--sugg-top, 60px); max-height: calc(100dvh - var(--sugg-top, 60px)); overflow-y: auto; border-radius: 0 0 16px 16px !important; }
.sugg { min-height: 56px; }
.sugg img { width: 48px; height: 48px; }

@media (min-width: 640px) {
  .chips { margin: 0; padding: 2px 0; flex-wrap: wrap; overflow: visible; }
  .car-track { border-radius: 18px; }
  .sugg-box { position: absolute; top: calc(100% + 6px); max-height: 70vh; border-radius: 12px !important; }
  .thanks { margin-top: 48px; } .thanks h1 { font-size: 28px; }
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; }
  .steps li::before { position: static; margin-bottom: 6px; }
  .steps li::after { display: none; }
  .steps b { padding-top: 0; }
  .sticky { display: none; } .has-sticky { padding-bottom: 0; }
  body[data-page="p"] .hdr-cta { display: inline-flex !important; width: auto; height: 44px; padding: 0 18px; font-size: 15px; margin-left: 12px; flex: none; }
  /* Desktop carousel: arrows on hover, thumbnails under the frame instead of dots. */
  .car-nav { display: grid; place-items: center; position: absolute; top: calc(50% - 22px); width: 44px; height: 44px; border-radius: 50%; border: 0;
    background: rgba(255,255,255,.92); box-shadow: 0 4px 14px rgba(0,0,0,.12); cursor: pointer; opacity: 0; transition: opacity .2s; }
  .car-nav .ic { color: var(--ink); }
  .car-nav.prev { left: 12px; } .car-nav.next { right: 12px; }
  .car:hover .car-nav { opacity: 1; }
  .car.at-start .car-nav.prev, .car.at-end .car-nav.next { opacity: 0; pointer-events: none; }
  .car-dots { display: none; }
  .car-thumbs { display: flex; gap: 8px; margin-top: 10px; }
  .car-thumbs button { width: 64px; height: 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--soft); cursor: pointer; }
  .car-thumbs button.on { border-color: var(--brand); }
  .car-thumbs img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- Closed offers: gray order buttons + out-of-stock sheet (plan 9.3.4) ---------- */
.stock.out { color: #6b7280; }
.cta.off, .cta.off:hover { background: #b9bec7; color: #fff; box-shadow: none; }
.card-buy.off, .card:hover .card-buy.off { background: #eef0f3; color: #8a919c; }
.order.closed { border-color: #c9ced6; }
.order.closed .order-head { background: #8a919c; }
.order.closed .order-body .cta { width: 100%; }
.oos { position: fixed; inset: 0; z-index: 120; background: rgba(15,23,42,.55); display: grid; place-items: center; padding: 16px;
  animation: oos-in .18s ease-out; }
@keyframes oos-in { from { opacity: 0; } }
body.oos-open { overflow: hidden; }
.oos-box { position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff;
  border-radius: 20px; padding: 22px; box-shadow: 0 30px 80px rgba(15,23,42,.3); }
.oos-x { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%;
  background: var(--soft, #f4f6f9); font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); }
.oos-top { display: flex; gap: 14px; align-items: center; padding-right: 40px; }
.oos-top img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; filter: grayscale(1); opacity: .75; flex: none; }
.oos-top h2 { margin: 0 0 2px; font: 800 19px/1.25 var(--font); letter-spacing: -.01em; }
.oos-top p { margin: 0; color: var(--muted); font-size: 14px; }
.oos-lead { margin: 16px 0 10px; font-size: 15px; }
.oos-list { display: grid; gap: 8px; }
.oos-item { display: grid; grid-template-columns: 56px 1fr auto; grid-template-areas: "img name go" "img price go";
  gap: 2px 12px; align-items: center; padding: 8px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: inherit; }
.oos-item:hover { border-color: var(--cta); }
.oos-item img { grid-area: img; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; }
.oos-name { grid-area: name; font-weight: 600; font-size: 14px; line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.oos-price { grid-area: price; font-weight: 800; font-size: 14.5px; }
.oos-go { grid-area: go; background: var(--cta); color: var(--cta-ink, #fff); font-weight: 700; font-size: 13.5px; padding: 9px 14px; border-radius: 10px; }
.oos-foot { margin-top: 14px; font-size: 13.5px; color: var(--muted); text-align: center; }
.oos-foot a { color: var(--brand); font-weight: 700; }
@media (max-width: 600px) {
  .oos { place-items: end stretch; padding: 0; }
  .oos-box { width: 100%; border-radius: 20px 20px 0 0; max-height: 85vh; padding: 18px 14px calc(18px + env(safe-area-inset-bottom)); animation: oos-up .22s ease-out; }
  @keyframes oos-up { from { transform: translateY(40px); } }
}

/* ---------- Concept F layout ---------- */
/* Concept F — "Tez buyurtma" (fast order). Mobile-first, app-like: base rules are for phones (360px+);
   min-width queries add tablet (640/900px) and PC (1100px). The order form sits right under the price;
   details are in collapsible sections. Blue = brand/trust, green = the order button only. System fonts. */
:root {
  --bg: #fff; --card: #fff; --ink: #0f172a; --muted: #5b6474; --line: #e4e7ec; --soft: #f4f6f9;
  --brand: #1f4fbf; --brand-soft: #e8eefc; --cta: #14a44d; --cta-h: #0f8f42; --sale: #d92d20;
  --r: 14px; --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hh: 56px;
}
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 12px; padding-left: max(12px, env(safe-area-inset-left)); padding-right: max(12px, env(safe-area-inset-right)); }

header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 50; }
.hbar { display: flex; align-items: center; gap: 8px; height: var(--hh); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; white-space: nowrap; }
.logo i { width: 36px; height: 36px; border-radius: 11px; background: var(--brand); color: #fff; display: grid; place-items: center; font-style: normal; font-size: 17px; }
.logo b { display: none; }
.search { position: relative; flex: 1; min-width: 0; }
.search input { width: 100%; height: 40px; border-radius: 999px; border: 1.5px solid transparent; background: var(--soft); padding: 0 14px 0 38px; font: 500 16px var(--font); color: var(--ink); outline: none; -webkit-appearance: none; }
.search input:focus { border-color: var(--brand); background: #fff; }
.search svg { position: absolute; left: 13px; top: 11px; width: 18px; height: 18px; stroke: var(--muted); }
.sugg-box { background: #fff; box-shadow: 0 18px 44px rgba(15,23,42,.16); padding: 6px; }
.sugg { padding: 6px 10px; border-radius: 10px; } .sugg.on, .sugg:hover { background: var(--soft); }
.sugg img { border-radius: 10px; } .sugg .s-name { font-size: 15px; } .sugg .s-price { font-weight: 700; white-space: nowrap; font-size: 14px; }
.sugg-all { padding: 14px 10px; color: var(--brand); font-weight: 700; font-size: 15px; } .sugg-empty { padding: 16px; color: var(--muted); }
.htg { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); flex: none; }
.htg span { display: none; }

/* Home */
.promise { margin: 14px 0 4px; }
.head { margin: 18px 0 12px; display: flex; justify-content: space-between; align-items: baseline; }
.head h1, .head h2 { margin: 0; font-size: 21px; letter-spacing: -.02em; } .head span { color: var(--muted); font-size: 13.5px; }
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
.card { display: flex; flex-direction: column; gap: 6px; }
.card .img { aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--soft); position: relative; }
.card .img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card .badge { position: absolute; left: 8px; top: 8px; background: var(--sale); color: #fff; font-weight: 800; font-size: 12px; padding: 3px 8px; border-radius: 999px; }
.card h3 { margin: 0; font-size: 14px; line-height: 1.38; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 39px; }
.price { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; }
.price-now { font-weight: 800; font-size: 16px; white-space: nowrap; } .price-old { color: var(--muted); font-size: 12.5px; white-space: nowrap; } .price-off { display: none; }
.more-wrap { margin: 24px 0; }
.more { width: 100%; height: 52px; border: 0; background: var(--soft); border-radius: 999px; font: 700 15px var(--font); color: var(--ink); cursor: pointer; }
.more span { color: var(--muted); font-weight: 500; margin-left: 4px; }

/* Product (phone: full-width gallery, then title, price, the form right away, trust tiles, sections) */
.crumbs { display: none; }
.pp-img { margin: 0 -12px; }
.pp-img .car-track { background: #fff; }
.pp-info { padding-top: 24px; }
.pp-info h1 { margin: 0 0 6px; font-size: 19px; line-height: 1.3; letter-spacing: -.02em; }
.pp-meta { display: flex; gap: 12px; align-items: center; font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.pp-price { display: grid; gap: 4px; }
.pp-price .price-now { font-size: 30px; letter-spacing: -.03em; }
.pp-price .price-old { font-size: 16px; }
.pp-price .price-off { display: inline-block; background: #fdecea; color: var(--sale); font-weight: 800; font-size: 13px; padding: 3px 9px; border-radius: 999px; }
.pp-info .order { margin: 16px 0; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; }
.tiles div { display: grid; gap: 6px; align-content: start; background: var(--soft); border-radius: 14px; padding: 12px; font-size: 13px; line-height: 1.35; font-weight: 700; }
.tiles em { display: block; font-style: normal; font-weight: 400; color: var(--muted); font-size: 12px; margin-top: 2px; }
.why { margin: 4px 0 18px; padding: 0; list-style: none; display: grid; gap: 8px; }
.why li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; color: #253047; }
.why li::before { content: "✓"; color: var(--cta); font-weight: 800; }
.acc { border-top: 1px solid var(--line); }
.acc > details { border-bottom: 1px solid var(--line); }
.acc > details > summary { min-height: 58px; display: flex; align-items: center; padding: 14px 40px 14px 0; font-weight: 800; font-size: 17px; position: relative; letter-spacing: -.01em; }
.acc > details > summary::after { content: ""; position: absolute; right: 8px; top: 50%; margin-top: -7px; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: .2s; }
.acc > details[open] > summary::after { transform: rotate(-135deg); margin-top: -2px; }
.acc .in { padding: 0 0 20px; }
.article .lead { font-size: 17px; color: #1f2937; margin: 0 0 8px; font-weight: 500; line-height: 1.6; }
.article h2 { font-size: 18px; margin: 22px 0 6px; letter-spacing: -.01em; }
.article p { margin: 0 0 12px; color: #374151; line-height: 1.72; }
.facts { margin: 0; } .facts div { display: grid; grid-template-columns: 42% 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.facts dt { color: var(--muted); } .facts dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.howto { margin: 0; padding-left: 22px; color: #374151; } .howto li { margin: 8px 0; padding-left: 4px; }
.videos { margin: 0; padding-left: 20px; color: #374151; } .videos li { margin: 8px 0; }
.warnings { background: #fff8eb; border: 1px solid #f5e1b8; border-radius: 12px; padding: 14px 16px; }
.w-title { font-weight: 800; margin-bottom: 6px; color: #7a5300; } .warnings ul { margin: 0; padding-left: 18px; color: #5c4a22; font-size: 14px; } .warnings li { margin: 4px 0; }
.faq { display: grid; gap: 6px; }
.faq details { background: var(--soft); border-radius: 12px; }
.faq summary { padding: 13px 16px; font-weight: 700; font-size: 15px; min-height: 50px; display: flex; align-items: center; }
.faq-a { padding: 0 16px 12px; color: #374151; font-size: 15px; } .faq-a p { margin: 0 0 8px; }
.howbuy { margin: 32px 0 0; } .howbuy h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }
.rel { margin-top: 32px; } .rel h2 { margin: 0 0 14px; font-size: 20px; letter-spacing: -.02em; }
.rel .row { display: grid; grid-auto-flow: column; grid-auto-columns: 44%; gap: 10px; overflow-x: auto; padding: 0 12px 6px; margin: 0 -12px; scroll-snap-type: x mandatory; scroll-padding: 0 12px; scrollbar-width: none; }
.rel .row::-webkit-scrollbar { display: none; }
.rel .card { scroll-snap-align: start; }
.hub { margin: 16px 0 4px; } .hub h1 { margin: 0 0 6px; font-size: 22px; letter-spacing: -.02em; line-height: 1.25; }
.hub p { margin: 0; max-width: 760px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.results-head { margin: 18px 0 12px; } .results-head h1 { margin: 0; font-size: 22px; } .results-head p { margin: 4px 0 0; color: var(--muted); }
.empty { background: var(--soft); border-radius: 18px; padding: 40px 20px; text-align: center; color: var(--muted); }
footer { margin-top: 44px; border-top: 1px solid var(--line); background: var(--soft); padding: 26px 0 36px; font-size: 14px; color: var(--muted); }
footer .wrap { display: grid; gap: 12px; }
footer .contact a { color: var(--brand); }

/* Tablet */
@media (min-width: 640px) {
  .wrap { padding-left: 18px; padding-right: 18px; }
  :root { --hh: 64px; }
  .hbar { gap: 20px; } .logo b { display: inline; }
  .search { max-width: 560px; } .search input { height: 44px; border-color: var(--line); }
  .htg { margin-left: auto; width: auto; height: auto; background: none; gap: 8px; display: inline-flex; font-weight: 700; font-size: 14px; color: var(--brand); white-space: nowrap; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 14px; }
  .card h3 { font-size: 14.5px; } .price-now { font-size: 17px; }
  .more-wrap { text-align: center; } .more { width: auto; padding: 0 28px; }
  .crumbs { display: block; font-size: 13px; color: var(--muted); padding: 14px 0; } .crumbs a:hover { color: var(--brand); }
  .pp-img { margin: 0; }
  .pp-info h1 { font-size: 25px; }
  .tiles div { grid-template-columns: 22px 1fr; font-size: 13.5px; }
  .rel .row { grid-auto-columns: 28%; margin: 0; padding: 0 0 6px; }
}
/* Tablet landscape / small PC: two-column product page */
@media (min-width: 768px) {
  .pp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; align-items: start; }
  .pp-img { position: sticky; top: calc(var(--hh) + 16px); }
  .pp-info { padding-top: 0; }
}
/* PC */
@media (min-width: 900px) {
  .htg span { display: inline; }
  .promise .chips { display: grid; grid-template-columns: repeat(5, 1fr); }
  .promise .chips > * { border-radius: 12px; white-space: normal; background: var(--soft); border-color: transparent; padding: 12px 14px; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card:hover .img img { transform: scale(1.03); }
  .pp { gap: 40px; }
  .pp-info h1 { font-size: 27px; }
  .pp-price .price-now { font-size: 36px; }
  .rel .row { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }
}
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .rel .row { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* ---------- Real-site additions (not in the concept) ---------- */
html { scroll-padding-top: calc(var(--hh) + 12px); }
.search { margin: 0; }
.langs { position: relative; flex: none; }
.langs summary { height: 40px; min-width: 40px; padding: 0 10px; border-radius: 999px; background: var(--soft); display: grid; place-items: center;
  font-weight: 800; font-size: 13px; cursor: pointer; list-style: none; }
.langs summary::-webkit-details-marker { display: none; }
.langs-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 80; background: #fff; border-radius: 12px; padding: 6px; min-width: 150px;
  box-shadow: 0 18px 44px rgba(15,23,42,.16); display: grid; }
.langs-menu a { padding: 10px 12px; border-radius: 8px; font-weight: 600; font-size: 14.5px; }
.langs-menu a:hover, .langs-menu a.on { background: var(--soft); }
.langs-menu a.on { color: var(--brand); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.ts:empty { display: none; }
.ts { margin: 4px 0 8px; }
.form-msg { border-radius: 12px; padding: 12px 14px; font-size: 14.5px; line-height: 1.45; background: #fff8eb; border: 1px solid #f5e1b8; color: #5c4a22; }
.form-msg.ok { background: var(--brand-soft); border-color: transparent; color: var(--ink); }
.form-msg a { color: var(--brand); font-weight: 700; }
.article ul { margin: 0 0 14px; padding-left: 20px; color: #374151; } .article li { margin: 6px 0; }
.f-team { color: var(--ink); }
.f-langs { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13.5px; }
.f-langs a[aria-current] { color: var(--ink); font-weight: 700; }
.nf { margin: 32px 0; } .nf h1 { margin: 0 0 8px; color: var(--ink); font-size: 22px; }
.nf-cta { width: auto; height: 48px; padding: 0 22px; font-size: 16px; margin-top: 6px; }
.t-order[hidden] { display: none; }
.lightbox img { background: #fff; }
