/* sho PARFUMS: "Perfume Store" maketi asosida — katta qalin sarlavhalar, yumaloq kartochkalar, pastki tab panel.
   Rang: vino (logo rangi) va qaymoq. Mobil birinchi (Telegram Mini App). */
:root {
  --bg: #F7F3EF;
  --paper: #E9E4DC;
  --surface: #FFFFFF;
  --well: #F1EAE3;
  --ink: #1F1416;
  --muted: #74615E;     /* --bg ustida 5.5:1 */
  --line: #EADFD6;
  --wine: #4B1219;      /* logo rangi */
  --wine-2: #7A2534;
  --wine-ink: #2A0B10;  /* tab panel */
  --blush: #F4E6E3;
  --r: 20px;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --shadow: 0 1px 2px rgba(31, 20, 22, .04), 0 12px 28px -20px rgba(31, 20, 22, .45);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 500 15px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--wine-2); outline-offset: 2px; }

/* ---------- yuklanish ---------- */
.splash { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; background: var(--paper) url('/img/paper.webp') center / cover; transition: opacity .6s var(--ease), visibility .6s; }
.splash img { width: min(72vw, 340px); height: auto; animation: logoIn 1.1s var(--ease) both; }
.splash.is-out { opacity: 0; visibility: hidden; }
@keyframes logoIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }

/* ---------- yuqori panel ---------- */
.top { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; height: 60px; padding: 0 16px; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(12px); }
.top__logo { justify-self: center; height: 26px; width: auto; }
.top #backBtn[hidden] { display: grid !important; visibility: hidden; } /* joyini saqlaydi: logo markazda qoladi */
.icon-btn { display: grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.icon-btn:active { transform: scale(.95); }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); }
.lang button { min-width: 34px; height: 30px; border: 0; border-radius: 999px; background: none; font-size: 12px; font-weight: 700; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--wine); color: #fff; }

.app { max-width: 560px; margin: 0 auto; padding: 6px 16px calc(190px + var(--safe-b)); animation: viewIn .4s var(--ease) both; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } }

/* ---------- tipografiya ---------- */
.title { font: 800 34px/1 var(--sans); letter-spacing: -.02em; text-transform: uppercase; }
.title em { font-style: normal; color: var(--wine-2); display: block; }
.sub { margin-top: 8px; color: var(--muted); font-size: 14px; }
.h2 { font: 800 15px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.eyebrow { font: 700 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--wine-2); }
.muted { color: var(--muted); }
.section { margin-top: 26px; }
.section__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.link { border: 0; background: none; padding: 6px 0; font: 800 12px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--wine-2); }

/* ---------- tugmalar ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; border: 0; border-radius: 18px; background: var(--wine); color: #fff; font: 800 15px/1 var(--sans); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background .25s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--ghost { background: var(--surface); color: var(--wine); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--sm { min-height: 40px; padding: 0 16px; border-radius: 12px; font-size: 12px; }
.btn--block { width: 100%; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; font-weight: 700; color: var(--muted); }
.chip[aria-pressed="true"] { background: var(--wine); color: #fff; }
.chip small { margin-left: 5px; font-weight: 600; opacity: .7; }

/* ---------- sahna: ingredient foni + ajratilgan shisha ---------- */
.scene { position: relative; overflow: hidden; background: var(--well) center / cover no-repeat; }
.scene { container-type: inline-size; }
/* Shisha qutisi: pastki cheti podium markazida (--by, JS da har bir fon uchun), shisha qutiga pastdan tekislanadi */
.scene__bottle { position: absolute; left: var(--cx, 50%); bottom: var(--by, 28%); width: 40%; height: 50%; object-fit: contain; object-position: 50% 100%; translate: -50% 0; filter: drop-shadow(0 10px 10px rgba(20, 10, 10, .3)); }
.scene__photo { width: 100%; height: 100%; object-fit: cover; }

