/* =========================================================
   DOSS_UZ — dizayn tizimi
   ========================================================= */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  src: url("/fonts/jost-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
  --paper: #f7f3ec;
  --cream: #ece4d6;
  --ink: #1b1714;
  --espresso: #14100d;
  --muted: #7a7067;
  --faint: #a89e93;
  --line: #dfd6c8;
  --accent: #8c5b36;
  --accent-deep: #6f4627;
  --danger: #a3382b;
  --ok: #3f6b4a;

  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", ui-serif, Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --promo-h: 36px;
  --header-h: 60px;
  --top: calc(var(--promo-h) + var(--header-h));
  --gutter: 16px;
}
@media (min-width: 768px) {
  :root { --gutter: 32px; --header-h: 68px; }
}
@media (min-width: 1280px) {
  :root { --gutter: 56px; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.locked { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

/* ---------- Yordamchi klasslar ---------- */
.wrap { padding-inline: var(--gutter); max-width: 1680px; margin-inline: auto; }
.page { padding-top: var(--top); min-height: 72svh; }
.serif { font-family: var(--serif); font-weight: 500; line-height: 1.05; letter-spacing: 0.005em; }
.kicker { font-size: 10.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; }
.caps { font-size: 11.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.muted { color: var(--muted); }
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}
.wordmark i { font-style: normal; opacity: 0.55; letter-spacing: 0; margin: 0 0.02em 0 -0.14em; }
.underline {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  transition: opacity 0.2s;
}
.underline:hover { opacity: 0.6; }
.no-scrollbar { scrollbar-width: none; }
.no-scrollbar::-webkit-scrollbar { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 30px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, opacity 0.25s;
}
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--accent-deep); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-line { border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.btn-block { width: 100%; }

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  transition: opacity 0.2s;
}
.icon-btn:hover { opacity: 0.6; }
.icon-btn .count {
  position: absolute;
  top: 5px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Promo va header ---------- */
.promo {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--promo-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-inline: 16px;
  background: var(--espresso);
  color: rgba(247, 243, 236, 0.86);
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  overflow: hidden;
}
.promo .dot { width: 3px; height: 3px; border-radius: 50%; background: currentColor; opacity: 0.5; }
@media (max-width: 640px) { .promo .wide { display: none; } }

.header {
  position: fixed;
  inset: var(--promo-h) 0 auto 0;
  z-index: 40;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: calc(var(--gutter) - 8px);
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: background-color 0.4s, color 0.4s, border-color 0.4s;
}
.header.over { background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
.header .side { display: flex; align-items: center; gap: 4px; flex: 1; }
.header .side.right { justify-content: flex-end; }
.header nav { display: none; gap: 26px; margin-left: 14px; }
.header nav a { position: relative; padding: 6px 0; transition: opacity 0.2s; }
.header nav a:hover { opacity: 0.6; }
.header nav a.active::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; background: currentColor; }
.header .wordmark { font-size: 22px; }
@media (min-width: 900px) {
  .header nav { display: flex; }
  .header .wordmark { font-size: 26px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 580px; background: var(--espresso); overflow: hidden; color: #fff; }
.hero-media { position: absolute; inset: 0; overflow: hidden; }
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero-note { display: none; }
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20, 16, 13, 0.5) 0%, rgba(20, 16, 13, 0.05) 26%, rgba(20, 16, 13, 0.1) 50%, rgba(20, 16, 13, 0.82) 100%);
  pointer-events: none;
}
.hero-copy { position: absolute; inset: auto 0 9% 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 24px; }
.hero-copy > * { animation: rise 1s var(--ease) both; }
.hero-copy > :nth-child(1) { animation-delay: 0.3s; }
.hero-copy > :nth-child(2) { animation-delay: 0.45s; }
.hero-copy > :nth-child(3) { animation-delay: 0.6s; }
.hero-copy > :nth-child(4) { animation-delay: 0.75s; }
.hero h1 { margin-top: 16px; font-size: clamp(44px, 7.2vw, 96px); text-transform: uppercase; letter-spacing: 0.03em; }
.hero .sub { margin-top: 16px; max-width: 520px; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.hero .actions { margin-top: 28px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-scroll { position: absolute; left: 50%; bottom: 22px; width: 1px; height: 34px; background: rgba(255, 255, 255, 0.35); overflow: hidden; }
.hero-scroll::after { content: ""; position: absolute; inset: 0; background: #fff; animation: drip 2.2s var(--ease) infinite; }
/* Katta ekranda: chapda matn, o'ngda vertikal video */
@media (min-width: 960px) {
  .hero-media, .hero-veil { left: 50%; }
  .hero-veil { background: linear-gradient(to bottom, rgba(20, 16, 13, 0.45) 0%, rgba(20, 16, 13, 0) 24%, rgba(20, 16, 13, 0) 80%, rgba(20, 16, 13, 0.28) 100%); }
  .hero-copy { inset: var(--top) 50% 0 0; align-items: flex-start; justify-content: center; text-align: left; padding-inline: var(--gutter) 48px; }
  .hero h1 { font-size: clamp(48px, 5.4vw, 88px); line-height: 1; }
  .hero .sub { font-size: 16px; }
  .hero .actions { justify-content: flex-start; }
  .hero-scroll { display: none; }
  .hero-note { display: flex; position: absolute; left: var(--gutter); bottom: 34px; gap: 28px; font-size: 12px; letter-spacing: 0.08em; color: rgba(247, 243, 236, 0.5); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ---------- Bo'limlar ---------- */
.section { padding-block: 64px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.section-head h2 { font-size: clamp(34px, 4vw, 52px); }
.section-head .tools { display: flex; align-items: center; gap: 10px; }
.round-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--line);
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, opacity 0.2s;
}
.round-btn:hover { border-color: var(--ink); }
.round-btn[disabled] { opacity: 0.3; cursor: default; }
@media (min-width: 768px) { .round-btn { display: inline-flex; } }

/* Kategoriya mozaikasi */
.tiles { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--espresso); color: #fff; }
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; transition: transform 1.4s var(--ease), opacity 0.4s; }
.tile:hover img { transform: scale(1.045); }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 16, 13, 0.78), rgba(20, 16, 13, 0) 52%); }
.tile .label { position: absolute; inset: auto 16px 16px 16px; z-index: 1; }
.tile .label b { display: block; margin-top: 6px; font-family: var(--serif); font-weight: 500; font-size: clamp(26px, 2.6vw, 38px); line-height: 1; }
.tile .label .kicker { color: rgba(255, 255, 255, 0.7); }
@media (min-width: 768px) { .tile .label { inset: auto 28px 26px 28px; } }
.tile.plain { display: flex; flex-direction: column; justify-content: space-between; padding: 16px; }
.tile.plain::after { display: none; }
.tile.plain.light { background: var(--cream); color: var(--ink); }
.tile.plain b { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 3vw, 44px); line-height: 1.02; display: block; }
.tile.plain svg { margin-top: 18px; transition: transform 0.4s var(--ease); }
.tile.plain:hover svg { transform: translateX(8px); }
@media (min-width: 768px) { .tile.plain { padding: 28px; } }

/* Brend bloki */
.story { background: var(--espresso); color: var(--paper); }
.story .wrap { display: grid; gap: 40px; align-items: center; padding-block: 72px; }
.story .media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.story .media video, .story .media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.story h2 { margin-top: 20px; font-size: clamp(38px, 4.6vw, 64px); }
.story h2 em { font-weight: 400; }
.story p { margin-top: 24px; max-width: 460px; color: rgba(247, 243, 236, 0.66); line-height: 1.8; }
.story .facts { margin-top: 32px; display: grid; grid-template-columns: repeat(3, auto); gap: 24px; justify-content: start; }
.story .facts b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.story .facts span { display: block; margin-top: 8px; font-size: 12px; color: rgba(247, 243, 236, 0.55); letter-spacing: 0.04em; }
.story .actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .story .wrap { grid-template-columns: 5fr 1fr 5fr; padding-block: 120px; }
  .story .text { grid-column: 3; }
}

