/* SHDR Parts — oq-qizil, toza va havodor dizayn (19.10.2026) */
:root {
  --red: #e3000f;
  --red-2: #ff3b3b;
  --red-dark: #b5000c;
  --red-soft: #fff0f0;
  --red-soft-2: #ffe1e1;
  --bg: #f5f5f7;
  --card: #ffffff;
  --line: #e8e8ee;
  --line-2: #d9d9e1;
  --text: #15161a;
  --text-2: #3d3f47;
  --muted: #6f737f;
  --ok: #15803d;
  --ok-soft: #e7f7ec;
  --warn: #c2410c;
  --warn-soft: #fff4e5;
  --ink: #15161a;
  --r: 16px;
  --r-lg: 22px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 22, 30, .05), 0 2px 8px rgba(20, 22, 30, .05);
  --shadow-md: 0 6px 20px -6px rgba(20, 22, 30, .14);
  --shadow-lg: 0 20px 44px -16px rgba(20, 22, 30, .22);
  --shadow-red: 0 10px 24px -8px rgba(227, 0, 15, .45);
  --header-h: 76px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; font-family: Manrope, Inter, system-ui, "Segoe UI", Roboto, sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; line-height: 1.45; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
.wrap { max-width: 1320px; margin: 0 auto; padding: 0 20px; }
.section { padding-top: 28px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-title { font-size: clamp(1.25rem, 2.2vw, 1.6rem); font-weight: 800; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.section-title small, .page-title small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.section-link { font-weight: 700; color: var(--red); font-size: .92rem; white-space: nowrap; }
.section-link:hover { text-decoration: underline; }
.page-title { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; margin: 6px 0 18px; }
.lead { color: var(--muted); font-size: 1.05rem; margin: -8px 0 24px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
.accent { color: var(--red); }
.tag { background: var(--red); color: #fff; font-size: .8rem; padding: 3px 10px; border-radius: 999px; font-weight: 700; }
.tag.gray { background: var(--line); color: var(--text-2); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 14px; height: var(--header-h); }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 44px; display: block; }
.catalog-wrap { position: relative; }
.btn-catalog { display: inline-flex; align-items: center; gap: 10px; background: var(--red); color: #fff; border: 0; border-radius: 12px; padding: 0 18px; height: 46px; font-weight: 800; font-size: .95rem; box-shadow: var(--shadow-red); transition: background .2s, transform .15s; white-space: nowrap; }
.btn-catalog:hover, .btn-catalog[aria-expanded="true"] { background: var(--red-dark); }
.btn-catalog:active { transform: scale(.97); }
.burger { display: grid; gap: 3px; width: 16px; }
.burger i { height: 2px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.btn-catalog[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.btn-catalog[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.btn-catalog[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
.catalog-menu { position: absolute; top: calc(100% + 12px); left: 0; width: 720px; max-width: calc(100vw - 40px); background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 12px; z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; animation: menuIn .18s ease-out; }
.catalog-menu[hidden] { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }
.catalog-menu a { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; font-weight: 600; font-size: .93rem; transition: background .15s; }
.catalog-menu a:hover { background: var(--red-soft); color: var(--red); }
.catalog-menu img { width: 44px; height: 44px; object-fit: cover; border-radius: 10px; background: var(--bg); flex-shrink: 0; }
.catalog-menu span { flex: 1; }
.catalog-menu em { font-style: normal; color: var(--muted); font-size: .8rem; font-weight: 600; }
.search { flex: 1; display: flex; height: 46px; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; transition: border-color .2s, box-shadow .2s; min-width: 0; }
.search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 0, 15, .1); }
.search input { flex: 1; border: 0; padding: 0 16px; font: inherit; outline: none; min-width: 0; background: transparent; color: var(--text); }
.search input::placeholder { color: #9a9ca7; }
.search button { width: 56px; border: 0; background: transparent; color: var(--text-2); display: grid; place-items: center; transition: color .2s; }
.search button:hover { color: var(--red); }
.header-phone { display: flex; flex-direction: column; line-height: 1.15; padding: 0 6px; }
.header-phone b { font-size: .98rem; font-weight: 800; white-space: nowrap; }
.header-phone small { font-size: .74rem; color: var(--muted); font-weight: 600; }
.langs { display: flex; background: var(--bg); border-radius: 10px; padding: 3px; gap: 2px; flex-shrink: 0; }
.langs a { padding: 6px 10px; border-radius: 8px; font-size: .8rem; font-weight: 700; color: var(--muted); }
.langs a.on { background: #fff; color: var(--text); box-shadow: var(--shadow); }
.cart-link { display: inline-flex; align-items: center; gap: 10px; padding: 0 16px 0 14px; height: 46px; border-radius: 12px; font-weight: 800; background: var(--red-soft); color: var(--red); transition: background .2s; flex-shrink: 0; }
.cart-link:hover { background: var(--red-soft-2); }
.cart-icon { position: relative; display: grid; }
.badge { position: absolute; top: -9px; right: -11px; background: var(--red); color: #fff; border-radius: 999px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; font-size: .7rem; font-weight: 800; border: 2px solid #fff; }
.cart-link.bump .cart-icon { animation: bump .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes bump { 40% { transform: scale(1.25) rotate(-8deg); } }
.catbar { border-top: 1px solid var(--line); background: #fff; }
.catbar-inner { display: flex; gap: 6px; overflow-x: auto; height: 46px; align-items: center; scrollbar-width: none; font-size: .88rem; font-weight: 600; color: var(--text-2); }
.catbar-inner::-webkit-scrollbar { display: none; }
.catbar a { white-space: nowrap; padding: 7px 12px; border-radius: 999px; transition: background .15s, color .15s; }
.catbar a:hover { background: var(--bg); color: var(--text); }
.catbar a.on { background: var(--red); color: #fff; }
.catbar a.more { color: var(--red); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--red); color: #fff; border: 0; border-radius: 12px; padding: 13px 22px; font-weight: 800; font-size: .95rem; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: var(--shadow-red); }
.btn:hover { background: var(--red-dark); }
.btn:active { transform: scale(.98); }
.btn:disabled { background: #cfd1d8; box-shadow: none; cursor: not-allowed; }
.btn-outline { background: #fff; color: var(--red); border: 1.5px solid var(--red); box-shadow: none; }
.btn-outline:hover { background: var(--red-soft); }
.btn-soft { background: var(--red-soft); color: var(--red); box-shadow: none; }
.btn-soft:hover { background: var(--red); color: #fff; }
.btn-white { background: #fff; color: var(--red); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .35); }
.btn-white:hover { background: #fff5f5; }
.btn-dark { background: var(--ink); box-shadow: none; }
.btn-dark:hover { background: #000; }
.btn-big { width: 100%; padding: 16px; font-size: 1.02rem; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; padding-top: 20px; }
.slider { position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 380px; background: var(--red); box-shadow: var(--shadow-md); }
.slides { display: flex; height: 100%; transition: transform .6s cubic-bezier(.4, 0, .2, 1); touch-action: pan-y; }
.slides.dragging { transition: none; }
.slide { flex: 0 0 100%; position: relative; min-height: 380px; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; overflow: hidden; color: #fff;
  background: radial-gradient(800px 420px at 90% 30%, #ff4b4b 0%, transparent 60%), linear-gradient(115deg, #c40010 0%, var(--red) 55%, #ff2e2e 100%); }
.slide::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(100deg, #000 10%, transparent 60%); -webkit-mask-image: linear-gradient(100deg, #000 10%, transparent 60%); pointer-events: none; }
.slide.light { color: var(--text); background: radial-gradient(700px 400px at 95% 20%, #ffe3e3 0%, transparent 60%), linear-gradient(115deg, #ffffff 0%, #fff6f6 60%, #ffeaea 100%); }
.slide.light::before { background-image: radial-gradient(rgba(227, 0, 15, .12) 1px, transparent 1px); }
.slide-text { position: relative; z-index: 2; padding: 40px 44px; }
.slide-kicker { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; background: rgba(255, 255, 255, .18); padding: 6px 12px; border-radius: 999px; margin-bottom: 16px; }
.slide.light .slide-kicker { background: var(--red-soft-2); color: var(--red); }
.slide h1, .slide h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 800; line-height: 1.08; margin-bottom: 14px; }
.slide p { font-size: 1.02rem; opacity: .92; line-height: 1.5; margin: 0 0 24px; max-width: 460px; }
.slide .btn-white { padding: 14px 26px; }
.slide.light .btn-white { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.slide.light .btn-white:hover { background: var(--red-dark); }
.slide-art { position: relative; z-index: 1; height: 100%; min-height: 320px; }
.collage { position: absolute; inset: 0; }
.collage img { position: absolute; object-fit: cover; background: #fff; border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .45), 0 0 0 6px rgba(255, 255, 255, .5); }
.slide.light .collage img { box-shadow: 0 30px 50px -24px rgba(227, 0, 15, .35), 0 0 0 1px var(--line); }
.collage .c1 { width: 56%; aspect-ratio: 1; right: 14%; top: 50%; transform: translateY(-50%) rotate(-3deg); z-index: 2; }
.collage .c2 { width: 30%; aspect-ratio: 1; right: 4%; top: 10%; transform: rotate(6deg); z-index: 1; }
.collage .c3 { width: 30%; aspect-ratio: 1; right: 64%; bottom: 8%; transform: rotate(-8deg); z-index: 3; }
.collage.one .c1 { width: 62%; right: 18%; }
.slider-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--text); font-size: 1.5rem; line-height: 1; box-shadow: var(--shadow-md); opacity: 0; transition: opacity .2s; display: grid; place-items: center; }
.slider:hover .slider-btn { opacity: 1; }
.slider-btn.prev { left: 16px; } .slider-btn.next { right: 16px; }
.dots { position: absolute; left: 44px; bottom: 20px; display: flex; gap: 6px; z-index: 3; }
.dots button { width: 8px; height: 8px; border-radius: 99px; border: 0; background: rgba(0, 0, 0, .25); padding: 0; transition: width .3s, background .3s; }
.dots button.on { width: 26px; background: var(--red); }
.slider.on-red .dots button { background: rgba(255, 255, 255, .5); }
.slider.on-red .dots button.on { background: #fff; }
.promos { display: grid; grid-template-rows: 1fr 1fr 1fr; gap: 12px; }
.promo { display: flex; align-items: center; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.promo:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--red-soft-2); }
.promo-icon { width: 48px; height: 48px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.promo b { display: block; font-weight: 800; font-size: .98rem; }
.promo span { font-size: .82rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 2px; }

/* ---------- Categories ---------- */
.cat-row { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none; scroll-snap-type: x proximity; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-tile { flex: 0 0 auto; width: 136px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 14px 10px 12px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; scroll-snap-align: start; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--red-soft-2); }
.cat-img { width: 84px; height: 84px; border-radius: 20px; overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-size: .84rem; font-weight: 700; line-height: 1.25; }
.cat-cnt { font-size: .74rem; color: var(--muted); font-weight: 600; margin-top: -6px; }

/* ---------- Chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; font-size: .88rem; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { border-color: var(--red); color: var(--red); }
.chip.on { background: var(--red); color: #fff; border-color: var(--red); }

/* ---------- Product rows (home) ---------- */
.row-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 5 * 14px) / 6); gap: 14px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; scroll-snap-type: x proximity; }
.row-scroll::-webkit-scrollbar { display: none; }
.row-scroll .card { scroll-snap-align: start; }

/* ---------- Catalog ---------- */
.catalog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 14px; }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.crumbs a:hover { color: var(--red); }
.sort label { font-size: .88rem; color: var(--muted); display: flex; gap: 8px; align-items: center; font-weight: 600; }
.sort select { font: inherit; font-weight: 700; padding: 9px 36px 9px 14px; border-radius: 10px; border: 1.5px solid var(--line-2); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236f737f' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 14px center; color: var(--text); appearance: none; -webkit-appearance: none; }
.grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s, transform .25s, border-color .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #fafafb; display: grid; place-items: center; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.06); }
.noimg { font-weight: 800; font-style: italic; color: #d8d9e0; font-size: 1.8rem; letter-spacing: .02em; }
.badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; z-index: 2; }
.b { font-size: .7rem; font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: .02em; text-transform: uppercase; }
.b-new { background: var(--ok); color: #fff; }
.b-hit { background: var(--red); color: #fff; }
.card-body { padding: 12px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-code { font-size: .74rem; color: var(--muted); font-weight: 700; letter-spacing: .02em; }
.card-title { font-size: .9rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; color: var(--text); }
.card-title:hover { color: var(--red); }
.card-models { display: flex; flex-wrap: wrap; gap: 4px; min-height: 20px; }
.card-models span { font-size: .7rem; background: var(--bg); color: var(--text-2); padding: 2px 7px; border-radius: 6px; font-weight: 700; }
.price-box { margin-top: auto; padding-top: 6px; display: flex; flex-direction: column; gap: 1px; }
.price { font-size: 1.08rem; font-weight: 800; letter-spacing: -.01em; white-space: nowrap; }
.price-usd { font-size: .78rem; color: var(--muted); font-weight: 600; }
.card-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.stock { font-size: .76rem; color: var(--ok); font-weight: 700; display: inline-flex; align-items: center; gap: 5px; }
.stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock.out { color: var(--muted); }
.btn-cart { flex: 1; height: 40px; border-radius: 10px; border: 0; background: var(--red-soft); color: var(--red); font-weight: 800; font-size: .86rem; display: inline-flex; align-items: center; justify-content: center; gap: 7px; transition: background .2s, color .2s; }
.btn-cart:hover { background: var(--red); color: #fff; }
.btn-cart.done { background: var(--ok); color: #fff; animation: bump .4s; }
.btn-cart svg { flex-shrink: 0; }
.empty { text-align: center; padding: 60px 16px; color: var(--muted); background: var(--card); border: 1px dashed var(--line-2); border-radius: var(--r-lg); }
.empty h2 { color: var(--text); margin-bottom: 6px; font-size: 1.25rem; }
.empty .btn { margin-top: 18px; }
.empty-icon { width: 72px; height: 72px; margin: 0 auto 14px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; }
.fly { position: fixed; z-index: 100; width: 60px; height: 60px; border-radius: 14px; background: #fff center/cover no-repeat; box-shadow: 0 10px 30px rgba(227, 0, 15, .45); pointer-events: none; transition: transform .7s cubic-bezier(.5, -0.3, .7, 1), opacity .7s; }

/* ---------- Pager ---------- */
.pager { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin: 28px 0 8px; }
.pager .pg { min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); font-weight: 700; }
.pager .pg:hover { border-color: var(--red); color: var(--red); }
.pager .pg.on { background: var(--red); border-color: var(--red); color: #fff; }
.pager .dots { border: 0; background: transparent; color: var(--muted); font-weight: 400; }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.pdp-gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp-img { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); cursor: zoom-in; display: grid; place-items: center; position: relative; touch-action: pan-y; }
.pdp-img img { width: 100%; height: 100%; object-fit: contain; transition: transform .2s; }
.pdp-img .noimg { font-size: 3rem; }
.pdp-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .95); box-shadow: var(--shadow-md); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--text); z-index: 2; display: grid; place-items: center; }
.pdp-nav.prev { left: 12px; } .pdp-nav.next { right: 12px; }
.pdp-count { position: absolute; right: 14px; bottom: 14px; padding: 4px 11px; border-radius: 999px; background: rgba(21, 22, 26, .7); color: #fff; font-size: .78rem; font-weight: 700; z-index: 2; }
.pdp-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.pdp-thumb { flex: 0 0 76px; height: 76px; padding: 0; border: 2px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; cursor: pointer; transition: border-color .2s; }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp-thumb.active { border-color: var(--red); }
.pdp-info { display: flex; flex-direction: column; gap: 18px; }
.pdp-info h1 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); font-weight: 800; line-height: 1.22; }
.pdp-info h3 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 10px; font-weight: 800; }
.pdp-desc { line-height: 1.7; color: var(--text-2); white-space: pre-line; }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; margin: 0; font-size: .93rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; }
.specs dt { color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; font-weight: 700; }
.specs a { color: var(--red); }
.buybox { position: sticky; top: calc(var(--header-h) + 20px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.price.big { font-size: 1.9rem; }
.buybox .price-usd { font-size: .9rem; margin-top: -10px; }
.qty-label { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: .92rem; }
.perks { list-style: none; padding: 14px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .86rem; color: var(--text-2); }
.perks li { display: flex; gap: 10px; align-items: flex-start; }
.perks svg { flex-shrink: 0; color: var(--red); margin-top: 1px; }
.section-inner { margin-top: 44px; }

/* ---------- Qty ---------- */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.qty button { width: 40px; height: 40px; border: 0; background: #fff; font-size: 1.2rem; color: var(--text); font-weight: 700; }
.qty button:hover { background: var(--red-soft); color: var(--red); }
.qty input { width: 48px; height: 40px; text-align: center; border: 0; font: inherit; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* ---------- Cart / checkout ---------- */
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 20px; align-items: start; }
.cart-left { display: grid; gap: 20px; }
.cart-list { padding: 6px 20px; }
.cart-row { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); animation: rowIn .3s ease both; }
.cart-row:last-child { border-bottom: 0; }
@keyframes rowIn { from { opacity: 0; transform: translateY(6px); } }
.cart-thumb { width: 88px; height: 88px; border-radius: 14px; background: #fafafb center/cover no-repeat; display: block; border: 1px solid var(--line); }
.cart-name a { font-weight: 700; line-height: 1.35; }
.cart-name a:hover { color: var(--red); }
.cart-code { font-size: .76rem; color: var(--muted); font-weight: 700; margin-top: 2px; }
.cart-controls { display: flex; align-items: center; gap: 16px; margin-top: 10px; flex-wrap: wrap; }
.remove { border: 0; background: none; color: var(--muted); font-size: .86rem; font-weight: 600; display: flex; align-items: center; gap: 5px; padding: 0; }
.remove:hover { color: var(--red); }
.line-sum { font-weight: 800; font-size: 1.02rem; text-align: right; white-space: nowrap; }
.line-sum small { display: block; font-weight: 600; font-size: .76rem; color: var(--muted); }
.checkout { padding: 24px; display: flex; flex-direction: column; gap: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.checkout.narrow { position: static; max-width: 640px; margin: 0 auto; }
.checkout h1 { font-size: 1.4rem; }
.checkout h2 { font-size: 1.25rem; font-weight: 800; }
.sum-row { display: flex; justify-content: space-between; color: var(--muted); font-weight: 600; font-size: .92rem; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 14px; }
.sum-total strong { font-size: 1.5rem; font-weight: 800; }
.sum-usd { text-align: right; color: var(--muted); font-size: .84rem; font-weight: 600; margin-top: -8px; }
.steps { display: grid; gap: 22px; padding: 24px; }
.step { display: grid; gap: 12px; }
.step-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.02rem; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: .8rem; display: grid; place-items: center; flex-shrink: 0; }
.step-hint { font-size: .84rem; color: var(--muted); margin-top: -6px; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.choice input { position: absolute; opacity: 0; width: 0; height: 0; }
.choice:hover { border-color: #b9bcc8; }
.choice:has(input:checked) { border-color: var(--red); background: var(--red-soft); box-shadow: 0 0 0 3px rgba(227, 0, 15, .08); }
.choice-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); color: var(--text-2); display: grid; place-items: center; flex-shrink: 0; }
.choice:has(input:checked) .choice-icon { background: var(--red); color: #fff; }
.choice b { display: block; font-size: .95rem; font-weight: 800; }
.choice span { display: block; font-size: .8rem; color: var(--muted); line-height: 1.35; }
.choice-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-2); flex-shrink: 0; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #fff; line-height: 1; }
.choice:has(input:checked) .choice-check { border-color: var(--red); background: var(--red); }
.choice:has(input:checked) .choice-check::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.branch-grid .choice { align-items: flex-start; }
.branch-grid .choice-check { margin: 2px 0 0 auto; }
.fields { display: grid; gap: 12px; }
.fields label, .checkout label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 700; color: var(--text-2); }
.fields label.check, .checkout label.check { flex-direction: row; align-items: center; gap: 10px; }
.fields label.check input, .checkout label.check input { width: auto; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fields input:not([type=radio]):not([type=checkbox]), .fields textarea, .checkout input:not([type=radio]):not([type=checkbox]), .checkout textarea { padding: 13px 14px; border: 1.5px solid var(--line-2); border-radius: 12px; background: #fff; color: var(--text); width: 100%; transition: border-color .2s, box-shadow .2s; font-weight: 500; }
.fields input:focus, .fields textarea:focus, .checkout input:focus, .checkout textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227, 0, 15, .1); }
.fields textarea { resize: vertical; min-height: 72px; }
.pay { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.pay-opt { display: flex; flex-direction: row !important; align-items: center; gap: 12px !important; padding: 12px 14px; border: 1.5px solid var(--line-2); border-radius: 14px; cursor: pointer; font-size: .9rem !important; color: var(--text) !important; transition: border-color .2s, background .2s; background: #fff; }
.pay-opt:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.pay-opt input { accent-color: var(--red); width: 18px; height: 18px; flex-shrink: 0; }
.pay-opt.soon { opacity: .6; cursor: not-allowed; }
.pay-opt.soon .pill { margin-left: auto; }
.pay-logo { min-width: 66px; height: 30px; display: grid; place-items: center; border-radius: 8px; font-weight: 800; font-size: .8rem; background: #fff; border: 1px solid var(--line); flex-shrink: 0; }
.pay-click { color: #fff; background: #0073ff; border-color: #0073ff; letter-spacing: .5px; }
.pay-payme { color: #00b8c8; font-size: .95rem; }
.error { background: var(--red-soft); color: var(--red-dark); padding: 12px 14px; border-radius: 12px; font-size: .9rem; font-weight: 600; }
.note { font-size: .82rem; color: var(--muted); line-height: 1.45; }
.note a { color: var(--red); text-decoration: underline; }
.thumb { max-width: 160px; border-radius: 12px; }
.thumbs-edit { display: flex; flex-wrap: wrap; gap: 14px; }
.thumb-edit { display: grid; gap: 4px; }
.thumb-edit .thumb { width: 120px; height: 120px; object-fit: cover; }

/* ---------- Success ---------- */
.success { max-width: 560px; margin: 16px auto; text-align: center; padding: 44px 28px; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.success h1 { font-size: 1.6rem; font-weight: 800; }
.success .btn { min-width: 240px; }
.success-badge { width: 92px; height: 92px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--ok); box-shadow: 0 0 0 12px var(--ok-soft); animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); margin-bottom: 10px; }
@keyframes pop { from { transform: scale(.3); opacity: 0; } }
.success-info { display: grid; gap: 6px; background: var(--bg); border-radius: var(--r); padding: 14px 18px; width: 100%; font-size: .95rem; }
.success-info div { display: flex; justify-content: space-between; gap: 12px; }
.success-info span { color: var(--muted); }
.paid-ok { color: var(--ok); font-weight: 700; }
.pay-btn.pay-click { background: #0073ff; box-shadow: none; }
.pay-btn.pay-payme { background: #00b8c8; box-shadow: none; }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 14px; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); z-index: 90; font-size: .92rem; font-weight: 600; box-shadow: var(--shadow-lg); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Floating Telegram ---------- */
.float-tg { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 18px 0 14px; border-radius: 999px; background: #229ed9; color: #fff; font-weight: 800; font-size: .9rem; box-shadow: 0 12px 28px -8px rgba(34, 158, 217, .6); transition: transform .2s; }
.float-tg:hover { transform: translateY(-2px); }

.float-tg { border: 0; font-family: inherit; cursor: pointer; }
.tg-send { background: #229ed9; box-shadow: 0 10px 24px -8px rgba(34, 158, 217, .55); }
.tg-send:hover { background: #1b86b8; }

/* ---------- Telegram filial oynasi ---------- */
.sheet-back { position: fixed; inset: 0; z-index: 95; background: rgba(21, 22, 26, .5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); display: grid; place-items: center; padding: 16px; animation: fadeIn .2s; }
@keyframes fadeIn { from { opacity: 0; } }
.sheet { width: 100%; max-width: 460px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 20px; animation: sheetIn .25s cubic-bezier(.2, .9, .3, 1.1); }
@keyframes sheetIn { from { transform: translateY(24px); opacity: 0; } }
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.sheet-head h3 { font-size: 1.15rem; margin-bottom: 2px; }
.sheet-close { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1.4rem; line-height: 1; color: var(--text-2); flex-shrink: 0; }
.sheet-close:hover { background: var(--red-soft); color: var(--red); }
.tg-list { display: grid; gap: 8px; }
.tg-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; transition: border-color .15s, background .15s; }
.tg-item:hover { border-color: #229ed9; background: #f2f9fd; }
.tg-item.chosen { border-color: var(--red); background: var(--red-soft); }
.tg-item > span:nth-child(2) { flex: 1; min-width: 0; }
.tg-item b { display: block; font-size: .95rem; }
.tg-item small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-item .pill { background: var(--red); color: #fff; flex-shrink: 0; }
.tg-ava { width: 40px; height: 40px; border-radius: 50%; background: #229ed9; color: #fff; display: grid; place-items: center; font-weight: 800; flex-shrink: 0; }
.tg-general .tg-ava { background: var(--ink); }

/* ---------- Bottom nav (telefon) ---------- */
.bottom-nav { display: none; }

/* ---------- Admin ---------- */
.admin-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.admin-actions { display: flex; gap: 10px; }
.table-wrap { overflow-x: auto; margin-bottom: 32px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-weight: 600; }
td a { color: var(--red); }
.mini { width: 44px; height: 44px; object-fit: cover; border-radius: 8px; display: block; }
.nowrap { white-space: nowrap; }
.inline { display: inline; }
.link-btn { background: none; border: 0; color: var(--red); padding: 0 4px; }
.orders { display: grid; gap: 12px; margin-bottom: 32px; }
.order-card { padding: 14px 18px; line-height: 1.65; }
.order-card ul { margin: 6px 0; padding-left: 20px; }
.pill { display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--bg); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }
.pill.wait { background: var(--warn-soft); color: var(--warn); }
.pill.bad { background: var(--red-soft); color: var(--red); }
.ok { color: var(--ok); font-weight: 700; }
.warn { color: var(--warn); font-weight: 700; }

/* ---------- Biz haqimizda / Filiallar / Oferta ---------- */
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.about-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.about-card h2 { margin: 0 0 10px; font-size: 1.2rem; }
.about-card p { color: var(--text-2); line-height: 1.65; margin: 0 0 12px; }
.adv-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 20px 0; }
.adv { display: flex; align-items: center; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; font-size: .95rem; font-weight: 700; }
.adv-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin: 8px 0 10px; }
.stat { background: linear-gradient(135deg, var(--red), #ff3b3b); color: #fff; border-radius: var(--r); padding: 22px 20px; text-align: center; box-shadow: var(--shadow-red); }
.stat b { display: block; font-size: 2rem; line-height: 1.1; font-weight: 800; }
.stat span { font-size: .84rem; opacity: .92; font-weight: 600; }
.news-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.news { display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.news:hover { border-color: var(--red); }
.news-play { width: 38px; height: 38px; border-radius: 50%; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.news small { color: var(--muted); }
.branch-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 14px; }
.branch { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.branch.main { border-color: var(--red); box-shadow: 0 10px 30px -14px rgba(227, 0, 15, .3); }
.branch h2 { margin: 0 0 4px; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.branch-addr, .branch-hours { color: var(--text-2); margin: 0; line-height: 1.5; font-size: .93rem; display: flex; gap: 8px; }
.branch-phones { display: flex; flex-direction: column; gap: 4px; margin: 6px 0; }
.branch-phones a { color: var(--text); font-weight: 800; }
.branch-phones a:hover { color: var(--red); }
.branch-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.branch-links a { font-size: .82rem; font-weight: 700; padding: 7px 13px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--text-2); }
.branch-links a:hover { border-color: var(--red); color: var(--red); }
.branch.wh { background: #fafafb; }
.contact-box { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.contact-box h2 { margin: 0 0 12px; font-size: 1.2rem; }
.contact-box p { margin: 0 0 8px; color: var(--text-2); }
.contact-box a { color: var(--red); font-weight: 700; }
.group-title { font-size: 1.2rem; margin: 28px 0 14px; }
.doc { max-width: 860px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 36px; line-height: 1.7; color: var(--text-2); }
.doc h2 { font-size: 1.15rem; color: var(--text); margin: 28px 0 10px; }
.doc h2:first-child { margin-top: 0; }
.doc p, .doc li { margin: 0 0 8px; }
.doc ul { padding-left: 22px; margin: 0 0 10px; }
.doc table { font-size: .93rem; margin: 8px 0 14px; }
.doc td:first-child { color: var(--muted); width: 220px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #b9bcc8; margin-top: 64px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-top: 44px; padding-bottom: 28px; }
.footer h4 { color: #fff; margin: 0 0 14px; font-size: .95rem; }
.footer a { display: block; padding: 4px 0; font-size: .92rem; }
.footer a:hover { color: #fff; }
.footer p { margin: 8px 0; font-size: .9rem; line-height: 1.55; }
.footer-logo { height: 40px; margin-bottom: 10px; }
.footer-phone { color: #fff !important; font-weight: 800; font-size: 1.1rem !important; }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.pay-row span { background: #fff; color: var(--ink); font-size: .74rem; font-weight: 800; padding: 6px 10px; border-radius: 8px; }
.pay-row .pc { background: #0073ff; color: #fff; }
.pay-row .pp { color: #00b8c8; }
.copy { border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; padding-bottom: 22px; font-size: .82rem; color: #8b8e99; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .row-scroll { grid-auto-columns: calc((100% - 4 * 14px) / 5); }
  .pdp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .buybox { grid-column: 1 / -1; position: static; }
  .pdp-gallery { position: static; }
  .header-phone { display: none; }
}
@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; }
  .promos { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .row-scroll { grid-auto-columns: calc((100% - 3 * 14px) / 4); }
  .cart-layout { grid-template-columns: 1fr; }
  .checkout { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .catalog-menu { grid-template-columns: 1fr; width: 360px; }
}
@media (max-width: 640px) {
  :root { --header-h: 158px; }
  body { padding-bottom: 68px; }
  .wrap { padding: 0 14px; }
  .section { padding-top: 22px; }
  .header-inner { flex-wrap: wrap; height: auto; padding: 10px 0; gap: 10px; }
  .logo img { height: 34px; }
  .catalog-wrap { order: 3; }
  .btn-catalog { height: 42px; padding: 0 14px; font-size: .88rem; }
  .btn-catalog .burger { width: 14px; }
  .search { order: 4; flex-basis: 100%; height: 44px; }
  .langs { margin-left: auto; order: 2; }
  .cart-link { display: none; }
  .catalog-wrap { position: static; }
  .catalog-menu { position: fixed; left: 14px; right: 14px; top: calc(var(--header-h) - 44px); width: auto; max-width: none; max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto; }
  .catbar-inner { height: 42px; }
  .hero { padding-top: 12px; gap: 12px; }
  .slider, .slide { min-height: 440px; }
  .slide { grid-template-columns: 1fr; align-content: start; }
  .slide-text { padding: 24px 20px 0; }
  .slide h1, .slide h2 { font-size: 1.55rem; }
  .slide p { font-size: .92rem; margin-bottom: 16px; }
  .slide-art { min-height: 190px; margin-top: 10px; }
  .collage .c1 { width: 44%; right: 28%; top: 44%; }
  .collage .c2 { width: 26%; right: 6%; top: 8%; }
  .collage .c3 { width: 26%; right: 70%; bottom: 12%; }
  .dots { left: 20px; bottom: 14px; }
  .promos { grid-template-columns: 1fr; gap: 8px; }
  .promo { padding: 12px 14px; }
  .promo-icon { width: 40px; height: 40px; }
  .cat-tile { width: 108px; padding: 12px 8px 10px; }
  .cat-img { width: 64px; height: 64px; border-radius: 16px; }
  .cat-name { font-size: .78rem; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .row-scroll { grid-auto-columns: calc((100% - 10px) / 2.2); gap: 10px; }
  .card-body { padding: 10px; }
  .card-title { font-size: .84rem; }
  .price { font-size: 1rem; }
  .btn-cart { height: 38px; font-size: .82rem; }
  .btn-cart span { display: none; }
  .catalog-head { align-items: flex-start; flex-direction: column; }
  .pdp { grid-template-columns: 1fr; gap: 18px; }
  .pdp-img { border-radius: var(--r); }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-thumb { width: 72px; height: 72px; }
  .line-sum { grid-column: 2; text-align: left; }
  .choice-grid { grid-template-columns: 1fr; }
  .branch-grid { grid-template-columns: 1fr; }
  .two { grid-template-columns: 1fr; }
  .steps, .checkout { padding: 18px; }
  .doc { padding: 22px 18px; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; padding-top: 32px; }
  .footer { margin-top: 44px; }
  .float-tg { bottom: 80px; right: 14px; height: 48px; padding: 0 14px; }
  .sheet-back { align-items: end; padding: 0; }
  .sheet { max-width: none; border-radius: var(--r-lg) var(--r-lg) 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
  .float-tg span { display: none; }
  .toast { bottom: 84px; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 85; background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
  .bottom-nav a, .bottom-nav button { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: .66rem; font-weight: 700; color: var(--muted); border: 0; background: none; padding: 4px 0; position: relative; }
  .bottom-nav a.on { color: var(--red); }
  .bottom-nav .nav-badge { position: absolute; top: -2px; left: calc(50% + 6px); background: var(--red); color: #fff; border-radius: 999px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; font-size: .66rem; border: 2px solid #fff; }
  .bottom-nav .nav-badge:empty, .bottom-nav .nav-badge[data-zero="1"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Savat: mijoz raqami bo'yicha topilgan mijoz (19.10) */
.customer-box { display: grid; gap: 8px; }
.customer-box .choice { padding: 12px 14px; }
.customer-box .choice b { font-size: .92rem; }
.customer-box .choice > span:first-of-type { flex: 1; }
