/* ============================================================
   NEXEL — design system
   Yashil + tilla · minimalizm · premium · light/dark
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --green:      #0F3D2E;
  --green-2:    #17573F;
  --green-soft: #EDF3F0;
  --gold:       #B8912B;
  --gold-2:     #D9B44A;
  --gold-soft:  #FAF4E4;

  --bg:         #FFFFFF;
  --bg-soft:    #F7F8F7;
  --surface:    #FFFFFF;
  --surface-2:  #FBFBFA;
  --line:       #E7E9E7;
  --line-2:     #F0F1F0;
  --text:       #14201A;
  --text-2:     #46534C;
  --muted:      #77837C;

  --danger:     #B4472F;
  --success:    #16794F;

  --tint:       7%;
  --photo-bg:   #FFFFFF;

  --shadow-sm:  0 1px 2px rgba(15, 40, 30, .05);
  --shadow:     0 6px 24px -10px rgba(15, 40, 30, .18);
  --shadow-lg:  0 24px 60px -28px rgba(15, 40, 30, .28);

  --r-sm: 10px;
  --r:    14px;
  --r-lg: 22px;
  --r-full: 999px;

  --font: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-brand: 'Manrope', "Avenir Next", "Futura", system-ui, sans-serif;

  --container: 1280px;
  --header-h: 132px;
  --ease: cubic-bezier(.32, .72, 0, 1);
}

[data-theme="dark"] {
  --green:      #1E8A63;
  --green-2:    #2AA079;
  --green-soft: #11241C;
  --gold:       #D9B44A;
  --gold-2:     #E7C976;
  --gold-soft:  #1E1A10;

  --bg:         #0A0E0C;
  --bg-soft:    #0E1310;
  --surface:    #121815;
  --surface-2:  #161D19;
  --line:       #212C26;
  --line-2:     #1A231E;
  --text:       #ECF2EE;
  --text-2:     #B6C3BB;
  --muted:      #8B968F;

  --danger:     #E2765C;
  --success:    #4FBF8E;

  --tint:       14%;
  --photo-bg:   #EDF0EE;

  --shadow-sm:  0 1px 2px rgba(0, 0, 0, .4);
  --shadow:     0 8px 28px -12px rgba(0, 0, 0, .7);
  --shadow-lg:  0 28px 64px -30px rgba(0, 0, 0, .85);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -.005em;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  transition: background .3s var(--ease), color .3s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.035em; line-height: 1.15; }
h1 { font-weight: 800; letter-spacing: -.045em; }
::selection { background: var(--green); color: #fff; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }

/* generic svg stroke icons */
svg[viewBox] { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.topbar {
  background: var(--green);
  color: #fff;
  font-size: 12.5px;
  letter-spacing: .01em;
}
[data-theme="dark"] .topbar { background: var(--green-soft); color: var(--text-2); }
.topbar__in { display: flex; align-items: center; gap: 14px; height: 36px; }
.topbar__item { opacity: .88; }
.topbar__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold-2); }
.topbar__spacer { flex: 1; }
.topbar__link { color: var(--gold-2); font-weight: 500; opacity: 1; }