/* Karusel */
.rail { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding-inline: var(--gutter); scroll-padding-left: var(--gutter); padding-bottom: 4px; }
.rail > * { flex: 0 0 68vw; scroll-snap-align: start; }
@media (min-width: 640px) { .rail > * { flex-basis: 40vw; } }
@media (min-width: 1024px) { .rail > * { flex-basis: calc((100vw - var(--gutter) * 2 - 42px) / 4); } }

/* ---------- Mahsulot kartochkasi ---------- */
.card { position: relative; }
.card-media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--cream); }
.card-media img, .card-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.card-media img { transition: transform 1.2s var(--ease); }
.card:hover .card-media img { transform: scale(1.03); }
.card-media img.alt { opacity: 0; transition: opacity 0.45s, transform 1.2s var(--ease); }
.card-media img.alt.on { opacity: 1; }
.card-media video { opacity: 0; transition: opacity 0.5s; pointer-events: none; }
.card-media video.on { opacity: 1; }
.card .badge { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 6px 9px; background: rgba(247, 243, 236, 0.92); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; }
.card .fav { position: absolute; right: 8px; top: 8px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(247, 243, 236, 0.86); transition: background-color 0.2s, color 0.2s; }
.card .fav:hover { background: #fff; }
.card .fav[aria-pressed="true"] { background: var(--ink); color: #fff; }
.card .fav[aria-pressed="true"] svg { fill: currentColor; }
.card .play { position: absolute; right: 10px; bottom: 10px; z-index: 2; display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 20px; background: rgba(20, 16, 13, 0.5); color: #fff; font-size: 10px; letter-spacing: 0.1em; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); pointer-events: none; }
.card-info { margin-top: 12px; display: block; }
.card-info .cat { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.card-info h3 { margin-top: 4px; font-size: 14.5px; font-weight: 400; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-info .price { margin-top: 4px; font-size: 14px; color: var(--muted); letter-spacing: 0.02em; }
.price s { margin-left: 8px; color: var(--faint); }

.grid { display: grid; gap: 28px 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .grid { gap: 44px 16px; grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .grid[data-cols="3"] { grid-template-columns: repeat(3, 1fr); }
  .grid[data-cols="2"] { grid-template-columns: repeat(2, 1fr); max-width: 1100px; margin-inline: auto; }
}

.skeleton { background: linear-gradient(100deg, var(--cream) 30%, #f3ede2 50%, var(--cream) 70%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Do'kon bloki ---------- */
.visit { display: grid; border-top: 1px solid var(--line); }
.visit .info { padding: 56px var(--gutter); }
.visit h2 { font-size: clamp(34px, 4vw, 52px); margin-top: 16px; }
.visit dl { margin: 32px 0 0; display: grid; gap: 22px; }
.visit dt { font-size: 10.5px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--faint); }
.visit dd { margin: 6px 0 0; font-size: 16px; }
.visit .actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.visit .map { min-height: 340px; background: var(--cream); }
.visit .map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: grayscale(0.9) sepia(0.14) contrast(0.95); }
@media (min-width: 900px) {
  .visit { grid-template-columns: 1fr 1fr; }
  .visit .info { padding: 96px var(--gutter); }
}

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: rgba(247, 243, 236, 0.7); padding: 64px 0 28px; font-size: 14px; }
.footer .cols { display: grid; gap: 40px; }
.footer .wordmark { color: var(--paper); font-size: 30px; }
.footer h4 { margin: 0 0 16px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.3em; text-transform: uppercase; color: rgba(247, 243, 236, 0.45); }
.footer li + li { margin-top: 9px; }
.footer a:hover { color: #fff; }
.footer .legal { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(247, 243, 236, 0.12); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 12px; color: rgba(247, 243, 236, 0.4); }
@media (min-width: 900px) { .footer .cols { grid-template-columns: 2fr 1fr 1fr 1.4fr; } }

/* ---------- Katalog ---------- */
.page-head { padding: 40px 0 22px; }
.page-head h1 { font-size: clamp(40px, 5.4vw, 72px); }
.page-head p { margin-top: 12px; max-width: 560px; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--faint); letter-spacing: 0.04em; margin-bottom: 14px; }
.crumbs a:hover { color: var(--ink); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px var(--gutter) 14px; margin-inline: calc(var(--gutter) * -1); }
.chip { flex: none; height: 38px; padding: 0 16px; border: 1px solid var(--line); border-radius: 19px; font-size: 13px; display: inline-flex; align-items: center; gap: 7px; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { font-size: 11px; opacity: 0.55; }
.toolbar { position: sticky; top: var(--top); z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; margin-bottom: 22px; background: rgba(247, 243, 236, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-block: 1px solid var(--line); }
.toolbar .group { display: flex; align-items: center; gap: 10px; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 34px 0 14px; border: 1px solid var(--line); border-radius: 0; background: transparent; font-size: 13px; cursor: pointer; }
.select select:hover { border-color: var(--ink); }
.select::after { content: ""; position: absolute; right: 14px; top: 50%; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cols-toggle { display: none; gap: 2px; }
.cols-toggle button { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; gap: 2px; opacity: 0.35; }
.cols-toggle button i { width: 3px; height: 14px; background: currentColor; }
.cols-toggle button.active, .cols-toggle button:hover { opacity: 1; }
@media (min-width: 1100px) { .cols-toggle { display: flex; } }
.empty { padding: 80px 0 110px; text-align: center; }
.empty h2 { font-size: 38px; }
.empty p { margin: 12px auto 26px; max-width: 420px; color: var(--muted); }

/* ---------- Mahsulot sahifasi ---------- */
.product { display: grid; gap: 28px; }
.gallery { display: flex; gap: 6px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); }
.gallery .shot { position: relative; flex: 0 0 86%; aspect-ratio: 3 / 4; scroll-snap-align: center; overflow: hidden; background: var(--cream); cursor: zoom-in; }
.gallery .shot:only-child { flex-basis: 100%; }
.gallery .shot img, .gallery .shot video { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.gallery button.shot { display: block; }
.gallery .shot.video { cursor: default; }
.play-btn { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; color: #fff; background: rgba(20, 16, 13, 0.2); transition: background-color 0.3s; }
.play-btn:hover { background: rgba(20, 16, 13, 0.34); }
.play-btn i { width: 68px; height: 68px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.85); display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); transition: transform 0.4s var(--ease); }
.play-btn:hover i { transform: scale(1.08); }
.shot.video.playing .play-btn { display: none; }
.sound { position: absolute; right: 12px; bottom: 12px; z-index: 2; height: 36px; padding: 0 14px; border-radius: 18px; display: inline-flex; align-items: center; gap: 8px; background: rgba(20, 16, 13, 0.55); color: #fff; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.product .info .cat { color: var(--accent); }
.product h1 { margin-top: 10px; font-size: clamp(34px, 3.6vw, 50px); }
.product .price { margin-top: 14px; font-size: 20px; letter-spacing: 0.02em; }
.product .lead { margin-top: 20px; color: var(--muted); line-height: 1.75; }
.specs { margin: 26px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 22px; font-size: 14px; }
.specs dt { color: var(--faint); }
.specs dd { margin: 0; }
.field-label { display: flex; justify-content: space-between; align-items: baseline; margin: 30px 0 12px; font-size: 13px; }
.sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.sizes button { min-width: 54px; height: 46px; padding: 0 12px; border: 1px solid var(--line); font-size: 13px; letter-spacing: 0.06em; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.sizes button:hover { border-color: var(--ink); }
.sizes button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.sizes.shake { animation: shake 0.4s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.buy { margin-top: 26px; display: grid; gap: 10px; grid-template-columns: 1fr auto; }
.buy .btn-fav { width: 52px; height: 52px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; transition: border-color 0.2s; }
.buy .btn-fav:hover { border-color: var(--ink); }
.buy .btn-fav[aria-pressed="true"] svg { fill: currentColor; }
.buy .tg { grid-column: 1 / -1; }
.hint { margin-top: 10px; min-height: 20px; font-size: 13px; color: var(--danger); }
.perks { margin-top: 22px; display: grid; gap: 12px; font-size: 13.5px; color: var(--muted); }
.perks li { display: flex; gap: 12px; align-items: center; }
.perks svg { flex: none; color: var(--ink); }
.acc { margin-top: 30px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-size: 12px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 20px; font-weight: 300; line-height: 1; transition: transform 0.3s; }
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .body { padding: 0 0 22px; color: var(--muted); line-height: 1.75; font-size: 14.5px; }
.acc .body ul { display: grid; gap: 7px; }
.acc .body li { padding-left: 18px; position: relative; }
.acc .body li::before { content: ""; position: absolute; left: 0; top: 0.75em; width: 8px; height: 1px; background: var(--accent); }
.size-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.size-table th, .size-table td { padding: 9px 6px; text-align: left; border-bottom: 1px solid var(--line); font-weight: 400; }
.size-table th { color: var(--faint); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 900px) {
  .product { grid-template-columns: minmax(0, 1.5fr) minmax(360px, 1fr); gap: 56px; align-items: start; }
  .gallery { display: grid; grid-template-columns: repeat(2, 1fr); overflow: visible; margin: 0; }
  .gallery .shot { flex: none; }
  .product .info { position: sticky; top: calc(var(--top) + 28px); padding-bottom: 40px; }
}

.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20, 16, 13, 0.96); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0s linear 0.3s; }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity 0.3s; }
.lightbox img { max-width: 100vw; max-height: 100svh; object-fit: contain; }
.lightbox button { position: absolute; color: #fff; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; }
.lightbox .x { top: 10px; right: 10px; }
.lightbox .prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .next { right: 6px; top: 50%; transform: translateY(-50%); }
.lightbox .n { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, 0.6); font-size: 12px; letter-spacing: 0.2em; }

/* ---------- Overlaylar ---------- */
.backdrop { position: fixed; inset: 0; z-index: 60; background: rgba(20, 16, 13, 0.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.backdrop.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; bottom: 0; z-index: 70; width: min(440px, 100vw); display: flex; flex-direction: column; background: var(--paper); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s linear 0.45s; }
.drawer.right { right: 0; transform: translateX(100%); }
.drawer.left { left: 0; transform: translateX(-100%); }
.drawer.open { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
.drawer-head { flex: none; height: 64px; padding: 0 12px 0 24px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px 24px; }
.drawer-foot { flex: none; padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.menu-links a { display: flex; justify-content: space-between; align-items: baseline; padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.1; transition: color 0.2s, padding-left 0.3s var(--ease); }
.menu-links a:hover { color: var(--accent); padding-left: 6px; }
.menu-links a small { font-family: var(--sans); font-size: 12px; color: var(--faint); }
.menu-meta { margin-top: 28px; display: grid; gap: 8px; font-size: 14px; color: var(--muted); }

.line-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line-item img { width: 84px; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 28%; background: var(--cream); }
.line-item h4 { margin: 0; font-size: 14.5px; font-weight: 400; line-height: 1.35; }
.line-item .meta { margin-top: 3px; font-size: 13px; color: var(--muted); }
.line-item .row { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 34px; }
.qty button { width: 32px; height: 100%; font-size: 16px; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.remove { font-size: 12px; color: var(--faint); text-decoration: underline; text-underline-offset: 4px; }
.remove:hover { color: var(--danger); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; }
.total-row b { font-size: 18px; font-weight: 500; }

.search { position: fixed; inset: 0 0 auto 0; z-index: 70; max-height: 100svh; overflow-y: auto; background: var(--paper); transform: translateY(-102%); visibility: hidden; transition: transform 0.45s var(--ease), visibility 0s linear 0.45s; }
.search.open { transform: none; visibility: visible; transition: transform 0.45s var(--ease), visibility 0s; }
.search form { display: flex; align-items: center; gap: 12px; padding-block: 20px; border-bottom: 1px solid var(--line); }
.search input { flex: 1; min-width: 0; border: 0; background: none; outline: none; font-family: var(--serif); font-size: clamp(24px, 3vw, 36px); }
.search input::placeholder { color: var(--faint); }
.search .results { padding-block: 26px 44px; }
.search .results .grid { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .search .results .grid { grid-template-columns: repeat(4, 1fr); } }
.search .quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }

.toast { position: fixed; left: 50%; top: calc(var(--top) + 14px); z-index: 95; transform: translate(-50%, -16px); max-width: calc(100vw - 32px); padding: 13px 20px; background: var(--ink); color: #fff; font-size: 13.5px; opacity: 0; pointer-events: none; transition: opacity 0.35s, transform 0.35s var(--ease); display: flex; gap: 16px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { text-decoration: underline; text-underline-offset: 4px; white-space: nowrap; }

/* ---------- Formalar va checkout ---------- */
.checkout { display: grid; gap: 40px; padding-bottom: 90px; }
.form { display: grid; gap: 18px; }
.form .two { display: grid; gap: 18px; }
@media (min-width: 640px) { .form .two { grid-template-columns: 1fr 1fr; } }
.field label { display: block; margin-bottom: 7px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; height: 50px; padding: 0 14px; border: 1px solid var(--line); border-radius: 0; background: #fffdf9; outline: none; transition: border-color 0.2s; }
.field textarea { height: auto; min-height: 92px; padding-block: 12px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.bad input, .field.bad textarea { border-color: var(--danger); }
.field .err { margin-top: 5px; font-size: 12.5px; color: var(--danger); }
.switch { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.switch label { position: relative; padding: 14px 12px; text-align: center; font-size: 13px; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch label:has(input:checked) { background: var(--ink); color: #fff; }
.switch label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.summary { background: var(--cream); padding: 26px 22px; align-self: start; }
.summary h2 { font-size: 30px; margin-bottom: 6px; }
.summary .line-item { grid-template-columns: 64px 1fr; }
.summary .line-item img { width: 64px; }
.summary .line-item { border-color: rgba(27, 23, 20, 0.1); }
.summary .total-row { margin: 20px 0 0; }
.form-error { padding: 12px 14px; background: rgba(163, 56, 43, 0.08); color: var(--danger); font-size: 14px; }
.done { max-width: 560px; margin: 0 auto; padding: 70px 0 110px; text-align: center; }
.done .mark { width: 64px; height: 64px; margin: 0 auto 26px; border-radius: 50%; border: 1px solid var(--ink); display: flex; align-items: center; justify-content: center; }
.done h1 { font-size: clamp(38px, 5vw, 56px); }
.done p { margin: 16px 0 30px; color: var(--muted); }
@media (min-width: 960px) {
  .checkout { grid-template-columns: minmax(0, 1.25fr) minmax(340px, 1fr); gap: 64px; }
  .summary { position: sticky; top: calc(var(--top) + 24px); padding: 32px; }
}

/* ---------- Kontaktlar ---------- */
.contact-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); margin-bottom: 56px; }
.contact-grid > div { background: var(--paper); padding: 28px 24px; }
.contact-grid .kicker { color: var(--faint); }
.contact-grid b { display: block; margin-top: 12px; font-family: var(--serif); font-size: 27px; font-weight: 500; line-height: 1.15; }
.contact-grid p { margin-top: 8px; color: var(--muted); font-size: 14px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: repeat(4, 1fr); } }
.map-frame { height: min(62svh, 560px); background: var(--cream); }
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.9) sepia(0.14) contrast(0.95); }

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

/* Formadagi "switch" yorliqlari oddiy matn ko'rinishida */
.field .switch label { display: block; margin: 0; letter-spacing: 0.04em; text-transform: none; color: inherit; font-size: 13.5px; }
.field .switch label:has(input:checked) { color: #fff; }

/* Mayda tuzatishlar */
input[type="search"]::-webkit-search-cancel-button { display: none; }
#count { white-space: nowrap; }
.field select { appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background: #fffdf9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%231b1714' stroke-width='1.3'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 15px center; }
@media (max-width: 480px) {
  .icon-btn { width: 38px; height: 38px; }
  .header .wordmark { font-size: 20px; letter-spacing: 0.16em; }
  .select select { padding: 0 30px 0 12px; }
}
