/* ===== Flaconix: dizayn tizimi =====
   Behance "Perfume Store — Luxury Ecommerce" konseptiga moslangan: oq fon, qora tipografiya,
   katta harfli (uppercase) sarlavhalar, och kulrang fonli mahsulot rasmlari, to'rtburchak qora tugmalar. */
:root {
  /* 2026 redesign: brand teal (logo #0b604f) on sand; apricot = product-photo ground */
  --bg: #f3ece3;
  --bg-soft: #eadfd1;
  --surface: #fbf7f1;
  --ink: #1b1916;
  --muted: #62594f;
  --line: #e0d3c2;
  --brand: #0b604f;
  --brand-2: #0e7a64;
  --brand-hover: #084a3d;
  --apricot: #e4bd93;
  --gold: #0b604f;
  --gold-light: #e9d2a0;
  --gold-ink: #62594f;
  --gold-soft: #eadfd1;
  --green-soft: #e3ece7;
  --deep: #0b604f;
  --ok: #1f7047;
  --ok-bg: #e5efe8;
  --warn: #8a5000;
  --warn-bg: #f7ead6;
  --danger: #b3261e;
  --danger-bg: #f8e4e1;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(80, 52, 24, .06), 0 10px 26px -12px rgba(80, 52, 24, .22);
  --shadow-lg: 0 24px 60px -20px rgba(80, 52, 24, .35);
  --display: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15px/1.55 var(--sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }
main { flex: 1; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: var(--ink); }
button { font-family: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #111; outline-offset: 3px; }

.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.muted { color: var(--muted); font-size: .88rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
/* Kichik "yorliq" matni: NEW ARRIVALS, SPECIAL OFFER kabi */
.label, .eyebrow { font: 400 .74rem/1.3 var(--sans); letter-spacing: .02em; text-transform: uppercase; color: inherit; }
/* Katta sarlavha: ABOUT US, BESTSELLERS, CATALOG */
.display { font: 400 clamp(2rem, 4.2vw, 3.3rem)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.textlink { font: 500 .85rem var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.textlink:hover { text-decoration-thickness: 2px; }

/* ---------- Sarlavha ---------- */
.header { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header__row { display: flex; align-items: center; gap: 26px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; flex: none; color: var(--ink); }
.logo img { height: 30px; width: 30px; display: block; }
.logo__text { font: 500 1.55rem/1 var(--display); letter-spacing: -.04em; color: var(--ink); }
.footer__brand { display: flex; align-items: center; gap: 9px; }
.footer__logo { height: 32px; width: 32px; }
.footer__logo-text { font: 500 1.6rem/1 var(--display); letter-spacing: -.04em; color: #fff; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); text-decoration: none; font-size: .84rem; padding: 6px 0; white-space: nowrap; }
/* Tagiga chiziq faqat matn ostida (ikonka ostida emas) */
.nav a span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s; padding-bottom: 1px; }
.nav a:hover span { background-size: 100% 1px; }
.nav-ico { flex: none; opacity: .75; transition: opacity .2s, transform .3s var(--ease-out, ease); }
.nav a:hover .nav-ico { opacity: 1; transform: translateY(-1px); }
.search { position: relative; flex: 0 1 200px; }
.search__icon { position: absolute; left: 0; top: 50%; transform: translateY(-50%); color: var(--ink); pointer-events: none; }
.search input {
  width: 100%; height: 36px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 0 24px;
  background: transparent; font: .84rem var(--sans); color: var(--ink); transition: border-color .2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { border-color: var(--ink); outline: none; }
.header__actions { display: flex; align-items: center; gap: 16px; flex: none; }
.lang { display: inline-flex; gap: 2px; }
.lang button { border: 0; background: transparent; padding: 4px 6px; font: 500 .76rem var(--sans); color: var(--muted); cursor: pointer; min-height: 32px; }
.lang button[aria-pressed="true"] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.cart-btn { border: 0; background: none; padding: 6px 0; color: var(--ink); font: 700 .86rem var(--sans); cursor: pointer; white-space: nowrap; }
.cart-btn__count { font: inherit; }
.nav-toggle { display: none; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }

/* ---------- Mobil menyu ---------- */
.nav-overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 40; animation: fade .2s; }
.mobile-nav {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88%); background: #fff; z-index: 50;
  display: flex; flex-direction: column; animation: slide-in .26s cubic-bezier(.2, .7, .2, 1);
}
.mobile-nav__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; }
.mobile-nav__links { display: flex; flex-direction: column; padding: 12px 20px; overflow-y: auto; }
.mobile-nav__links a { display: flex; align-items: center; min-height: 54px; color: var(--ink); text-decoration: none; font: 400 1.6rem var(--display); text-transform: uppercase; letter-spacing: -.01em; border-bottom: 1px solid var(--line); }
.mobile-nav__links a { gap: 14px; }
.mobile-nav__links .nav-ico { width: 20px; height: 20px; opacity: .7; }
.mobile-nav__links a[data-contact-phone] { font: 500 1rem var(--sans); text-transform: none; border: 0; }

/* ---------- Kirish (intro) ---------- */
.intro { padding: 40px 0 64px; }
.intro__meta { display: flex; justify-content: space-between; gap: 16px; font: 400 .74rem var(--sans); text-transform: uppercase; color: var(--muted); }
.intro__tag { display: inline-flex; align-items: center; gap: 8px; }
.intro__tag svg { flex: none; color: var(--ink); }
/* Sarlavha orqasidagi brend belgisi: katta, yumshoq xiralashtirilgan va juda och — qora matn kontrasti
   deyarli o'zgarmaydi (eng to'q joyida ham ~15:1). Belgi faqat sarlavha ortida turadi, tepadagi kichik kulrang
   yozuvlar va pastdagi matn ustiga tushmaydi. */
.intro__stage { position: relative; isolation: isolate; margin-top: 56px; }
.intro__brand {
  position: absolute; z-index: -1; left: 50%; top: 50%; height: 130%; aspect-ratio: 2037 / 2124;
  translate: -50% -50%; pointer-events: none;
}
.intro__brand::before {
  content: ''; position: absolute; inset: -18% -45%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 96, 79, .11), rgba(11, 96, 79, 0));
}
.intro__brand img { position: relative; width: 100%; height: 100%; opacity: .2; filter: blur(14px); }
.js-motion .intro__brand { animation: brandIn 1.8s var(--ease-out, ease) both, brandFloat 14s ease-in-out 1.8s infinite; }
@keyframes brandIn { from { opacity: 0; scale: 1.12; filter: blur(12px); } }
@keyframes brandFloat { 50% { transform: translateY(-10px) rotate(-1.5deg); } }
.intro__title { margin: 0; max-width: 15em; font: 400 clamp(2.4rem, 6vw, 5.4rem)/.98 var(--display); letter-spacing: -.035em; text-transform: uppercase; text-wrap: balance; }
.intro__foot { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px 48px; margin-top: 44px; }
.intro__text { max-width: 30em; font-size: 1rem; line-height: 1.5; }
.intro__cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Yangi kelganlar ---------- */
.arrivals { border-top: 1px solid var(--line); }
.arrivals__row { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.arrivals__track { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x mandatory; }
.arrivals__track::-webkit-scrollbar { display: none; }
.arrival { flex: 0 0 auto; width: 104px; height: 124px; padding: 0; border: 0; background: var(--bg-soft); cursor: pointer; overflow: hidden; scroll-snap-align: start; }
.arrival img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.arrival:hover img { transform: scale(1.08); }

/* ---------- Ikki qismli banner ---------- */
.promo { display: grid; grid-template-columns: 1fr 1fr; }
.promo__tile { position: relative; display: block; aspect-ratio: 5 / 4; overflow: hidden; color: #fff; text-decoration: none; background: #222; }
.promo__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.promo__tile:hover img { transform: scale(1.04); }
.promo__tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .38), transparent 30%, transparent 70%, rgba(0, 0, 0, .45)); }
.promo__top, .promo__bottom { position: absolute; left: 0; right: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding: 20px 22px; }
.promo__top { top: 0; }
.promo__bottom { bottom: 0; align-items: flex-end; }
.promo__note { max-width: 20em; font-size: .74rem; line-height: 1.4; opacity: .92; }

/* ---------- Biz haqimizda ---------- */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; padding-top: 96px; padding-bottom: 96px; }
.about__side { display: flex; flex-direction: column; gap: 22px; max-width: 26em; }
.about__side p { font-size: .88rem; line-height: 1.5; }
.about__thumbs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; max-width: 280px; }
.about__thumbs img { aspect-ratio: 1 / 1.1; object-fit: cover; background: var(--bg-soft); }
.about__main .display { margin-bottom: 24px; }
.about__text { max-width: 26em; font-size: .92rem; line-height: 1.55; }
.about__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 64px; }
.about__photos img { aspect-ratio: 4 / 5; object-fit: cover; background: var(--bg-soft); }