.header__in { display: flex; align-items: center; gap: 28px; height: 72px; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; }
.logo__mark { width: 40px; height: 40px; flex-shrink: 0; }
.logo__bg { fill: #0C3C2C; stroke: none; }
.logo__n {
  fill: url(#nxGold); stroke: none;
  font-family: var(--font-brand); font-size: 26px; font-weight: 700; letter-spacing: -.05em;
}
.logo__lock { display: flex; flex-direction: column; line-height: 1; }
.logo__text {
  font-family: var(--font-brand);
  font-size: 23px; font-weight: 700; letter-spacing: -.045em;
  color: var(--green);
}
[data-theme="dark"] .logo__text { color: #F0F5F2; }
.logo__tag {
  font-size: 8px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-top: 4px;
}

/* to'liq doiraviy logotip (footer) */
.logo--full { width: 124px; height: 124px; }
.logo--full .logo__word {
  fill: url(#nxGold); stroke: none;
  font-family: var(--font-brand); font-size: 54px; font-weight: 700; letter-spacing: -.045em;
}
.logo--full .logo__sub {
  fill: #DEB865; stroke: none;
  font-family: var(--font-brand); font-size: 16px; font-weight: 500; letter-spacing: .01em;
}

/* search */
.search { position: relative; flex: 1; max-width: 620px; }
.search__icon {
  position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
  width: 18px; height: 18px; color: var(--muted); pointer-events: none;
}
.search__input {
  width: 100%; height: 46px;
  padding: 0 42px 0 44px;
  background: var(--bg-soft);
  border: 1px solid transparent;
  border-radius: var(--r-full);
  transition: all .2s var(--ease);
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { outline: none; background: var(--surface); border-color: var(--green); box-shadow: 0 0 0 4px color-mix(in srgb, var(--green) 10%, transparent); }
.search__clear {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-size: 22px; line-height: 1; color: var(--muted);
}
.search__drop {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow-lg);
  padding: 6px; z-index: 70; max-height: 420px; overflow-y: auto;
}
.sres { display: flex; align-items: center; gap: 12px; padding: 9px 10px; border-radius: var(--r-sm); }
.sres:hover { background: var(--bg-soft); }
.sres__thumb { width: 42px; height: 42px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0; }
.sres__thumb svg { width: 22px; height: 22px; }
.sres__name { font-size: 14px; font-weight: 500; }
.sres__meta { font-size: 12.5px; color: var(--muted); }
.sres__price { margin-left: auto; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.sres--empty { padding: 18px; text-align: center; color: var(--muted); font-size: 14px; }

/* actions */
.actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.iconbtn {
  position: relative; width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: var(--r-sm); color: var(--text-2);
  transition: background .18s var(--ease), color .18s var(--ease);
}
.iconbtn:hover { background: var(--bg-soft); color: var(--text); }
.iconbtn svg { width: 21px; height: 21px; }
.iconbtn .ic-moon { display: none; }
[data-theme="dark"] .iconbtn .ic-sun { display: none; }
[data-theme="dark"] .iconbtn .ic-moon { display: block; }
.iconbtn--menu { display: none; }
.badge {
  position: absolute; top: 4px; right: 3px;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--gold); color: #1B1403;
  font-size: 11px; font-weight: 700; line-height: 18px; text-align: center;
  border-radius: var(--r-full);
  border: 2px solid var(--bg);
}

/* nav */
.navbar { border-top: 1px solid var(--line-2); }
.navbar__in { display: flex; gap: 4px; height: 48px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.navbar__in::-webkit-scrollbar { display: none; }
.navlink {
  padding: 7px 13px; border-radius: var(--r-full);
  font-size: 14px; color: var(--text-2); white-space: nowrap;
  transition: all .18s var(--ease);
}
.navlink:hover { background: var(--bg-soft); color: var(--text); }
.navlink.is-active { background: var(--green); color: #fff; font-weight: 500; }
[data-theme="dark"] .navlink.is-active { background: var(--green-soft); color: var(--green-2); }

/* ============================================================
   SHARED UI
   ============================================================ */
.app { min-height: 70vh; padding-bottom: 90px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  height: 46px; padding: 0 22px;
  border-radius: var(--r-full);
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  border: 1px solid transparent;
  transition: all .2s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-2); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--gold { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #1B1403; font-weight: 600; }
.btn--gold:hover { filter: brightness(1.06); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--green); color: var(--green); }
.btn--soft { background: var(--bg-soft); color: var(--text); }
.btn--soft:hover { background: var(--green-soft); color: var(--green); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn--lg { height: 54px; padding: 0 30px; font-size: 15.5px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

.section { padding: 64px 0 0; }
.section__head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.section__title { font-size: 28px; letter-spacing: -.04em; }
.section__sub { color: var(--muted); font-size: 14.5px; margin-top: 6px; }
.section__link { margin-left: auto; color: var(--green); font-weight: 500; font-size: 14.5px; display: inline-flex; align-items: center; gap: 6px; }
[data-theme="dark"] .section__link { color: var(--green-2); }
.section__link svg { width: 16px; height: 16px; }
.section__link:hover svg { transform: translateX(3px); transition: transform .2s var(--ease); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }

.crumbs { display: flex; align-items: center; gap: 8px; padding: 22px 0; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.crumbs a:hover { color: var(--green); }
.crumbs span { opacity: .5; }


/* ============================================================
   BOSH SAHIFA — mahsulotlar birinchi
   ============================================================ */
.lead { padding-top: 22px; }
.lead__in {
  display: flex; align-items: center; gap: 28px; flex-wrap: wrap;
  background: var(--green); color: #fff;
  border-radius: var(--r-lg); padding: 24px 30px;
  position: relative; overflow: hidden;
}
.lead__in::after {
  content: ""; position: absolute; right: -90px; top: -110px; width: 320px; height: 320px;
  border-radius: 50%; background: radial-gradient(circle at 35% 40%, color-mix(in srgb, var(--gold) 28%, transparent), transparent 64%);
}
.lead__c { position: relative; z-index: 1; }
.lead__c .eyebrow { color: var(--gold-2); }
.lead__c .eyebrow::before { background: var(--gold-2); }
.lead__t { font-size: 26px; margin-top: 9px; letter-spacing: -.045em; font-weight: 800; }
.lead__facts {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 14px;
  margin-left: auto; font-size: 13.5px; color: rgba(255,255,255,.75); flex-wrap: wrap;
}
.lead__facts i { width: 4px; height: 4px; border-radius: 50%; background: var(--gold-2); }
.lead__call { position: relative; z-index: 1; }

/* kategoriya lentasi */
.rail { padding-top: 26px; }
.rail__in { display: grid; grid-template-columns: repeat(10, 1fr); gap: 10px; }
.rail__i {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 16px 8px; border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); text-align: center; transition: all .22s var(--ease);
}
.rail__i:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.rail__ic {
  width: 40px; height: 40px; border-radius: var(--r-sm); display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
}
[data-theme="dark"] .rail__ic { color: var(--green-2); }
.rail__ic svg { width: 21px; height: 21px; stroke-width: 1.4; }
.rail__n { font-size: 12px; font-weight: 500; line-height: 1.3; }
.rail__c { font-size: 11px; color: var(--muted); }

/* mahsulot lentasi sarlavhasi + tablar */
.section--tight { padding-top: 38px; }
.feedhead { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.ftabs { display: flex; gap: 6px; flex-wrap: wrap; }
.ftab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: var(--r-full);
  border: 1px solid var(--line); background: var(--surface);
  font-size: 14px; color: var(--text-2); transition: all .2s var(--ease);
}
.ftab span { font-size: 11.5px; color: var(--muted); }
.ftab:hover { border-color: var(--green); color: var(--text); }
.ftab.is-active { background: var(--green); border-color: var(--green); color: #fff; font-weight: 500; }
.ftab.is-active span { color: rgba(255,255,255,.65); }
[data-theme="dark"] .ftab.is-active { color: #061009; }
[data-theme="dark"] .ftab.is-active span { color: rgba(0,0,0,.45); }

.more { display: flex; flex-direction: column; align-items: center; gap: 10px; margin-top: 34px; }
.more__n { font-size: 12.5px; color: var(--muted); }

/* ============================================================
   HOME — hero
   ============================================================ */
.hero { padding-top: 40px; }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 24px; }
.hero__main {
  position: relative; overflow: hidden;
  background: var(--green);
  border-radius: var(--r-lg);
  padding: 56px 52px;
  min-height: 420px;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
  isolation: isolate;
}
.hero__main::after {
  content: ""; position: absolute; right: -120px; top: -120px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, color-mix(in srgb, var(--gold) 34%, transparent), transparent 62%);
  z-index: -1;
}
.hero__main .eyebrow { color: var(--gold-2); }
.hero__main .eyebrow::before { background: var(--gold-2); }
.hero__title { font-size: 48px; line-height: 1.08; margin: 18px 0 16px; max-width: 15ch; }
.hero__title em { font-style: normal; color: var(--gold-2); }
.hero__text { color: rgba(255,255,255,.76); max-width: 44ch; font-size: 15.5px; }
.hero__cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero__main .btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.hero__main .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); color: #fff; }
.hero__stats { display: flex; gap: 36px; margin-top: 40px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.14); }
.hero__stat b { display: block; font-size: 24px; font-weight: 600; color: var(--gold-2); }
.hero__stat span { font-size: 12.5px; color: rgba(255,255,255,.6); }

.hero__side { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.hero__card {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); background: var(--surface-2);
  border-radius: var(--r-lg); padding: 30px 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: all .3s var(--ease);
}
.hero__card:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: var(--shadow); }
.hero__card h3 { font-size: 21px; margin-bottom: 6px; }
.hero__card p { color: var(--muted); font-size: 14px; max-width: 26ch; }
.hero__card .arrow { align-self: flex-start; margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; color: var(--green); font-size: 14px; font-weight: 500; }
[data-theme="dark"] .hero__card .arrow { color: var(--green-2); }
.hero__card .arrow svg { width: 16px; height: 16px; }
.hero__card .deco {
  position: absolute; right: -20px; bottom: -20px; width: 150px; height: 150px;
  color: var(--green); opacity: .07;
}
.hero__card .deco svg { width: 100%; height: 100%; stroke-width: 1; }

/* ============================================================
   Categories
   ============================================================ */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  padding: 26px 12px;
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); text-align: center;
  transition: all .25s var(--ease);
}
.cat:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.cat__ic {
  width: 52px; height: 52px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--green-soft); color: var(--green);
}
[data-theme="dark"] .cat__ic { color: var(--green-2); }
.cat__ic svg { width: 26px; height: 26px; stroke-width: 1.4; }
.cat__name { font-size: 13.5px; font-weight: 500; line-height: 1.3; }
.cat__count { font-size: 12px; color: var(--muted); }

/* ============================================================
   Product card
   ============================================================ */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid--5 { grid-template-columns: repeat(5, 1fr); }

.card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: all .28s var(--ease);
}
.card:hover { border-color: color-mix(in srgb, var(--green) 45%, var(--line)); box-shadow: var(--shadow); transform: translateY(-3px); }
.card__media {
  position: relative; aspect-ratio: 1/1;
  display: grid; place-items: center;
  background: var(--surface-2);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden;
}
.card__media svg.pic { width: 46%; height: 46%; stroke-width: .9; color: var(--green); opacity: .85; transition: transform .4s var(--ease); }
[data-theme="dark"] .card__media svg.pic { color: var(--green-2); }
.card:hover .card__media svg.pic { transform: scale(1.07); }
.card__media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 42%, color-mix(in srgb, var(--gold) var(--tint), transparent), transparent 60%);
}
/* ---------- Haqiqiy mahsulot fotosi ---------- */
.photo { width: 100%; height: 100%; object-fit: contain; position: relative; z-index: 0; }
.has-photo { background: var(--photo-bg) !important; }
.card__media.has-photo .photo { padding: 11%; transition: transform .45s var(--ease); }
.card:hover .card__media.has-photo .photo { transform: scale(1.055); }
.pd__media.has-photo .photo { padding: 7%; }
.pd__thumb.has-photo .photo { padding: 12%; }
.citem__media.has-photo .photo { padding: 8%; }
.sres__thumb.has-photo .photo { padding: 7%; }
.order__thumb.has-photo .photo { padding: 9%; }
[data-theme="dark"] .has-photo { box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); }

