/* TechnoBox — telefon nasiyaga. Apple dizayn tili, qora mavzu: tizim shrifti, qora va to'q kulrang yuzalar, bitta ko'k aksent,
   kapsula tugmalar, silliq easing (--ease). Oxiridagi «Apple uslubi» bo'limi avvalgi qoidalar ustidan yozadi. */
:root {
  --navy: #1d1d1f; --navy-2: #2c2c2e; --navy-3: #3a3a3c;
  --blue: #0071e3; --blue-d: #0077ed; --link: #2997ff; --sky: #2c2c2e; --sky-2: #424245;
  --tag: #2997ff; --tag-ink: #fff;
  --page: #000; --soft: #1d1d1f; --plate: #1d1d1f; --raise: #2c2c2e; --night: #000; --ease: cubic-bezier(.28,.11,.32,1); --paper: #1d1d1f; --ink: #f5f5f7; --muted: #a1a1a6; --faint: #86868b; --line: #424245;
  --ok: #30d158; --red: #ff453a;
  --r-xl: 28px; --r-lg: 18px; --r-md: 14px; --r-sm: 10px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", sans-serif;
  /* eski nomlar (kalkulyator/savat CSS'i uchun) */
  --g900: var(--navy); --g700: var(--blue); --g500: var(--blue-d); --acc: #8DB8FF; --bg: var(--page); --card: var(--paper);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 500 16px/1.55 var(--font); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; margin: 0 0 .55em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
s { color: var(--faint); font-weight: 500; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 12px; top: 12px; background: var(--tag); padding: 8px 12px; z-index: 10; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.hero__grid > *, .catalog > *, .pdp > *, .cartgrid > *, .foot__grid > *, .calcpage > * { min-width: 0; }

/* Tugmalar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer; text-decoration: none;
  font: 700 15px/1 var(--font); padding: 13px 18px; border-radius: var(--r-sm); transition: background .15s, color .15s; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--lg { padding: 17px 24px; font-size: 16px; border-radius: var(--r-md); }
.btn--accent, .btn--dark, .btn--catalog { background: var(--blue); color: #fff; }
.btn--accent:hover, .btn--dark:hover, .btn--catalog:hover { background: var(--blue-d); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--light:hover { background: rgba(255,255,255,.18); }
.btn--ghost { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn--ghost:hover { background: var(--sky); }
.btn--line { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); font-size: 14px; padding: 11px 14px; flex: none; }
.btn--line:hover { color: var(--blue); box-shadow: inset 0 0 0 1.5px var(--blue); }
.btn--add { width: 100%; background: var(--sky); color: var(--blue); padding-block: 12px; }
.btn--add:hover { background: var(--blue); color: #fff; }
.btn--wide { width: 100%; padding-block: 16px; font-size: 16px; }

/* Sarlavha */
.strip { background: var(--night); color: #a1a1a6; font-size: 13.5px; }
.strip__row { display: flex; justify-content: space-between; gap: 16px; padding-block: 7px; }
.strip a { color: #fff; text-decoration: none; font-weight: 600; } .strip a:hover { text-decoration: underline; }
.top { background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 5; }
.top__row { display: flex; align-items: center; gap: 16px; padding-block: 12px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; }
.logo__mark { height: 38px; width: auto; } .logo__word { height: 16px; width: auto; }
.cats { flex: 1; min-width: 0; display: flex; justify-content: safe center; gap: 2px; overflow-x: auto; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats a { flex: none; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 14.5px; padding: 8px 11px; border-radius: var(--r-sm); }
.cats a:hover { color: var(--blue); background: var(--sky); }
.cats a[aria-current] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.cats.has-pill { position: relative; }
.cats.has-pill a { position: relative; z-index: 1; transition: color .2s, transform .35s cubic-bezier(.34,1.45,.64,1); }
.cats.has-pill a:hover { background: transparent; color: var(--ink); }
.cats.has-pill a[aria-current] { color: var(--ink); box-shadow: none; border-radius: var(--r-sm); }
.cats.has-pill a.is-under { color: #fff; transform: translateY(-1px); }
.cats.has-pill a:active { transform: scale(.94); }
.cats__pill { position: absolute; top: 0; bottom: 0; left: 0; width: 0; border-radius: 12px; background: var(--blue); pointer-events: none; }
.cats__pill.is-off { opacity: 0; transform: scale(.7); }
.cats.is-ready .cats__pill { transition: left .42s cubic-bezier(.34,1.35,.64,1), width .42s cubic-bezier(.34,1.35,.64,1), opacity .2s, transform .3s cubic-bezier(.34,1.45,.64,1); }
@media (prefers-reduced-motion: reduce) { .cats.is-ready .cats__pill, .cats.has-pill a { transition: none; } }
.search { display: flex; gap: 8px; padding-bottom: 12px; }
.search[hidden] { display: none; }
.search input { flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--soft); padding: 11px 14px; font: inherit; outline: none; color: var(--ink); }
.search input:focus { border-color: var(--blue); background: #fff; }
.top__tools { display: flex; align-items: center; gap: 2px; flex: none; }
.iconbtn { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: var(--r-sm); cursor: pointer; }
.iconbtn:hover { background: var(--sky); color: var(--blue); }
.lang { font-weight: 700; font-size: 15px; color: var(--muted); text-decoration: none; padding: 10px; border-radius: var(--r-sm); }
.lang:hover { background: var(--soft); color: var(--ink); }
.cartlink { position: relative; display: grid; place-items: center; width: 44px; height: 44px; color: var(--ink); border-radius: var(--r-sm); }
.cartlink:hover { background: var(--sky); color: var(--blue); }
.cartlink__n { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; border-radius: 10px; background: var(--blue);
  color: #fff; font: 800 11px/19px var(--font); text-align: center; padding: 0 5px; }

/* Hero — to'q fon, ko'k nur, Duo aylana sahnada turadi */
.hero { background: var(--night); color: #fff; overflow: hidden; position: relative; }
.hero::before { content: ""; position: absolute; right: -6%; top: -35%; width: 62%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,96,248,.6) 0%, rgba(0,96,248,.2) 50%, transparent 74%); pointer-events: none; }
.hero__grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); align-items: center;
  padding-block: clamp(32px, 4.5vw, 60px); }
.hero h1 { font-size: clamp(2.2rem, 4.8vw, 3.9rem); line-height: 1.04; letter-spacing: -0.035em; color: #fff; margin-bottom: .4em; }
.hero h1 em { display: block; font-style: normal; color: #4C8DFF; }
.hero__lead { color: #a1a1a6; font-size: clamp(1rem, 1.5vw, 1.12rem); max-width: 46ch; margin: 0 0 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; }
.partners { margin-top: 36px; }
.partners p { margin: 0 0 10px; color: var(--muted); font-size: 14px; font-weight: 600; }
.partners ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.partners li { padding: 8px 14px; border-radius: var(--r-sm); background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: 15px; }
.vitrine { position: relative; display: block; text-decoration: none; color: inherit; aspect-ratio: 1.08; max-width: 600px; justify-self: end; width: 100%; }
.vitrine::before { content: ""; position: absolute; left: 12%; right: 12%; top: -4%; aspect-ratio: 1; border-radius: 50%;
  border: 2px solid rgba(76,141,255,.75); box-shadow: 0 0 44px rgba(0,96,248,.65), inset 0 0 44px rgba(0,96,248,.28); }
.vitrine::after { content: ""; position: absolute; left: 7%; right: 7%; bottom: 13%; height: 15%; border-radius: 50%;
  background: linear-gradient(180deg, #2A3142, #0B0F1B 72%); box-shadow: inset 0 2px 0 rgba(140,170,240,.4), 0 18px 34px rgba(0,0,0,.6); }
.vitrine__img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 6%; }
.tag { position: absolute; left: 0; bottom: 0; z-index: 2; display: grid; gap: 2px; width: min(270px, 62%); padding: 13px 16px;
  background: rgba(20,27,45,.82); backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: var(--r-md); }
.tag__name { font-weight: 700; font-size: 14px; line-height: 1.25; }
.tag s { color: #9AA8C8; font-size: 14px; }
.tag b { white-space: nowrap; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.tag b small { font-size: .55em; font-weight: 600; letter-spacing: 0; }
.tag__note { font-size: 12.5px; font-weight: 500; color: #a1a1a6; }
@media (prefers-reduced-motion: no-preference) {
  .tag { animation: swing .6s ease-out .2s both; }
  @keyframes swing { from { transform: translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Afzalliklar qatori */
.perks { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 22px; background: var(--soft); border-radius: var(--r-md); }
.perk { display: flex; align-items: center; gap: 12px; padding: 16px 18px; }
.perk + .perk { border-left: 1px solid var(--line); }
.perk svg { flex: none; width: 28px; height: 28px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.perk p { margin: 0; display: grid; line-height: 1.3; } .perk b { font-weight: 700; font-size: 15px; } .perk span { color: var(--muted); font-size: 13px; }

/* Kategoriya plitkalari */
.block__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.block__head h2 { margin: 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.tile { display: block; height: 100%; text-align: center; text-decoration: none; background: var(--plate); border-radius: var(--r-md); padding: 0 0 16px; overflow: hidden; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: 8px; transition: transform .25s;
  -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); }
.tile:hover img { transform: scale(1.05); }
.tile b, .tile span { padding-inline: 8px; }
.tile b { display: block; font-weight: 700; font-size: 15px; line-height: 1.25; } .tile span { color: var(--muted); font-size: 13px; }
.tile:hover b { color: var(--blue); }

/* «Tanlash» panellari: tanlangan panel kengayadi, mahsulot kattalashadi, orqasida katta so'z, narx va tugma chiqadi */
.picks { list-style: none; margin: 0; padding: 0; display: flex; height: clamp(470px, 44vw, 560px); border-radius: var(--r-lg); overflow: hidden; }
.pick:not(.is-on) .pick__img { top: 44%; }
.pick { --ease: cubic-bezier(.65,0,.2,1); position: relative; flex: 1 1 0; min-width: 0; overflow: hidden;
  background: radial-gradient(closest-side, rgba(255,255,255,.6), transparent), var(--c); transition: flex-grow .7s var(--ease); }
.pick.is-on { flex-grow: 3.6; }
.pick__tab { position: absolute; inset: 0; z-index: 2; color: var(--ink); text-decoration: none; }
.pick__tab:focus-visible { outline-offset: -5px; }
.pick__img { position: absolute; z-index: 1; left: 50%; top: 35%; height: 54%; width: auto; max-width: none; pointer-events: none;
  transform: translate(-50%, -50%) scale(.54); transition: transform .7s var(--ease), top .7s var(--ease); filter: drop-shadow(0 16px 18px rgba(20,30,60,.22)); }
.pick.is-on .pick__img { transform: translate(-50%, -50%) scale(1); }
.pick__word { position: absolute; left: 50%; top: 35%; display: grid; justify-items: center; font-size: clamp(4.5rem, 10.5vw, 8.5rem); font-weight: 800; line-height: .92;
  letter-spacing: -.03em; white-space: nowrap; pointer-events: none; opacity: 0; transform: translate(-50%, -50%) scale(.82); transition: opacity .25s, transform .7s var(--ease); }
.pick__word b { color: #fff; font-weight: 800; }
.pick__word i { font-style: normal; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.75); }
.pick.is-on .pick__word { opacity: 1; transform: translate(-50%, -50%); transition: opacity .45s .22s, transform .7s var(--ease); }
.pick__mini { position: absolute; left: 8px; right: 8px; bottom: 22px; text-align: center; font-weight: 700; font-size: 15px; line-height: 1.25; transition: opacity .3s .3s; }
.pick.is-on .pick__mini { opacity: 0; transition: opacity .15s; }
.pick__info { position: absolute; z-index: 3; left: 50%; bottom: 20px; width: min(400px, 92%); text-align: center; opacity: 0; visibility: hidden;
  transform: translate(-50%, 14px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.pick.is-on .pick__info { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .4s .35s, transform .5s .35s, visibility 0s; }
.pick__info h3 { margin: 0 0 2px; font-size: 16px; font-weight: 700; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pick__price { margin: 0; font-size: 15px; font-weight: 600; } .pick__price b { font-size: 1.65rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.pick__note { margin: 0 0 10px; font-size: 13.5px; color: #424245; }
.pick__buy { background: var(--ink); color: #fff; padding: 12px 26px; }
.pick__buy:hover { background: var(--blue); }
@media (max-width: 720px) {
  .picks { flex-direction: column; height: 720px; }
  .pick.is-on { flex-grow: 6; }
  .pick__img { height: 230px; top: 33%; left: 15%; transform: translate(-50%, -50%) scale(.24); transition: transform .7s var(--ease), left .7s var(--ease), top .7s var(--ease); }
  .pick:not(.is-on) .pick__img { top: 50%; }
  .pick.is-on .pick__img { left: 50%; }
  .pick__word { top: 33%; font-size: 5.2rem; }
  .pick__mini { left: 30%; right: 12px; top: 50%; bottom: auto; transform: translateY(-50%); text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .pick, .pick * { transition: none !important; } }

/* Promo-banner */
.promo { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; margin-top: 44px; padding: clamp(24px, 4vw, 48px);
  background: var(--night); color: #fff; border-radius: var(--r-lg); overflow: hidden; }
.promo::before { content: ""; position: absolute; right: 8%; top: -40%; width: 50%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(0,96,248,.45), transparent 72%); }
.promo__copy, .promo__art { position: relative; }
.promo h2 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); letter-spacing: -0.03em; margin-bottom: .4em; color: #fff; }
.promo p { color: #a1a1a6; max-width: 44ch; margin: 0 0 22px; }
.promo__art { height: clamp(200px, 22vw, 290px); }
.promo__art::after { content: ""; position: absolute; left: 4%; right: 4%; bottom: 0; height: 18%; border-radius: 50%; z-index: 0;
  background: linear-gradient(180deg, #2A3142, #0B0F1B 72%); box-shadow: inset 0 2px 0 rgba(140,170,240,.35); }
.promo__art img { position: absolute; z-index: 1; width: auto; }
.promo__laptop { left: 2%; bottom: 7%; height: 72%; }
.promo__phone { left: 44%; bottom: 8%; height: 96%; z-index: 2 !important; }
.promo__pods { right: 2%; bottom: 3%; height: 32%; z-index: 3 !important; }

/* Vitrina karuseli: iPhone 18 Pro Max <-> iPhone 18 Duo */
.show { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; justify-self: end; }
.show__slide { position: absolute; inset: 0; max-width: none; opacity: 0; visibility: hidden; transform: scale(.94) translateX(24px);
  transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1), visibility 0s linear .7s; }
.show__slide.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .7s ease, transform .9s cubic-bezier(.2,.8,.2,1), visibility 0s; }
.show__slide .vitrine__img { will-change: transform; }
.tag__new { justify-self: start; background: var(--blue); color: #fff; font-size: 11.5px; font-weight: 800; padding: 3px 8px; border-radius: 6px; margin-bottom: 4px; }
.tag__ask { font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important; }
.show__dots { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); display: flex; gap: 8px; z-index: 2; }
.show__dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; padding: 0; background: rgba(255,255,255,.35); cursor: pointer; transition: width .3s, background .3s; }
.show__dots button[aria-selected=true] { width: 28px; background: var(--tag); }
@media (prefers-reduced-motion: no-preference) {
  .show__slide.is-on .vitrine__img { animation: float 5s ease-in-out infinite; }
  .show__slide.is-on .tag { animation: swing .9s cubic-bezier(.2,.8,.3,1.2) .25s both; }
  @keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-1.5deg); } }
}
@media (prefers-reduced-motion: reduce) { .show__slide { transition: none; } }
@media (max-width: 960px) { .show { justify-self: center; max-width: 420px; } }
@media (max-width: 460px) { .show { max-width: 330px; } }

/* iPhone 18 Duo — kitobdek ochilish: yopiq (orqa qopqoq) -> o'ng qanot bo'g'in atrofida 180° aylanib ochiladi */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fold { position: absolute; left: 50%; top: 40%; width: 86%; aspect-ratio: 810 / 573; transform: translate(-50%, -50%); }
.fold__in { position: absolute; inset: 0; perspective: 1600px; }
.fold__l, .fold__face { filter: drop-shadow(0 22px 24px rgba(5, 12, 40, .4)); }
.fold__l, .fold__r { position: absolute; top: 0; width: 50%; height: 100%; }
.fold__l { left: 0; }
.fold__r { left: 50%; transform-origin: 0 50%; transform-style: preserve-3d; }
.fold__face { position: absolute; inset: 0; width: 100%; height: 100%; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.fold__back { transform: rotateY(180deg); }
.duo .tag { z-index: 2; }
/* Duo ichki ekrani: bosh ekran (vidjetlar + ilovalar) — HTML, qanot bilan birga buklanadi */
.fold { container-type: inline-size; }
.fold__l > img, .fold__face > img { position: absolute; inset: 0; width: 100%; height: 100%; }
.scr { position: absolute; top: 4%; bottom: 4%; font-family: -apple-system, "SF Pro Display", var(--font); color: #fff; pointer-events: none; }
.scr--l { left: 4.6%; right: 0; padding: 7.5cqw 1.6cqw 4cqw 2.6cqw; display: flex; }
.scr--r { left: 0; right: 4.6%; padding: 2cqw 2.2cqw 3cqw 1.8cqw; display: grid; grid-template-columns: 1fr 6.4cqw; grid-template-rows: auto auto 1fr;
  column-gap: 1.6cqw; row-gap: 1.6cqw; }
.w-photo { flex: 1; border-radius: 2.6cqw; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-start;
  padding: 2.2cqw; box-shadow: 0 .6cqw 2cqw rgba(0,0,0,.18);
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent 35%), url(/uploads/duo-widget-photo.webp) center / cover; }
.w-photo b { font-size: 2.6cqw; font-weight: 700; } .w-photo small { font-size: 1.15cqw; font-weight: 600; opacity: .85; letter-spacing: .02em; }
.sbar { grid-column: 1 / -1; justify-self: end; font-size: 1.5cqw; font-weight: 600; color: #fff; text-shadow: 0 0 .4cqw rgba(0,0,0,.25); }
.w-row { grid-column: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; }
.w-wea, .w-map { aspect-ratio: 1; border-radius: 2.2cqw; padding: 1.5cqw; display: flex; flex-direction: column; box-shadow: 0 .5cqw 1.6cqw rgba(0,0,0,.15); }
.w-wea { background: linear-gradient(180deg, #4a8fe7, #2e6fd4); }
.w-wea small { font-size: 1.05cqw; font-weight: 600; } .w-wea b { font-size: 3.6cqw; font-weight: 300; line-height: 1.1; margin-bottom: auto; }
.w-map { position: relative; justify-content: flex-end; color: #1c1c1e;
  background: linear-gradient(115deg, transparent 46%, #fff 46% 52%, transparent 52%), linear-gradient(20deg, transparent 60%, #fff 60% 64%, transparent 64%),
              linear-gradient(180deg, #d9f0dc, #c3e6c9); }
.w-map small { font-size: 1cqw; font-weight: 700; } .w-map b { font-size: 1.1cqw; font-weight: 700; line-height: 1.15; }
.pin { position: absolute; right: 22%; top: 18%; width: 3.4cqw; height: 3.4cqw; border-radius: 50%; background: #ffd34d; border: .4cqw solid #fff; box-shadow: 0 .3cqw .8cqw rgba(0,0,0,.25); }
.apps { grid-column: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.7cqw 1.3cqw; align-content: start; justify-items: center; }
.dock { grid-column: 2; grid-row: 2 / 4; align-self: center; display: grid; gap: 1.2cqw; padding: 1cqw .6cqw; border-radius: 2.4cqw;
  background: rgba(255,255,255,.35); backdrop-filter: blur(4px); }
.scr i { display: grid; place-items: center; width: 5.1cqw; aspect-ratio: 1; border-radius: 1.25cqw; box-shadow: 0 .25cqw .7cqw rgba(0,0,0,.18); }
.scr i svg { width: 64%; height: 64%; }

/* ochilgandan keyin ekran bo'ylab bir marta yaltirash */
.fold__glare { position: absolute; inset: 2.5% 2% 2.5% 2%; border-radius: 4.5% / 6.5%; overflow: hidden; pointer-events: none; z-index: 1; opacity: 0; }
.fold__glare::before { content: ""; position: absolute; top: -20%; bottom: -20%; width: 35%; left: -40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.35) 50%, transparent); transform: skewX(-12deg); }
@media (prefers-reduced-motion: no-preference) {
  .duo::before { animation: duoRing 1s cubic-bezier(.2,.8,.2,1) both; }
  .fold__in { animation: foldIn .7s cubic-bezier(.2,.8,.2,1) .15s both, foldCenter 1.4s cubic-bezier(.65,0,.25,1) 1.1s both,
                         float 5s ease-in-out 2.9s infinite; }
  .fold__r { animation: foldOpen 1.4s cubic-bezier(.65,0,.25,1) 1.1s both; }
  .fold__r .fold__face:not(.fold__back) { animation: foldShade 1.4s cubic-bezier(.65,0,.25,1) 1.1s both; }
  .fold__back { animation: backShade 1.4s cubic-bezier(.65,0,.25,1) 1.1s both; }
  .fold__glare { animation: glareOn .01s linear 2.5s both; }
  .fold__glare::before { animation: glare 1.1s ease-in-out 2.55s both; }
  @keyframes foldShade { from { filter: brightness(.35) drop-shadow(0 22px 24px rgba(5,12,40,.4)); } to { filter: brightness(1) drop-shadow(0 22px 24px rgba(5,12,40,.4)); } }
  @keyframes backShade { from { filter: brightness(1) drop-shadow(0 22px 24px rgba(5,12,40,.4)); } to { filter: brightness(.45) drop-shadow(0 22px 24px rgba(5,12,40,.4)); } }
  @keyframes glareOn { to { opacity: 1; } }
  @keyframes glare { from { left: -40%; } to { left: 120%; } }
  .duo .tag { animation: swing .9s cubic-bezier(.2,.8,.3,1.2) 2.4s both; }
  @keyframes duoRing { from { transform: scale(.55); opacity: 0; } to { transform: none; opacity: 1; } }
  /* yopiq telefon markazda turishi uchun avval 25% o'ngga suriladi, ochilganda markazga qaytadi */
  @keyframes foldIn { from { opacity: 0; translate: 25% 18px; scale: .9; } to { opacity: 1; translate: 25% 0; scale: 1; } }
  @keyframes foldCenter { from { translate: 25% 0; } to { translate: 0 0; } }
  @keyframes foldOpen { from { transform: rotateY(-180deg); } 55% { transform: rotateY(-70deg); } to { transform: rotateY(0); } }
  @keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1deg); } }
}

/* Bannerlar */
.banners { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 1fr); gap: 14px; overflow-x: auto; margin-top: 28px; }
.banner { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 170px; padding: 20px;
  border-radius: var(--r-lg); background: var(--blue); color: #fff; text-decoration: none; overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner__t, .banner__s { position: relative; } .banner__t { font-weight: 800; font-size: 1.2rem; } .banner__s { color: #d2d2d7; }

/* Mahsulot plitkalari */
.block { margin: 52px auto; }
.block--tight { margin-block: 40px 0; }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; padding: 8px; }
.card__img { position: relative; aspect-ratio: 1; background: var(--sky); border-radius: var(--r-md); overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.card:hover .card__img img { transform: scale(1.04); }
.card__off { position: absolute; left: 10px; top: 10px; background: var(--blue); color: #fff; font-weight: 800; font-size: 13px;
  padding: 4px 8px; border-radius: 6px; }
.card__out { position: absolute; inset: auto 10px 10px auto; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.card__body { padding: 12px 8px 6px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font-weight: 600; text-decoration: none; line-height: 1.35; min-height: 2.7em; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name:hover { color: var(--blue); }
.card__price { margin: 4px 0 0; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.card__price b { font-size: 1.3rem; font-weight: 800; color: var(--ink); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.card__price s { font-size: 13.5px; flex-basis: 100%; }
.card__terms { margin: 0 0 10px; font-size: 13px; color: var(--ok); font-weight: 600; }
.card .btn--add { margin-top: auto; }

/* Nasiya qadamlari — haqiqiy ketma-ketlik, shuning uchun raqamlangan */
.steps { background: var(--soft); padding: 52px 0; }
.steps__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.steps__list li { position: relative; display: grid; gap: 12px; font-weight: 600; font-size: 17px; line-height: 1.4; padding-top: 4px; }
.steps__list li:not(:last-child)::after { content: ""; position: absolute; left: 60px; right: 12px; top: 26px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky-2) 0 8px, transparent 8px 14px); }
.steps__list b { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blue);
  color: #fff; font-weight: 800; font-size: 19px; }

/* Katalog */
.crumbs { color: var(--muted); font-size: 14px; margin: 22px 0 10px; } .crumbs a { text-decoration: none; } .crumbs a:hover { color: var(--blue); }
.page-h { font-size: clamp(1.6rem, 3.4vw, 2.4rem); } .page-h small { font-size: 15px; font-weight: 600; color: var(--muted); margin-left: 8px; letter-spacing: 0; }
.catalog { display: grid; grid-template-columns: 250px 1fr; gap: 22px; align-items: start; margin-bottom: 56px; }
.filters { background: var(--soft); border-radius: var(--r-lg); padding: 18px; position: sticky; top: 88px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.filters legend { font-weight: 700; margin-bottom: 8px; }
.check { display: flex; gap: 9px; align-items: center; padding: 4px 0; cursor: pointer; }
.check input { accent-color: var(--blue); width: 18px; height: 18px; }
.range2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.filters input[type=number], .filters select { width: 100%; padding: 11px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; background: #fff; color: var(--ink); }
.filters .btn { width: 100%; } .filters__reset { display: block; text-align: center; margin-top: 10px; color: var(--muted); font-size: 14px; }
.empty { padding: 40px 0; color: var(--muted); } .empty--big { text-align: center; padding: 80px 0; }

/* Mahsulot sahifasi */
.pdp { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 4vw, 48px); margin-bottom: 44px; }
.pdp__gallery { background: var(--sky); border-radius: var(--r-xl); padding: 0; overflow: hidden; align-self: start; position: sticky; top: 88px; }
.pdp__gallery > img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pdp__gallery .thumbs { padding: 0 14px 14px; }
.thumbs { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.thumbs button { border: 2px solid transparent; background: #fff; border-radius: var(--r-sm); padding: 4px; cursor: pointer; }
.thumbs button[aria-current] { border-color: var(--blue); }
.pdp__info h1 { font-size: clamp(1.6rem, 3.4vw, 2.5rem); }
.stock { color: var(--ok); font-weight: 700; margin: 0 0 18px; } .stock--no { color: var(--red); }

/* Nasiya kalkulyatori (mahsulot sahifasi) */
.calc { background: var(--navy); color: #fff; border-radius: var(--r-xl); padding: clamp(16px, 3vw, 24px); }
.calc__label { margin: 16px 0 8px; color: #a1a1a6; font-size: 14px; font-weight: 600; }
.calc__label:first-child { margin-top: 0; }
.calc__tabs { display: flex; gap: 4px; background: var(--navy-2); padding: 4px; border-radius: var(--r-md); }
.calc__tabs--p { flex-wrap: wrap; } .calc__tabs--p button { flex: 1 1 22%; min-width: 84px; }
.calc__tabs button { flex: 1; border: 0; background: transparent; color: #d2d2d7; font: 700 15px var(--font); padding: 11px 6px; border-radius: var(--r-sm); cursor: pointer; }
.calc__tabs button:hover { color: #fff; }
.calc__tabs button[aria-checked=true] { background: #fff; color: var(--navy); }
.calc__monthly { margin: 20px 0 10px; min-height: 2.6rem; }
.calc__monthly output { font-weight: 800; font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.15; color: #fff; letter-spacing: -0.02em; }
.calc__monthly output:has(span) { font-size: clamp(2rem, 4.4vw, 2.8rem); color: var(--tag); font-variant-numeric: tabular-nums; }
.calc__monthly output span { font-size: 15px; font-weight: 600; color: #d2d2d7; letter-spacing: 0; }
.calc__note { margin: 0 0 16px; color: #a1a1a6; font-size: 14px; line-height: 1.45; }
.calc__meta { display: grid; grid-template-columns: 1fr; gap: 8px; margin: 0; }
.calc__meta div { background: var(--navy-2); border-radius: var(--r-sm); padding: 11px 12px; } .calc__meta dt { color: #a1a1a6; font-size: 13px; }
.calc__meta dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; } .calc__meta s { color: #86868b; }
.calc__more { display: inline-block; margin-top: 14px; color: #fff; font-weight: 700; font-size: 14.5px; text-underline-offset: 3px; }
.pdp__actions { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin: 16px 0 30px; }
.pdp__actions .btn { padding-block: 17px; font-size: 16px; border-radius: var(--r-md); }
.specs { margin: 0 0 28px; } .specs div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); } .specs dd { margin: 0; font-weight: 600; }
.desc { color: #424245; max-width: 70ch; }

/* /kalkulyator — yorug', havodor: chapda oq kiritish kartasi, o'ngda yopishqoq ko'k natija kartasi */
.kc-bg { background:
    radial-gradient(60% 50% at 85% 0%, #DCE8FF 0%, transparent 60%),
    radial-gradient(40% 40% at 0% 30%, #EAF7F1 0%, transparent 70%), var(--page); }
.kc { padding-bottom: 72px; }
.kc__head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: .3em; }
.kc__head p { color: var(--muted); max-width: 52ch; margin: 0 0 28px; font-size: 1.08rem; }
.kc__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 20px; align-items: start; }
.kc__grid > *, .kc__step, .kc__pick > * { min-width: 0; }
.kc__form { background: rgba(255,255,255,.88); backdrop-filter: blur(8px); border: 1px solid #d2d2d7; border-radius: 28px;
  padding: clamp(18px, 3vw, 30px); box-shadow: 0 1px 0 rgba(0,0,0,.03), 0 30px 60px -40px rgba(0,0,0,.25); }
.kc__step + .kc__step { margin-top: 26px; padding-top: 24px; border-top: 1px solid #e8e8ed; }
.kc__lbl, .kc__field label { display: block; margin: 0 0 8px; color: var(--muted); font-size: 14px; font-weight: 600; }
.kc__pick { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: end; }
.kc__thumb { aspect-ratio: 1; background: var(--sky); border-radius: 18px; overflow: hidden; }
.kc__thumb img { width: 100%; height: 100%; object-fit: cover; }
.kc__field { position: relative; min-width: 0; }
.kc__find, .kc__price { display: flex; align-items: center; gap: 10px; background: #f5f5f7; border: 1.5px solid transparent;
  border-radius: 16px; padding: 0 16px; min-height: 56px; transition: border-color .15s, background .15s; }
.kc__find:focus-within, .kc__price:focus-within { background: #fff; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,113,227,.2); }
.kc__find svg { color: var(--faint); flex: none; }
.kc__find input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--ink); outline: none; font: 600 16.5px var(--font); padding: 15px 0; }
.kc__find input::placeholder { color: var(--faint); font-weight: 500; }
.kc__clear { border: 0; background: #d2d2d7; color: var(--muted); width: 26px; height: 26px; border-radius: 50%; font-size: 17px; line-height: 1; cursor: pointer; flex: none; }
.kc__clear:hover { background: var(--ink); color: #fff; }
.kc__price { margin-top: 0; }
.kc__price input { flex: 1; min-width: 0; width: 100%; border: 0; background: transparent; color: var(--ink); outline: none;
  font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.5 var(--font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.kc__price span { color: var(--faint); font-weight: 600; }
.kc__res { position: absolute; z-index: 4; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; color: var(--ink);
  border: 1px solid #d2d2d7; border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(0,0,0,.35); max-height: 380px; overflow-y: auto; }
.kc__res li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; cursor: pointer; }
.kc__res li[aria-selected=true], .kc__res li:hover { background: var(--sky); }
.kc__res img { width: 40px; height: 40px; object-fit: cover; border-radius: 10px; background: var(--sky); }
.kc__res span { font-weight: 600; font-size: 15px; } .kc__res b { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kc__res .kc__none { display: block; color: var(--muted); cursor: default; } .kc__res .kc__none:hover { background: none; }
.kc__pop { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 18px; }
.kc__pop button { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #d2d2d7; cursor: pointer; background: #fff; color: var(--ink);
  font: 600 13.5px var(--font); padding: 3px 12px 3px 3px; border-radius: 99px; transition: border-color .15s, background .15s; }
.kc__pop button:hover { border-color: var(--blue); background: #f5f5f7; }
.kc__pop img { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--sky); }
.kc__seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; background: #f5f5f7; padding: 5px; border-radius: 16px; }
.kc__seg button { border: 0; background: transparent; color: var(--muted); font: 700 16px var(--font); padding: 13px 10px; border-radius: 12px; cursor: pointer; transition: background .15s, color .15s; }
.kc__seg button:hover { color: var(--ink); }
.kc__seg button[aria-checked=true] { background: #fff; color: var(--blue); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 6px 16px -8px rgba(0,0,0,.25); }
.kc__partners { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.kc__card { display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px;
  border: 1.5px solid #d2d2d7; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.kc__card:hover { border-color: #86868b; }
.kc__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c7c7cc; display: grid; place-items: center; }
.kc__card.is-on { border-color: var(--blue); background: #f5f5f7; }
.kc__card.is-on .kc__dot { border-color: var(--blue); } .kc__card.is-on .kc__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--blue); }
.kc__name { font-weight: 700; font-size: 16px; }
.kc__best { display: none; font-size: 12px; font-weight: 700; padding: 3px 8px; border-radius: 99px; background: #E3F6EC; color: #0E7A4D; }
.kc__card.is-best .kc__best { display: inline-block; }
.kc__right { text-align: right; line-height: 1.15; }
.kc__monthly { display: block; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.kc__total { font-size: 12.5px; color: var(--faint); }
.kc__card.is-off { cursor: default; background: #fafafa; } .kc__card.is-off .kc__monthly { color: #c7c7cc; }
.kc__card.is-off .kc__name { color: var(--muted); }
.kc__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.kc__chips button { border: 1.5px solid #d2d2d7; background: #fff; color: var(--ink); font: 700 15px var(--font); padding: 10px 16px; border-radius: 99px; cursor: pointer; }
.kc__chips button:hover { border-color: #86868b; }
.kc__chips button[aria-checked=true] { background: var(--ink); border-color: var(--ink); color: #fff; }
/* Barcha muddatlar jadvali */
.kc__matrix { margin-top: 22px; background: rgba(255,255,255,.88); border: 1px solid #d2d2d7; border-radius: 28px; padding: clamp(18px, 3vw, 28px); }
.kc__matrix h2 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); margin-bottom: .3em; }
.kc__matrix > p { color: var(--muted); margin: 0 0 14px; font-size: 14.5px; }
.kc__mwrap { overflow-x: auto; }
.kc__matrix table { width: 100%; border-collapse: separate; border-spacing: 4px; min-width: 560px; font-variant-numeric: tabular-nums; }
.kc__matrix th { text-align: left; font-size: 13.5px; color: var(--muted); font-weight: 600; padding: 6px 10px; white-space: nowrap; }
.kc__matrix tbody th { color: var(--ink); font-weight: 700; font-size: 15px; }
.kc__matrix td { background: #f5f5f7; border-radius: 10px; padding: 11px 10px; font-weight: 700; font-size: 15px; cursor: pointer; white-space: nowrap;
  border: 1.5px solid transparent; }
.kc__matrix td:hover { border-color: #86868b; }
.kc__matrix td.is-off { color: #c7c7cc; background: #fafafa; cursor: default; font-weight: 500; } .kc__matrix td.is-off:hover { border-color: transparent; }
.kc__matrix td.is-none { background: transparent; }
.kc__seg button[hidden], .calc__tabs button[hidden], .kc__card[hidden] { display: none; }
.kc__matrix td.is-low { background: var(--tag); color: var(--tag-ink); }
.kc__matrix td.is-on { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
/* Natija kartasi */
.kc__result { position: sticky; top: 88px; border-radius: 28px; padding: clamp(20px, 3vw, 30px); color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, #3B82FF 0%, #0060F8 40%, #0047C9 100%);
  box-shadow: 0 40px 80px -40px rgba(0,72,201,.65); }
.kc__result::after { content: ""; position: absolute; right: -60px; bottom: -80px; width: 240px; aspect-ratio: 1; border-radius: 50%;
  background: rgba(255,255,255,.08); pointer-events: none; }
.kc__result > * { position: relative; z-index: 1; }
.kc__who { margin: 0 0 6px; color: #d2d2d7; font-weight: 600; }
.kc__big { margin: 0 0 18px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.kc__big output { font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.kc__big span { color: #d2d2d7; font-weight: 600; }
.kc__bars { display: grid; grid-template-columns: repeat(var(--n, 12), 1fr); gap: 4px; margin-bottom: 20px; }
.kc__bars i { height: 8px; border-radius: 4px; background: rgba(255,255,255,.28); }
.kc__bars i:first-child { background: #fff; }
@media (prefers-reduced-motion: no-preference) { .kc__bars i { animation: barIn .35s ease both; } }
@keyframes barIn { from { transform: scaleY(.2); opacity: 0; } }
.kc__facts { margin: 0 0 6px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kc__facts div { background: rgba(255,255,255,.12); border-radius: 14px; padding: 11px 13px; }
.kc__facts dt { color: #d2d2d7; font-size: 13px; } .kc__facts dd { margin: 2px 0 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.kc__sched { margin-top: 10px; background: rgba(255,255,255,.1); border-radius: 14px; }
.kc__sched summary { cursor: pointer; padding: 12px 14px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; }
.kc__sched summary::-webkit-details-marker { display: none; }
.kc__sched summary::after { content: "+"; font-size: 20px; line-height: 1; } .kc__sched[open] summary::after { content: "–"; }
.kc__sched ol { list-style: none; margin: 0; padding: 0 14px; max-height: 230px; overflow-y: auto; }
.kc__sched li { display: grid; grid-template-columns: 74px 1fr auto; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 14.5px; }
.kc__sched li span { color: #d2d2d7; } .kc__sched time { color: #f5f5f7; font-variant-numeric: tabular-nums; } .kc__sched li b { font-variant-numeric: tabular-nums; }
.kc__fine { margin: 0; padding: 10px 14px 14px; color: #d2d2d7; font-size: 12.5px; }
.kc__wait-t { margin: 4px 0 8px; font-weight: 800; font-size: clamp(1.4rem, 2.4vw, 1.75rem); line-height: 1.15; letter-spacing: -0.02em; }
.kc__wait-s { margin: 0 0 6px; color: #d2d2d7; }
.kc__cta { width: 100%; margin-top: 20px; padding: 18px; font-size: 16.5px; border-radius: 16px; background: var(--tag); color: var(--tag-ink); }
.kc__cta:hover { background: #FFDE5C; }
.kc__note { margin: 12px 0 0; color: #d2d2d7; font-size: 13px; text-align: center; }
@media (max-width: 900px) {
  .kc__grid { grid-template-columns: minmax(0, 1fr); }
  .kc__result { position: relative; top: auto; }
}
@media (max-width: 460px) {
  .kc__pick { grid-template-columns: 64px 1fr; gap: 10px; }
  .kc__pop { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -4px; padding: 0 4px 2px; }
  .kc__pop::-webkit-scrollbar { display: none; } .kc__pop button { flex: none; }
  .kc__card { grid-template-columns: 20px 1fr auto; padding: 12px 14px; } .kc__best { grid-column: 2; grid-row: 2; justify-self: start; }
  .kc__right { grid-row: 1 / span 2; grid-column: 3; }
  .kc__facts { grid-template-columns: 1fr 1fr; }
}

/* Savat */
.cartgrid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; align-items: start; margin-bottom: 56px; }
.cartgrid[hidden] { display: none; }
.cartpage { padding-top: 28px; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 80px 1fr auto; gap: 14px; align-items: center; background: var(--soft); border-radius: var(--r-lg); padding: 10px; }
.line img { width: 80px; height: 80px; object-fit: cover; background: var(--sky); border-radius: var(--r-sm); }
.line__name { font-weight: 600; text-decoration: none; } .line__price { color: var(--muted); font-size: 14px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; }
.qty button { width: 34px; height: 34px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: #fff; font-weight: 800; cursor: pointer; }
.line__del { border: 0; background: none; color: var(--muted); cursor: pointer; text-decoration: underline; font: inherit; font-size: 14px; }
.orderform { background: var(--soft); border-radius: var(--r-xl); padding: 22px; position: sticky; top: 88px; }
.orderform label { display: grid; gap: 6px; font-weight: 600; margin-bottom: 12px; }
.orderform input, .orderform textarea { padding: 13px; border: 1.5px solid var(--line); border-radius: var(--r-sm); font: inherit; color: var(--ink); }
.orderform input:focus, .orderform textarea:focus { border-color: var(--blue); outline: none; }
.orderform fieldset { border: 0; padding: 0; margin: 0 0 12px; } .orderform legend { font-weight: 600; margin-bottom: 6px; }
.pay { display: grid; gap: 6px; }
.pay label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 0; padding: 12px; border: 1.5px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-weight: 600; }
.pay label:has(input:checked) { border-color: var(--blue); background: var(--sky); }
.pay input { accent-color: var(--blue); } .pay small { color: var(--muted); font-weight: 600; }
.orderform__total { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; }
.orderform__total b { font-size: 1.4rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.err { color: var(--red); font-weight: 600; }
.orderform label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 13px; line-height: 1.4; }
.orderform label.check input { width: 18px; height: 18px; margin: 1px 0 0; padding: 0; flex: none; accent-color: var(--blue); }
.done { text-align: center; padding: 60px 0; }

.btn { transition: background .15s, color .15s, transform .2s cubic-bezier(.34,1.45,.64,1), box-shadow .15s; }
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: scale(.96); }
@media (prefers-reduced-motion: reduce) { .btn { transition: none; } }

/* Pastki qism */
.foot { background: var(--night); color: #a1a1a6; padding: 48px 0; margin-top: 0; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot h3 { font-size: 15px; font-weight: 700; color: #fff; margin: 0 0 6px; letter-spacing: 0; } .foot p { margin: 0 0 12px; }
.foot__tag { color: #a1a1a6; font-size: 14px; margin-top: 14px; } .foot__muted { color: #a1a1a6; }
.foot a { text-decoration: none; } .foot a:hover { color: #fff; text-decoration: underline; }

@media (max-width: 1120px) {
  .top__row { flex-wrap: wrap; row-gap: 6px; padding-bottom: 8px; } .top__tools { margin-left: auto; }
  .cats { order: 3; flex-basis: 100%; justify-content: flex-start; }
}
@media (max-width: 960px) {
  .hero__grid, .pdp, .cartgrid, .calcpage { grid-template-columns: 1fr; }
  .vitrine { justify-self: center; max-width: 480px; aspect-ratio: .9; }
  .fold { top: 38%; }
  .vitrine::before { top: 0; }
  .vitrine::after { bottom: 22%; }
  .perks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .perk:nth-child(3) { border-left: 0; } .perk:nth-child(n+3) { border-top: 1px solid var(--line); }
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .promo { grid-template-columns: 1fr; }
  .grid, .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .catalog { grid-template-columns: 1fr; } .filters, .pdp__gallery, .orderform { position: static; }
  .foot__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .steps__list { grid-template-columns: 1fr; gap: 16px; }
  .steps__list li { grid-template-columns: 48px 1fr; align-items: center; }
  .steps__list li::after { display: none; }
  .pdp__actions { grid-template-columns: 1fr; }
}
@media (max-width: 460px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .perk { padding: 12px; gap: 9px; } .perk svg { width: 24px; height: 24px; } .perk b { font-size: 14px; }
  .block__head .btn--line { padding: 9px 11px; font-size: 13px; }
  .strip span { display: none; } .strip__row { justify-content: flex-end; }
  .grid, .grid--3 { gap: 8px; } .card { padding: 6px; border-radius: var(--r-md); }
  .card__body { padding: 10px 4px 4px; } .card__name { font-size: 14.5px; }
  .card__price b { font-size: 1.12rem; } .btn--add { font-size: 14px; padding: 11px 8px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .tag { width: 68%; padding: 10px 12px; }
  .vitrine { max-width: 330px; }
  .card__terms { display: none; } .card__price { margin-bottom: 10px; }
  .calc__tabs--p button { flex: 1 1 40%; }
}


/* ===== Apple uslubi ===== */
body { font-weight: 400; font-size: 17px; line-height: 1.47; letter-spacing: -.022em; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-weight: 600; letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.5rem); }
.btn { border-radius: 980px; font-weight: 500; font-size: 15px; letter-spacing: -.01em; padding: 11px 21px; transition: background .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease); }
.btn:hover:not(:disabled) { transform: none; }
.btn:active:not(:disabled) { transform: scale(.97); }
.btn--lg { padding: 14px 26px; font-size: 17px; border-radius: 980px; }
.btn--light { background: transparent; color: #2997ff; box-shadow: inset 0 0 0 1px #2997ff; }
.btn--light:hover { background: #2997ff; color: #fff; }
.btn--ghost { box-shadow: inset 0 0 0 1px var(--blue); } .btn--ghost:hover { background: var(--blue); color: #fff; }
.btn--line { background: transparent; color: var(--blue); box-shadow: none; padding: 8px 0; font-size: 17px; font-weight: 400; }
.btn--line:hover { color: var(--blue); box-shadow: none; text-decoration: underline; }
.btn--add { background: var(--blue); color: #fff; } .btn--add:hover { background: var(--blue-d); color: #fff; }

/* Sarlavha: shaffof, xira shisha */
.strip { background: var(--soft); color: var(--ink); font-size: 12.5px; }
.strip a { color: var(--blue); font-weight: 400; }
.top { background: rgba(251,251,253,.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0,0,0,.08); }
.top__row { padding-block: 6px; }
.logo__mark { height: 30px; } .logo__word { height: 13px; }
.cats a { font-weight: 400; font-size: 13px; color: rgba(0,0,0,.8); padding: 6px 12px; }
.cats.has-pill a { transition: color .3s var(--ease); }
.cats.has-pill a.is-under { color: #000; transform: none; }
.cats.has-pill a:hover { color: #000; }
.cats__pill { background: rgba(0,0,0,.07); border-radius: 980px; }
.cats.is-ready .cats__pill { transition: left .5s var(--ease), width .5s var(--ease), opacity .3s var(--ease), transform .3s var(--ease); }
.iconbtn, .cartlink { width: 38px; height: 38px; } .lang { font-size: 13px; font-weight: 400; }
.search input { border: 1px solid var(--line); border-radius: 12px; }
.cartlink__n { font-weight: 600; }

/* Hero: qora fon, hamma narsa markazda */
.hero::before, .vitrine::before, .vitrine::after { content: none; }
.hero__grid { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; gap: clamp(24px, 3vw, 40px); padding-block: clamp(44px, 6vw, 72px) 120px; }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 600; letter-spacing: -.025em; color: #f5f5f7; line-height: 1.05; margin-bottom: .3em; }
.hero h1 em { color: #a1a1a6; }
.hero__lead { color: #a1a1a6; font-size: clamp(1.05rem, 1.8vw, 1.3rem); margin: 0 auto 24px; max-width: 40ch; }
.hero__cta { justify-content: center; }
.vitrine { justify-self: center; width: min(760px, 100%); max-width: none; aspect-ratio: 1.41; }
.fold { top: 50%; width: 100%; }
.tag { left: 0; right: 0; top: calc(100% + 18px); bottom: auto; width: auto; padding: 0; justify-items: center; background: none; border: 0; border-radius: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.tag__new { justify-self: center; background: none; color: #f56300; padding: 0; font-size: 13px; font-weight: 500; margin: 0; }
.tag__name { font-size: 15px; font-weight: 500; color: #f5f5f7; }
.tag b { font-size: 19px; font-weight: 500; color: #f5f5f7; letter-spacing: -.01em; } .tag b small { font-size: 13px; font-weight: 400; color: #a1a1a6; }
.tag__note { color: #a1a1a6; }
@media (prefers-reduced-motion: no-preference) {
  .duo::before { animation: none; }
  .fold__in { animation: foldIn .9s var(--ease) .15s both, foldCenter 1.5s var(--ease) 1.1s both; }
  .fold__r, .fold__r .fold__face:not(.fold__back), .fold__back { animation-timing-function: var(--ease); }
  .hero__copy > * { animation: riseIn 1s var(--ease) both; }
  .hero__lead { animation-delay: .1s; } .hero__cta { animation-delay: .2s; }
  @keyframes riseIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
  .duo .tag { animation: tagIn .9s var(--ease) 2.2s both; }
  @keyframes tagIn { from { opacity: 0; } to { opacity: 1; } }
}

/* Plitkalar: chegara yo'q, kulrang fon; rasmning ko'k tusi neytrallanadi */
.card { border: 0; background: var(--soft); padding: 0; border-radius: var(--r-lg); overflow: hidden; }
.card__img { border-radius: 0; background: var(--soft); }
.card__img img, .tile img, .pdp__gallery > img { filter: sepia(.13) brightness(1.015); }
.card__img img, .tile img { transition: transform .6s var(--ease); }
.card:hover .card__img img, .tile:hover img { transform: scale(1.03); }
.card__body { padding: 14px 16px 16px; }
.card__name { font-weight: 500; font-size: 15px; } .card__name:hover { color: var(--ink); }
.card__price b { font-weight: 600; font-size: 1.15rem; } .card__terms { color: var(--muted); font-weight: 400; }
.card__off { background: #fff; color: #bf4800; font-weight: 600; font-size: 12px; border-radius: 980px; padding: 3px 9px; }
.perks { background: var(--soft); border-radius: var(--r-lg); }
.perk + .perk { border-left-color: rgba(0,0,0,.08); }
.perk svg { stroke: var(--ink); stroke-width: 1.4; } .perk b { font-weight: 600; font-size: 14px; }
.tile b { font-weight: 500; } .tile:hover b { color: var(--ink); }
.partners li { border: 0; background: #fff; font-weight: 500; border-radius: 980px; }
.steps__list b { background: var(--ink); font-weight: 500; }
.steps__list li { font-weight: 400; }

/* Panellar va promo */
.picks { border-radius: var(--r-lg); }
.pick { --ease: cubic-bezier(.28,.11,.32,1); transition: flex-grow .8s var(--ease); }
.pick__buy { background: var(--blue); } .pick__buy:hover { background: var(--blue-d); }
.pick__price b { font-weight: 600; } .pick__mini { font-weight: 500; }
.pick__word, .pick__word b { font-weight: 600; }
.promo { background: #000; border-radius: var(--r-lg); } .promo::before, .promo__art::after { content: none; }
.promo h2 { font-weight: 600; color: #f5f5f7; } .promo p { color: #a1a1a6; }

/* Kalkulyator va mahsulot paneli: neytral */
.calc { background: var(--soft); color: var(--ink); }
.calc__label, .calc__note, .calc__meta dt { color: var(--muted); }
.calc__tabs { background: #e8e8ed; } .calc__tabs button { color: var(--muted); font-weight: 500; } .calc__tabs button:hover { color: var(--ink); }
.calc__tabs button[aria-checked=true] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.calc__monthly output { color: var(--ink); font-weight: 600; } .calc__monthly output:has(span) { color: var(--ink); } .calc__monthly output span { color: var(--muted); font-weight: 400; }
.calc__meta div { background: #fff; } .calc__meta s { color: var(--faint); } .calc__more { color: var(--blue); font-weight: 400; }
.kc-bg { background: #fff; }
.kc__form, .kc__matrix { background: var(--soft); border: 0; box-shadow: none; backdrop-filter: none; }
.kc__find, .kc__price, .kc__seg { background: #fff; }
.kc__seg button[aria-checked=true] { background: var(--ink); color: #fff; box-shadow: none; }
.kc__matrix td { background: #fff; } .kc__matrix td.is-low { background: var(--blue); color: #fff; }
.kc__chips button[aria-checked=true] { background: var(--ink); }
.kc__result { background: #000; box-shadow: none; } .kc__result::after { content: none; }
.kc__cta { background: var(--blue); color: #fff; border-radius: 980px; } .kc__cta:hover { background: var(--blue-d); }
.kc__facts div, .kc__sched { background: rgba(255,255,255,.1); }
.stock { font-weight: 500; }

/* Pastki qism: och kulrang */
.foot { background: var(--soft); color: var(--muted); font-size: 13px; border-top: 1px solid rgba(0,0,0,.08); }
.foot h3 { color: var(--ink); font-size: 13px; font-weight: 600; } .foot a:hover { color: var(--ink); }
.foot__tag, .foot__muted { color: var(--muted); font-size: 13px; }

/* Katalog: Apple do'koni uslubi — kulrang sahifa, oq kartalar yumshoq soya bilan, filtrlar qutisiz */
main:has(.catalog) { display: flow-root; background: var(--soft); padding-bottom: 8px; }
.page-h { font-size: clamp(2rem, 4vw, 3rem); font-weight: 600; letter-spacing: -.025em; }
.page-h small { font-size: 15px; font-weight: 400; }
.crumbs { font-size: 12.5px; padding-top: 2px; } .crumbs a { color: var(--muted); }
.catalog { grid-template-columns: 210px minmax(0, 1fr); gap: 32px; }
.filters { background: none; padding: 4px 0 0; border-radius: 0; font-size: 14px; }
.filters fieldset { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid rgba(0,0,0,.1); }
.filters legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 10px; }
.check { padding: 5px 0; gap: 10px; }
.check input { appearance: none; -webkit-appearance: none; width: 18px; height: 18px; margin: 0; flex: none; border: 1px solid #86868b; border-radius: 5px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease); }
.check input:checked { background: var(--blue); border-color: var(--blue); }
.check input:checked::after { content: ""; width: 9px; height: 5px; margin-top: -2px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.filters input[type=number], .filters select { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; }
.filters input[type=number]:focus, .filters select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.2); }
.filters .btn { padding: 10px 18px; font-size: 14px; }
.filters__reset { color: var(--blue); text-decoration: none; font-size: 13px; } .filters__reset:hover { text-decoration: underline; }

.grid { gap: 20px; }
.card { background: #fff; border-radius: var(--r-lg); box-shadow: 0 2px 12px rgba(0,0,0,.06); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover { transform: scale(1.012); box-shadow: 0 8px 28px rgba(0,0,0,.12); }
.card__img { background: #fff; }
.card__img img { filter: sepia(.13) brightness(1.07); padding: 6%; }
.card:hover .card__img img { transform: none; }
.card__off { background: none; padding: 0; left: 18px; top: 16px; font-weight: 500; font-size: 13px; color: #bf4800; border-radius: 0; z-index: 1; }
.card__out { background: none; color: var(--muted); inset: 16px 18px auto auto; padding: 0; font-weight: 500; }
.card__body { padding: 4px 20px 20px; gap: 2px; }
.card__name { font-size: 17px; font-weight: 600; line-height: 1.24; letter-spacing: -.02em; min-height: 2.48em; }
.card__name:hover { color: var(--blue); }
.card__price { margin-top: 8px; font-size: 14px; }
.card__price b { font-size: 17px; font-weight: 400; letter-spacing: -.02em; } .card__price s { font-size: 12.5px; }
.card__terms { font-size: 12.5px; line-height: 1.35; margin: 2px 0 14px; }
.card .btn--add { width: auto; align-self: flex-start; padding: 8px 16px; font-size: 14px; }
.card .btn--add:disabled { background: #e8e8ed; color: var(--muted); opacity: 1; }
@media (max-width: 960px) { .catalog { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0 20px; align-items: start; } .filters fieldset { margin-bottom: 14px; padding-bottom: 12px; }
  .filters .btn, .filters__reset { grid-column: 1 / -1; } }
@media (max-width: 460px) {
  .grid, .grid--3 { gap: 10px; } .card { padding: 0; border-radius: 14px; }
  .card__body { padding: 2px 12px 14px; } .card__name { font-size: 14.5px; } .card__price b { font-size: 15px; } .card__terms { display: none; }
  .card__off { left: 12px; top: 10px; } .card .btn--add { padding: 7px 13px; font-size: 13px; } .card__price { margin-bottom: 10px; }
}
@media (prefers-reduced-motion: reduce) { .card, .check input { transition: none; } .card:hover { transform: none; } }

/* Aylantirganda paydo bo'lish */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 720px) {
  .picks { height: 720px; }
  .hero__grid { padding-bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__copy > * { animation: none; }
}


/* ===== Qora mavzu ===== */
:root { color-scheme: dark; }
body { background: #000; color: var(--ink); }
s { color: var(--faint); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.strip { background: #1d1d1f; color: var(--muted); } .strip a { color: var(--link); }
.top { background: rgba(22,22,23,.8); border-bottom-color: rgba(255,255,255,.1); }
.cats a { color: rgba(255,255,255,.8); }
.cats.has-pill a:hover, .cats.has-pill a.is-under, .cats.has-pill a[aria-current].is-under { color: #fff; }
.cats.has-pill a[aria-current] { color: rgba(255,255,255,.8); }
.cats a:hover { background: transparent; }
.cats__pill { background: rgba(255,255,255,.14); }
.iconbtn, .cartlink { color: #f5f5f7; } .iconbtn:hover, .cartlink:hover { background: rgba(255,255,255,.1); color: #fff; }
.lang { color: var(--muted); } .lang:hover { background: rgba(255,255,255,.1); color: #fff; }
.search input { background: var(--raise); border-color: transparent; } .search input:focus { background: var(--raise); border-color: var(--link); }
input, textarea, select { background: var(--raise) !important; color: var(--ink); border-color: transparent !important; }
input:focus, textarea:focus, select:focus { border-color: var(--link) !important; }
.kc__find input, .kc__price input { background: transparent !important; }
.crumbs a { color: var(--muted); } .crumbs a:hover { color: var(--link); }

/* Yuzalar */
main:has(.catalog) { background: #000; }
.perks { background: var(--soft); } .perk + .perk, .perk:nth-child(n+3) { border-color: rgba(255,255,255,.1); }
.perk svg { stroke: var(--ink); }
.tile { background: var(--soft); } .tile img { filter: none; -webkit-mask-image: none; mask-image: none; padding: 8%; object-fit: contain; }
.tile:hover b { color: #fff; }
.card, .card__img { background: var(--soft); }
.card { box-shadow: none; } .card:hover { box-shadow: 0 0 0 1px rgba(255,255,255,.14); }
.card__img img { filter: none; object-fit: contain; }
.card__name { color: var(--ink); } .card__name:hover { color: var(--link); }
.card__price { color: var(--muted); } .card__price b { color: var(--ink); }
.card__off { background: none; color: #ff9f0a; }
.card__out { color: var(--muted); }
.pdp__gallery { background: var(--soft); } .pdp__gallery > img { filter: none; object-fit: contain; padding: 6%; }
.thumbs button { background: var(--raise); } .thumbs button[aria-current] { border-color: var(--link); }
.steps { background: var(--soft); } .steps__list b { background: var(--raise); color: #fff; }
.steps__list li:not(:last-child)::after { background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.partners li { background: var(--raise); }
.filters fieldset { border-bottom-color: rgba(255,255,255,.14); }
.check input { background: transparent !important; border: 1px solid #86868b !important; }
.check input:checked { background: var(--blue) !important; border-color: var(--blue) !important; }
.specs div { border-bottom-color: rgba(255,255,255,.14); } .desc { color: var(--muted); }
.line, .orderform { background: var(--soft); } .line img { background: var(--raise); }
.pay label { border-color: var(--line); } .pay label:has(input:checked) { background: var(--raise); border-color: var(--link); }
.foot { background: #1d1d1f; border-top: 0; }
.foot a { color: var(--muted); } .foot a:hover { color: #fff; }
.foot h3 { color: var(--ink); }
.empty a { color: var(--link); }

/* Panellar: mahsulot rangi to'q fonda */
.pick { background: radial-gradient(closest-side, color-mix(in srgb, var(--c) 34%, transparent), transparent), color-mix(in srgb, var(--c) 20%, #000); }
.pick__tab { color: var(--ink); }
.pick__note { color: var(--muted); }
.pick__word i { -webkit-text-stroke-color: rgba(255,255,255,.4); }
.promo { background: var(--soft); }

/* Kalkulyator */
.calc { background: var(--soft); color: var(--ink); }
.calc__tabs, .kc__seg { background: var(--raise); }
.calc__tabs button { color: var(--muted); } .calc__tabs button:hover, .kc__seg button:hover { color: #fff; }
.calc__tabs button[aria-checked=true], .kc__seg button[aria-checked=true] { background: #636366; color: #fff; box-shadow: none; }
.calc__monthly output, .calc__monthly output:has(span) { color: var(--ink); }
.calc__meta div { background: var(--raise); }
.calc__more { color: var(--link); }
.kc-bg { background: #000; }
.kc__form, .kc__matrix { background: var(--soft); }
.kc__step + .kc__step { border-top-color: rgba(255,255,255,.1); }
.kc__find, .kc__price, .kc__find:focus-within, .kc__price:focus-within { background: var(--raise); }
.kc__thumb, .kc__pop img, .kc__res img { background: var(--raise); }
.kc__res { background: var(--raise); border-color: var(--line); color: var(--ink); } .kc__res li[aria-selected=true], .kc__res li:hover { background: #3a3a3c; }
.kc__pop button, .kc__chips button { background: var(--raise); border: 0; color: var(--ink); }
.kc__pop button:hover, .kc__chips button:hover { background: #3a3a3c; }
.kc__chips button[aria-checked=true] { background: #636366; color: #fff; }
.kc__clear { background: #3a3a3c; color: var(--ink); } .kc__clear:hover { background: #636366; color: #fff; }
.kc__card { background: var(--raise); border-color: transparent; } .kc__card:hover { border-color: var(--line); }
.kc__card.is-on { background: var(--raise); border-color: var(--link); } .kc__card.is-on .kc__dot { border-color: var(--link); } .kc__card.is-on .kc__dot::after { background: var(--link); }
.kc__card.is-off { background: #242426; } .kc__card.is-off .kc__monthly, .kc__matrix td.is-off { color: #636366; }
.kc__dot { border-color: #636366; }
.kc__best { background: rgba(48,209,88,.16); color: #30d158; }
.kc__matrix td { background: var(--raise); } .kc__matrix td:hover { border-color: var(--line); } .kc__matrix td.is-off { background: #242426; }
.kc__matrix td.is-low { background: var(--blue); color: #fff; } .kc__matrix td.is-on { border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.kc__result { background: var(--soft); }
.qty button { background: var(--raise); border: 0; color: var(--ink); border-radius: 50%; }
.line__del { color: var(--link); text-decoration: none; }

/* Tugmalar: Apple kapsulalari — ko'k asosiy, chiziqli ikkilamchi, matnli havola › bilan */
.btn { border-radius: 980px; font-weight: 400; font-size: 17px; letter-spacing: -.022em; line-height: 1.18; padding: 12px 22px; }
.btn--lg { padding: 14px 28px; font-size: 17px; }
.btn--accent, .btn--dark, .btn--add, .pick__buy, .kc__cta, .filters .btn { background: var(--blue); color: #fff; }
.btn--accent:hover, .btn--dark:hover, .btn--add:hover, .pick__buy:hover, .kc__cta:hover, .filters .btn:hover { background: var(--blue-d); color: #fff; }
.btn--ghost, .btn--light { background: transparent; color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.btn--ghost:hover, .btn--light:hover { background: var(--link); color: #fff; box-shadow: inset 0 0 0 1px var(--link); }
.btn--line { background: none; color: var(--link); box-shadow: none; padding: 8px 0; }
.btn--line::after { content: "\00a0\203a"; }
.btn--line:hover { background: none; color: var(--link); box-shadow: none; text-decoration: underline; }
.btn--wide, .pdp__actions .btn { font-size: 17px; border-radius: 980px; padding-block: 14px; }
.card .btn--add, .pick__buy, .filters .btn { font-size: 14px; padding: 8px 16px; }
.filters .btn { padding-block: 10px; }
.kc__cta { font-size: 17px; padding: 14px; border-radius: 980px; }
.btn:disabled, .card .btn--add:disabled { background: var(--raise); color: var(--faint); opacity: 1; box-shadow: none; }
@media (max-width: 460px) { .card .btn--add { font-size: 13px; padding: 7px 13px; } }

/* Fonsiz rasmlar bir xil o'lchamda */
.card__img img { padding: 13%; }
.tile img { padding: 14%; }
.pdp__gallery > img { padding: 10%; }
.kc__thumb img[src*="placeholder"] { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }
.cats a[aria-current] { color: var(--link); }

/* Brend filtri: to'q panel, logotiplar, tanlanganiga tepadan chiroq nuri tushadi */
.brands { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); background: var(--raise); border-radius: 18px; overflow: hidden; }
.brand { position: relative; z-index: 1; display: grid; place-items: center; height: 60px; color: #8e8e93; cursor: pointer; transition: color .35s var(--ease); }
.brand:hover { color: #d2d2d7; }
.brand:has(input:checked) { color: #fff; }
.brand:has(input:focus-visible) { outline: 2px solid var(--link); outline-offset: -3px; border-radius: 14px; }
.brand__logo { width: 50px; height: 50px; background: currentColor; -webkit-mask: var(--logo) center / contain no-repeat; mask: var(--logo) center / contain no-repeat; }
.brand__logo[data-k="apple"], .brand__logo[data-k="google"], .brand__logo[data-k="meta"], .brand__logo[data-k="xiaomi"], .brand__logo[data-k="hp"] { width: 26px; height: 26px; }
.brand__logo[data-k="bosch"] { width: 30px; height: 30px; } .brand__logo[data-k="msi"] { width: 36px; height: 36px; } .brand__logo[data-k="lg"] { width: 44px; height: 44px; }
.brand__text { font-size: 13px; font-weight: 500; letter-spacing: -.01em; }
.brands__lamp { position: absolute; z-index: 0; pointer-events: none; }
.brands__lamp[hidden] { display: none; }
.brands.is-ready .brands__lamp { transition: left .45s var(--ease), top .45s var(--ease); }
.brands__lamp::before { content: ""; position: absolute; left: 22%; right: 22%; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.75); }
.brands__lamp::after { content: ""; position: absolute; inset: 3px 0 0; clip-path: polygon(24% 0, 76% 0, 100% 100%, 0 100%);
  background: linear-gradient(rgba(255,255,255,.34), rgba(255,255,255,0) 92%); }
@media (max-width: 960px) { .filters fieldset:has(.brands) { grid-column: 1 / -1; } .brands { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); } }
@media (prefers-reduced-motion: reduce) { .brands.is-ready .brands__lamp, .brand { transition: none; } }

/* «Savatga qo'shish»: Apple kapsulasi, bosilganda tasdiq */
.btn--add, .btn--bag { font-weight: 400; letter-spacing: -.022em; gap: 6px; white-space: nowrap; }
.card .btn--add { font-size: 15px; padding: 9px 18px; }
.btn--bag { background: #424245; color: #fff; }
.btn--bag:hover { background: #515154; color: #fff; }
.btn.is-added, .btn.is-added:hover { background: var(--raise); color: #fff; cursor: default; }
.btn__check { width: 15px; height: 15px; flex: none; fill: none; stroke: #30d158; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 18; animation: drawCheck .35s var(--ease) both; }
@keyframes drawCheck { from { stroke-dashoffset: 18; } to { stroke-dashoffset: 0; } }
.cartlink.is-bump { animation: bagBump .5s var(--ease); }
@keyframes bagBump { 40% { transform: scale(1.22); } }
@media (max-width: 460px) { .card .btn--add { font-size: 13.5px; padding: 8px 14px; } }
@media (prefers-reduced-motion: reduce) { .btn__check, .cartlink.is-bump { animation: none; } }
.line img, .kc__thumb img, .kc__pop img, .kc__res img { object-fit: contain; padding: 3px; }