/* ---------- Tanlangan tovar ---------- */
.featured { display: grid; grid-template-columns: 1fr 1fr; height: min(88vh, 760px); min-height: 560px; background: var(--bg-soft); }
.featured__visual { overflow: hidden; background: #1a1816; }
.featured__video { background: #1a1816 url(/img/featured-render.jpg) 50% 20% / cover no-repeat; object-position: 50% 30%; }
.featured__panel { display: flex; flex-direction: column; padding: 24px 32px 32px; min-height: 100%; }
.featured__head { display: flex; justify-content: space-between; gap: 16px; font-size: .8rem; }
.featured__cat { display: block; color: var(--ink); }
.featured__label { display: block; font-weight: 700; }
.pager { display: flex; align-items: flex-start; gap: 8px; font-size: .8rem; }
.pager .linklike { font-size: .8rem; }
.pager .linklike:hover { text-decoration: underline; text-underline-offset: 3px; }
.featured__media { flex: 1; min-height: 0; display: grid; place-items: center; padding: 24px 0; }
.featured__media img { height: 100%; max-height: 420px; width: auto; max-width: 70%; aspect-ratio: 4 / 5; object-fit: cover; animation: fadeUp .5s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.featured__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; }
.featured__name { max-width: 11em; font-size: clamp(1.7rem, 3vw, 2.7rem); overflow-wrap: anywhere; }

/* ---------- Afzalliklar ---------- */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 72px; padding-bottom: 8px; }
.benefit {
  display: flex; gap: 18px; padding-top: 18px; border-top: 1px solid var(--ink);
  opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1);
}
.benefit.in-view { opacity: 1; transform: none; }
.benefit__n { font: 400 .78rem var(--sans); color: var(--muted); padding-top: 3px; }
.benefit h3 { font: 500 1.05rem var(--display); text-transform: uppercase; letter-spacing: -.005em; }
.benefit p { margin-top: 6px; color: var(--muted); font-size: .86rem; line-height: 1.45; }