.card__tags { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.tag {
  padding: 4px 9px; border-radius: var(--r-full);
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
}
.tag--new { background: var(--green); color: #fff; }
.tag--hit { background: var(--gold); color: #1B1403; }
.tag--sale { background: var(--danger); color: #fff; }
.card__fav {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  backdrop-filter: blur(6px);
  color: var(--muted); border: 1px solid var(--line);
  transition: all .2s var(--ease);
}
.card__fav svg { width: 17px; height: 17px; }
.card__fav:hover { color: var(--danger); border-color: var(--danger); }
.card__fav.is-on { color: var(--danger); border-color: var(--danger); }
.card__fav.is-on svg { fill: var(--danger); }

.card__body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; gap: 7px; }
.card__brand { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__name { font-size: 14.5px; font-weight: 500; line-height: 1.38; min-height: 2.76em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name:hover { color: var(--green); }
[data-theme="dark"] .card__name:hover { color: var(--green-2); }
.card__rate { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); }
.card__rate svg { width: 13px; height: 13px; fill: var(--gold); stroke: none; }
.card__price { margin-top: auto; padding-top: 8px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.price { font-size: 17px; font-weight: 700; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.price--old { font-size: 13px; color: var(--muted); text-decoration: line-through; font-weight: 400; }
.card__foot { display: flex; gap: 8px; margin-top: 12px; }
.card__foot .btn { flex: 1; }
.card__add {
  width: 46px; flex: 0 0 46px !important; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; background: var(--green-soft); color: var(--green);
  transition: all .2s var(--ease);
}
[data-theme="dark"] .card__add { color: var(--green-2); }
.card__add:hover { background: var(--green); color: #fff; }
.card__add svg { width: 19px; height: 19px; }
.card__add.is-in { background: var(--green); color: #fff; }

.installment { font-size: 11.5px; color: var(--muted); white-space: nowrap; }
.installment b { color: var(--gold); font-weight: 600; }

/* ============================================================
   Marquee / brands
   ============================================================ */
.brands { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.brandchip {
  padding: 13px 26px; border: 1px solid var(--line); border-radius: var(--r-full);
  font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--text-2);
  transition: all .22s var(--ease);
}
.brandchip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

/* ---------- USP ---------- */
.usp { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.usp__item { display: flex; gap: 14px; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.usp__ic { flex-shrink: 0; width: 42px; height: 42px; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--gold-soft); color: var(--gold); }
.usp__ic svg { width: 21px; height: 21px; }
.usp__item h4 { font-size: 15px; margin-bottom: 3px; }
.usp__item p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ---------- Banner ---------- */
.banner {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg); padding: 54px 56px;
  background: var(--surface-2); border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 30px;
}
.banner::after {
  content: ""; position: absolute; left: -80px; bottom: -140px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--green) 14%, transparent), transparent 65%);
}
.banner__c { position: relative; z-index: 1; }
.banner h2 { font-size: 30px; margin: 14px 0 10px; }
.banner p { color: var(--muted); max-width: 46ch; }

/* ============================================================
   CATALOG
   ============================================================ */
.catalog { display: grid; grid-template-columns: 258px 1fr; gap: 32px; align-items: start; }
.filters {
  position: sticky; top: calc(var(--header-h) + 16px);
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); padding: 6px 20px 20px;
}
.fgroup { padding: 18px 0; border-bottom: 1px solid var(--line-2); }
.fgroup:last-child { border-bottom: 0; }
.fgroup__title { font-size: 13px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 14px; color: var(--text-2); }
.check:hover { color: var(--text); }
.check input { appearance: none; width: 17px; height: 17px; border: 1.5px solid var(--line); border-radius: 5px; flex-shrink: 0; transition: all .18s var(--ease); }
.check input:checked { background: var(--green); border-color: var(--green); }
.check input:checked::after { content: "✓"; display: block; color: #fff; font-size: 11px; line-height: 14px; text-align: center; }
.check span.n { margin-left: auto; font-size: 12px; color: var(--muted); }
.range { display: flex; gap: 8px; align-items: center; }
.range input {
  width: 100%; height: 38px; padding: 0 10px; font-size: 13.5px;
  background: var(--bg-soft); border: 1px solid transparent; border-radius: var(--r-sm);
}
.range input:focus { outline: none; border-color: var(--green); background: var(--surface); }

.catalog__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.catalog__count { color: var(--muted); font-size: 14px; }
.sortbox { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.select {
  height: 42px; padding: 0 36px 0 14px; font-size: 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2377837C' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 15px;
}
.select:focus { outline: none; border-color: var(--green); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border-radius: var(--r-full);
  background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 500;
}
[data-theme="dark"] .chip { color: var(--green-2); }
.chip button { font-size: 15px; line-height: 1; opacity: .6; }
.chip button:hover { opacity: 1; }

.empty { text-align: center; padding: 90px 20px; }
.empty__ic { width: 68px; height: 68px; margin: 0 auto 20px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-soft); color: var(--muted); }
.empty__ic svg { width: 30px; height: 30px; }
.empty h3 { font-size: 20px; margin-bottom: 8px; }
.empty p { color: var(--muted); margin-bottom: 24px; }

.filters__mobile { display: none; }

/* ============================================================
   PRODUCT
   ============================================================ */
.pd { display: grid; grid-template-columns: 1.08fr 1fr; gap: 48px; align-items: start; }
.pd__media {
  position: relative; aspect-ratio: 1/1;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--surface-2);
  display: grid; place-items: center; overflow: hidden;
}
.pd__media::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--gold) var(--tint), transparent), transparent 62%);
}
.pd__media svg.pic { width: 52%; height: 52%; stroke-width: .8; color: var(--green); position: relative; }
[data-theme="dark"] .pd__media svg.pic { color: var(--green-2); }
.pd__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.pd__thumb { aspect-ratio: 1/1; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; }
.pd__thumb svg { width: 42%; height: 42%; color: var(--muted); stroke-width: 1; }
.pd__thumb.is-active { border-color: var(--green); }
.pd__thumb.is-active svg { color: var(--green); }

