/* TenderBaza — dizayn tizimi.
   Ranglar: chuqur tungi fon, indigo → binafsha gradient (asosiy), zumrad (eng yaxshi narx), qahrabo (VIP).
   O'zgaruvchi nomlari (--navy, --sapphire, --gold) shablonlarda ham ishlatiladi — nomini o'zgartirmang. */
:root {
  --navy: #0B1020; --navy-2: #131A33; --sapphire: #4F46E5; --sapphire-d: #4338CA; --violet: #7C3AED; --cyan: #06B6D4;
  --gold: #F5B841; --gold-l: #FCD98A;
  --grad: linear-gradient(135deg, #4F46E5 0%, #7C3AED 60%, #A855F7 100%);
  --grad-gold: linear-gradient(135deg, #FCD98A 0%, #F5B841 55%, #E89B1E 100%);
  --bg: #F6F7FB; --card: #FFFFFF; --line: #E6E8F0; --line-2: #D7DBE7; --ink: #0B1020; --muted: #5B6478;
  --chip: #EEF0FF; --chip-ink: #4338CA; --soft: #F2F4F9; --link: #4F46E5;
  --good: #047857; --good-bg: #E6F7F0; --warn: #B45309; --warn-bg: #FEF4E2; --bad: #C2261C; --bad-bg: #FEF1F0;
  --on-dark: #F4F6FF; --on-dark-muted: #A9B2CC;
  --radius: 18px; --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 16, 32, .05), 0 1px 1px rgba(11, 16, 32, .03);
  --shadow: 0 14px 34px -12px rgba(30, 27, 75, .22), 0 4px 10px -4px rgba(11, 16, 32, .08);
  --shadow-lg: 0 30px 60px -20px rgba(30, 27, 75, .35);
  --ring: 0 0 0 4px rgba(79, 70, 229, .16);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
html[data-theme="dark"] {
  --bg: #070A14; --card: #0F1426; --line: #1E2640; --line-2: #2A3352; --ink: #E9ECF7; --muted: #9AA4BE;
  --chip: #1C1F48; --chip-ink: #C7CBFF; --soft: #0C1121; --link: #A5B4FC; --sapphire: #6366F1;
  --good: #34D399; --good-bg: #0B2A20; --warn: #FBBF24; --warn-bg: #2A2008; --bad: #F87171; --bad-bg: #2C1214;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 14px 34px -12px rgba(0, 0, 0, .6), 0 4px 10px -4px rgba(0, 0, 0, .4);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .7);
  --ring: 0 0 0 4px rgba(129, 140, 248, .22);
  color-scheme: dark;
}

/* ── Asos ─────────────────────────────────────────────────────────────── */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--ink); background: var(--bg);
       font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
       transition: background-color .3s var(--ease), color .3s var(--ease); }