/* ---------- Katalog ---------- */
.catalog { padding-top: 88px; }
.toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.section-title { font: 400 clamp(1.8rem, 3.6vw, 2.6rem)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; }
.chips { display: flex; gap: 22px; overflow-x: auto; padding: 0 0 14px; margin-bottom: 26px; border-bottom: 1px solid var(--line); scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: 0 0 auto; display: inline-flex; align-items: baseline; gap: 5px; padding: 4px 0; border: 0; background: none; color: var(--muted); font: 400 .88rem var(--sans); cursor: pointer; white-space: nowrap; transition: color .2s; }
.chip:hover { color: var(--ink); }
.chip--on { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.chip__n { font-size: .7rem; }
.chip__n::before { content: '['; } .chip__n::after { content: ']'; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 8px; padding-bottom: 32px; }
.card { position: relative; display: flex; flex-direction: column; animation: rise .5s both; }
.card:nth-child(2) { animation-delay: .04s; } .card:nth-child(3) { animation-delay: .08s; } .card:nth-child(4) { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.card--out .card__media { filter: grayscale(.6); opacity: .7; }
.card--skeleton { min-height: 420px; background: linear-gradient(90deg, #f0f0ef 25%, #f8f8f7 50%, #f0f0ef 75%); background-size: 200% 100%; animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.card__media-btn { position: relative; border: 0; padding: 0; background: none; cursor: pointer; display: block; }
.card__media { aspect-ratio: 4 / 5; background: var(--bg-soft); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.card:hover .card__media img { transform: scale(1.05); }
.is-empty { background: linear-gradient(135deg, var(--bg-soft), var(--line)); }
/* Rasmsiz tovar: bo'sh kvadrat o'rniga markazda xira brend belgisi (rasm yuklangach o'zi yo'qoladi) */
.card__media.is-empty, .product__media.is-empty, .line__img.is-empty { position: relative; }
.card__media.is-empty::after, .product__media.is-empty::after { content: ''; position: absolute; inset: 0; background: url(/img/mark.svg) center / 26% no-repeat; opacity: .12; }
.card__badge { position: absolute; top: 12px; left: 12px; z-index: 1; max-width: calc(100% - 24px); padding: 4px 9px; background: #fff; color: var(--ink); font: 500 .68rem var(--sans); text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card__badge--low { background: #fff; color: var(--warn); }
.card__badge--out { background: var(--ink); color: #fff; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 14px 2px 0; flex: 1; }
.card__cat { font: 400 .7rem var(--sans); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); }
.card__name { font: 400 1.05rem/1.3 var(--display); letter-spacing: -.005em; min-height: 2.6em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.linklike { border: 0; background: none; padding: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; }
.linklike:hover { text-decoration: underline; text-underline-offset: 3px; }
.linklike--danger { color: var(--danger); font-size: .82rem; }
.card__meta { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 10px; margin-top: auto; }
.price { font: 500 .95rem/1.2 var(--sans); color: var(--ink); font-variant-numeric: tabular-nums; }
.price small { font: 400 .78rem var(--sans); color: var(--muted); }
.card .price { color: var(--muted); }
.card__actions { margin-top: 12px; }

.stock { display: inline-flex; align-items: center; gap: 6px; font: 400 .76rem var(--sans); }
.stock__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.stock--in { color: var(--ok); }
.stock--low { color: var(--warn); }
.stock--out { color: var(--danger); }

/* ---------- Tugmalar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 22px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); font: 500 .78rem var(--sans); letter-spacing: .02em; text-transform: uppercase; cursor: pointer; text-decoration: none; transition: background .2s, color .2s, border-color .2s, transform .15s; }
.btn:hover { background: var(--ink); color: #fff; }
.btn:active { transform: scale(.98); }
.btn--primary { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--primary:hover { background: #333; border-color: #333; }
.btn--gold { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--ink); }
.btn--block { width: 100%; }
.btn--lg { min-height: 50px; padding: 0 30px; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; background: #fff; color: var(--ink); }
.icon-btn { width: 44px; height: 44px; border: 0; background: transparent; font-size: 1.05rem; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--bg-soft); }

.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ink); background: #fff; }
.stepper__btn { width: 42px; height: 42px; border: 0; background: transparent; font: 400 1.2rem var(--sans); cursor: pointer; color: var(--ink); }
.stepper__btn:hover { background: var(--bg-soft); }
.stepper__btn.is-limit { color: #bbb; cursor: not-allowed; }
.stepper__qty { min-width: 34px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.card__actions .stepper { width: 100%; justify-content: space-between; }

.state { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 56px 16px; color: var(--muted); grid-column: 1 / -1; }
.state__icon { width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; background: var(--bg-soft); color: var(--ink); }
.state__title { font: 400 1.3rem var(--display); text-transform: uppercase; color: var(--ink); }

/* ---------- Savat paneli ---------- */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .45); z-index: 40; animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(460px, 100%); background: #fff; z-index: 50; display: flex; flex-direction: column; animation: slide-in .26s cubic-bezier(.2, .7, .2, 1); }
@keyframes slide-in { from { transform: translateX(40px); opacity: 0; } }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 16px 12px 24px; }
.drawer__head h2 { font: 400 2rem/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.drawer__count:empty { display: none; }
.order-no { color: var(--ink); }
.drawer__count { font: 500 .78rem var(--sans); color: var(--muted); }
.drawer__count::before { content: '['; } .drawer__count::after { content: ']'; }
.drawer__body { flex: 1; overflow-y: auto; padding: 4px 24px; }
.drawer__foot { padding: 18px 24px 22px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.drawer__foot:empty { display: none; }
.lines { list-style: none; margin: 0; padding: 0; }
.line { display: grid; grid-template-columns: 90px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line__img { width: 90px; height: 108px; overflow: hidden; background: var(--bg-soft); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font: 400 1.05rem/1.25 var(--display); }
.line__price { color: var(--muted); font-size: .82rem; margin-top: 4px; }
.line__ctrl { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
.line__ctrl .stepper__btn { width: 34px; height: 34px; }
.line__sum { font-weight: 500; white-space: nowrap; font-variant-numeric: tabular-nums; font-size: .95rem; }
.total { display: flex; justify-content: space-between; align-items: baseline; font-size: .9rem; color: var(--muted); text-transform: uppercase; }
.total strong { font: 500 1.4rem var(--sans); color: var(--ink); text-transform: none; }

/* Telefon uchun pastki savat paneli */
.cartbar { display: none; }
.cartbar__btn { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 54px; padding: 0 18px 0 12px; border: 0; background: var(--ink); color: #fff; font: 500 .82rem var(--sans); text-transform: uppercase; letter-spacing: .02em; cursor: pointer; box-shadow: 0 12px 30px rgba(0, 0, 0, .25); }
.cartbar__count { flex: none; min-width: 30px; height: 30px; padding: 0 8px; display: grid; place-items: center; background: #fff; color: var(--ink); font-weight: 700; font-size: .85rem; }
.cartbar__label { flex: 1; text-align: left; }
.cartbar__total { font-weight: 600; font-variant-numeric: tabular-nums; text-transform: none; }

/* ---------- Tovar sahifasi ---------- */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-top: 40px; padding-bottom: 40px; align-items: start; }
.crumbs { display: flex; flex-wrap: wrap; gap: 10px; font-size: .78rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.product__info { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.product__title { margin-top: 8px; font: 400 clamp(2.2rem, 4.2vw, 3.4rem)/1 var(--display); letter-spacing: -.025em; text-transform: uppercase; overflow-wrap: anywhere; }
.product__notes .label { color: var(--muted); margin-bottom: 8px; }
.product__notes ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .88rem; }
.product__notes li span { font-weight: 600; }
.product__desc { font-size: .9rem; line-height: 1.55; max-width: 34em; }
.product__buy { display: grid; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); }
.product__size { display: flex; align-items: center; justify-content: space-between; font-size: .85rem; }
.size-chip { min-width: 58px; padding: 8px 12px; background: var(--ink); color: #fff; font-size: .78rem; text-align: center; }
.product__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.product__meta .price { font-size: 1.5rem; }
.product__incart { display: grid; grid-template-columns: auto 1fr; gap: 8px; }
.product__incart .stepper { height: 50px; }
.product__gallery { display: grid; gap: 12px; }
.product__thumbs { display: flex; justify-content: center; gap: 8px; min-height: 0; }
.product__thumbs:empty { display: none; }
.product__thumb { width: 64px; height: 80px; padding: 0; border: 1px solid transparent; background: var(--bg-soft); cursor: pointer; overflow: hidden; }
.product__thumb img { width: 100%; height: 100%; object-fit: cover; }
.product__thumb[aria-pressed="true"] { border-color: var(--ink); }
.product__media { aspect-ratio: 4 / 5; background: var(--bg-soft); overflow: hidden; }
.product__media img { width: 100%; height: 100%; object-fit: cover; animation: fadeUp .4s both; }
.product__loading { grid-column: 1 / -1; min-height: 50vh; display: grid; place-items: center; }
.similar { padding-top: 56px; }
.similar .display { margin-bottom: 26px; }
.similar__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.card--link { color: var(--ink); text-decoration: none; }
.card--link:hover .card__name { text-decoration: underline; text-underline-offset: 3px; }
.card__media-btn { text-decoration: none; }
.card__name .linklike { display: inline; }

/* ---------- Yuklanish animatsiyasi (CoreSpinLoader'dan, brend yashil ranglarida) ----------
   Tailwind -> CSS: inset-1/3/5 = 4/12/20px, blur-xl = 24px, animate-pulse = 2s opacity, slide-in-from-bottom-2 = 8px */
.spin-loader { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 32px; min-height: 200px; }
.spin-loader__orb { position: relative; width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
.spin-loader__orb > * { position: absolute; border-radius: 50%; }
.spin-loader__glow { inset: 0; background: rgba(23, 131, 107, .15); filter: blur(24px); animation: loaderPulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.spin-loader__dashed { inset: 0; border: 1px dashed rgba(11, 96, 79, .4); animation: loaderSpin 10s linear infinite; }
.spin-loader__arc { inset: 4px; border: 2px solid transparent; border-top-color: #17836b; box-shadow: 0 0 6px rgba(23, 131, 107, .5); animation: loaderSpin 2s linear infinite; }
.spin-loader__arc-rev { inset: 12px; border: 2px solid transparent; border-bottom-color: #0b604f; box-shadow: 0 0 6px rgba(11, 96, 79, .4); animation: loaderSpin 3s linear infinite reverse; }
.spin-loader__inner { inset: 20px; border: 1px solid transparent; border-left-color: rgba(6, 48, 42, .6); animation: loaderSpin 1s ease-in-out infinite; }
.spin-loader__orbit { inset: 0; animation: loaderSpin 4s linear infinite; }
.spin-loader__dot { position: absolute; top: 0; left: 50%; width: 4px; height: 4px; border-radius: 50%; translate: -50% 0; background: #0b604f; box-shadow: 0 0 4px rgba(11, 96, 79, .9); }
.spin-loader__core { width: 8px; height: 8px; background: #06302a; box-shadow: 0 0 6px rgba(11, 96, 79, .6); animation: loaderPulse 2s cubic-bezier(.4, 0, .6, 1) infinite; }
.spin-loader__label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; height: 32px; }
.spin-loader__text { font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: #0b604f; animation: loaderTextIn .5s ease both; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 50% { opacity: .5; } }
@keyframes loaderTextIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 20px; opacity: 0; pointer-events: none; transition: .22s; z-index: 100; max-width: calc(100% - 32px); font-size: .9rem; }
.toast--show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Pastki qism ---------- */
.footer { background: var(--ink); color: #bdbdbd; margin-top: 96px; padding-top: 64px; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; }
.footer__text { margin-top: 14px; max-width: 26em; color: #9a9a9a; font-size: .88rem; }
.footer__title { font: 400 .74rem var(--sans); text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .88rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer__bottom { margin-top: 56px; padding-top: 18px; padding-bottom: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: #8a8a8a; }

/* ---------- Checkout / buyurtma sahifalari ---------- */
.page { padding: 30px 0 64px; }
.page__title { font: 400 clamp(2rem, 4vw, 3rem)/1 var(--display); letter-spacing: -.02em; text-transform: uppercase; margin-bottom: 22px; }
.back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 16px; color: var(--muted); text-decoration: none; font-size: .92rem; }
.back:hover { color: var(--ink); text-decoration: underline; }
.progress { display: flex; align-items: center; gap: 10px; list-style: none; margin: 0 0 26px; padding: 0; counter-reset: st; flex-wrap: wrap; }
.progress li { display: flex; align-items: center; gap: 10px; counter-increment: st; color: var(--muted); font-weight: 500; font-size: .92rem; }
.progress li::before { content: counter(st); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: .8rem; font-weight: 700; }
.progress li + li::after { content: none; }
.progress li:not(:last-child)::after { content: ''; width: 36px; height: 1.5px; background: var(--line); order: 3; margin-left: 4px; }
.progress .is-done { color: var(--ink); }
.progress .is-done::before { background: var(--green-soft); border-color: var(--brand); color: var(--brand); content: '\2713'; }
.progress .is-current { color: var(--ink); font-weight: 700; }
.progress .is-current::before { background: var(--brand); border-color: var(--brand); color: #fff; }

.layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 26px; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel + .panel, .panel-stack > .panel + .panel { margin-top: 20px; }
.panel__title { font: 600 1.15rem var(--sans); margin-bottom: 16px; }
.summary { position: sticky; top: 96px; }

.field { display: grid; gap: 6px; margin-bottom: 18px; }
.field label, .field .label { font-weight: 600; font-size: .9rem; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 11px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; font: inherit; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.field textarea { resize: vertical; min-height: 88px; }
.field input:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(17, 17, 17, .08); outline: none; }
.field .hint { font-size: .82rem; color: var(--muted); }
.field .err { font-size: .85rem; color: var(--danger); font-weight: 500; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); box-shadow: 0 0 0 4px rgba(179, 38, 30, .1); }

.methods { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; min-width: 0; }
.method { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; background: #fff; transition: border-color .2s, background .2s, box-shadow .2s; }
.method:hover { border-color: var(--gold); }
.method input { grid-row: 1 / span 2; align-self: center; width: 20px; height: 20px; accent-color: var(--brand); }
.method__name { font-weight: 600; }
.method__desc { font-size: .86rem; color: var(--muted); }
.method:has(input:checked) { border-color: var(--brand); background: #f7f7f6; box-shadow: 0 0 0 1px var(--brand); }
.method:has(input:focus-visible) { outline: 3px solid #111; outline-offset: 2px; }

.alert { padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 16px; font-size: .94rem; }
.alert--error { background: var(--danger-bg); color: #7d1a14; border: 1px solid #f0c2bd; }
.alert--info { background: var(--warn-bg); color: #6b3f00; border: 1px solid #f0d9a8; }
.alert--ok { background: var(--ok-bg); color: #175236; border: 1px solid #b9dfca; }

.sum-lines { list-style: none; margin: 0 0 14px; padding: 0; }
.sum-line { display: grid; grid-template-columns: 52px 1fr auto; gap: 2px 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.sum-line__img { grid-row: 1 / span 2; width: 52px; height: 52px; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-soft); }
.sum-line__img img { width: 100%; height: 100%; object-fit: cover; }
.sum-line small { color: var(--muted); grid-column: 2; }
.sum-line b { grid-column: 3; grid-row: 1 / span 2; font-variant-numeric: tabular-nums; }
.sum-line--plain { grid-template-columns: 1fr auto; }
.sum-line--plain small { grid-column: 1; }
.sum-line--plain b { grid-column: 2; }
.secure { display: flex; gap: 8px; align-items: flex-start; margin-top: 14px; color: var(--muted); font-size: .82rem; }
.secure svg { flex: none; margin-top: 2px; color: var(--ok); }

.kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 500; overflow-wrap: anywhere; }

.badge { display: inline-block; padding: 4px 13px; border-radius: var(--radius-sm); font: 600 .82rem var(--sans); background: var(--bg-soft); color: #5a4520; }
.badge--ok { background: var(--ok-bg); color: var(--ok); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--danger { background: var(--danger-bg); color: var(--danger); }

.success { display: flex; align-items: center; gap: 16px; padding: 20px 22px; margin-bottom: 22px; border-radius: var(--radius); background: var(--ok-bg); border: 1px solid #b9dfca; color: #175236; }
.success__icon { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: var(--ok); color: #fff; }
.success strong { display: block; font-size: 1.05rem; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; list-style: none; margin: 0 0 8px; padding: 0; }
.step { text-align: center; font-size: .82rem; color: var(--muted); }
.step::before { content: ''; display: block; height: 6px; border-radius: 3px; background: var(--line); margin-bottom: 9px; }
.step.is-done { color: var(--ink); font-weight: 600; }
.step.is-done::before { background: var(--ink); }

.card-box { border: 1.5px dashed var(--gold); border-radius: var(--radius); padding: 18px; background: var(--gold-soft); display: grid; gap: 12px; margin: 14px 0; }
.card-number { font: 700 1.5rem/1.2 var(--sans); letter-spacing: .06em; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }

/* ---------- Moslashuvchanlik ---------- */
/* Ikonkali menyu 1200px dan tor ekranda sig'maydi (qidiruv qisilib, qator toshib ketadi) — u yerda faqat matn */
@media (max-width: 1200px) {
  .nav .nav-ico { display: none; }
}
@media (max-width: 1100px) {
  .nav { gap: 16px; }
  .search { flex-basis: 150px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .search { margin-left: auto; }
  .featured { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .featured__visual { aspect-ratio: 4 / 3; }
  .featured__media img { height: auto; }
  .featured__media img { width: min(50%, 280px); }
  .about { grid-template-columns: 1fr; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
  .about__main { order: -1; }
  .about__photos { margin-top: 36px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .product { grid-template-columns: 1fr; gap: 28px; padding-top: 16px; }
  .product__gallery { order: -1; }
  .product__thumbs { order: 1; }
  .product__info { position: static; }
  .similar__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 6px; }
  .layout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .benefits { grid-template-columns: 1fr; gap: 20px; padding-top: 56px; }
  .promo { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .header__row { flex-wrap: wrap; gap: 6px 14px; min-height: 0; padding-top: 12px; padding-bottom: 10px; }
  .logo { margin-right: auto; }
  .search { order: 5; flex: 1 1 100%; margin-left: 0; }
  .header__actions { gap: 10px; }
  html { scroll-padding-top: 112px; }
  .intro { padding: 20px 0 44px; }
  .intro__stage { margin-top: 32px; }
  .intro__title { font-size: clamp(1.9rem, 9.2vw, 2.6rem); }
  .intro__brand { height: 120%; }
  .intro__brand img { filter: blur(9px); }
  .intro__meta > .intro__tag + .intro__tag { display: none; }
  .intro__foot { margin-top: 28px; }
  .intro__cta { width: 100%; }
  .intro__cta .btn { flex: 1 1 100%; }
  .arrivals__row { grid-template-columns: 1fr; gap: 12px; padding-top: 16px; padding-bottom: 16px; }
  .arrival { width: 84px; height: 100px; }
  .promo__tile { aspect-ratio: 4 / 5; }
  .promo__top, .promo__bottom { flex-direction: column; gap: 6px; padding: 16px; }
  .featured__panel { padding: 18px 16px 20px; }
  .featured__media { padding: 20px 0; }
  .featured__media img { width: min(62%, 240px); }
  .featured__foot .btn { width: 44px; min-width: 44px; padding: 0; font-size: 0; }
  .featured__foot .btn::before { content: '\2197'; font-size: 1.1rem; }
  .catalog { padding-top: 64px; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 6px; }
  .card__body { padding: 10px 2px 0; }
  .card__name { font-size: .95rem; }
  .card__meta { flex-direction: column; align-items: flex-start; }
  .card__badge { top: 8px; left: 8px; font-size: .62rem; padding: 3px 7px; }
  .card__actions .btn { min-height: 40px; padding: 0 10px; font-size: .72rem; }
  .card__actions .stepper__btn { width: 36px; height: 36px; }
  .panel { padding: 18px; }
  .card-number { font-size: 1.2rem; }
  .footer { margin-top: 72px; padding-top: 48px; }
  .footer__grid { grid-template-columns: 1fr; }
  .drawer__body, .drawer__foot { padding-left: 16px; padding-right: 16px; }
  .line { grid-template-columns: 72px 1fr auto; gap: 12px; }
  .line__img { width: 72px; height: 88px; }
  /* pastki savat paneli */
  .cartbar { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35; animation: rise .3s both; }
  body.has-cartbar { padding-bottom: 84px; }
  .toast { bottom: 90px; }
}


/* ========== Harakat (motion) ==========
   Behance konseptidagi kabi nozik mikro-interaksiyalar. Hammasi faqat <html class="js-motion"> bo'lganda
   (motion.js yuklangan va "kamaytirilgan harakat" so'ralmagan) ishlaydi — JS bo'lmasa kontent darhol ko'rinadi. */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); --ease-lux: cubic-bezier(.77, 0, .18, 1); }

/* Sahifaga kirish va boshqa sahifaga o'tish */
.js-motion body { animation: pageIn .7s var(--ease-out) both; }
@keyframes pageIn { from { opacity: 0; } }
.is-leaving body { opacity: 0; transition: opacity .26s ease; }

/* Ekranga kirganda pastdan ko'tarilib paydo bo'lish */
.js-motion [data-reveal] { transition: opacity 1s var(--ease-out) var(--d, 0s), transform 1s var(--ease-out) var(--d, 0s); }
.js-motion [data-reveal]:not(.is-in) { opacity: 0; transform: translateY(28px); }
.js-motion .card[data-reveal] { animation: none; }

/* "Ochilish": ramka chetlardan markazga qarab ochiladi, ichidagi rasm esa kattalikdan joyiga tushadi */
.js-motion [data-reveal="clip"] { transition: clip-path 1.4s var(--ease-lux) var(--d, 0s); }
.js-motion [data-reveal="clip"]:not(.is-in) { opacity: 1; transform: none; clip-path: inset(9% 9% 9% 9%); }
.js-motion [data-reveal="clip"].is-in { clip-path: inset(0 0 0 0); }
.js-motion [data-reveal="clip"] > img, .js-motion [data-reveal="clip"] > video { transition: scale 1.8s var(--ease-lux) var(--d, 0s), transform 1.2s var(--ease-out); }
.js-motion [data-reveal="clip"]:not(.is-in) > img, .js-motion [data-reveal="clip"]:not(.is-in) > video { scale: 1.16; }

/* Parallaks: rasm ramkadan biroz baland, JS uni --py bo'yicha suradi (translate — alohida xususiyat,
   shuning uchun "ochilish"dagi scale va hover'dagi transform bilan to'qnashmaydi) */
[data-parallax] { position: relative; overflow: hidden; }
[data-parallax] > img, [data-parallax] > video { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; object-fit: cover; translate: 0 var(--py, 0); }

/* Sarlavhalar so'zma-so'z: har so'z niqob ichidan pastdan ko'tariladi */
.js-motion [data-split]:not(.is-split) { opacity: 0; }
.is-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.is-split .w__i { display: inline-block; }
.js-motion .is-split .w__i { transition: transform 1.05s var(--ease-lux) calc(var(--i, 0) * 60ms + var(--d, 0s)); }
.js-motion .is-split:not(.is-in) .w__i { transform: translateY(108%); }

/* Sarlavha paneli: pastga skrollda yashirinadi, tepaga skrollda qaytadi */
.header { transition: transform .5s var(--ease-lux), border-color .25s; }
.header--scrolled { border-bottom-color: var(--line); }
.header--hidden { transform: translateY(-100%); }

/* Yangi kelganlar: uzluksiz lenta */
.arrivals__track { display: block; overflow: hidden; scroll-snap-type: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.arrivals__rail { display: flex; gap: 10px; width: max-content; animation: marquee var(--marquee-duration, 48s) linear infinite; }
.arrivals__track:hover .arrivals__rail, .arrivals__track:focus-within .arrivals__rail { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }
.arrival { transition: transform .5s var(--ease-out); }
.arrival:hover { transform: translateY(-6px); }

/* Tanlov slayderi: yangi tovar yo'nalishga qarab pardadek ochilib kiradi; pastda avtoalmashish chizig'i */
.featured__media img.is-enter-next { animation: enterNext 1s var(--ease-lux) both; }
.featured__media img.is-enter-prev { animation: enterPrev 1s var(--ease-lux) both; }
@keyframes enterNext { from { clip-path: inset(0 0 0 100%); transform: translateX(48px) scale(1.04); } to { clip-path: inset(0 0 0 0); transform: none; } }
@keyframes enterPrev { from { clip-path: inset(0 100% 0 0); transform: translateX(-48px) scale(1.04); } to { clip-path: inset(0 0 0 0); transform: none; } }
.featured__progress { display: block; height: 1px; margin-top: 16px; background: var(--line); overflow: hidden; }
.featured__progress i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: left; }
.featured.is-autoplay .featured__progress i { animation: progress 6s linear forwards; }
@keyframes progress { to { transform: scaleX(1); } }
.featured__visual { position: relative; }

/* "Ko'rish" kursori */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; width: 0; height: 0; pointer-events: none; }
.cursor span {
  position: absolute; left: -42px; top: -42px; width: 84px; height: 84px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(17, 17, 17, .9); color: #fff;
  font: 500 .68rem var(--sans); letter-spacing: .04em; text-transform: uppercase;
  transform: scale(0); transition: transform .4s var(--ease-lux);
}
.cursor.is-active span { transform: scale(1); }

/* Savatga qo'shilganda hisoblagich "sakraydi" */
.cart-btn.is-bump { animation: bump .55s var(--ease-out); }
@keyframes bump { 35% { transform: translateY(-3px) scale(1.1); } }

/* Tugmalar: hover'da fon chapdan o'ngga to'lib boradi */
.btn { position: relative; overflow: hidden; isolation: isolate; transition: color .35s, border-color .2s, transform .15s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleX(0); transform-origin: right; transition: transform .55s var(--ease-lux); }
.btn:hover { background: #fff; color: #fff; }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn--primary::before { background: #3b3b3b; }
.btn--primary:hover { background: var(--ink); color: #fff; }
.btn--ghost::before { background: #fff; }
.btn--ghost:hover { background: transparent; color: var(--ink); }
.btn[disabled]::before, .btn[aria-disabled="true"]::before { display: none; }
.btn[disabled]:hover, .btn[aria-disabled="true"]:hover { color: var(--ink); }

/* Kategoriya tablari: tagiga chiziq chapdan o'sib chiqadi */
.chip { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: color .2s, background-size .4s var(--ease-lux); }
.chip:hover { background-size: 100% 1px; }
.chip--on { text-decoration: none; background-size: 100% 1px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .arrivals__track { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .arrival--clone { display: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ===== 2026 qayta dizayn: komponentlar (barcha sahifalar) =====
   Teal brend rangi, qum fon, yumaloq burchaklar. Mahsulot rasmlari o'rik (apricot) fonda suratga olingan,
   shuning uchun rasm ramkalari ham shu rangda: rasm va karta bir butun bo'lib ko'rinadi. */
:focus-visible { outline: 2px solid var(--brand); }
.header { background: color-mix(in oklab, var(--bg) 86%, transparent); }
.header--scrolled { border-bottom-color: var(--line); }
.logo__text { font-weight: 600; }
.display { text-transform: none; font-weight: 600; letter-spacing: -.035em; }
.btn { border-radius: 999px; border-color: var(--ink); background: transparent; text-transform: none; letter-spacing: 0; font: 500 .92rem var(--sans); }
.btn:hover { background: var(--ink); color: var(--bg); }
.btn--primary, .btn--gold { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover, .btn--gold:hover { background: var(--brand-hover); border-color: var(--brand-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: color-mix(in oklab, var(--ink) 35%, transparent); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn:disabled { opacity: .55; cursor: not-allowed; }
.chips { gap: 8px; border-bottom: 0; padding-bottom: 6px; }
.chip { padding: 9px 16px; border-radius: 999px; background: var(--surface); color: var(--ink); font: 500 .88rem var(--sans); box-shadow: inset 0 0 0 1px var(--line); }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip--on { background: var(--brand); color: #fff; text-decoration: none; box-shadow: none; }
.chip__n { opacity: .7; }
.chip__n::before, .chip__n::after { content: none; }
.grid { gap: 18px; }
.card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.16, 1, .3, 1), box-shadow .35s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card--skeleton { background: linear-gradient(90deg, #eadfd1 25%, #f3ece3 50%, #eadfd1 75%); background-size: 200% 100%; }
.card__media { aspect-ratio: 1; background: var(--apricot); }
.card__badge { border-radius: 999px; background: var(--surface); }
.card__body { padding: 14px 16px 16px; }
.card__cat { color: var(--brand); font-weight: 600; letter-spacing: .08em; }
.card__name { font-weight: 500; }
.card .price { color: var(--ink); font-weight: 600; }
.card__actions .btn { min-height: 42px; }
.stepper { border-radius: 999px; border-color: var(--line); background: var(--surface); overflow: hidden; }
.stepper__btn:hover { background: var(--bg-soft); }
.drawer { background: var(--surface); }
.drawer__head h2, .state__title { text-transform: none; font-weight: 600; }
.cartbar__btn { background: var(--brand); border-radius: 999px; text-transform: none; letter-spacing: 0; }
.cartbar__count { border-radius: 999px; color: var(--brand); }
.footer { background: var(--brand); color: #e3eeea; }
.footer__text { color: #cfe0da; }
.footer__bottom { color: #cfe0da; border-top-color: rgba(255, 255, 255, .18); }
.page__title { text-transform: none; font-weight: 600; letter-spacing: -.035em; }
.product__title { text-transform: none; font-weight: 600; letter-spacing: -.04em; }
.product__media { border-radius: var(--radius); background: var(--apricot); aspect-ratio: 1; }
.product__thumb { border-radius: 10px; background: var(--apricot); }
.similar__grid { gap: 18px; }

/* ===== Mahsulot kartasi (bosh sahifa lentasi, tovar sahifasi juftlik va o'xshashlar) ===== */
.oil { container-type: inline-size; position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: 18px; overflow: hidden;
  box-shadow: 0 1px 2px rgba(80, 52, 24, .06), 0 10px 24px -14px rgba(80, 52, 24, .3); transition: transform .4s cubic-bezier(.16, 1, .3, 1), box-shadow .4s; }
.oil__media { display: block; aspect-ratio: 1; background: var(--apricot); overflow: hidden; }
.oil__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
@media (hover: hover) and (pointer: fine) {
  .oil:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 0 30px 50px -24px rgba(80, 52, 24, .45); }
  .oil:hover .oil__media img { transform: scale(1.06); }
}
.oil__label { display: grid; gap: 4px; padding: 12px 14px 14px; }
.oil__tier { justify-self: start; font: 600 .66rem/1 var(--sans); letter-spacing: .1em; color: var(--brand); padding: 5px 8px; border-radius: 999px; background: var(--green-soft); }
.oil__tier--premium { color: #7a4a12; background: #f5e6cf; }
.oil__tier--none { visibility: hidden; }
.oil__name { font: 500 1rem/1.25 var(--display); letter-spacing: -.01em; min-height: 2.5em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.oil__name a { color: inherit; text-decoration: none; }
.oil__name a:hover { text-decoration: underline; }
.oil__row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.oil__price { font: 600 .98rem var(--sans); font-variant-numeric: tabular-nums; }
.oil__price small { font-weight: 400; color: var(--muted); }
.oil__row .stock { font-size: .72rem; }
.oil__action { position: absolute; right: 10px; top: calc(100cqw - 22px); z-index: 2; } /* photo is square: its height is the card width */
.oil__action .stepper { transform: translateX(6px); box-shadow: var(--shadow); }
.oil__action .stepper__btn { width: 34px; height: 34px; }
.oil__add { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--brand); color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 20px -8px rgba(11, 96, 79, .6); transition: transform .2s, background .2s; }
.oil__add svg { stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; fill: none; }
.oil__add:hover { background: var(--brand-hover); transform: scale(1.06); }
.oil__out { font: 500 .72rem var(--sans); color: var(--danger); background: var(--surface); padding: 4px 8px; border-radius: 999px; }