.pd__brand { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.pd__title { font-size: 33px; margin: 12px 0 14px; line-height: 1.12; letter-spacing: -.04em; }
.pd__meta { display: flex; align-items: center; gap: 16px; font-size: 13.5px; color: var(--muted); flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold); stroke: none; }
.stars svg.off { fill: var(--line); }
.instock { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-weight: 500; }
.instock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--success); }

.pd__pricebox { margin: 26px 0; padding: 24px; border-radius: var(--r); background: var(--bg-soft); }
.pd__price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pd__price .price { font-size: 32px; }
.pd__save { padding: 4px 10px; border-radius: var(--r-full); background: var(--danger); color: #fff; font-size: 12px; font-weight: 600; }
.pd__inst { margin-top: 12px; font-size: 13.5px; color: var(--text-2); }
.pd__inst b { color: var(--gold); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--r-full); height: 46px; overflow: hidden; }
.qty button { width: 42px; height: 100%; display: grid; place-items: center; color: var(--text-2); font-size: 18px; }
.qty button:hover { background: var(--bg-soft); color: var(--green); }
.qty span { min-width: 34px; text-align: center; font-weight: 600; font-size: 15px; }

.pd__buy { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.pd__buy .btn--gold { flex: 1; min-width: 200px; }
.iconbtn--lg { width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%; }
.iconbtn--lg.is-on { color: var(--danger); border-color: var(--danger); }
.iconbtn--lg.is-on svg { fill: var(--danger); }

.pd__specs { margin-top: 30px; border-top: 1px solid var(--line); }
.spec { display: flex; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.spec dt { color: var(--muted); min-width: 190px; }
.spec dd { font-weight: 500; }
.pd__delivery { margin-top: 24px; display: grid; gap: 12px; }
.deliv { display: flex; gap: 12px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); }
.deliv svg { width: 19px; height: 19px; color: var(--green); flex-shrink: 0; margin-top: 2px; }
[data-theme="dark"] .deliv svg { color: var(--green-2); }
.deliv b { color: var(--text); font-weight: 600; display: block; }

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 56px 0 26px; }
.tab { padding: 13px 18px; font-size: 15px; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tab.is-active { color: var(--text); border-color: var(--green); font-weight: 500; }
.prose { max-width: 72ch; color: var(--text-2); font-size: 15px; line-height: 1.75; }
.prose p + p { margin-top: 14px; }
.prose ul { margin-top: 12px; display: grid; gap: 8px; }
.prose li { padding-left: 22px; position: relative; }
.prose li::before { content: ""; position: absolute; left: 4px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* reviews */
.review { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; font-weight: 600; font-size: 14px; }
[data-theme="dark"] .avatar { color: var(--green-2); }
.review__name { font-weight: 500; font-size: 14.5px; }
.review__date { font-size: 12.5px; color: var(--muted); }
.review__text { color: var(--text-2); font-size: 14.5px; }

/* ============================================================
   CART
   ============================================================ */
.cart { display: grid; grid-template-columns: 1fr 372px; gap: 32px; align-items: start; }
.cartlist { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); overflow: hidden; }
.citem { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 20px; border-bottom: 1px solid var(--line-2); align-items: center; }
.citem:last-child { border-bottom: 0; }
.citem__media { width: 96px; height: 96px; border-radius: var(--r-sm); background: var(--surface-2); display: grid; place-items: center; border: 1px solid var(--line-2); }
.citem__media svg { width: 46%; height: 46%; color: var(--green); stroke-width: 1; }
[data-theme="dark"] .citem__media svg { color: var(--green-2); }
.citem__brand { display: block; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.citem__name { display: block; font-size: 15px; font-weight: 500; margin: 3px 0 6px; }
.citem__name:hover { color: var(--green); }
[data-theme="dark"] .citem__name:hover { color: var(--green-2); }
.citem__rm { font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.citem__rm:hover { color: var(--danger); }
.citem__rm svg { width: 15px; height: 15px; }
.citem__right { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.citem__price { font-size: 17px; font-weight: 650; white-space: nowrap; }
.qty--sm { height: 38px; }
.qty--sm button { width: 34px; }

.summary { position: sticky; top: calc(var(--header-h) + 16px); border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 24px; }
.summary h3 { font-size: 18px; margin-bottom: 18px; }
.srow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; font-size: 14.5px; color: var(--text-2); }
.srow b { color: var(--text); font-weight: 500; }
.srow--total { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 16px; font-size: 16px; }
.srow--total b { font-size: 21px; font-weight: 650; }
.srow--disc, .srow--disc b { color: var(--danger); }
.promo { display: flex; gap: 8px; margin: 16px 0; }
.promo input { flex: 1; height: 44px; padding: 0 14px; background: var(--bg-soft); border: 1px solid transparent; border-radius: var(--r-sm); font-size: 14px; }
.promo input:focus { outline: none; border-color: var(--green); background: var(--surface); }
.summary__note { font-size: 12.5px; color: var(--muted); text-align: center; margin-top: 12px; }

/* checkout */
.form { display: grid; gap: 16px; }
.field label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%; height: 48px; padding: 0 15px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm);
  font-size: 14.5px; transition: all .18s var(--ease);
}
.field textarea { height: auto; padding: 13px 15px; resize: vertical; min-height: 92px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 10%, transparent); }
.field--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.radios { display: grid; gap: 10px; }
.radio { display: flex; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; transition: all .18s var(--ease); }
.radio:hover { border-color: color-mix(in srgb, var(--green) 40%, var(--line)); }
.radio input { appearance: none; width: 18px; height: 18px; border: 1.5px solid var(--line); border-radius: 50%; flex-shrink: 0; }
.radio input:checked { border: 5px solid var(--green); }
.radio.is-on { border-color: var(--green); background: var(--green-soft); }
.radio__t { display: block; font-size: 14.5px; font-weight: 500; }
.radio__s { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.4; }

