/* ==========================================================================
   Avtoehtiyat.com — Dizayn 1: Klassik+
   Navy + yellow brand DNA, modern and airy execution.
   ========================================================================== */

:root {
  --navy: #1B2A3B;
  --navy-2: #2C3E50;
  --yellow: #F5C518;
  --yellow-2: #E7B70E;
  --yellow-soft: #FFF4C7;
  --bg: #F4F6F9;
  --surface: #FFFFFF;
  --text: #1B2A3B;
  --muted: #66748A;
  --line: #E2E8F0;
  --line-2: #CBD5E1;
  --blue: #2563EB;
  --green: #16A34A;
  --green-deep: #15803D;
  --green-soft: #DCFCE7;
  --red: #DC2626;

  --r-card: 10px;
  --r-ctl: 8px;
  --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(16, 24, 40, .06);
  --sh-2: 0 8px 24px rgba(16, 24, 40, .10);
  --sh-3: 0 20px 48px rgba(16, 24, 40, .18);

  --container: 1280px;
  --gutter: 24px;
  --hdr-h: 72px;
  --topbar-h: 36px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --chev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2366748A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
body.is-locked { overflow: hidden; }
[hidden] { display: none !important; }
.mt-14 { margin-top: 14px; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; color: var(--navy); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
svg.i { width: 18px; height: 18px; flex: none; }
svg.i-xs { width: 14px; height: 14px; }
svg.i-sm { width: 16px; height: 16px; }
svg.i-lg { width: 22px; height: 22px; }
svg.i-xl { width: 26px; height: 26px; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--yellow); }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Tabular digits so the thousands gap (1 500) stays visible in Inter's heavy weights */
.card-price, .d-price, .stat-n, .cat-count, .shop-count, .sstat b, .d-meta b, .sec-count, .cblock-sub, .hero-sub, .badge-count, .seller-stats { font-variant-numeric: tabular-nums; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 18px; border-radius: var(--r-ctl);
  font-size: 14px; font-weight: 600; line-height: 1; white-space: nowrap;
  border: 1px solid transparent; transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .18s;
}
.btn .i { width: 18px; height: 18px; }
.btn-lg { height: 48px; padding: 0 22px; font-size: 15px; }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn-block { width: 100%; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--yellow-2); box-shadow: 0 6px 16px rgba(245, 197, 24, .35); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); box-shadow: 0 6px 16px rgba(27, 42, 59, .25); }
.btn-outline { background: #fff; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline.is-on { background: var(--yellow-soft); border-color: var(--yellow); }
.btn-green { background: var(--green-deep); color: #fff; }
.btn-green:hover { background: #166534; box-shadow: 0 6px 16px rgba(22, 163, 74, .3); }
.btn-ghost { color: var(--navy); }
.btn-ghost:hover { background: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn-icon {
  width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: var(--r-ctl);
  border: 1px solid var(--line); background: #fff; color: var(--navy); transition: border-color .15s, background .15s, color .15s;
}
.btn-icon:hover { border-color: var(--navy); background: var(--bg); }
.link-more {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue);
  white-space: nowrap; transition: gap .15s;
}
.link-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.link-more .i { width: 16px; height: 16px; }
.link { color: var(--blue); font-weight: 600; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Forms ---------- */
.input, .select, .textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line); border-radius: var(--r-ctl);
  background: #fff; color: var(--text); font-size: 14px; transition: border-color .15s, box-shadow .15s;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #94A3B8; }
.input:hover, .select:hover { border-color: var(--line-2); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .14); }
.input.is-invalid, .select.is-invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: var(--chev); background-repeat: no-repeat; background-position: right 12px center;
}
.select:disabled { background-color: var(--bg); color: var(--muted); cursor: not-allowed; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-label { font-size: 13px; font-weight: 600; color: var(--navy); }
.field-hint { font-size: 12px; color: var(--muted); }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: span 2; }
.phone-row { display: flex; gap: 10px; }
.phone-row .select { width: 104px; flex: none; }
.checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; color: var(--navy-2); cursor: pointer; }
.checkbox input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.checkbox.small { font-size: 13px; color: var(--muted); }
.checkbox.small input { width: 16px; height: 16px; }
.form-note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.form-note .i { width: 15px; height: 15px; margin-top: 2px; }

/* ---------- Pills, chips, badges ---------- */
.pill { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill-new { background: var(--green-soft); color: var(--green-deep); }
.pill-used { background: var(--bg); color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; height: 32px; padding: 0 13px; border-radius: var(--r-pill);
  background: var(--bg); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--navy-2);
  transition: border-color .15s, color .15s, background .15s;
}
.chip:hover { border-color: var(--navy); color: var(--navy); background: #fff; }
.chip.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: var(--r-pill); background: var(--bg); font-size: 12px; font-weight: 500; color: var(--navy-2); }
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; white-space: nowrap; }
.badge-shop { background: var(--yellow); color: var(--navy); }
.badge-person { background: var(--bg); color: var(--muted); }
.badge-count {
  display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill);
  background: var(--yellow); color: var(--navy); font-size: 11px; font-weight: 800; line-height: 1;
}
.badge-count[hidden] { display: none; }