::selection { background: rgba(124, 58, 237, .22); }
a { color: var(--link); text-decoration: none; transition: color .15s; }
a:hover { color: var(--violet); }
h1, h2, h3, .display { font-family: Manrope, Inter, sans-serif; letter-spacing: -.025em; }
h1 { font-size: 34px; line-height: 1.12; margin: 0 0 8px; font-weight: 800; }
h2 { font-size: 26px; line-height: 1.2; margin: 0 0 16px; font-weight: 800; }
h3 { font-size: 18px; margin: 0 0 8px; font-weight: 700; }
img { max-width: 100%; }
.wrap { max-width: 1220px; margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.nums { font-variant-numeric: tabular-nums; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.section { padding: 72px 0 0; }
.layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; padding: 32px 0 72px; }
.layout > .main { flex: 999 1 600px; min-width: 0; }
.layout > .side { flex: 1 1 260px; max-width: 300px; position: sticky; top: 92px; }
.sep { height: 1px; background: var(--line); margin: 6px 0; }
.grad-text { background: linear-gradient(120deg, #C7D2FE 0%, #A78BFA 40%, #F0ABFC 70%, #FCD98A 100%); -webkit-background-clip: text;
             background-clip: text; color: transparent; background-size: 200% auto; animation: shimmer 8s linear infinite; }
main { animation: page-in .5s var(--ease) both; }

/* ── Sarlavha (yopishqoq, shishasimon) ────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 50; background: rgba(11, 16, 32, .78); color: var(--on-dark);
       -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
       border-bottom: 1px solid rgba(255, 255, 255, .06); transition: box-shadow .25s, background-color .25s; }
.top.scrolled { box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .45); background: rgba(11, 16, 32, .9); }
.top .bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: Manrope, sans-serif; font-weight: 800; font-size: 21px; letter-spacing: -.02em; }
.logo:hover { color: #fff; }
.logo .mark { width: 36px; height: 36px; border-radius: 11px; background: var(--grad); display: grid; place-items: center;
              box-shadow: 0 6px 18px -4px rgba(124, 58, 237, .6), inset 0 1px 0 rgba(255, 255, 255, .25); transition: transform .4s var(--ease); }
.logo:hover .mark { transform: rotate(-8deg) scale(1.06); }
.logo b { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; }
.nav { display: flex; flex-wrap: wrap; gap: 6px; font-weight: 500; font-size: 15px; }
.nav a { color: var(--on-dark-muted); padding: 8px 12px; border-radius: 10px; position: relative; transition: color .2s, background-color .2s; }
.nav a:hover, .nav a.on { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.on::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--grad); }
.top .actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.top .who { color: var(--on-dark-muted); font-size: 13px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .06);
            border: 1px solid rgba(255, 255, 255, .08); }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04);
            color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color .2s, transform .3s var(--ease); }
.icon-btn:hover { background: rgba(255, 255, 255, .1); transform: rotate(-15deg); }

/* ── Tugmalar ─────────────────────────────────────────────────────────── */
.btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px;
       padding: 10px 20px; border-radius: 13px; border: 1.5px solid transparent; font: 600 15px Inter, sans-serif; cursor: pointer;
       text-decoration: none !important; color: #fff; background: var(--grad); background-size: 140% 140%;
       box-shadow: 0 8px 20px -8px rgba(79, 70, 229, .65), inset 0 1px 0 rgba(255, 255, 255, .18);
       transition: transform .2s var(--ease), box-shadow .25s var(--ease), background-position .4s, filter .2s; }
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%);
              transform: translateX(-120%); transition: transform .7s var(--ease); pointer-events: none; }