.success { text-align: center; padding: 70px 20px; max-width: 520px; margin: 0 auto; }
.success__ic { width: 76px; height: 76px; margin: 0 auto 24px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
[data-theme="dark"] .success__ic { color: var(--green-2); }
.success__ic svg { width: 34px; height: 34px; stroke-width: 2; }
.success h2 { font-size: 26px; margin-bottom: 10px; }
.success p { color: var(--muted); margin-bottom: 8px; }
.success__no { display: inline-block; margin: 18px 0 26px; padding: 10px 20px; border-radius: var(--r-full); background: var(--bg-soft); font-weight: 600; letter-spacing: .05em; }

/* ============================================================
   PROFILE
   ============================================================ */
.profile { display: grid; grid-template-columns: 268px 1fr; gap: 32px; align-items: start; }
.pmenu { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 22px; position: sticky; top: calc(var(--header-h) + 16px); }
.pmenu__user { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line-2); margin-bottom: 14px; }
.pmenu__av { width: 48px; height: 48px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: 17px; }
.pmenu__name { font-weight: 600; font-size: 15px; }
.pmenu__phone { font-size: 13px; color: var(--muted); }
.pmenu a, .pmenu button.pmenu__i {
  display: flex; align-items: center; gap: 11px; width: 100%;
  padding: 11px 12px; border-radius: var(--r-sm);
  font-size: 14.5px; color: var(--text-2); text-align: left;
  transition: all .18s var(--ease);
}
.pmenu a:hover, .pmenu button.pmenu__i:hover { background: var(--bg-soft); color: var(--text); }
.pmenu a.is-active { background: var(--green-soft); color: var(--green); font-weight: 500; }
[data-theme="dark"] .pmenu a.is-active { color: var(--green-2); }
.pmenu svg { width: 18px; height: 18px; }
.pmenu__n { margin-left: auto; font-size: 12px; color: var(--muted); }

.panel { border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); padding: 28px; }
.panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.panel__head h2 { font-size: 20px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.stat { padding: 20px; border: 1px solid var(--line); border-radius: var(--r); }
.stat b { display: block; font-size: 24px; font-weight: 650; letter-spacing: -.02em; }
.stat span { font-size: 13px; color: var(--muted); }
.stat--gold b { color: var(--gold); }

.order { border: 1px solid var(--line); border-radius: var(--r); padding: 18px 20px; margin-bottom: 14px; }
.order__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.order__no { font-weight: 600; font-size: 15px; }
.order__date { font-size: 13px; color: var(--muted); }
.order__st { margin-left: auto; padding: 5px 11px; border-radius: var(--r-full); font-size: 12px; font-weight: 600; background: var(--green-soft); color: var(--green); }
[data-theme="dark"] .order__st { color: var(--green-2); }
.order__items { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.order__thumb { width: 52px; height: 52px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--surface-2); display: grid; place-items: center; }
.order__thumb svg { width: 50%; height: 50%; color: var(--muted); stroke-width: 1.1; }
.order__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line-2); font-size: 14px; }
.order__foot b { font-size: 16px; font-weight: 650; }