/* ---------- Logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 23px; letter-spacing: -.03em; color: var(--navy); line-height: 1; flex: none; }
.logo-com { display: inline-block; background: var(--yellow); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: 0; padding: 4px 6px; border-radius: 6px; transform: translateY(-1px); }
.logo-light { color: #fff; }

/* ---------- Header ---------- */
.hdr { position: sticky; top: calc(-1 * var(--topbar-h)); z-index: 50; }
.topbar { background: var(--navy); color: #fff; height: var(--topbar-h); font-size: 13px; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #fff; }
.topbar-phone .i { width: 15px; height: 15px; color: var(--yellow); }
.topbar-nav { display: flex; gap: 26px; }
.topbar-nav a { color: rgba(255, 255, 255, .78); transition: color .15s; }
.topbar-nav a:hover { color: #fff; }
.mainbar { position: relative; background: #fff; border-bottom: 1px solid var(--line); height: var(--hdr-h); transition: box-shadow .2s; }
.hdr.is-scrolled .mainbar { box-shadow: 0 6px 20px rgba(16, 24, 40, .08); }
.mainbar-in { display: flex; align-items: center; gap: 22px; height: 100%; }

.hsearch { flex: 1; display: flex; align-items: stretch; height: 44px; min-width: 0; border: 1px solid var(--line); border-radius: var(--r-ctl); background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.hsearch:hover { border-color: var(--line-2); }
.hsearch:focus-within { border-color: var(--navy-2); box-shadow: 0 0 0 3px rgba(37, 99, 235, .12); }
.hsearch-cat { position: relative; flex: none; background: var(--bg); border-right: 1px solid var(--line); }
.hsearch-cat select {
  height: 100%; width: 178px; border: 0; background: transparent; padding: 0 32px 0 14px; font-size: 13.5px; font-weight: 500; color: var(--navy);
  appearance: none; -webkit-appearance: none; cursor: pointer; background-image: var(--chev); background-repeat: no-repeat; background-position: right 10px center;
}
.hsearch-cat select:focus-visible { outline-offset: -2px; }
.hsearch input { flex: 1; min-width: 0; border: 0; padding: 0 14px; font-size: 14px; background: transparent; }
.hsearch input::placeholder { color: #94A3B8; }
.hsearch input:focus { outline: none; }
.hsearch-btn { flex: none; width: 50px; background: var(--navy); color: #fff; display: grid; place-items: center; transition: background .15s; }
.hsearch-btn:hover { background: var(--navy-2); }
.hsearch-btn:focus-visible { outline-offset: -3px; outline-color: var(--yellow); }

.hnav { display: flex; align-items: center; gap: 2px; flex: none; }
.hnav-link {
  display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 10px; border-radius: 8px;
  font-size: 14px; font-weight: 500; color: var(--navy); transition: color .15s, background .15s; white-space: nowrap;
}
.hnav-link:hover { color: var(--blue); background: var(--bg); }
.hnav-link .i { width: 19px; height: 19px; }
.hnav-sep { width: 1px; height: 22px; background: var(--line); margin: 0 6px; }
.hnav .btn { margin-left: 10px; height: 42px; }

.hdr-mob { display: none; align-items: center; gap: 2px; margin-left: auto; }
.icon-btn { position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 10px; color: var(--navy); transition: background .15s; }
.icon-btn:hover { background: var(--bg); }
.icon-btn .i { width: 22px; height: 22px; }
.icon-btn .badge-count { position: absolute; top: 4px; right: 3px; }
.icon-btn .i-x { display: none; }
.hdr.menu-open .icon-btn .i-x { display: block; }
.hdr.menu-open .icon-btn .i-menu { display: none; }

.mpanel {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 2;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(16, 24, 40, .14);
  padding: 6px var(--gutter) 20px; max-height: calc(100vh - var(--hdr-h)); overflow: auto;
}
.hdr.menu-open .mpanel { display: block; }
.mpanel-nav a, .mpanel-nav button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 2px; border-bottom: 1px solid var(--line); font-size: 15px; font-weight: 500; color: var(--navy); text-align: left; }
.mpanel-nav .i { color: var(--muted); width: 20px; height: 20px; }
.mpanel-nav .badge-count { margin-left: auto; }
.mpanel-nav .mp-sub { font-size: 14px; font-weight: 400; color: var(--navy-2); min-height: 44px; }
.mpanel-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.mpanel-actions .btn-yellow { grid-column: span 2; }
.mpanel-phone { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--navy); }
.mpanel-phone .i { color: var(--yellow-2); }
.mpanel-overlay { display: none; position: fixed; inset: 0; z-index: 1; background: rgba(27, 42, 59, .45); }
.hdr.menu-open .mpanel-overlay { display: block; }
.mainbar-in { position: relative; z-index: 3; }

.msearch { display: none; background: #fff; border-bottom: 1px solid var(--line); padding: 10px 0 12px; }
.msearch .hsearch { height: 44px; }

/* ---------- Hero ---------- */
.hero { position: relative; isolation: isolate; background: var(--navy); color: #fff; overflow: hidden; padding: 56px 0 46px; }
.hero-dots, .order-dots {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .16) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(105deg, transparent 38%, #000 100%); mask-image: linear-gradient(105deg, transparent 38%, #000 100%);
}
.hero-sq { position: absolute; z-index: -1; pointer-events: none; width: 680px; height: 680px; right: -230px; top: -240px; background: var(--yellow); opacity: .08; border-radius: 72px; transform: rotate(18deg); }
.hero-sq2 { position: absolute; z-index: -1; pointer-events: none; width: 380px; height: 380px; right: 120px; top: 250px; border: 2px solid var(--yellow); opacity: .14; border-radius: 48px; transform: rotate(18deg); }
.hero-title { font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; max-width: 700px; color: #fff; }
.hero-sub { margin-top: 16px; font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, .76); max-width: 620px; }

.spanel { margin-top: 32px; background: #fff; color: var(--text); border-radius: 12px; box-shadow: var(--sh-3); padding: 0 24px 22px; }
.stabs { display: flex; gap: 26px; border-bottom: 1px solid var(--line); margin-bottom: 18px; }
.stab { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 16px 2px 13px; font-size: 15px; font-weight: 600; color: var(--muted); transition: color .15s; }
.stab .i { width: 17px; height: 17px; }
.stab:hover { color: var(--navy); }
.stab.is-active { color: var(--navy); }
.stab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--yellow); }
.sform { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(0, 1.9fr) auto; gap: 10px; }
.sform .btn { height: 46px; padding: 0 26px; }
.spop { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin-top: 16px; }
.spop-label { font-size: 13px; color: var(--muted); font-weight: 500; }
.spop .chip { height: 30px; font-size: 12.5px; }

.stats { display: flex; margin-top: 30px; }
.stat { flex: 1; display: flex; flex-direction: column; gap: 3px; padding: 2px 32px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { padding-left: 0; border-left: 0; }
.stat-n { font-size: 28px; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; line-height: 1.1; }
.stat-n small { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.stat-l { font-size: 13.5px; color: rgba(255, 255, 255, .72); }

/* ---------- Sections ---------- */
.sec { padding: 56px 0; }
.sec-white { background: #fff; border-bottom: 1px solid var(--line); }
.sec-tight { padding-top: 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.sec-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.sec-sub { margin-top: 6px; font-size: 14px; color: var(--muted); }
.sec-actions { display: flex; align-items: center; gap: 18px; flex: none; }
.sec-count { font-size: 13.5px; color: var(--muted); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; }
.cat-tile {
  display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 10px 18px; box-shadow: var(--sh-1);
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.cat-tile:hover { border-color: var(--navy); transform: translateY(-3px); box-shadow: var(--sh-2); }
.cat-ico { width: 56px; height: 56px; border-radius: 50%; background: var(--yellow-soft); color: var(--navy); display: grid; place-items: center; transition: background .18s; }
.cat-tile:hover .cat-ico { background: var(--yellow); }
.cat-ico .i { width: 26px; height: 26px; }
.cat-name { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.cat-count { font-size: 12.5px; color: var(--muted); margin-top: -6px; }

/* ---------- Shops ---------- */
.shops { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.shop {
  display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 18px; box-shadow: var(--sh-1); transition: border-color .18s, transform .18s, box-shadow .18s; position: relative;
}
.shop:hover { border-color: var(--navy); transform: translateY(-2px); box-shadow: var(--sh-2); }
.shop-top { display: flex; align-items: center; gap: 14px; min-width: 0; }
.logo-box { width: 64px; height: 64px; flex: none; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 6px; display: grid; place-items: center; overflow: hidden; color: var(--muted); }
.logo-box img { width: 100%; height: 100%; object-fit: contain; }
.logo-box .i { width: 24px; height: 24px; }
.shop-id { min-width: 0; }
.shop-name { font-size: 15px; font-weight: 600; color: var(--navy); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-name a::after { content: ""; position: absolute; inset: 0; }
.shop:hover .shop-name { color: var(--blue); }
.shop-count { display: flex; align-items: center; gap: 5px; margin-top: 4px; font-size: 13px; color: var(--muted); }
.shop-count .i { width: 14px; height: 14px; }
.shop-count b { color: var(--navy); font-weight: 600; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }

/* ---------- Listing card ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card);
  overflow: hidden; box-shadow: var(--sh-1); transition: box-shadow .18s, transform .18s, border-color .18s;
}
.card:hover { box-shadow: var(--sh-2); transform: translateY(-2px); border-color: var(--line-2); }
.card-media { position: relative; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.card:hover .card-media img { transform: scale(1.04); }
.fav-btn {
  position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; color: var(--navy); display: grid; place-items: center; box-shadow: 0 2px 8px rgba(16, 24, 40, .18);
  transition: transform .15s, color .15s;
}
.fav-btn:hover { transform: scale(1.08); color: var(--red); }
.fav-btn .i { width: 18px; height: 18px; }
.fav-btn .i-fill, .fav-detail .i-fill { display: none; }
.fav-btn.is-on, .fav-detail.is-on { color: var(--red); }
.fav-btn.is-on .i-fill, .fav-detail.is-on .i-fill { display: block; }
.fav-btn.is-on .i-line, .fav-detail.is-on .i-line { display: none; }
.card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 12px 14px 14px; }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.card-price { font-size: 18px; font-weight: 700; color: var(--navy); letter-spacing: -.01em; white-space: nowrap; }
.card-price small { font-size: 12.5px; font-weight: 600; color: var(--muted); margin-left: 2px; }
.card-title { font-size: 14px; font-weight: 500; line-height: 1.4; color: var(--navy); min-height: 2.8em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .15s; }
.card-title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card:hover .card-title { color: var(--blue); }
.card-meta { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; }
.card-meta .i { width: 14px; height: 14px; flex: none; }
.card-meta span:last-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.card-meta .dot { color: var(--line-2); }
.card-seller { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 500; color: var(--navy-2); min-height: 35px; }
.card-seller .logo-box { width: 26px; height: 26px; border-radius: 6px; padding: 2px; }
.card-seller .logo-box .i { width: 14px; height: 14px; }
.card-seller-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card-seller .i-store { width: 15px; height: 15px; color: var(--muted); }
.avatar-xs { width: 26px; height: 26px; border-radius: 50%; background: var(--bg); color: var(--muted); display: grid; place-items: center; flex: none; }
.avatar-xs .i { width: 14px; height: 14px; }

/* ---------- Category blocks ---------- */
.cblock + .cblock { margin-top: 48px; }
.cblock-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.cblock-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow-soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.cblock-ico .i { width: 22px; height: 22px; }
.cblock-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.cblock-sub { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cblock-head .link-more { margin-left: auto; }

/* ---------- Sifariş (order) band ---------- */
.order { position: relative; isolation: isolate; background: var(--navy); color: #fff; overflow: hidden; padding: 72px 0; }
.order .hero-sq { right: auto; left: -260px; top: auto; bottom: -300px; }
.order-dots { -webkit-mask-image: linear-gradient(255deg, transparent 45%, #000 100%); mask-image: linear-gradient(255deg, transparent 45%, #000 100%); }
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.order-title { font-size: 36px; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; color: #fff; }
.order-sub { margin-top: 14px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .76); max-width: 520px; }
.order-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.order-list li { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.check-y { width: 26px; height: 26px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; flex: none; }
.check-y .i { width: 15px; height: 15px; stroke-width: 2.6; }
.order-card { background: #fff; color: var(--text); border-radius: 12px; padding: 28px; box-shadow: var(--sh-3); }
.order-card-title { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.order-card-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 20px; }
.order-card .btn { margin-top: 20px; }
.order-card .form-note { margin-top: 12px; justify-content: center; }
.order.is-flash .order-card { box-shadow: 0 0 0 4px var(--yellow), var(--sh-3); }

/* ---------- Register (account) section ---------- */
.reg { background: var(--yellow-soft); padding: 64px 0; }
.reg-head { text-align: center; margin-bottom: 32px; }
.reg-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.reg-sub { margin-top: 8px; font-size: 15px; color: var(--muted); }
.reg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 1040px; margin: 0 auto; }
.acct { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--sh-1); }
.acct-head { position: relative; display: flex; align-items: center; gap: 14px; padding: 24px 26px 18px; }
.acct-head.dark { background: var(--navy); color: #fff; padding-bottom: 22px; }
.acct-ico { width: 50px; height: 50px; border-radius: 12px; background: var(--yellow-soft); color: var(--navy); display: grid; place-items: center; flex: none; }
.acct-ico .i { width: 24px; height: 24px; }
.acct-head.dark .acct-ico { background: rgba(255, 255, 255, .1); color: var(--yellow); }
.acct-title { font-size: 20px; font-weight: 800; }
.acct-head.dark .acct-title { color: #fff; }
.acct-sub { font-size: 13.5px; color: var(--muted); margin-top: 2px; }
.acct-head.dark .acct-sub { color: rgba(255, 255, 255, .7); }
.acct-tag { position: absolute; top: 18px; right: 18px; display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: var(--r-pill); background: var(--yellow); color: var(--navy); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; }
.acct-body { display: flex; flex-direction: column; gap: 18px; flex: 1; padding: 10px 26px 26px; }
.checks { display: flex; flex-direction: column; gap: 4px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; padding: 5px 0; color: var(--navy-2); }
.check-g { width: 22px; height: 22px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; flex: none; margin-top: 1px; }
.check-g .i { width: 13px; height: 13px; stroke-width: 2.6; }
.acct-body .btn { margin-top: auto; }
.acct-note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: flex-start; }
.acct-note .i { width: 15px; height: 15px; margin-top: 2px; flex: none; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #fff; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.1fr; gap: 40px; }
.footer-about { margin-top: 18px; font-size: 13.5px; line-height: 1.65; color: rgba(255, 255, 255, .7); max-width: 400px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.social { width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; transition: background .15s, color .15s, transform .15s; }
.social:hover { background: var(--yellow); color: var(--navy); transform: translateY(-2px); }
.footer-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--yellow); margin-bottom: 18px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a, .footer-links button { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; color: rgba(255, 255, 255, .8); transition: color .15s; text-align: left; }
.footer-links a:hover, .footer-links button:hover { color: #fff; }
.footer-links .i { width: 16px; height: 16px; color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); }
.tagline { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .8); }
.tagline::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* ---------- Form blokları (giriş / qeydiyyat formaları) ---------- */
.seg { display: flex; gap: 4px; background: var(--bg); border-radius: var(--r-pill); padding: 4px; margin-bottom: 22px; }
.seg-btn { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 12px; border-radius: var(--r-pill); line-height: 1.2; color: var(--muted); transition: background .15s, color .15s, box-shadow .15s; }
.seg-btn b { font-size: 14px; font-weight: 700; }
.seg-btn small { font-size: 11.5px; opacity: .85; }
.seg-btn:hover { color: var(--navy); }
.seg-btn.is-active { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(27, 42, 59, .25); }
.reg-form { display: flex; flex-direction: column; gap: 16px; }
.reg-form[hidden] { display: none; }
.reg-form .btn { margin-top: 4px; }
.upload { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px; border: 2px dashed var(--line-2); border-radius: 10px; text-align: center; font-size: 13.5px; color: var(--muted); cursor: pointer; transition: border-color .15s, background .15s; }
.upload:hover { border-color: var(--navy); background: var(--bg); }
.upload .i { width: 24px; height: 24px; color: var(--navy); }
.upload b { font-weight: 600; color: var(--navy); }
.upload input { display: none; }
.form-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13.5px; }
.auth-foot { text-align: center; font-size: 14px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 16px);
  display: flex; align-items: center; gap: 10px; max-width: calc(100vw - 32px);
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 10px; font-size: 14px; font-weight: 500;
  box-shadow: var(--sh-3); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast .i { color: var(--yellow); }

/* ==========================================================================
   Detail page (elan.html)
   ========================================================================== */
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 6px; font-size: 13px; color: var(--muted); padding: 18px 0 2px; }
.crumbs a { transition: color .15s; }
.crumbs a:hover { color: var(--blue); }
.crumbs .i { width: 14px; height: 14px; color: #A0AEC0; }
.crumbs .cur { color: var(--navy); font-weight: 500; }
.crumbs-dark { color: rgba(255, 255, 255, .6); padding: 0 0 22px; }
.crumbs-dark a:hover { color: var(--yellow); }
.crumbs-dark .i { color: rgba(255, 255, 255, .35); }
.crumbs-dark .cur { color: #fff; }

.detail {
  display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px 32px; align-items: start;
  grid-template-areas: "gallery aside" "head aside" "body aside"; padding: 16px 0 48px;
}
.d-gallery { grid-area: gallery; }
.d-head { grid-area: head; }
.d-body { grid-area: body; display: flex; flex-direction: column; gap: 20px; }
.d-aside { grid-area: aside; position: sticky; top: calc(var(--hdr-h) + 16px); display: flex; flex-direction: column; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 24px; box-shadow: var(--sh-1); }
.panel-title { font-size: 18px; font-weight: 700; margin-bottom: 16px; letter-spacing: -.01em; }
.panel-sub { font-size: 14px; color: var(--muted); margin: -6px 0 12px; }

.gal { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 12px; box-shadow: var(--sh-1); }
.gal-main { position: relative; aspect-ratio: 4 / 3; background: var(--bg); border-radius: 8px; overflow: hidden; }
.gal-main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gal-main img[data-gal-img] { position: relative; z-index: 1; }
.gal-pill, .gal-arrow, .gal-zoom, .gal-count { z-index: 2; }
.gal-bg { position: absolute; inset: 0; object-fit: cover !important; filter: blur(28px) saturate(1.05); opacity: .35; transform: scale(1.2); pointer-events: none; cursor: default !important; }
.gal-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%;
  background: #fff; color: var(--navy); box-shadow: 0 2px 10px rgba(16, 24, 40, .2); display: grid; place-items: center;
  transition: background .15s, color .15s, transform .15s;
}
.gal-arrow:hover { background: var(--navy); color: #fff; }
.gal-arrow .i { width: 20px; height: 20px; }
.gal-prev { left: 14px; }
.gal-next { right: 14px; }
.gal-zoom { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: 0 2px 10px rgba(16, 24, 40, .2); display: grid; place-items: center; transition: background .15s, color .15s; }
.gal-zoom:hover { background: var(--navy); color: #fff; }
.gal-pill { position: absolute; top: 16px; left: 16px; height: 26px; padding: 0 11px; font-size: 12.5px; box-shadow: var(--sh-1); }
.gal-count { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: var(--r-pill); background: rgba(27, 42, 59, .86); color: #fff; font-size: 12.5px; font-weight: 600; }
.gal-count .i { width: 15px; height: 15px; }
.gal-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 80px; height: 80px; flex: none; border-radius: 8px; overflow: hidden; border: 2px solid transparent; background: var(--bg); padding: 0; transition: border-color .15s, transform .15s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { border-color: var(--line-2); }
.thumb.is-active { border-color: var(--navy); }

.d-title { font-size: 28px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
.d-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.d-meta span { display: inline-flex; align-items: center; gap: 6px; }
.d-meta .i { width: 16px; height: 16px; }
.d-meta b { font-weight: 600; color: var(--navy-2); }

.specs { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.specs th { width: 200px; text-align: left; font-weight: 500; color: var(--muted); padding: 11px 14px; vertical-align: top; }
.specs td { padding: 11px 14px; color: var(--navy); font-weight: 500; }
.specs tr:nth-child(odd) th, .specs tr:nth-child(odd) td { background: var(--bg); }
.specs tr th:first-child { border-radius: 8px 0 0 8px; }
.specs tr td:last-child { border-radius: 0 8px 8px 0; }
.prose { font-size: 15px; line-height: 1.65; color: var(--navy-2); }
.prose p + p { margin-top: 12px; }

.safety { display: flex; gap: 18px; background: var(--yellow-soft); border: 1px solid rgba(245, 197, 24, .45); border-radius: var(--r-card); padding: 22px 24px; }
.safety-ico { width: 46px; height: 46px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: grid; place-items: center; flex: none; }
.safety-ico .i { width: 24px; height: 24px; }
.safety-title { font-size: 16px; font-weight: 700; }
.safety ul { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 10px; }
.safety li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; color: var(--navy-2); }
.safety li .i { width: 16px; height: 16px; color: var(--green-deep); margin-top: 3px; stroke-width: 2.4; }

.price-card .d-price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.d-price { font-size: 32px; font-weight: 800; letter-spacing: -.02em; color: var(--navy); line-height: 1; white-space: nowrap; }
.d-price small { font-size: 18px; font-weight: 700; color: var(--muted); margin-left: 2px; letter-spacing: 0; }
.d-code { margin-top: 10px; font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.d-code b { font-weight: 600; color: var(--navy-2); }
.d-actions { display: flex; gap: 10px; margin-top: 18px; }
.d-actions .fav-detail { flex: 1; min-width: 0; padding: 0 12px; }
.d-actions .btn-icon { width: 48px; height: 48px; }

.seller-top { display: flex; align-items: center; gap: 14px; }
.seller .logo-box { width: 56px; height: 56px; padding: 5px; }
.avatar { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--navy); color: #fff; font-size: 18px; font-weight: 700; letter-spacing: .02em; display: grid; place-items: center; }
.seller-id { min-width: 0; }
.seller-name { font-size: 16px; font-weight: 700; color: var(--navy); line-height: 1.25; }
.seller-id .badge { margin-top: 6px; }
.seller-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.sstat { background: var(--bg); border-radius: 8px; padding: 10px 12px; }
.sstat b { display: block; font-size: 15px; font-weight: 700; color: var(--navy); }
.sstat span { font-size: 12px; color: var(--muted); }
.seller-rows { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; font-size: 13.5px; color: var(--navy-2); }
.seller-rows li { display: flex; align-items: flex-start; gap: 9px; }
.seller-rows .i { width: 16px; height: 16px; color: var(--muted); margin-top: 2px; }
.seller-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.seller-cta .btn { height: 48px; font-size: 15px; }
.seller-link { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--blue); }
.seller-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.seller-link .i { width: 16px; height: 16px; }

.sec-sm { padding: 8px 0 44px; }
.sec-sm .sec-head { margin-bottom: 20px; }

/* Mobile sticky call bar */
.mbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 10px; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(16, 24, 40, .08); }
.mbar .btn { flex: 1; height: 48px; font-size: 15px; }

/* Demo seller switch */
.ae-demo {
  position: fixed; right: 16px; bottom: 16px; z-index: 90; display: flex; align-items: center; gap: 6px;
  background: #111827; color: #fff; border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--r-pill);
  padding: 5px 5px 5px 14px; font-size: 12px; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.ae-demo-label { opacity: .7; margin-right: 4px; white-space: nowrap; }
.ae-demo button { height: 28px; padding: 0 11px; border-radius: var(--r-pill); font-size: 12px; font-weight: 600; color: #fff; background: rgba(255, 255, 255, .1); transition: background .15s, color .15s; }
.ae-demo button:hover { background: rgba(255, 255, 255, .2); }
.ae-demo button.is-active { background: #fff; color: #111827; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; background: rgba(8, 13, 22, .94); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lb-btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; display: grid; place-items: center; transition: background .15s; }
.lb-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-btn .i { width: 22px; height: 22px; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .12); padding: 6px 12px; border-radius: var(--r-pill); }

/* ==========================================================================
   Ortaq: header istifadəçi menyusu, səhifə başlıqları, yan panel düzümü
   ========================================================================== */
.hnav-link.is-active { color: var(--blue); background: var(--bg); }
.avatar-init { background: var(--navy); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; }
.umenu { position: relative; }
.umenu-btn { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 8px 0 6px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--navy); transition: background .15s; }
.umenu-btn:hover, .umenu.is-open .umenu-btn { background: var(--bg); }
.umenu-btn .i-sm { color: var(--muted); transition: transform .15s; }
.umenu.is-open .umenu-btn .i-sm { transform: rotate(180deg); }
.umenu-name { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.umenu-logo { width: 30px; height: 30px; border-radius: 7px; padding: 2px; }
.umenu-drop { position: absolute; right: 0; top: calc(100% + 8px); width: 240px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--sh-3); padding: 6px; z-index: 20; animation: drop-in .16s var(--ease); }
@keyframes drop-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.umenu-head { display: flex; flex-direction: column; padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.umenu-head b { font-size: 14px; color: var(--navy); }
.umenu-head span { font-size: 12px; color: var(--muted); }
.umenu-drop a, .umenu-drop button { width: 100%; display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 10px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--navy); text-align: left; transition: background .15s; }
.umenu-drop a:hover, .umenu-drop button:hover { background: var(--bg); }
.umenu-drop .i { width: 17px; height: 17px; color: var(--muted); }
.umenu-drop button[data-logout] { color: var(--red); border-top: 1px solid var(--line); border-radius: 0 0 8px 8px; margin-top: 6px; }
.umenu-drop button[data-logout] .i { color: var(--red); }
.mpanel-user { display: flex; align-items: center; gap: 12px; padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--navy); }
.mpanel-user > span:nth-child(2) { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mpanel-user b { font-size: 15px; }
.mpanel-user small { font-size: 12.5px; color: var(--muted); }
.mpanel-user .avatar-xs { width: 36px; height: 36px; font-size: 13px; }
.mpanel-user .umenu-logo { width: 36px; height: 36px; }
.mpanel-user .i { color: var(--muted); }

.page-head { padding-top: 26px; padding-bottom: 22px; }
.page-head .crumbs { padding: 0 0 12px; }
.page-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.page-sub { margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 720px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.page-head-row .btn { flex: none; }
.page-band { background: #fff; border-bottom: 1px solid var(--line); }
.main-pad { padding-bottom: 56px; }

.lay-side { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; }
.lay-side > aside { position: sticky; top: calc(var(--hdr-h) + 16px); }
.lay-side-r { grid-template-columns: minmax(0, 1fr) 340px; }
.lay-top { padding-top: 24px; }
fieldset.fgroup { min-width: 0; margin: 0; border: 0; }
legend.fgroup-title { padding: 0; display: block; }
.flist-item .i-xs { color: var(--muted); }

/* ---------- Filtrlər (elanlar) ---------- */
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); }
.filters-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.filters-head h2 { font-size: 16px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.filters-head .link { font-size: 13px; }
.filters-close { display: none; }
.fgroup { padding: 16px 18px; border-bottom: 1px solid var(--line); }
.fgroup:last-of-type { border-bottom: 0; }
.fgroup-title { font-size: 13px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.fgroup .field + .field { margin-top: 10px; }
.flist { display: flex; flex-direction: column; gap: 2px; }
.flist-item { display: flex; align-items: center; gap: 10px; min-height: 34px; padding: 0 8px; margin: 0 -8px; border-radius: 8px; font-size: 14px; color: var(--navy-2); cursor: pointer; transition: background .15s, color .15s; }
.flist-item:hover { background: var(--bg); color: var(--navy); }
.flist-item input { width: 16px; height: 16px; margin: 0; accent-color: var(--navy); flex: none; }
.flist-item span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.flist-item em { font-style: normal; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.flist-item:has(input:checked), .flist-item.is-active { color: var(--navy); font-weight: 600; background: var(--yellow-soft); }
.range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 8px; }
.range .input { padding: 0 10px; height: 42px; }
.range span { color: var(--line-2); }
.filters-foot { display: none; gap: 10px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }
.filters-foot .btn { flex: 1; }
.filters .select, .filters .input { height: 42px; }

.results-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.results-title { font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.results-count { font-size: 14px; color: var(--muted); }
.results-count b { color: var(--navy); font-weight: 700; }
.results-tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.results-tools .select { width: auto; height: 40px; font-size: 13.5px; }
.view-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r-ctl); overflow: hidden; background: #fff; }
.view-toggle button { width: 40px; height: 38px; display: grid; place-items: center; color: var(--muted); transition: background .15s, color .15s; }
.view-toggle button + button { border-left: 1px solid var(--line); }
.view-toggle button:hover { color: var(--navy); }
.view-toggle button.is-active { background: var(--navy); color: #fff; }
.filters-open { display: none; }
.filters-open .badge-count { margin-left: 2px; }
.active-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.active-chips[hidden] { display: none; }
.chip-x { gap: 6px; padding-right: 8px; background: #fff; }
.chip-x .i { width: 14px; height: 14px; color: var(--muted); }
.chip-x:hover { border-color: var(--red); color: var(--red); }
.chip-x:hover .i { color: var(--red); }
.chip-clear { background: transparent; border-color: transparent; color: var(--blue); font-weight: 600; }
.chip-clear:hover { background: var(--bg); }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.list-view { display: flex; flex-direction: column; gap: 12px; }
.list-view .card { flex-direction: row; }
.list-view .card-media { width: 240px; flex: none; aspect-ratio: 4 / 3; }
.list-view .card-body { padding: 16px 20px; gap: 8px; }
.list-view .card-title { font-size: 16px; min-height: 0; }
.list-view .card-price { font-size: 20px; }
.list-view .card-seller { margin-top: auto; }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 28px; }
.pagination:empty { display: none; }
.pg-btn { min-width: 40px; height: 40px; padding: 0 8px; border-radius: var(--r-ctl); border: 1px solid var(--line); background: #fff; font-size: 14px; font-weight: 600; color: var(--navy); display: inline-grid; place-items: center; transition: background .15s, border-color .15s, color .15s; }
.pg-btn:hover:not(:disabled) { border-color: var(--navy); }
.pg-btn.is-active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pg-btn:disabled { opacity: .4; cursor: not-allowed; }
.pg-dots { padding: 0 4px; color: var(--muted); }

.empty { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 48px 20px; background: #fff; border: 1px dashed var(--line-2); border-radius: var(--r-card); color: var(--muted); }
.empty > .i { width: 40px; height: 40px; color: var(--line-2); margin-bottom: 6px; }
.empty h3 { font-size: 18px; }
.empty p { font-size: 14px; max-width: 380px; }
.empty .btn { margin-top: 12px; }
.empty-lg { padding: 72px 20px; }
.notice { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-card); background: var(--yellow-soft); border: 1px solid rgba(245, 197, 24, .5); font-size: 14px; color: var(--navy-2); }
.notice > .i { color: var(--navy); flex: none; }
.notice > div { flex: 1; }
.notice a:not(.btn) { color: var(--blue); font-weight: 600; }
.notice-ok { background: var(--green-soft); border-color: rgba(22, 163, 74, .3); }
.notice-ok > .i { color: var(--green-deep); }
.notice-info { background: #EFF6FF; border-color: rgba(37, 99, 235, .25); }
.notice-info > .i { color: var(--blue); }

/* ---------- Mağazalar ---------- */
.shops-tools { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.shops-tools .input-wrap { flex: 1; min-width: 240px; max-width: 420px; }
.shops-tools .select { width: auto; height: 44px; }
.shops-tools .results-count { margin-left: auto; }
[data-shop-cats] { margin-bottom: 20px; }
.input-wrap { position: relative; }
.input-wrap > .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-wrap .input { padding-left: 42px; }
.input-wrap .input-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 8px; display: grid; place-items: center; color: var(--muted); transition: background .15s, color .15s; }
.input-wrap .input-eye:hover { background: var(--bg); color: var(--navy); }
.input-wrap.has-eye .input { padding-right: 48px; padding-left: 14px; }
.shops-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.shop-lg { display: flex; flex-direction: column; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px; box-shadow: var(--sh-1); transition: border-color .18s, box-shadow .18s; }
.shop-lg:hover { border-color: var(--line-2); box-shadow: var(--sh-2); }
.shop-lg-top { display: flex; align-items: center; gap: 16px; }
.shop-lg .logo-box { width: 72px; height: 72px; }
.shop-lg .shop-name { font-size: 18px; display: flex; align-items: center; gap: 6px; white-space: normal; }
.shop-lg .shop-name a:hover { color: var(--blue); }
.i-verified { width: 18px; height: 18px; color: var(--blue); flex: none; }
.shop-desc { font-size: 14px; line-height: 1.55; color: var(--navy-2); }
.shop-lg .tag { transition: background .15s, color .15s; }
.shop-lg a.tag:hover { background: var(--navy); color: #fff; }
.shop-lg-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: var(--muted); padding-top: 14px; border-top: 1px solid var(--line); }
.shop-lg-foot span { display: inline-flex; align-items: center; gap: 6px; }
.shop-lg-foot b { color: var(--navy); font-weight: 600; }
.shop-lg-foot .i { width: 15px; height: 15px; }
.shop-lg-cta { display: flex; gap: 10px; margin-top: auto; }
.shops-cta { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; background: var(--navy); color: #fff; border-radius: 12px; padding: 32px 36px; position: relative; overflow: hidden; isolation: isolate; }
.shops-cta .hero-sq { width: 420px; height: 420px; right: -120px; top: -180px; opacity: .1; }
.shops-cta h2 { color: #fff; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.shops-cta p { margin-top: 8px; color: rgba(255, 255, 255, .74); font-size: 15px; max-width: 560px; }

/* ---------- Mağaza səhifəsi ---------- */
.shop-hero { display: flex; align-items: flex-start; justify-content: space-between; gap: 32px; padding: 28px 0 26px; }
.shop-hero-main { display: flex; gap: 22px; align-items: flex-start; min-width: 0; }
.logo-lg { width: 96px; height: 96px; padding: 10px; border-radius: 12px; }
.shop-hero-id { min-width: 0; }
.shop-hero-id h1 { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.shop-hero-id p { margin-top: 8px; font-size: 15px; color: var(--navy-2); max-width: 640px; line-height: 1.55; }
.shop-hero-id .tags { margin-top: 12px; }
.shop-hero-stats { display: flex; gap: 10px; flex: none; }
.shop-hero-stats .sstat { min-width: 120px; background: #fff; border: 1px solid var(--line); }
.shop-hero-stats .sstat b { font-size: 22px; letter-spacing: -.02em; }
.shop-side { display: flex; flex-direction: column; gap: 16px; }
.shop-side .panel { padding: 18px; }
.shop-side .panel-title { font-size: 15px; margin-bottom: 10px; }
.shop-side .seller-rows { margin-top: 0; }
.shop-side .seller-cta { margin-top: 14px; }
.seller-share { display: flex; gap: 6px; margin-top: 10px; justify-content: center; }
.map-ph { position: relative; height: 150px; border-radius: 8px; overflow: hidden; background: #E9EEF3 repeating-linear-gradient(0deg, transparent 0 22px, rgba(27, 42, 59, .06) 22px 23px), repeating-linear-gradient(90deg, transparent 0 22px, rgba(27, 42, 59, .06) 22px 23px); margin-bottom: 10px; }
.map-ph::before { content: ""; position: absolute; left: 18%; right: -10%; top: 46%; height: 14px; background: #fff; transform: rotate(-14deg); box-shadow: 0 0 0 1px rgba(27, 42, 59, .08); }
.map-ph::after { content: ""; position: absolute; left: -10%; right: 40%; top: 30%; height: 10px; background: #fff; transform: rotate(24deg); box-shadow: 0 0 0 1px rgba(27, 42, 59, .08); }
.map-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -100%); width: 36px; height: 36px; border-radius: 50% 50% 50% 0; background: var(--red); transform: translate(-50%, -100%) rotate(-45deg); box-shadow: 0 6px 14px rgba(220, 38, 38, .35); z-index: 1; }
.map-pin::after { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: #fff; }
.map-lg { height: 260px; margin-bottom: 12px; }
.map-addr { font-size: 13.5px; color: var(--navy-2); display: flex; gap: 8px; align-items: flex-start; }
.map-addr .i { width: 16px; height: 16px; color: var(--muted); margin-top: 2px; }
.shop-main .results-bar { margin-bottom: 14px; }
.shop-search { margin-bottom: 16px; }

/* ---------- Auth səhifələri (giriş / qeydiyyat / parol) ---------- */
.auth { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: calc(100vh - var(--hdr-h) - var(--topbar-h)); }
.auth-side { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; padding: 64px 56px; display: flex; flex-direction: column; justify-content: center; }
.auth-side .hero-sq { right: -200px; top: -160px; }
.auth-side .hero-dots { -webkit-mask-image: linear-gradient(200deg, transparent 40%, #000 100%); mask-image: linear-gradient(200deg, transparent 40%, #000 100%); }
.auth-side-in { max-width: 520px; }
.auth-side h2 { color: #fff; font-size: 34px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.auth-side p { margin-top: 14px; font-size: 16px; color: rgba(255, 255, 255, .74); line-height: 1.55; }
.auth-points { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; }
.auth-points li { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; }
.auth-points .check-y { margin-top: 1px; }
.auth-stats { display: flex; gap: 32px; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14); }
.auth-stats b { display: block; font-size: 26px; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.auth-stats span { font-size: 13px; color: rgba(255, 255, 255, .7); }
.auth-main { display: flex; align-items: flex-start; justify-content: center; padding: 48px 32px 64px; background: var(--bg); }
.auth-card { width: 100%; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2); padding: 32px; }
.auth-card.wide { max-width: 560px; }
.auth-title { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.auth-sub { margin-top: 6px; font-size: 14px; color: var(--muted); margin-bottom: 22px; }
.auth-card .reg-form .btn-lg { height: 50px; }
.auth-or { display: flex; align-items: center; gap: 12px; margin: 18px 0; font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-social { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.auth-social .btn { border-color: var(--line); background: #fff; color: var(--navy); }
.auth-social .btn:hover { border-color: var(--navy); background: var(--bg); }
.auth-card .auth-foot { margin-top: 20px; }
.demo-type { display: flex; gap: 8px; margin-top: 2px; }
.demo-type label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px; height: 36px; border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 13px; font-weight: 500; cursor: pointer; color: var(--navy-2); }
.demo-type input { display: none; }
.demo-type label:has(input:checked) { border-color: var(--navy); background: var(--yellow-soft); color: var(--navy); font-weight: 600; }
.success { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.success-ico { width: 72px; height: 72px; border-radius: 50%; background: var(--green-soft); color: var(--green-deep); display: grid; place-items: center; margin-bottom: 8px; }
.success-ico .i { width: 34px; height: 34px; stroke-width: 2.4; }
.success h2 { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.success p { font-size: 15px; color: var(--navy-2); line-height: 1.55; max-width: 460px; }
.success-form { width: 100%; margin-top: 8px; text-align: left; }
.link-y { color: var(--yellow); }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.success-card { max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2); padding: 40px 32px; }

/* ---------- Elan yerləşdir ---------- */
.lay-post { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.post-form { display: flex; flex-direction: column; gap: 18px; }
.form-sec { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--sh-1); padding: 24px; }
.form-sec-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.step-n { width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--yellow); font-size: 14px; font-weight: 800; display: grid; place-items: center; flex: none; }
.form-sec-head h2 { font-size: 18px; font-weight: 700; }
.form-sec-head p { font-size: 13px; color: var(--muted); margin-top: 2px; }
.cat-pick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.cat-pick-item { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px 14px; border: 1px solid var(--line); border-radius: var(--r-card); text-align: center; cursor: pointer; transition: border-color .15s, background .15s, box-shadow .15s; }
.cat-pick-item:hover { border-color: var(--navy); }
.cat-pick-item input { position: absolute; opacity: 0; pointer-events: none; }
.cat-pick-ico { width: 44px; height: 44px; border-radius: 50%; background: var(--yellow-soft); color: var(--navy); display: grid; place-items: center; }
.cat-pick-ico .i { width: 22px; height: 22px; }
.cat-pick-name { font-size: 13px; font-weight: 600; color: var(--navy); line-height: 1.25; }
.cat-pick-item .i-check { position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); color: #fff; padding: 3px; opacity: 0; transition: opacity .15s; }
.cat-pick-item:has(input:checked) { border-color: var(--navy); background: var(--yellow-soft); box-shadow: 0 0 0 2px var(--navy) inset; }
.cat-pick-item:has(input:checked) .cat-pick-ico { background: var(--yellow); }
.cat-pick-item:has(input:checked) .i-check { opacity: 1; }
.cat-pick-item:has(input:focus-visible) { outline: 2px solid var(--blue); outline-offset: 2px; }
.photo-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.photo-item { position: relative; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.photo-item img { width: 100%; height: 100%; object-fit: cover; }
.photo-item.is-main { grid-column: span 2; grid-row: span 2; }
.photo-main { position: absolute; left: 8px; bottom: 8px; height: 22px; padding: 0 8px; border-radius: var(--r-pill); background: var(--yellow); color: var(--navy); font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; }
.photo-rm { position: absolute; top: 6px; right: 6px; width: 28px; height: 28px; border-radius: 50%; background: rgba(27, 42, 59, .8); color: #fff; display: grid; place-items: center; transition: background .15s; }
.photo-rm:hover { background: var(--red); }
.photo-rm .i { width: 14px; height: 14px; }
.photo-add { aspect-ratio: 4 / 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 2px dashed var(--line-2); border-radius: 8px; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.photo-add:hover { border-color: var(--navy); background: var(--bg); color: var(--navy); }
.photo-add .i { width: 24px; height: 24px; color: var(--navy); }
.photo-add em { font-style: normal; font-size: 11.5px; }
.photo-grid:has(.photo-item) .photo-add { aspect-ratio: auto; min-height: 0; }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 56px; }
.input-suffix span { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-size: 13px; font-weight: 600; color: var(--muted); pointer-events: none; }
.seg-2 { display: flex; gap: 8px; }
.seg-2 label { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; height: 46px; border: 1px solid var(--line); border-radius: var(--r-ctl); font-size: 14px; font-weight: 500; cursor: pointer; color: var(--navy-2); transition: border-color .15s, background .15s; }
.seg-2 input { display: none; }
.seg-2 label:hover { border-color: var(--navy); }
.seg-2 label:has(input:checked) { border-color: var(--navy); background: var(--yellow-soft); color: var(--navy); font-weight: 600; }
.seg-2 .i { width: 16px; height: 16px; }
.field-count { font-size: 12px; color: var(--muted); text-align: right; }
.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-actions .btn-lg { min-width: 220px; }
.form-actions .form-note { flex: 1 1 100%; }
.post-aside { position: sticky; top: calc(var(--hdr-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.post-aside .panel { padding: 20px; }
.post-aside .panel-title { font-size: 15px; margin-bottom: 12px; }
.tips { display: flex; flex-direction: column; gap: 12px; font-size: 13.5px; color: var(--navy-2); }
.tips li { display: flex; gap: 10px; align-items: flex-start; }
.tips .check-g { margin-top: 1px; }
.preview-card { border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.preview-media { aspect-ratio: 4 / 3; background: var(--bg); display: grid; place-items: center; color: var(--line-2); }
.preview-media .i { width: 36px; height: 36px; }
.preview-body { padding: 12px 14px; }
.preview-price { font-size: 17px; font-weight: 700; }
.preview-title { font-size: 14px; color: var(--navy-2); margin-top: 4px; line-height: 1.4; }

/* ---------- Kabinet ---------- */
.cab { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 28px; padding-bottom: 56px; }
.cab-side { position: sticky; top: calc(var(--hdr-h) + 16px); display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.cab-user { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; box-shadow: var(--sh-1); }
.cab-user .logo-lg { width: 60px; height: 60px; padding: 6px; border-radius: 10px; }
.avatar-lg { width: 60px; height: 60px; font-size: 20px; }
.cab-user-id { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cab-user-id b { font-size: 16px; color: var(--navy); line-height: 1.25; overflow: hidden; text-overflow: ellipsis; }
.cab-user-id .badge { align-self: flex-start; }
.cab-nav { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 8px; box-shadow: var(--sh-1); display: flex; flex-direction: column; gap: 2px; }
.cab-nav a, .cab-nav button { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 12px; border-radius: 8px; font-size: 14px; font-weight: 500; color: var(--navy-2); width: 100%; text-align: left; transition: background .15s, color .15s; }
.cab-nav a:hover, .cab-nav button:hover { background: var(--bg); color: var(--navy); }
.cab-nav a.is-active { background: var(--navy); color: #fff; }
.cab-nav .i { width: 18px; height: 18px; color: var(--muted); }
.cab-nav a.is-active .i { color: var(--yellow); }
.cab-nav a[hidden] { display: none; }
.cab-nav .cab-nav-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.cab-nav button[data-logout] { color: var(--red); }
.cab-nav button[data-logout] .i { color: var(--red); }
.cab-main { min-width: 0; }
.cab-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.cab-head h1 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.cab-side-toggle { display: none; }
.cab-panel { display: none; }
.cab-panel.is-on { display: block; }
.stat-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; box-shadow: var(--sh-1); display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; }
.stat-card > .i { grid-row: span 2; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--yellow-soft); color: var(--navy); }
.stat-card b { font-size: 22px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat-card span { font-size: 12.5px; color: var(--muted); }
.cab-panel .panel + .panel { margin-top: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 14px; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 12px; font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; transition: color .15s; }
.tab em { font-style: normal; font-size: 12px; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--r-pill); background: var(--bg); color: var(--muted); display: inline-grid; place-items: center; }
.tab:hover { color: var(--navy); }
.tab.is-active { color: var(--navy); }
.tab.is-active em { background: var(--navy); color: #fff; }
.tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--yellow); }
.rows { display: flex; flex-direction: column; gap: 10px; }
.row { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto auto; align-items: center; gap: 16px; padding: 10px 14px 10px 10px; border: 1px solid var(--line); border-radius: var(--r-card); background: #fff; transition: border-color .15s, box-shadow .15s; }
.row:hover { border-color: var(--line-2); box-shadow: var(--sh-1); }
.row-img { width: 96px; aspect-ratio: 4 / 3; border-radius: 6px; overflow: hidden; background: var(--bg); }
.row-img img { width: 100%; height: 100%; object-fit: cover; }
.row-main { min-width: 0; }
.row-title { display: block; font-size: 14.5px; font-weight: 600; color: var(--navy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row-title:hover { color: var(--blue); }
.row-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; font-size: 12.5px; color: var(--muted); }
.row-meta span { display: inline-flex; align-items: center; gap: 4px; }
.row-meta .i { width: 13px; height: 13px; }
.row-price { font-size: 16px; font-weight: 700; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.row-price small { font-size: 12px; color: var(--muted); font-weight: 600; }
.row-actions { display: flex; gap: 2px; }
.row-actions .icon-btn { width: 38px; height: 38px; border-radius: 8px; }
.row-actions .icon-btn .i { width: 18px; height: 18px; }
.row-actions .icon-btn:hover { background: var(--bg); color: var(--blue); }
.row-actions .icon-btn[data-act="del"]:hover { color: var(--red); }
.pill-wait { background: var(--yellow-soft); color: #92400E; }
.sub-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; background: var(--navy); color: #fff; border-radius: var(--r-card); padding: 24px; position: relative; overflow: hidden; isolation: isolate; }
.sub-card .hero-sq { width: 320px; height: 320px; right: -120px; top: -140px; opacity: .1; }
.sub-card h3 { color: #fff; font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.sub-card p { margin-top: 6px; font-size: 14px; color: rgba(255, 255, 255, .74); }
.sub-price { text-align: right; }
.sub-price b { display: block; font-size: 26px; font-weight: 800; color: var(--yellow); letter-spacing: -.02em; }
.sub-price span { font-size: 12.5px; color: rgba(255, 255, 255, .7); }
.sub-card .btn { grid-column: 2; justify-self: end; }
.cab-form { display: flex; flex-direction: column; gap: 16px; }
.cab-form .fgrid { gap: 16px; }
.cab-form .btn { align-self: flex-start; }
.logo-edit { display: flex; align-items: center; gap: 16px; }
.logo-edit .logo-box { width: 72px; height: 72px; }
.logo-edit .upload { flex: 1; padding: 14px; flex-direction: row; justify-content: center; }
.activity { display: flex; flex-direction: column; gap: 12px; }
.activity li { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; color: var(--navy-2); }
.activity .i { width: 32px; height: 32px; padding: 8px; border-radius: 50%; background: var(--bg); color: var(--navy); flex: none; }
.activity time { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.cab-quick { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.quick { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; box-shadow: var(--sh-1); color: var(--navy); transition: border-color .15s, box-shadow .15s; }
.quick:hover { border-color: var(--navy); box-shadow: var(--sh-2); }
.quick > .i { width: 44px; height: 44px; padding: 11px; border-radius: 10px; background: var(--yellow); color: var(--navy); flex: none; }
.quick b { display: block; font-size: 15px; }
.quick span { font-size: 13px; color: var(--muted); }
.quick > .i-arrow { margin-left: auto; width: 18px; height: 18px; padding: 0; background: none; color: var(--muted); }

/* ---------- Statik səhifələr ---------- */
.static { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; align-items: start; padding-top: 32px; padding-bottom: 64px; }
.toc { position: sticky; top: calc(var(--hdr-h) + 16px); display: flex; flex-direction: column; gap: 2px; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); }
.toc a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 14px; color: var(--navy-2); transition: background .15s, color .15s; }
.toc a:hover { background: var(--bg); color: var(--navy); }
.toc a.is-active { background: var(--yellow-soft); color: var(--navy); font-weight: 600; }
.prose-lg { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 40px 48px; font-size: 15.5px; line-height: 1.7; color: var(--navy-2); }
.prose-lg h2 { font-size: 22px; margin: 36px 0 12px; scroll-margin-top: calc(var(--hdr-h) + 20px); }
.prose-lg h2:first-child { margin-top: 0; }
.prose-lg h3 { font-size: 17px; margin: 22px 0 8px; }
.prose-lg p + p { margin-top: 12px; }
.prose-lg ul, .prose-lg ol { margin: 12px 0 12px 20px; padding: 0; list-style: disc; display: flex; flex-direction: column; gap: 6px; }
.prose-lg ol { list-style: decimal; }
.prose-lg a { color: var(--blue); font-weight: 500; }
.prose-lg .notice { margin: 18px 0; }
.about-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); color: #fff; padding: 64px 0; }
.about-hero h1 { color: #fff; font-size: 40px; font-weight: 800; letter-spacing: -.02em; max-width: 720px; }
.about-hero p { margin-top: 16px; font-size: 17px; color: rgba(255, 255, 255, .76); max-width: 640px; line-height: 1.55; }
.about-hero .stats { margin-top: 36px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 26px; box-shadow: var(--sh-1); }
.feature-ico { width: 50px; height: 50px; border-radius: 12px; background: var(--yellow-soft); color: var(--navy); display: grid; place-items: center; margin-bottom: 16px; }
.feature-ico .i { width: 24px; height: 24px; }
.feature h3 { font-size: 17px; }
.feature p { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.55; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 11px; height: 2px; background: var(--line); }
.tl { position: relative; padding-top: 30px; }
.tl::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--navy); box-sizing: border-box; }
.tl b { display: block; font-size: 18px; font-weight: 800; color: var(--navy); }
.tl p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.split .prose-lg { display: flex; flex-direction: column; }
.split .prose-lg .success-actions { justify-content: flex-start; margin-top: auto; padding-top: 22px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; padding-top: 32px; padding-bottom: 64px; }
.contact-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.contact-grid .panel + .panel { margin-top: 16px; }
.contact-card { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); padding: 18px; box-shadow: var(--sh-1); }
.contact-card > .i { width: 40px; height: 40px; padding: 10px; border-radius: 10px; background: var(--yellow-soft); color: var(--navy); flex: none; }
.contact-card b { display: block; font-size: 14.5px; color: var(--navy); }
.contact-card a, .contact-card span { display: block; font-size: 14px; color: var(--navy-2); margin-top: 3px; }
.contact-card a:hover { color: var(--blue); }
.contact-card small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.acc { display: flex; flex-direction: column; gap: 8px; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden; }
.acc-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 18px; font-size: 15px; font-weight: 600; color: var(--navy); text-align: left; transition: background .15s; }
.acc-btn:hover { background: var(--bg); }
.acc-btn .i { color: var(--muted); transition: transform .2s; }
.acc-item.is-open .acc-btn .i { transform: rotate(180deg); }
.acc-body { display: none; padding: 0 18px 18px; font-size: 14.5px; line-height: 1.6; color: var(--navy-2); }
.acc-item.is-open .acc-body { display: block; }
.acc-body a { color: var(--blue); font-weight: 500; }
.nf { text-align: center; padding-top: 72px; padding-bottom: 96px; }
.nf-code { font-size: 120px; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: var(--navy); }
.nf-code span { color: var(--yellow); }
.nf h1 { font-size: 28px; margin-top: 8px; }
.nf p { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 480px; margin-left: auto; margin-right: auto; }
.nf-search { display: flex; gap: 10px; max-width: 520px; margin: 28px auto 0; }
.nf-search .input-wrap { flex: 1; }
.nf-search .btn { height: 44px; flex: none; }
.nf .success-actions { margin-top: 22px; justify-content: center; }
.nf .chips { justify-content: center; margin-top: 36px; }
.nf .chip .i { width: 15px; height: 15px; margin-right: 6px; color: var(--muted); }
.i-spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1240px) {
  .hsearch-cat { display: none; }
  .hnav-link { padding: 0 8px; }
}

@media (max-width: 1024px) {
  :root { --hdr-h: 60px; }
  .hdr { top: 0; }
  .topbar { display: none; }
  .mainbar-in > .hsearch, .hnav { display: none; }
  .hdr-mob { display: flex; }
  .msearch { display: block; }
  .hero { padding: 44px 0 40px; }
  .hero-title { font-size: 38px; }
  .sform { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sform-kw { grid-column: 1 / 4; }
  .sform .btn { grid-column: 4; }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .shops { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .order-grid { grid-template-columns: 1fr; gap: 36px; }
  .order-card { max-width: 640px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .detail { grid-template-columns: 1fr; grid-template-areas: "gallery" "head" "aside" "body"; gap: 16px; }
  .d-aside { position: static; gap: 16px; }
  .d-body { gap: 16px; }
}

@media (max-width: 768px) {
  :root { --gutter: 16px; --hdr-h: 56px; }
  body { font-size: 14.5px; }
  .hero { padding: 32px 0 30px; }
  .hero-sq { width: 380px; height: 380px; right: -170px; top: -150px; border-radius: 40px; }
  .hero-sq2 { display: none; }
  .hero-title { font-size: 30px; max-width: none; }
  .hero-sub { font-size: 15px; margin-top: 12px; }
  .spanel { margin-top: 22px; padding: 0 16px 18px; border-radius: 12px; }
  .stabs { gap: 20px; margin-bottom: 16px; }
  .stab { font-size: 14px; padding: 14px 0 12px; }
  .sform { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sform-kw, .sform .btn { grid-column: span 2; }
  .sform .btn { width: 100%; }
  .spop { margin-top: 14px; }
  .stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 26px; }
  .stat { padding: 0; border: 0; }
  .stat-n { font-size: 24px; }
  .stat-l { font-size: 13px; }

  .sec { padding: 40px 0; }
  .sec-head { margin-bottom: 18px; align-items: center; }
  .sec-title { font-size: 22px; }
  .sec-sub { display: none; }
  .sec-actions { gap: 12px; }
  .sec-actions .btn-sm { display: none; }
  .sec-count { display: none; }

  .cats { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); gap: 10px; margin: 0 calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .cats::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 136px; scroll-snap-align: start; padding: 18px 8px 16px; gap: 10px; }
  .cat-ico { width: 50px; height: 50px; }
  .cat-ico .i { width: 24px; height: 24px; }
  .cat-name { font-size: 13.5px; }

  .shops { grid-template-columns: 1fr 1fr; gap: 12px; }
  .shop { padding: 14px; gap: 12px; }
  .shop-top { flex-direction: column; align-items: flex-start; gap: 10px; }
  .shop-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; }
  .logo-box { width: 56px; height: 56px; }

  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 10px 12px 12px; gap: 5px; }
  .card-price { font-size: 16px; }
  .card-title { font-size: 13.5px; }
  .card-meta { font-size: 11.5px; gap: 4px; }
  .card-seller { font-size: 12px; }
  .fav-btn { width: 36px; height: 36px; top: 8px; right: 8px; }

  .cblock + .cblock { margin-top: 36px; }
  .cblock-head { gap: 10px; margin-bottom: 16px; }
  .cblock-ico { width: 40px; height: 40px; }
  .cblock-ico .i { width: 20px; height: 20px; }
  .cblock-title { font-size: 19px; }
  .cblock-sub { display: none; }

  .order { padding: 44px 0 48px; }
  .order .hero-sq { width: 380px; height: 380px; left: -200px; bottom: -180px; }
  .order-title { font-size: 28px; }
  .order-sub { font-size: 15px; }
  .order-list { margin-top: 22px; gap: 12px; }
  .order-card { padding: 22px 18px; }
  .fgrid { grid-template-columns: 1fr; gap: 12px; }
  .span-2 { grid-column: auto; }

  .reg { padding: 44px 0; }
  .reg-title { font-size: 24px; }
  .reg-sub { font-size: 14px; }
  .reg-grid { grid-template-columns: 1fr; gap: 16px; }
  .acct-head { padding: 20px 18px 14px; }
  .acct-body { padding: 6px 18px 20px; gap: 14px; }
  .acct-tag { top: 14px; right: 14px; }
  .acct-title { font-size: 18px; }

  .footer { padding: 44px 0 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; margin-top: 32px; }

  .toast { bottom: 20px; font-size: 13.5px; padding: 11px 16px; }

  /* Detail */
  .crumbs { padding-top: 14px; font-size: 12.5px; }
  .detail { padding: 12px 0 32px; }
  .gal { padding: 8px; }
  .gal-arrow { width: 40px; height: 40px; }
  .gal-prev { left: 10px; }
  .gal-next { right: 10px; }
  .gal-zoom { top: 10px; right: 10px; }
  .gal-pill { top: 12px; left: 12px; }
  .gal-count { left: 10px; bottom: 10px; }
  .gal-thumbs { margin-top: 8px; gap: 8px; }
  .thumb { width: 64px; height: 64px; }
  .panel { padding: 18px 16px; }
  .panel-title { font-size: 17px; margin-bottom: 12px; }
  .d-title { font-size: 22px; }
  .d-meta { gap: 6px 14px; margin-top: 10px; font-size: 13px; }
  .specs { font-size: 13.5px; }
  .specs th { width: 38%; padding: 9px 10px; }
  .specs td { padding: 9px 10px; }
  .safety { flex-direction: column; gap: 12px; padding: 18px 16px; }
  .safety ul { grid-template-columns: 1fr; }
  .d-price { font-size: 28px; }
  .d-actions { flex-wrap: wrap; }
  .d-actions .fav-detail { flex: 1 1 100%; }
  .d-actions .btn-icon { flex: 1; width: auto; }
  .sec-sm { padding: 4px 0 32px; }
  .mbar { display: flex; }
  body.has-mbar { padding-bottom: 80px; }
  .ae-demo { bottom: 84px; right: 12px; padding: 4px 4px 4px 12px; }
  .ae-demo-label { font-size: 11px; }
  .lb-btn { width: 44px; height: 44px; }
  .lb-close { top: 12px; right: 12px; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }
  .lightbox img { max-width: 100vw; border-radius: 0; }
}

/* ---- Yeni səhifələr: responsive ---- */
@media (max-width: 1024px) {
  .lay-side { grid-template-columns: 1fr; }
  .lay-side > aside { position: static; }
  .lay-side-r { grid-template-columns: 1fr; }
  .lay-side-r > aside { position: static; }
  .filters-drawer { position: fixed; inset: 0; z-index: 120; display: none; }
  .filters-drawer.is-open { display: block; }
  .filters-drawer .filters-overlay { position: absolute; inset: 0; background: rgba(27, 42, 59, .5); }
  .filters-drawer .filters { position: absolute; top: 0; right: 0; bottom: 0; width: min(400px, 92vw); border-radius: 0; border: 0; display: flex; flex-direction: column; animation: drawer-in .25s var(--ease); }
  @keyframes drawer-in { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .filters-drawer .filters-body { flex: 1; overflow: auto; }
  .filters-close { display: inline-grid; }
  .filters-foot { display: flex; }
  .filters-open { display: inline-flex; }
  .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .list-view .card-media { width: 200px; }
  .shops-2 { gap: 16px; }
  .shop-hero { flex-direction: column; gap: 20px; }
  .shop-hero-stats .sstat { flex: 1; }
  .shop-side { flex-direction: row; flex-wrap: wrap; }
  .shop-side .panel { flex: 1 1 300px; }
  .auth { grid-template-columns: 1fr; min-height: 0; }
  .auth-side { padding: 40px var(--gutter); order: 2; }
  .auth-side h2 { font-size: 28px; }
  .auth-stats { margin-top: 28px; padding-top: 22px; }
  .auth-main { padding: 32px var(--gutter) 48px; }
  .lay-post { grid-template-columns: 1fr; }
  .post-aside { position: static; }
  .post-aside .preview-panel { display: none; }
  .cab { grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
  .cab-side { position: static; }
  .cab-nav { flex-direction: row; overflow-x: auto; scrollbar-width: none; padding: 6px; gap: 4px; }
  .cab-nav::-webkit-scrollbar { display: none; }
  .cab-nav a, .cab-nav button { width: auto; height: 40px; white-space: nowrap; flex: none; }
  .cab-nav .cab-nav-sep { width: 1px; height: auto; margin: 4px 2px; }
  .stat-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .static { grid-template-columns: 1fr; gap: 20px; }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .prose-lg { padding: 28px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-head { padding-top: 18px; padding-bottom: 16px; }
  .page-title { font-size: 24px; }
  .page-sub { font-size: 14px; margin-top: 6px; }
  .page-head-row { flex-direction: column; align-items: flex-start; gap: 12px; }
  .page-head-row .btn { width: 100%; }
  .main-pad { padding-bottom: 40px; }
  .results-bar { gap: 10px; margin-bottom: 12px; }
  .results-title { font-size: 19px; }
  .results-count { font-size: 13px; }
  .results-tools { width: 100%; margin-left: 0; }
  .results-tools .select { flex: 1; }
  .view-toggle { display: none; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .list-view .card { flex-direction: column; }
  .list-view .card-media { width: auto; }
  .list-view .card-body { padding: 10px 12px 12px; }
  .active-chips { margin-bottom: 12px; }
  .pagination { margin-top: 20px; gap: 4px; }
  .pg-btn { min-width: 36px; height: 36px; }
  .empty { padding: 36px 16px; }
  .empty-lg { padding: 48px 16px; }
  .notice { align-items: flex-start; font-size: 13.5px; flex-wrap: wrap; }
  .notice .btn { margin-left: 52px; }

  .shops-tools .input-wrap { min-width: 0; max-width: none; flex: 1 1 100%; }
  .shops-tools .select { flex: 1; }
  .shops-2 { grid-template-columns: 1fr; gap: 12px; }
  .shop-lg { padding: 16px; gap: 12px; }
  .shop-lg .logo-box { width: 60px; height: 60px; }
  .shop-lg .shop-name { font-size: 16px; }
  .shop-lg-cta { flex-direction: column; }
  .shop-lg-cta .btn { width: 100%; }
  .shops-cta { grid-template-columns: 1fr; padding: 24px 20px; gap: 16px; margin-top: 28px; }
  .shops-cta h2 { font-size: 20px; }
  .shops-cta .btn { width: 100%; }

  .shop-hero { padding: 18px 0; gap: 16px; }
  .shop-hero-main { gap: 14px; }
  .logo-lg { width: 72px; height: 72px; padding: 7px; }
  .shop-hero-id h1 { font-size: 22px; gap: 8px; }
  .shop-hero-id p { font-size: 14px; }
  .shop-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; gap: 8px; }
  .shop-hero-stats .sstat { min-width: 0; padding: 10px; }
  .shop-hero-stats .sstat b { font-size: 18px; }
  .shop-side { flex-direction: column; }
  .shop-side .panel { flex: none; }
  .shop-catlist-panel .flist { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .shop-catlist-panel .flist-item { margin: 0; min-height: 32px; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 0 12px; font-size: 13px; gap: 6px; }
  .shop-catlist-panel .flist-item.is-active { border-color: var(--navy); background: var(--navy); color: #fff; }
  .shop-catlist-panel .flist-item.is-active em { color: rgba(255, 255, 255, .7); }
  .map-ph { height: 120px; }

  .auth-side { padding: 32px var(--gutter) 36px; }
  .auth-side h2 { font-size: 24px; }
  .auth-side p { font-size: 15px; }
  .auth-points { margin-top: 20px; gap: 10px; }
  .auth-points li { font-size: 14px; }
  .auth-stats { gap: 20px; }
  .auth-stats b { font-size: 22px; }
  .auth-main { padding: 20px var(--gutter) 36px; }
  .auth-card { padding: 22px 18px; border-radius: 12px; }
  .auth-title { font-size: 22px; }
  .auth-sub { margin-bottom: 18px; }
  .auth-social { grid-template-columns: 1fr; }
  .seg-btn { padding: 7px 8px; }
  .seg-btn b { font-size: 13px; }
  .seg-btn small { font-size: 11px; }
  .success-card { padding: 32px 20px; }
  .success h2 { font-size: 22px; }
  .success-actions .btn { width: 100%; }

  .form-sec { padding: 18px 16px; }
  .form-sec-head { gap: 10px; margin-bottom: 14px; }
  .step-n { width: 30px; height: 30px; font-size: 13px; }
  .form-sec-head h2 { font-size: 16px; }
  .cat-pick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .cat-pick-item { flex-direction: row; text-align: left; padding: 10px 12px; gap: 10px; }
  .cat-pick-ico { width: 36px; height: 36px; }
  .cat-pick-ico .i { width: 18px; height: 18px; }
  .cat-pick-name { font-size: 12.5px; }
  .cat-pick-item .i-check { top: 50%; transform: translateY(-50%); right: 10px; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .form-actions .btn-lg { width: 100%; }
  .form-actions .btn-ghost { width: 100%; }

  .cab { padding-top: 14px; padding-bottom: 40px; }
  .cab-user { padding: 14px; }
  .cab-head { margin-bottom: 14px; }
  .cab-head h1 { font-size: 22px; }
  .cab-head .btn span { display: none; }
  .cab-head .btn { width: 44px; padding: 0; }
  .stat-cards { gap: 10px; margin-bottom: 14px; }
  .stat-card { padding: 14px; column-gap: 10px; }
  .stat-card > .i { width: 34px; height: 34px; padding: 8px; }
  .stat-card b { font-size: 19px; }
  .cab-quick { grid-template-columns: 1fr; gap: 10px; margin-bottom: 14px; }
  .row { grid-template-columns: 76px minmax(0, 1fr); grid-template-areas: "img main" "img foot"; gap: 4px 12px; padding: 10px; }
  .row-img { grid-area: img; width: 76px; align-self: start; }
  .row-main { grid-area: main; }
  .row-title { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 14px; }
  .row-meta { font-size: 12px; }
  .row-price, .row .pill, .row-actions { grid-area: foot; }
  .row-price { font-size: 15px; justify-self: start; }
  .row .pill { justify-self: start; margin-left: 96px; }
  .row-actions { justify-self: end; }
  .row-actions .icon-btn { width: 34px; height: 34px; }
  .sub-card { grid-template-columns: 1fr; padding: 20px; gap: 14px; }
  .sub-price { text-align: left; }
  .sub-card .btn { grid-column: 1; justify-self: stretch; }
  .logo-edit { flex-direction: column; align-items: flex-start; }
  .logo-edit .upload { width: 100%; }
  .cab-form .btn { align-self: stretch; }

  .static { padding-top: 20px; padding-bottom: 40px; }
  .prose-lg { padding: 22px 18px; font-size: 15px; }
  .prose-lg h2 { font-size: 19px; margin-top: 28px; }
  .toc a { padding: 7px 10px; font-size: 13px; }
  .about-hero { padding: 40px 0; }
  .about-hero h1 { font-size: 28px; }
  .about-hero p { font-size: 15px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { padding: 20px; }
  .timeline { grid-template-columns: 1fr; gap: 14px; }
  .tl { padding: 0 0 0 28px; }
  .tl::before { top: 3px; }
  .split { grid-template-columns: 1fr; gap: 20px; }
  .contact-grid { padding-top: 20px; padding-bottom: 40px; gap: 16px; }
  .contact-cards { grid-template-columns: 1fr; gap: 10px; }
  .acc-btn { padding: 14px 14px; font-size: 14.5px; }
  .acc-body { padding: 0 14px 14px; font-size: 14px; }
  .nf { padding-top: 48px; padding-bottom: 64px; }
  .nf-code { font-size: 88px; }
  .nf h1 { font-size: 22px; }
}

@media (max-width: 400px) {
  .grid-3 { gap: 10px; }
  .row .pill { margin-left: 0; }
  .hero-title { font-size: 28px; }
  .stat-n { font-size: 22px; }
  .card-price { font-size: 15px; }
  .card-price small { font-size: 11px; }
  .ae-demo-label { display: none; }
  .ae-demo { padding: 4px; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