.btn:hover { color: #fff; transform: translateY(-1px); background-position: 100% 0; box-shadow: 0 14px 28px -10px rgba(79, 70, 229, .75), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:focus-visible { outline: none; box-shadow: var(--ring); }
.btn.gold { background: var(--grad-gold); color: #1A1204; box-shadow: 0 8px 20px -8px rgba(232, 155, 30, .7), inset 0 1px 0 rgba(255, 255, 255, .4); }
.btn.gold:hover { color: #1A1204; }
.btn.navy { background: var(--navy); box-shadow: 0 8px 20px -10px rgba(11, 16, 32, .7); }
html[data-theme="dark"] .btn.navy { background: #1E2547; }
.btn.ghost, .btn.outline, .btn.gold-outline, .btn.danger { background: var(--card); box-shadow: var(--shadow-sm); }
.btn.ghost { color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { color: var(--ink); border-color: var(--sapphire); box-shadow: var(--ring); }
.btn.outline { color: var(--link); border-color: var(--sapphire); }
.btn.outline:hover { color: var(--link); background: var(--chip); }
.btn.gold-outline { color: var(--ink); border-color: var(--gold); }
.btn.gold-outline:hover { color: var(--ink); background: var(--warn-bg); }
.btn.danger { color: var(--bad); border-color: var(--bad); }
.btn.danger:hover { color: var(--bad); background: var(--bad-bg); }
.btn.ghost::after, .btn.outline::after, .btn.gold-outline::after, .btn.danger::after { display: none; }
.top .btn.ghost { color: #fff; background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .16); box-shadow: none; }
.top .btn.ghost:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .3); }
.top .btn.gold-outline { color: var(--gold-l); background: transparent; }
.btn.sm { min-height: 36px; padding: 6px 13px; font-size: 14px; border-radius: 10px; }
.btn.block { width: 100%; }
.linkbtn { background: none; border: 0; padding: 0; color: var(--link); font: inherit; cursor: pointer; }
.linkbtn:hover { color: var(--violet); }

/* ── Kartalar ─────────────────────────────────────────────────────────── */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm);
        transition: border-color .25s, box-shadow .25s, background-color .3s; }
.card.dark { position: relative; overflow: hidden; color: var(--on-dark); border-color: transparent;
             background: radial-gradient(120% 140% at 100% 0%, rgba(124, 58, 237, .45) 0%, transparent 55%),
                         radial-gradient(90% 120% at 0% 100%, rgba(79, 70, 229, .4) 0%, transparent 55%), var(--navy); }
.card.dark .muted { color: var(--on-dark-muted); }
.lift { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s; }
.lift:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(99, 102, 241, .35); }

/* ── Belgilar ─────────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px;
         background: var(--chip); color: var(--chip-ink); white-space: nowrap; line-height: 1.4; }
.badge.good { background: var(--good-bg); color: var(--good); }
.badge.good::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.warn { background: var(--warn-bg); color: var(--warn); }
.badge.bad { background: var(--bad-bg); color: var(--bad); }
.badge.top { background: var(--grad); color: #fff; border-radius: 8px; letter-spacing: .06em; font-weight: 700; }
.badge.vip { background: var(--grad-gold); color: #1A1204; border-radius: 8px; letter-spacing: .06em; font-weight: 800;
             box-shadow: 0 4px 12px -4px rgba(232, 155, 30, .7); }
.badge.navy { background: var(--navy); color: var(--gold-l); border-radius: 8px; }

/* ── Bosh sahifa: hero ────────────────────────────────────────────────── */
.hero-bg { position: relative; overflow: hidden; color: var(--on-dark); background: var(--navy); margin-top: -1px; }
.hero-bg::before, .hero-bg::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; pointer-events: none; }
.hero-bg::before { width: 620px; height: 620px; left: -160px; top: -220px; background: #4F46E5; animation: drift 18s ease-in-out infinite alternate; }
.hero-bg::after { width: 560px; height: 560px; right: -140px; top: 60px; background: #A855F7; animation: drift 22s ease-in-out infinite alternate-reverse; }
.hero-bg .glow { position: absolute; width: 420px; height: 420px; left: 45%; bottom: -260px; border-radius: 50%; background: #06B6D4;
                 filter: blur(90px); opacity: .28; animation: drift 26s ease-in-out infinite alternate; pointer-events: none; }
.hero-bg .gridlines { position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%); }
.hero { position: relative; z-index: 1; padding: 76px 0 88px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.hero > * { animation: rise .8s var(--ease) both; }
.hero > *:nth-child(2) { animation-delay: .08s; } .hero > *:nth-child(3) { animation-delay: .16s; } .hero > *:nth-child(4) { animation-delay: .24s; }
.hero > *:nth-child(5) { animation-delay: .32s; } .hero > *:nth-child(6) { animation-delay: .4s; } .hero > *:nth-child(7) { animation-delay: .48s; }
.hero h1 { font-size: clamp(36px, 5.8vw, 66px); line-height: 1.04; max-width: 960px; margin: 0; letter-spacing: -.04em; color: #fff; }
.hero p { color: var(--on-dark-muted); font-size: 18px; max-width: 680px; margin: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(252, 217, 138, .3); color: var(--gold-l);
           background: rgba(245, 184, 65, .08); border-radius: 999px; padding: 7px 16px; font-size: 14px; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(245, 184, 65, .6); animation: pulse 2.2s infinite; }
.search { width: 100%; max-width: 900px; background: rgba(255, 255, 255, .96); border-radius: 20px; padding: 8px; display: flex; flex-wrap: wrap; gap: 8px;
          box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .5), 0 0 0 8px rgba(255, 255, 255, .06); }
.search input, .search select { height: 56px; border: 0; border-radius: 14px; padding: 0 18px; font: 400 16px Inter, sans-serif; color: #0B1020; box-shadow: none !important; }
.search input { flex: 1 1 280px; min-width: 0; outline: none; background: transparent; }
.search select { flex: 0 1 230px; background: #F2F4F9; }
.search .btn { height: 56px; padding: 0 28px; border-radius: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chips a { color: #E2E6F5; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); border-radius: 999px; padding: 7px 15px;
           font-size: 14px; transition: background-color .2s, border-color .2s, transform .2s var(--ease); }
.chips a:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .3); transform: translateY(-1px); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; width: 100%; max-width: 860px;
         background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .08); border-radius: 20px; overflow: hidden; margin-top: 14px;
         -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.stats div { background: rgba(19, 26, 51, .7); padding: 22px 16px; }
.stats b { display: block; font-family: Manrope, sans-serif; font-size: 32px; color: #fff; letter-spacing: -.02em; }
.stats span { color: var(--on-dark-muted); font-size: 14px; }
.trust { background: var(--card); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; padding: 18px 24px; font-weight: 500; font-size: 14px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }

/* ── Formalar ─────────────────────────────────────────────────────────── */
label { font-weight: 500; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > label { color: var(--ink); }
input[type=text], input[type=tel], input[type=password], input[type=number], input[type=date], input[type=search], input[type=email], select, textarea {
  width: 100%; min-height: 46px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 10px 14px; font: 400 15px Inter, sans-serif;
  color: var(--ink); background: var(--card); transition: border-color .2s, box-shadow .2s, background-color .2s; }
input::placeholder, textarea::placeholder { color: #9AA1B5; }
input:hover, select:hover, textarea:hover { border-color: #B9BFD3; }
html[data-theme="dark"] input:hover, html[data-theme="dark"] select:hover, html[data-theme="dark"] textarea:hover { border-color: #3A4466; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sapphire); box-shadow: var(--ring); }
input[readonly] { background: var(--soft); color: var(--muted); cursor: default; }
input[readonly]:focus { box-shadow: none; border-color: var(--line-2); }
input:disabled { background: var(--soft); color: var(--muted); }
select { appearance: none; -webkit-appearance: none; padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7390' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6l6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
textarea { min-height: 100px; resize: vertical; }
input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--sapphire); cursor: pointer; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { margin-top: 2px; flex: none; }
.form-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.hint { font-size: 13px; color: var(--muted); font-weight: 400; }

/* Takrorlanadigan qatorlar (narx so'rovi pozitsiyalari, narx pog'onalari):
   sarlavha bir marta tepada; qatorlarda yorliq faqat telefonda ko'rinadi. */
.lines { border: 1px solid var(--line); border-radius: 16px; background: var(--card); }
.lines-head, .line { display: grid; gap: 10px; align-items: center; grid-template-columns: var(--cols); padding: 0 14px; }
.lines-head { padding-top: 11px; padding-bottom: 11px; background: var(--soft); border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0;
              font-size: 12px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.line { padding-top: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); transition: background-color .2s; }
.line:last-child { border-bottom: 0; }
.line:hover { background: color-mix(in srgb, var(--soft) 60%, transparent); }
.line .lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.line .field { gap: 4px; min-width: 0; }
.line [data-num] { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--chip); color: var(--chip-ink);
                   font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.line .del { width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 10px; color: var(--muted); }
.line .del:hover { color: var(--bad); border-color: var(--bad); box-shadow: none; background: var(--bad-bg); }
.line .unit-cell { color: var(--muted); font-size: 14px; }
.line.row-in { animation: row-in .45s var(--ease) both; }
.line.row-out { animation: row-out .25s ease-in both; }
.lines-foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 12px 14px;
              border-top: 1px dashed var(--line-2); }
.lines-rfq { --cols: 28px minmax(0, 1fr) 130px 110px 36px; }
.lines-tiers { --cols: minmax(0, 1fr) minmax(0, 1fr) 36px; }
@media (max-width: 680px) {
  .lines-head { display: none; }
  .line { grid-template-columns: 1fr 1fr; padding: 14px; gap: 12px; }
  .line .lbl { position: static; width: auto; height: auto; clip: auto; font-size: 12px; color: var(--muted); }
  .line .wide { grid-column: 1 / -1; }
  .lines-rfq .line [data-num] { grid-column: 1; }
  .lines-rfq .line .del { grid-column: 2; grid-row: 1; justify-self: end; }
  .lines-tiers .line .del { grid-column: 1 / -1; justify-self: end; }
}

/* Mahsulot tanlash ro'yxati */
.picker { position: relative; }
.picker input.picked { border-color: var(--good); background-image: 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='%23059669' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.picker-list { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; right: 0; max-height: 340px; overflow-y: auto; padding: 6px;
  background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-lg); animation: pop .18s var(--ease) both; }
.picker-list button { display: block; width: 100%; text-align: left; padding: 10px 12px; border: 0; border-radius: 10px;
  background: none; color: var(--ink); font: inherit; cursor: pointer; transition: background-color .12s; }
.picker-list button + button { margin-top: 2px; }
.picker-list button:hover, .picker-list button.on { background: var(--chip); }
.picker-list button.on b { color: var(--chip-ink); }
.picker-list .empty { padding: 14px; color: var(--muted); font-size: 14px; text-align: center; }

/* ── Jadvallar ────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--muted); font-weight: 600; background: var(--soft); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; white-space: nowrap; }
tbody tr { transition: background-color .15s; }
tbody tr:hover td { background: color-mix(in srgb, var(--soft) 70%, transparent); }
tr:last-child td { border-bottom: 0; }
td.best, tbody tr:hover td.best { background: var(--good-bg); box-shadow: inset 3px 0 0 var(--good); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ── Xabarlar ─────────────────────────────────────────────────────────── */
.flashes { display: flex; flex-direction: column; gap: 8px; margin: 18px 0 0; }
.flash { display: flex; gap: 10px; align-items: flex-start; padding: 13px 16px; border-radius: 14px; font-size: 14px; border: 1px solid var(--line);
         background: var(--card); animation: slide-down .4s var(--ease) both; }
.flash::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 6px; border-radius: 50%; background: currentColor; }
.flash.success { background: var(--good-bg); color: var(--good); border-color: color-mix(in srgb, var(--good) 22%, transparent); }
.flash.error { background: var(--bad-bg); color: var(--bad); border-color: color-mix(in srgb, var(--bad) 22%, transparent); }
.flash.info { background: var(--chip); color: var(--chip-ink); border-color: color-mix(in srgb, var(--sapphire) 18%, transparent); }

/* ── Mahsulot kartasi ─────────────────────────────────────────────────── */
.pcard { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.pcard .ph { height: 148px; display: grid; place-items: center; position: relative; overflow: hidden;
             background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--sapphire) 10%, transparent), transparent 60%),
                         radial-gradient(100% 100% at 100% 100%, color-mix(in srgb, var(--violet) 10%, transparent), transparent 60%), var(--soft); }
.pcard .ph svg { color: var(--sapphire); opacity: .7; transition: transform .5s var(--ease), opacity .3s; }
.pcard:hover .ph svg { transform: scale(1.12) rotate(-4deg); opacity: 1; }
.pcard .ph .badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.pcard .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pcard h3 a:hover { color: var(--link) !important; }
.price { font-family: Manrope, sans-serif; font-weight: 800; font-size: 22px; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.price small { font-size: 14px; color: var(--muted); font-weight: 600; }
.pcard .foot { border-top: 1px solid var(--line); padding-top: 12px; margin-top: auto; display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.pcard.highlight { border: 1.5px solid transparent; background: linear-gradient(var(--card), var(--card)) padding-box, var(--grad-gold) border-box; }
.locked { display: flex; align-items: center; gap: 10px; background: var(--soft); border: 1px dashed var(--line-2); border-radius: 12px; padding: 10px 12px; }
.locked .blur { filter: blur(6px); user-select: none; font-family: Manrope, sans-serif; font-weight: 800; font-size: 19px; }
.lock-ic { width: 32px; height: 32px; border-radius: 10px; background: var(--grad); display: grid; place-items: center; flex: none;
           box-shadow: 0 4px 12px -4px rgba(79, 70, 229, .6); }
.lock-ic svg { stroke: #fff; }
.cat-card { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.cat-card:hover { color: var(--ink); }
.cat-ic { width: 52px; height: 52px; border-radius: 15px; background: var(--chip); display: grid; place-items: center; flex: none; color: var(--sapphire);
          transition: background .3s, color .3s, transform .4s var(--ease); }
.cat-card:hover .cat-ic { background: var(--grad); color: #fff; transform: rotate(-6deg) scale(1.05); }
.list-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.list-row .ph { color: var(--sapphire); }
.list-row .info { flex: 1 1 260px; min-width: 0; }
.list-row .price-col { flex: 0 0 auto; text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.vip-block { position: relative; overflow: hidden; border-radius: 24px; padding: 20px;
             background: radial-gradient(90% 120% at 100% 0%, rgba(245, 184, 65, .22), transparent 55%),
                         radial-gradient(80% 120% at 0% 100%, rgba(124, 58, 237, .35), transparent 55%), var(--navy); }
.vip-block h2 { color: #fff; font-size: 18px; display: flex; align-items: center; gap: 10px; margin: 0; }
.tiers td, .tiers th { padding: 9px 12px; }
.calc { background: var(--soft); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.calc [data-out] { color: var(--link); }

/* ── Kabinet menyusi ──────────────────────────────────────────────────── */
.menu { display: flex; flex-direction: column; gap: 2px; padding: 8px; }
.menu a { color: var(--ink); padding: 10px 12px; border-radius: 11px; display: flex; align-items: center; justify-content: space-between; gap: 8px;
          transition: background-color .15s, color .15s, padding-left .2s var(--ease); }
.menu a:hover { background: var(--soft); color: var(--ink); padding-left: 16px; }
.menu a.on { background: var(--chip); color: var(--chip-ink); font-weight: 600; box-shadow: inset 3px 0 0 var(--sapphire); }
.menu .sep { margin: 6px 4px; }
.kpis { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.kpi { position: relative; overflow: hidden; }
.kpi::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%;
              background: var(--grad); opacity: .08; transition: transform .5s var(--ease); }
.kpi:hover::after { transform: scale(1.4); }
.kpi b { display: block; font-family: Manrope, sans-serif; font-size: 28px; letter-spacing: -.02em; }

/* ── Pastki qism ──────────────────────────────────────────────────────── */
.foot-main { position: relative; overflow: hidden; margin-top: 88px; background: var(--navy); color: var(--on-dark-muted); font-size: 14px; }
.foot-main::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(167, 139, 250, .6), transparent); }
.foot-main .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; padding: 52px 24px 24px; }
.foot-main b { color: #fff; }
.foot-main a { color: var(--on-dark-muted); display: block; margin: 8px 0; transition: color .15s, transform .2s var(--ease); }
.foot-main a:hover { color: #fff; transform: translateX(3px); }
.foot-main .copy { border-top: 1px solid rgba(255, 255, 255, .07); padding: 18px 24px 26px; font-size: 13px; }

details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 0; box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
details.faq:hover { border-color: var(--line-2); }
details.faq[open] { border-color: color-mix(in srgb, var(--sapphire) 35%, transparent); box-shadow: var(--shadow); }
details.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; padding: 18px 20px; list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
                             background: var(--chip); color: var(--chip-ink); font-size: 18px; transition: transform .3s var(--ease); }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq p, details.faq form { color: var(--muted); margin: 0; padding: 0 20px 18px; animation: fade-in .35s var(--ease) both; }
details:not(.faq) > summary { cursor: pointer; color: var(--link); font-weight: 500; }

/* ── Ekranga kirganda paydo bo'lish (JS .reveal qo'shadi) ─────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ── Animatsiyalar ────────────────────────────────────────────────────── */
@keyframes page-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-down { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: translateY(-4px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes row-in { from { opacity: 0; transform: translateY(-6px); background: var(--chip); } to { opacity: 1; transform: none; } }
@keyframes row-out { to { opacity: 0; transform: translateX(16px); } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
@keyframes shimmer { to { background-position: 200% center; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 184, 65, .55); } 70% { box-shadow: 0 0 0 9px rgba(245, 184, 65, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 184, 65, 0); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .layout > .side { position: static; max-width: none; }
  .nav { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; }
}
@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .wrap { padding: 0 16px; }
  .section { padding-top: 52px; }
  .list-row .price-col { align-items: flex-start; text-align: left; }
  .top .who { display: none; }
  .hero { padding: 48px 0 60px; }
}
@media print {
  .top, .foot-main, .no-print { display: none !important; }
  body { background: #fff; }
  main { animation: none; }
}
.top .who:hover { color: #fff; background: rgba(255, 255, 255, .1); }

/* ── Aniqlik kiritishlar ──────────────────────────────────────────────── */
.top { background: rgba(11, 16, 32, .94); }
.search input[type=search] { border: 0; min-height: 56px; background: transparent; }
.search select { border: 0; }
.foot-main .logo b { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard .foot .btn, .list-row .price-col .btn { flex: none; }
.vip-slot { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-height: 260px;
            padding: 24px; border-radius: var(--radius); border: 1.5px dashed rgba(252, 217, 138, .35); color: var(--on-dark-muted);
            transition: border-color .3s, background-color .3s, transform .35s var(--ease); }
.vip-slot:hover { color: var(--on-dark); border-color: var(--gold); background: rgba(245, 184, 65, .06); transform: translateY(-3px); }
.vip-slot b { color: #fff; font-family: Manrope, sans-serif; font-size: 18px; }
.vip-slot .plus { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-gold); color: #1A1204;
                  font-size: 24px; font-weight: 700; box-shadow: 0 8px 20px -6px rgba(232, 155, 30, .7); }

@media (max-width: 900px) {
  /* telefonda sarlavha yopishmaydi — ekranni egallamasin */
  .top { position: relative; }
  .top .bar { gap: 10px; padding: 12px 0; }
  .nav { gap: 2px; margin: 0 -6px; padding-bottom: 2px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 7px 10px; font-size: 14px; }
  /* kabinet menyusi — gorizontal tasmasimon */
  .menu { flex-direction: row; overflow-x: auto; padding: 6px; gap: 4px; scrollbar-width: none; }
  .menu::-webkit-scrollbar { display: none; }
  .menu a { white-space: nowrap; padding: 8px 12px; }
  .menu a:hover { padding-left: 12px; }
  .menu a.on { box-shadow: inset 0 -2px 0 var(--sapphire); }
  .menu .sep { display: none; }
  .layout { gap: 18px; padding-top: 18px; }
}
@media (max-width: 640px) {
  .top .actions .btn.sm { min-height: 34px; padding: 5px 10px; font-size: 13px; }
  .icon-btn { width: 34px; height: 34px; border-radius: 10px; }
  .logo { font-size: 19px; }
  .logo .mark { width: 32px; height: 32px; }
  .search .btn { flex: 1 1 100%; }
}
.flash { display: block; }
.flash::before { display: inline-block; vertical-align: middle; margin: -2px 10px 0 0; }
.flash a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .layout > .side, .layout > .main { flex: 1 1 100%; min-width: 0; max-width: 100%; }
  .top .bar > * { min-width: 0; }
}
body { overflow-x: hidden; }
.top .bar { padding: 14px 24px; }
@media (max-width: 900px) { .top .bar { padding: 12px 24px; } }
@media (max-width: 640px) { .top .bar { padding: 10px 16px; } }

/* Rozilik belgilari (ro'yxatdan o'tish) */
.check.consent { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--soft); transition: border-color .2s, background .2s; }
.check.consent:has(input:checked) { border-color: color-mix(in srgb, var(--sapphire) 45%, transparent); background: color-mix(in srgb, var(--sapphire) 7%, var(--card)); }
.check.consent.need { border-color: #E5484D; background: color-mix(in srgb, #E5484D 8%, var(--card)); animation: shake .35s; }
.consent-hint { color: #E5484D; font-weight: 600; }
.btn.is-off { opacity: .55; filter: saturate(.6); }
.btn.is-off:hover { transform: none; box-shadow: none; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
@media (prefers-reduced-motion: reduce) { .check.consent.need { animation: none; } }

/* Telegram taklifi */
.tg-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: 16px; color: #fff;
  background: linear-gradient(120deg, #229ED9, #4F46E5); box-shadow: 0 14px 30px -14px rgba(34, 158, 217, .8); }
.tg-card .tg-ico { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); }
.tg-card b { display: block; font-size: 16px; }
.tg-card span { opacity: .9; }
.tg-card .btn { margin-left: auto; background: #fff; color: #1C4FD8; box-shadow: none; flex: none; }
.tg-card .btn:hover { color: #1C4FD8; }
@media (max-width: 640px) { .tg-card { flex-wrap: wrap; } .tg-card .btn { margin-left: 0; width: 100%; } }