.switch { display: flex; align-items: center; gap: 14px; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line-2); }
.switch:last-child { border-bottom: 0; }
.switch__t { font-size: 14.5px; font-weight: 500; }
.switch__s { font-size: 13px; color: var(--muted); }
.toggle { width: 48px; height: 27px; border-radius: var(--r-full); background: var(--line); position: relative; transition: background .22s var(--ease); flex-shrink: 0; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 21px; height: 21px; border-radius: 50%; background: #fff; transition: transform .22s var(--ease); box-shadow: var(--shadow-sm); }
.toggle.is-on { background: var(--green); }
.toggle.is-on::after { transform: translateX(21px); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer__desc { color: var(--muted); font-size: 13.5px; margin: 16px 0 20px; max-width: 34ch; line-height: 1.6; }
.footer__social { display: flex; gap: 8px; }
.footer__social a { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; display: grid; place-items: center; color: var(--text-2); transition: all .2s var(--ease); }
.footer__social a:hover { border-color: var(--green); color: var(--green); }
.footer__social svg { width: 18px; height: 18px; }
.footer__col h4 { font-size: 14px; margin-bottom: 14px; }
.footer__col a { display: block; padding: 5px 0; font-size: 13.5px; color: var(--muted); }
.footer__col a:hover { color: var(--green); }
[data-theme="dark"] .footer__col a:hover { color: var(--green-2); }
.footer__bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12.5px; color: var(--muted); }


/* ---------- Ma'lumot sahifasi ---------- */
.pmenu__contact { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); }
.pmenu__tel { display: block; font-size: 17px; font-weight: 600; color: var(--green); margin: 4px 0 6px; padding: 0 !important; }
[data-theme="dark"] .pmenu__tel { color: var(--green-2); }
.faq { display: grid; gap: 10px; margin-top: 6px; }
.faq__i { border: 1px solid var(--line); border-radius: var(--r); padding: 4px 18px; }
.faq__i summary {
  cursor: pointer; list-style: none; padding: 14px 0;
  font-size: 15px; font-weight: 500; color: var(--text);
  display: flex; align-items: center; gap: 12px;
}
.faq__i summary::-webkit-details-marker { display: none; }
.faq__i summary::after {
  content: "+"; margin-left: auto; font-size: 20px; color: var(--muted); font-weight: 400;
  transition: transform .2s var(--ease);
}
.faq__i[open] summary::after { content: "−"; }
.faq__i[open] summary { color: var(--green); }
[data-theme="dark"] .faq__i[open] summary { color: var(--green-2); }
.faq__i p { padding: 0 0 16px; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }
.prose b { color: var(--text); font-weight: 600; }