/* ---------- bosh sahifa: eski hero kartochkasi, ichida 2 slayd ---------- */
.hero { position: relative; margin-top: 6px; border-radius: 24px; overflow: hidden; background: radial-gradient(120% 120% at 85% 30%, #F7EDE9 0%, #EADAD3 60%, #E2CFC7 100%); box-shadow: var(--shadow); }
.hero__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero__track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; border: 0; padding: 0; background: none; text-align: left; color: var(--ink); }
.slide__copy { display: grid; gap: 10px; justify-items: start; padding: 20px 4px 34px 20px; }
.slide__title { font: italic 500 30px/1.02 'Cormorant Garamond', 'Times New Roman', serif; color: var(--wine); }
.slide__text { font-size: 12.5px; line-height: 1.45; color: var(--muted); }
.slide__cta { min-height: 40px; padding: 0 16px; border-radius: 999px; font-size: 11px; }
/* 16:9 rasm kvadrat qutiga o'ngdan tekislanadi; chap cheti kartochka foniga eriydi */
.slide__media { aspect-ratio: 1; background-size: auto 100%; background-position: right center; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
.slide__media .scene__bottle { width: 34%; height: 46%; }
.dots { position: absolute; left: 20px; bottom: 14px; display: flex; gap: 6px; pointer-events: none; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(75, 18, 25, .25); transition: width .3s var(--ease), background .3s; }
.dots i.is-on { width: 20px; border-radius: 4px; background: var(--wine); }
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.perk { display: grid; justify-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); text-align: center; font-size: 11.5px; line-height: 1.3; font-weight: 700; }
.perk svg { color: var(--wine); }

.families { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; }
.families::-webkit-scrollbar { display: none; }
.fam { flex: none; display: grid; justify-items: center; gap: 8px; width: 70px; border: 0; background: none; padding: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.fam span { width: 66px; height: 66px; border-radius: 50%; background: center / cover no-repeat; box-shadow: inset 0 0 0 3px #fff, var(--shadow); }
.fam[aria-pressed="true"] span { box-shadow: inset 0 0 0 3px #fff, 0 0 0 2px var(--wine); }

.row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 8px; scroll-snap-type: x proximity; }
.row::-webkit-scrollbar { display: none; }
.row .card { flex: 0 0 42%; scroll-snap-align: start; }

/* ---------- kartochka ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 7px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.card__open { display: flex; flex-direction: column; width: 100%; border: 0; background: none; padding: 0; text-align: left; color: inherit; cursor: pointer; }
.card .scene { aspect-ratio: 1; border-radius: 15px; }
.card__body { padding: 10px 6px 4px; }
.card__name { font: 800 14px/1.2 var(--sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__meta { margin-top: 3px; font-size: 10.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card__price { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-weight: 800; font-size: 14px; }
.card__price small { font-weight: 600; font-size: 11px; color: var(--muted); }
.tag { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .92); font-size: 10px; font-weight: 800; letter-spacing: .06em; color: var(--wine); }
.fav { position: absolute; right: 12px; bottom: 10px; z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border: 0; border-radius: 50%; background: var(--blush); color: var(--wine); }
.fav[aria-pressed="true"] svg { fill: currentColor; }
.card.is-on { box-shadow: inset 0 0 0 2px var(--wine), var(--shadow); }
.skel { aspect-ratio: .74; border-radius: var(--r); background: linear-gradient(90deg, #efe7df 25%, #f8f3ee 50%, #efe7df 75%) 0 0 / 200% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { padding: 48px 10px; text-align: center; color: var(--muted); display: grid; gap: 14px; justify-items: center; }

.search { position: relative; display: block; margin-top: 14px; }
.search input { width: 100%; height: 50px; padding: 0 16px 0 46px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); outline: none; }
.search svg { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); }

/* ---------- qadamlar ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 4px 0 16px; }
.step { height: 4px; border-radius: 4px; background: var(--line); }
.step.is-done { background: var(--wine); }
.steps-label { margin-bottom: 8px; }

/* ---------- batafsil ---------- */
.gallery { position: relative; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__track > * { flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; }
.gallery .scene__bottle { width: 42%; height: 52%; }
.nav-arrow { position: absolute; top: 50%; translate: 0 -50%; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.nav-arrow--prev { left: 12px; } .nav-arrow--next { right: 12px; }
.detail__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-top: 18px; }
.detail__name { font: 800 26px/1.05 var(--sans); text-transform: uppercase; letter-spacing: -.01em; }
.detail__price { text-align: right; font: 800 22px/1 var(--sans); white-space: nowrap; }
.detail__price small { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--muted); }
.detail__text { margin-top: 12px; color: var(--muted); font-size: 14px; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pill { padding: 5px 11px; border-radius: 999px; background: var(--blush); color: var(--wine); font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.notes { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.notes__grid { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.note { display: grid; grid-template-columns: 34px 1fr; gap: 8px; align-items: start; }
.note__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--blush); color: var(--wine); }
.note b { display: block; font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.note span { font-size: 11.5px; line-height: 1.35; color: var(--muted); }

/* ---------- pastki panel (amal tugmasi) ---------- */
.bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 12px 16px calc(12px + var(--safe-b)); background: color-mix(in oklab, var(--bg) 94%, transparent); backdrop-filter: blur(12px); }
.bar__inner { max-width: 560px; margin: 0 auto; display: grid; gap: 10px; }
.bar.above-tabs { bottom: calc(78px + var(--safe-b)); padding-bottom: 8px; background: none; backdrop-filter: none; } /* Buyurtma tabida: tugma tab panel ustida */
.bar__sum { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: var(--muted); }
.bar__sum b { font-size: 18px; color: var(--ink); }

/* ---------- pastki tablar ---------- */
.tabs { position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); z-index: 30; max-width: 536px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px; border-radius: 22px; background: var(--wine-ink); box-shadow: 0 16px 30px -12px rgba(42, 11, 16, .6); }
.tab { position: relative; display: grid; justify-items: center; gap: 4px; padding: 8px 0 6px; border: 0; border-radius: 14px; background: none; color: rgba(255, 255, 255, .62); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.tab[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .09); }
.tab__badge { position: absolute; top: 4px; left: calc(50% + 6px); min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #E3B7BE; color: var(--wine-ink); font-size: 10px; line-height: 16px; }

/* ---------- flakon / forma / to'lov ---------- */
.picked { display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.picked .scene { width: 64px; height: 64px; flex: none; border-radius: 14px; }
.picked__name { font-weight: 800; font-size: 15px; text-transform: uppercase; }
.flacon-img { aspect-ratio: 1; border-radius: 15px; overflow: hidden; background: var(--well); }
.flacon-img img { width: 100%; height: 100%; object-fit: cover; }
.summary { padding: 14px 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); display: grid; gap: 8px; font-size: 14px; }
.summary__row { display: flex; justify-content: space-between; gap: 12px; }
.summary__row span:last-child { white-space: nowrap; font-weight: 700; }
.summary__total { padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 800; font-size: 16px; }
.field { display: grid; gap: 6px; margin-top: 14px; }
.field label { font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.field input, .field textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1.5px solid transparent; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); outline: none; }
.field textarea { min-height: 78px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--wine-2); }
.field.is-bad input, .field.is-bad textarea, .field.is-bad .loc { border-color: #A3282B; }
.field__err { font-size: 12px; color: #A3282B; }
.loc { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 58px; padding: 10px 14px; border: 1.5px dashed var(--wine-2); border-radius: 16px; background: var(--blush); color: var(--wine); font-weight: 700; text-align: left; }
.loc.is-set { border-style: solid; background: var(--surface); }
.loc small { display: block; font-weight: 500; color: var(--muted); }
.note-box { display: flex; gap: 10px; margin-top: 16px; padding: 13px 14px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-size: 13px; color: var(--muted); }
.note-box svg { flex: none; color: var(--wine); }
.amount { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 14px; padding: 16px; border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow); }
.amount b { font: 800 24px/1 var(--sans); }
.paycard { position: relative; margin-top: 12px; padding: 20px; border-radius: 22px; color: #F6EDE8; overflow: hidden; background: radial-gradient(120% 140% at 100% 0%, #7A2532 0%, var(--wine) 55%, #2E0A10 100%); }
.paycard__num { margin-top: 18px; font: 700 22px/1 var(--sans); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.paycard__holder { margin-top: 10px; font-size: 13px; opacity: .8; text-transform: uppercase; letter-spacing: .06em; }
.paycard img { height: 18px; width: auto; filter: brightness(0) invert(.92); }
.copy { min-height: 36px; padding: 0 14px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 12px; font-weight: 700; }
.copy--light { background: var(--blush); color: var(--wine); }
.paycard .copy { position: absolute; right: 16px; top: 16px; }
.apps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 12px; }
.app-btn { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 12px; border: 0; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-weight: 800; text-align: left; }
.app-btn img { flex: none; width: 36px; height: 36px; border-radius: 10px; } /* App Store'dagi rasmiy ilova ikonkalari */
.app-btn small { display: block; font-size: 11px; font-weight: 600; color: var(--muted); }
.drop { position: relative; display: grid; justify-items: center; gap: 6px; margin-top: 12px; padding: 22px 14px; border: 1.5px dashed var(--wine-2); border-radius: var(--r); background: var(--blush); color: var(--wine); text-align: center; font-weight: 800; cursor: pointer; }
.drop small { font-weight: 500; color: var(--muted); }
.drop input, .btn input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.preview { margin-top: 12px; border-radius: var(--r); overflow: hidden; background: var(--surface); box-shadow: var(--shadow); }
.preview img { width: 100%; max-height: 320px; object-fit: contain; background: var(--well); }
.preview__pdf { padding: 18px; font-weight: 700; }
.done { display: grid; justify-items: center; gap: 12px; padding: 48px 8px 0; text-align: center; }
.done__icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--wine); color: #fff; animation: pop .6s var(--ease) both; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.done p { max-width: 34ch; color: var(--muted); }

.toast { position: fixed; left: 50%; bottom: calc(120px + var(--safe-b)); z-index: 60; translate: -50% 20px; max-width: calc(100% - 32px); padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 700; opacity: 0; pointer-events: none; transition: opacity .25s, translate .25s var(--ease); }
.toast.is-on { opacity: 1; translate: -50% 0; }

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

/* ======================================================================
   Sayt ko'rinishi: brauzerda ochilganda ([data-mode="web"]). Telegram ichida mini app o'zgarishsiz.
   Telefondagi brauzer ham mini app ko'rinishida qoladi; kompyuterda (>= 900px) to'liq sayt.
   ====================================================================== */
.topnav { display: none; }
.foot { display: none; }
[data-mode="web"] .foot { display: block; margin-top: 8px; padding: 28px 16px calc(120px + var(--safe-b)); border-top: 1px solid var(--line); }
.foot__in { max-width: 1200px; margin: 0 auto; display: grid; gap: 14px; }
.foot__logo { height: 24px; width: auto; }
.foot__text { margin-top: 8px; max-width: 42ch; color: var(--muted); font-size: 13px; }
.foot__links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot__links a { color: var(--wine); font-weight: 700; text-decoration: none; }
.foot__copy { font-size: 12px; color: var(--muted); }

@media (min-width: 900px) {
  [data-mode="web"] body { font-size: 16px; }
  [data-mode="web"] .tabs { display: none !important; }
  [data-mode="web"] .bar.above-tabs { bottom: 0; }
  [data-mode="web"] .top { grid-template-columns: 44px auto 1fr auto; height: 76px; padding: 0 max(32px, calc((100vw - 1200px) / 2)); border-bottom: 1px solid var(--line); }
  [data-mode="web"] .top__logo { justify-self: start; height: 30px; }
  [data-mode="web"] .topnav { display: flex; justify-self: center; gap: 6px; }
  .topnav__link { position: relative; min-height: 42px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font: 800 13px/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .topnav__link:hover { color: var(--ink); }
  .topnav__link[aria-current="page"] { background: var(--wine); color: #fff; }
  .topnav__link .tab__badge { top: 2px; left: auto; right: 2px; }

  [data-mode="web"] .app { max-width: 1200px; padding: 28px 32px 140px; }
  [data-mode="web"] .foot { padding-bottom: 40px; }
  [data-mode="web"] .foot__in { grid-template-columns: 1fr auto; align-items: end; }
  [data-mode="web"] .foot__copy { grid-column: 1 / -1; }

  /* bosh sahifa */
  [data-mode="web"] .slide { grid-template-columns: 1.15fr 1fr; }
  [data-mode="web"] .slide__copy { gap: 18px; padding: 56px 24px 72px 56px; }
  [data-mode="web"] .slide__title { font-size: 64px; }
  [data-mode="web"] .slide__text { font-size: 17px; max-width: 34ch; }
  [data-mode="web"] .slide__cta { min-height: 52px; padding: 0 26px; font-size: 13px; }
  [data-mode="web"] .dots { left: 56px; bottom: 32px; }
  [data-mode="web"] .perks { gap: 16px; margin-top: 20px; }
  [data-mode="web"] .perk { grid-auto-flow: column; justify-content: center; align-items: center; gap: 12px; padding: 20px; font-size: 14px; }
  [data-mode="web"] .section { margin-top: 48px; }
  [data-mode="web"] .h2 { font-size: 18px; }
  [data-mode="web"] .families { justify-content: space-between; overflow: visible; margin: 0; padding: 0; }
  [data-mode="web"] .fam { width: 110px; font-size: 12px; }
  [data-mode="web"] .fam span { width: 104px; height: 104px; }
  [data-mode="web"] .row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; overflow: visible; margin: 0; padding: 0; }
  [data-mode="web"] .row .card { flex: auto; }

  /* katalog va sevimlilar */
  [data-mode="web"] .title { font-size: 44px; }
  [data-mode="web"] .grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }
  [data-mode="web"] .search { max-width: 520px; }
  [data-mode="web"] .chips { flex-wrap: wrap; overflow: visible; margin: 0; padding: 2px 0 4px; }
  [data-mode="web"] .card__name { font-size: 16px; }

  /* atir sahifasi: chapda rasm (yopishqoq), o'ngda ma'lumot */
  [data-mode="web"] .view-oil { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 56px; align-items: start; }
  [data-mode="web"] .view-oil > * { grid-column: 2; }
  [data-mode="web"] .view-oil > :first-child { grid-column: 1 / -1; }
  [data-mode="web"] .view-oil > .gallery { grid-column: 1; grid-row: 2 / span 8; position: sticky; top: 100px; }
  [data-mode="web"] .view-oil .detail__head { margin-top: 0; }
  [data-mode="web"] .detail__name { font-size: 40px; }

  /* xarid qadamlari: o'rtadagi ustun */
  [data-mode="web"] .view-flacon, [data-mode="web"] .view-checkout, [data-mode="web"] .view-pay, [data-mode="web"] .view-done { max-width: 760px; }
  [data-mode="web"] .view-flacon .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  [data-mode="web"] .bar__inner { max-width: 760px; }
  [data-mode="web"] .view-oil ~ .bar .bar__inner { max-width: 1136px; }
}