/* ---------- Dyson mutaxassisligi bloki ---------- */
.expert {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center;
  padding: 46px 48px; border-radius: var(--r-lg);
  background: var(--green); color: #fff; position: relative; overflow: hidden;
}
.expert::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px;
  border-radius: 50%; background: radial-gradient(circle at 35% 35%, color-mix(in srgb, var(--gold) 30%, transparent), transparent 62%);
}
.expert__c { position: relative; z-index: 1; }
.expert__c .eyebrow { color: var(--gold-2); }
.expert__c .eyebrow::before { background: var(--gold-2); }
.expert__c h2 { font-size: 29px; margin: 16px 0 12px; max-width: 16ch; }
.expert__c p { color: rgba(255,255,255,.76); max-width: 46ch; font-size: 15px; }
.expert__links { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.expert__links .btn--primary { background: var(--gold); color: #1B1403; font-weight: 600; }
.expert__links .btn--primary:hover { background: var(--gold-2); }
.expert__links .btn--ghost { border-color: rgba(255,255,255,.3); color: #fff; }
.expert__links .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.expert__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.expert__i {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--r); padding: 14px; text-align: center;
  transition: all .25s var(--ease);
}
.expert__i:hover { background: rgba(255,255,255,.13); transform: translateY(-3px); }
.expert__im { display: grid; place-items: center; height: 92px; border-radius: var(--r-sm); overflow: hidden; }
.expert__im.has-photo { background: #fff !important; }
.expert__im.has-photo .photo { padding: 8%; }
.expert__im svg.pic { width: 58%; height: 58%; color: var(--gold-2); stroke-width: 1; }
.expert__n { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.85); line-height: 1.35; }

/* ---------- Savdo zali bloki ---------- */
.shop {
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 40px; align-items: center;
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: 44px 46px;
  background: var(--surface-2);
}
.shop__t { font-size: 28px; margin: 16px 0 10px; }
.shop__p { color: var(--muted); max-width: 48ch; }
.shop__d { display: grid; gap: 16px; margin: 26px 0 22px; }
.shop__d dt { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.shop__d dd { font-size: 15px; font-weight: 500; line-height: 1.5; }
.shop__d dd span { color: var(--muted); font-weight: 400; font-size: 13.5px; }
.shop__d a { color: var(--green); }
[data-theme="dark"] .shop__d a { color: var(--green-2); }
.shop__soc { display: flex; gap: 10px; flex-wrap: wrap; }
.shop__map { display: grid; place-items: center; }
.shop__map svg { width: 200px; height: 200px; opacity: .95; }

.footer__addr { font-size: 13px; color: var(--muted); line-height: 1.6; margin: -8px 0 18px; }

/* ============================================================
   MODAL · TEZKOR KO'RISH · LUPA
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(8, 18, 14, .62); backdrop-filter: blur(6px); animation: fadeIn .2s var(--ease); }
.modal__box {
  position: relative; z-index: 1;
  width: min(900px, 100%); max-height: 88vh; overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  animation: popIn .28s var(--ease);
}
.modal__box--wide { width: min(760px, 100%); background: var(--surface); }
.modal__x {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.modal__x:hover { color: var(--danger); border-color: var(--danger); }
.modal__x svg { width: 17px; height: 17px; }

.qv { display: grid; grid-template-columns: 1fr 1fr; }
.qv__media {
  aspect-ratio: 1/1; background: var(--surface-2);
  display: grid; place-items: center; border-right: 1px solid var(--line-2);
  border-radius: var(--r-lg) 0 0 var(--r-lg); overflow: hidden;
}
.qv__media svg.pic { width: 52%; height: 52%; color: var(--green); stroke-width: .9; }
[data-theme="dark"] .qv__media svg.pic { color: var(--green-2); }
.qv__media.has-photo .photo { padding: 9%; }
.qv__info { padding: 32px 34px 30px; }
.qv__title { font-size: 23px; margin: 10px 0 12px; }
.qv__desc { color: var(--text-2); font-size: 14px; line-height: 1.6; margin: 16px 0; }
.qv__specs { border-top: 1px solid var(--line-2); margin-bottom: 18px; }
.qv__specs .spec { padding: 9px 0; font-size: 13.5px; }
.qv__specs dt { min-width: 150px; }
.qv__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.qv__price .price { font-size: 26px; }
.qv__buy { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.qv__buy .btn--gold { flex: 1; min-width: 170px; }

.lightbox { aspect-ratio: 4/3; display: grid; place-items: center; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.lightbox svg.pic { width: 50%; height: 50%; color: var(--green); stroke-width: .8; }
.lightbox.has-photo .photo { padding: 4%; }
.lightbox__cap { text-align: center; padding: 16px 20px 22px; font-size: 14.5px; color: var(--text-2); }

@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes popIn { from { opacity: 0; transform: translateY(14px) scale(.98) } to { opacity: 1; transform: none } }

/* kartochkadagi tezkor tugmalar */
.card__acts { position: absolute; top: 10px; right: 10px; z-index: 2; display: flex; flex-direction: column; gap: 7px; }
.card__acts .card__fav { position: static; }
.card__quick { opacity: 0; transform: translateX(6px); transition: all .22s var(--ease); }
.card:hover .card__quick { opacity: 1; transform: none; }
.card__quick:hover { color: var(--green); border-color: var(--green); }

/* mahsulot rasmidagi lupa belgisi */
.pd__media { cursor: zoom-in; }
.pd__zoom {
  position: absolute; right: 16px; bottom: 16px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid var(--line); color: var(--text-2);
  backdrop-filter: blur(6px);
}
.pd__media:hover .pd__zoom { color: var(--green); border-color: var(--green); }
.pd__zoom svg { width: 18px; height: 18px; }

/* mobil sotib olish paneli */
.buybar { display: none; }

/* ============================================================
   TOAST
   ============================================================ */
.toast {
  position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 24px);
  background: var(--green); color: #fff;
  padding: 13px 22px; border-radius: var(--r-full);
  font-size: 14px; font-weight: 500; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transition: all .3s var(--ease); z-index: 200;
  display: flex; align-items: center; gap: 9px;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 17px; height: 17px; }

/* ============================================================
   ANIMATION
   ============================================================ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.app > * { animation: fadeUp .4s var(--ease) both; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .grid, .grid--5 { grid-template-columns: repeat(3, 1fr); }
  .cats { grid-template-columns: repeat(4, 1fr); }
  .rail__in { grid-template-columns: repeat(5, 1fr); }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__side { grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .usp { grid-template-columns: repeat(2, 1fr); }
  .cart { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 940px) {
  :root { --header-h: 108px; }
  .topbar, .navbar { display: none; }
  .header__in { height: 64px; gap: 14px; }
  .search { order: 3; flex-basis: 100%; max-width: none; margin-bottom: 12px; }
  .header__in { flex-wrap: wrap; height: auto; padding-top: 12px; }
  .iconbtn--menu { display: grid; }
  .pd { grid-template-columns: 1fr; gap: 28px; }
  .pd__title { font-size: 26px; }
  .profile { grid-template-columns: 1fr; }
  .pmenu { position: static; }
  .catalog { grid-template-columns: 1fr; }
  .filters { position: static; display: none; }
  .filters.is-open { display: block; }
  .filters__mobile { display: inline-flex; }
  /* mobil: pastdagi sotib olish paneli */
  .buybar {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    background: color-mix(in srgb, var(--bg) 94%, transparent);
    backdrop-filter: blur(14px); border-top: 1px solid var(--line);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  }
  .buybar__in { display: flex; align-items: center; gap: 14px; max-width: 640px; margin: 0 auto; }
  .buybar__price { display: flex; flex-direction: column; line-height: 1.25; }
  .buybar__price .price { font-size: 17px; }
  .buybar__in .btn { flex: 1; height: 48px; }
  .app { padding-bottom: 90px; }
  .qv { grid-template-columns: 1fr; }
  .qv__media { border-right: 0; border-bottom: 1px solid var(--line-2); border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 4/3; }
  .qv__info { padding: 22px 20px 26px; }
  .card__quick { opacity: 1; transform: none; }
  .header.is-open .navbar { display: block; }
  .header.is-open .navbar__in { height: auto; flex-wrap: wrap; padding: 10px 0 14px; }
  .expert, .shop { grid-template-columns: 1fr; padding: 32px 26px; gap: 28px; }
  .shop__map { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .hero__title { font-size: 34px; }
  .hero__main { padding: 38px 28px; min-height: 0; }
  .banner { padding: 34px 28px; flex-direction: column; align-items: flex-start; }
}
@media (max-width: 680px) {
  .container { padding-inline: 16px; }
  .grid, .grid--5 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .cats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .lead__in { padding: 20px; gap: 16px; }
  .lead__t { font-size: 20px; }
  .lead__facts { margin-left: 0; font-size: 12.5px; gap: 10px; }
  .lead__call { width: 100%; }
  .rail__in { display: flex; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .rail__in::-webkit-scrollbar { display: none; }
  .rail__i { flex: 0 0 108px; }
  .feedhead { gap: 12px; }
  .feedhead .section__link { display: none; }
  .ftabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: none; }
  .ftabs::-webkit-scrollbar { display: none; }
  .ftab { white-space: nowrap; }
  .usp { grid-template-columns: 1fr; }
  .section { padding-top: 44px; }
  .section__title { font-size: 22px; }
  .hero__side { grid-template-columns: 1fr; }
  .hero__stats { gap: 20px; }
  .citem { grid-template-columns: 72px 1fr; gap: 12px; }
  .citem__media { width: 72px; height: 72px; }
  .citem__right { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; }
  .stats { grid-template-columns: 1fr; }
  .field--2 { grid-template-columns: 1fr; }
  .panel { padding: 20px; }
  .card__body { padding: 12px 12px 14px; }
  .price { font-size: 15.5px; }
  .footer__grid { grid-template-columns: 1fr; }
  .spec { flex-direction: column; gap: 2px; }
  .spec dt { min-width: 0; }
}
@media (max-width: 460px) {
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__stats { flex-wrap: wrap; gap: 18px 26px; }
  .pd__buy .btn--gold { min-width: 0; flex: 1 1 100%; order: 3; }
  .logo__text { font-size: 18px; letter-spacing: .18em; }
  .card__foot .btn { padding: 0 8px; font-size: 13px; }
  .catalog__head { gap: 10px; }
  .sortbox { margin-left: 0; width: 100%; }
  .sortbox .select { width: 100%; }
}

/* ---------- Til almashtirgich (sayt) ---------- */
.langsw--site { display: inline-flex; gap: 2px; padding: 3px; border-radius: var(--r-full); background: var(--bg-soft); margin-right: 4px; }
.langsw--site button {
  padding: 6px 9px; border-radius: var(--r-full); font-size: 11.5px; font-weight: 700;
  letter-spacing: .04em; color: var(--muted); transition: all .18s var(--ease);
}
.langsw--site button:hover { color: var(--text); }
.langsw--site button.is-on { background: var(--green); color: #fff; }
[data-theme="dark"] .langsw--site button.is-on { background: var(--green-2); color: #061009; }
.footer__panel { display: block; font-size: 12.5px; color: var(--muted); }
.footer__panel:hover { color: var(--green); }
@media (max-width: 680px) { .langsw--site { display: none; } }

/* ============================================================
   XUSH KELIBSIZ — kirish animatsiyasi
   ============================================================ */
.intro { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; overflow: hidden; }
.intro[hidden] { display: none; }
.intro__bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 520px at 50% 38%, rgba(201,154,51,.20), transparent 62%),
    linear-gradient(165deg, #061711 0%, #0C3C2C 48%, #04120C 100%);
}
.intro__bg::after {
  content: ""; position: absolute; inset: -50%;
  background-image:
    linear-gradient(rgba(231,201,118,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(231,201,118,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(700px) rotateX(64deg);
  animation: introGrid 14s linear infinite;
}
@keyframes introGrid { from { background-position: 0 0 } to { background-position: 0 60px } }

.intro__in { position: relative; z-index: 1; text-align: center; padding: 24px; }
.intro__logo {
  width: 132px; height: 132px; margin: 0 auto 26px;
  animation: introLogo 1.1s cubic-bezier(.16,1,.3,1) both;
  filter: drop-shadow(0 20px 50px rgba(0,0,0,.55));
}
.intro__logo .logo__word { fill: url(#nxGold); stroke: none; font-family: var(--font-brand); font-size: 54px; font-weight: 700; letter-spacing: -.045em; }
.intro__logo .logo__sub  { fill: #DEB865; stroke: none; font-family: var(--font-brand); font-size: 16px; font-weight: 500; }
@keyframes introLogo { from { opacity: 0; transform: translateY(20px) scale(.86) } to { opacity: 1; transform: none } }

.intro__rule {
  width: 0; height: 1px; margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, var(--gold-2), transparent);
  animation: introRule 1s cubic-bezier(.16,1,.3,1) .35s both;
}
@keyframes introRule { to { width: 210px } }

.intro__t {
  font-size: clamp(26px, 5vw, 42px); font-weight: 800; letter-spacing: -.045em;
  background: linear-gradient(100deg, #F7E3AE 0%, #E0B85C 28%, #FFF6DC 46%, #C79A33 66%, #E5C273 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: introUp .9s cubic-bezier(.16,1,.3,1) .5s both, shine 2.6s ease-in-out .9s infinite;
}
.intro__s {
  margin-top: 10px; font-size: clamp(12px, 2.2vw, 15px); font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.62);
  animation: introUp .9s cubic-bezier(.16,1,.3,1) .68s both;
}
@keyframes introUp { from { opacity: 0; transform: translateY(16px) } to { opacity: 1; transform: none } }
@keyframes shine { 0%, 100% { background-position: 0% 50% } 50% { background-position: 100% 50% } }

.intro.is-out { animation: introOut .75s cubic-bezier(.7,0,.84,0) both; pointer-events: none; }
@keyframes introOut { to { opacity: 0; transform: scale(1.06); filter: blur(6px) } }

/* ============================================================
   SALOMLASHUV BLOKI (bosh sahifa)
   ============================================================ */
.welcome { padding-top: 22px; }
.welcome__in {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  padding: 40px 46px;
  background:
    radial-gradient(680px 340px at 88% 10%, rgba(201,154,51,.22), transparent 60%),
    linear-gradient(140deg, #0C3C2C 0%, #114634 52%, #08281D 100%);
  color: #fff;
  box-shadow: 0 30px 70px -44px rgba(12, 60, 44, .85);
}
.welcome__in::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--r-lg);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(231,201,118,.55), rgba(231,201,118,.06) 38%, transparent 62%, rgba(231,201,118,.32)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.welcome__mark {
  position: absolute; right: -26px; bottom: -74px; width: 268px; height: 268px;
  opacity: .07; pointer-events: none;
}
.welcome__mark text { fill: #E7C976; font-family: var(--font-brand); font-size: 200px; font-weight: 800; }
.welcome__c { position: relative; z-index: 1; max-width: 60ch; }
.welcome__c .eyebrow { color: var(--gold-2); }
.welcome__c .eyebrow::before { background: var(--gold-2); }
.welcome__t {
  font-size: clamp(28px, 4.4vw, 42px); font-weight: 800; letter-spacing: -.045em;
  margin: 14px 0 10px;
  background: linear-gradient(100deg, #FFFFFF 0%, #FFF4D8 38%, #E7C976 78%, #C79A33 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.welcome__s { color: rgba(255,255,255,.72); font-size: 15.5px; max-width: 52ch; }
.welcome__cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; align-items: center; }
.welcome__cta .btn--ghost { border-color: rgba(255,255,255,.28); color: #fff; }
.welcome__cta .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(231,201,118,.6); color: #fff; }
.welcome__facts {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 26px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.68);
}
.welcome__facts span { display: inline-flex; align-items: center; gap: 8px; }
.welcome__facts svg { width: 15px; height: 15px; color: var(--gold-2); }

/* ---------- premium sayqal ---------- */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent);
  transform: skewX(-18deg); transition: left .6s var(--ease);
}
.btn--gold:hover::after { left: 130%; }
.card:hover { border-color: color-mix(in srgb, var(--gold) 42%, var(--line)); }
.section__title { position: relative; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-soft); }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--green) 30%, transparent); border-radius: 99px; border: 3px solid var(--bg-soft); }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

@media (max-width: 680px) {
  .welcome__in { padding: 28px 22px; }
  .welcome__facts { gap: 12px 18px; font-size: 12.5px; }
  .welcome__mark { right: -50px; bottom: -60px; width: 200px; height: 200px; }
  .welcome__cta .btn { flex: 1 1 100%; }
}
