/* ============================================================
   MONO MEBEL — MARKETPLACE (mijozlar uchun) · "CLASSIC" dizayni
   Issiq klassik palitra: krem fon, espresso jigarrang yozuv,
   to'q sariq (orange) → jigarrang jonli gradient aksentlar.
   Sarlavhalar serif (Georgia). Reduced-motion hurmat qilinadi.
   ============================================================ */

:root {
  --bg: #faf6ee;         /* krem */
  --surface: #fffdf9;    /* iliq oq */
  --ink: #2f2013;        /* espresso */
  --ink-2: #5b4632;
  --muted: #94836f;
  --line: #eadfce;
  --line-2: #dcccb4;
  --g1: #ff8c42;         /* to'q sariq (orange) */
  --g2: #d2691e;         /* terrakota */
  --g3: #8b4513;         /* jigarrang */
  --grad: linear-gradient(100deg, var(--g1), var(--g2), var(--g3), var(--g2), var(--g1));
  --green: #2e7d32;
  --amber: #b45309;
  --star: #e8a020;       /* baho yulduzlari (tilla) */
  --serif: Georgia, 'Times New Roman', serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-sm: 0 1px 2px rgba(90, 62, 35, 0.06);
  --shadow-md: 0 10px 26px -14px rgba(139, 69, 19, 0.28);
  --shadow-lg: 0 22px 52px -22px rgba(63, 40, 18, 0.4);
  --glow: 0 10px 26px -10px rgba(210, 105, 30, 0.45);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }

.mk-container { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 32px); }
.mk-muted { color: var(--muted); }

/* ── Animatsiyalar ─────────────────────────────────────────── */
@keyframes mkUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes mkGradShift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes mkAurora {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(50px, -30px) scale(1.12); }
  66%      { transform: translate(-40px, 26px) scale(0.93); }
}
@keyframes mkMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes mkSpin { to { transform: rotate(360deg); } }
@keyframes mkPop { 0% { transform: scale(.5); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
@keyframes mkDraw { from { stroke-dashoffset: 48; } to { stroke-dashoffset: 0; } }

.mk-enter { opacity: 0; animation: mkUp .8s var(--ease) both; animation-delay: var(--d, 0s); }
.mk-reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.mk-reveal.in { opacity: 1; transform: none; }

/* Jonli gradient matn (sariq-jigarrang) */
.mk-gradient-text {
  background: var(--grad);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: mkGradShift 6s ease infinite;
}

/* ── Yuqori panel ──────────────────────────────────────────── */
.mk-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
/* Scroll boshlanishi bilanoq OQ fon (user talabi) */
.mk-header.scrolled {
  background: #ffffff;
  border-color: var(--line);
  box-shadow: 0 2px 14px -8px rgba(90, 62, 35, 0.25);
}
.mk-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 14px; }

.mk-brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--serif); font-weight: 700; letter-spacing: .16em; font-size: 20px; }
.mk-brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }

.mk-nav { display: flex; gap: 24px; }
.mk-nav a { font-size: 13.5px; font-weight: 600; letter-spacing: .04em; color: var(--ink-2); position: relative; padding: 4px 0; transition: color .2s ease; }
.mk-nav a:hover { color: var(--ink); }
.mk-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%; border-radius: 2px;
  background: var(--grad); background-size: 300% 100%;
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
  animation: mkGradShift 4s linear infinite;
}
.mk-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.mk-cart-btn {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: 14px; font-weight: 600; box-shadow: var(--shadow-sm);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s ease;
}
.mk-cart-btn:hover { transform: translateY(-1px); box-shadow: var(--glow); border-color: var(--g2); }
.mk-cart-btn svg { width: 17px; height: 17px; }
.mk-cart-badge {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px;
  padding: 0 5px; border-radius: 999px;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 4s linear infinite;
  color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.mk-cart-badge.pop { animation: mkPop .45s var(--ease), mkGradShift 4s linear infinite; }
.mk-cart-badge[hidden] { display: none; }

/* ── Hero (klassik, yorug' krem + issiq gradient sharlar) ──── */
.mk-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #f5edde 0%, var(--bg) 100%);
  color: var(--ink);
  padding: 130px 0 0;
  display: flex; flex-direction: column;
  min-height: clamp(580px, 88vh, 900px);
}
.mk-aurora { position: absolute; inset: -8%; pointer-events: none; filter: blur(72px); }
.mk-aurora i { position: absolute; border-radius: 50%; animation: mkAurora 18s ease-in-out infinite; }
.mk-aurora i:nth-child(1) { width: 42vw; height: 42vw; min-width: 340px; min-height: 340px; background: #ffb37a; opacity: .38; top: -12%; left: -6%; }
.mk-aurora i:nth-child(2) { width: 34vw; height: 34vw; min-width: 300px; min-height: 300px; background: #e8c9a0; opacity: .5; top: 6%; right: -8%; animation-delay: -6s; }
.mk-aurora i:nth-child(3) { width: 26vw; height: 26vw; min-width: 230px; min-height: 230px; background: #d2691e; opacity: .16; bottom: 10%; left: 20%; animation-delay: -10s; }
.mk-aurora i:nth-child(4) { width: 20vw; height: 20vw; min-width: 180px; min-height: 180px; background: #ff8c42; opacity: .14; bottom: 22%; right: 24%; animation-delay: -14s; }

.mk-hero-inner { position: relative; z-index: 2; text-align: center; display: flex; flex-direction: column; align-items: center; }
.mk-hero h1 {
  font-family: var(--serif);
  font-size: clamp(40px, 6.2vw, 72px); line-height: 1.08; font-weight: 700; letter-spacing: -0.01em;
}
.mk-hero-sub { margin-top: 20px; font-size: clamp(15px, 1.6vw, 17.5px); color: var(--ink-2); max-width: 560px; }
.mk-hero-cta { margin-top: 32px; display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; }
.mk-hero-note { font-size: 13px; color: var(--muted); }

.mk-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 28px;
  border-radius: 999px; font-size: 15px; font-weight: 700;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), opacity .2s ease;
}
.mk-btn svg { width: 17px; height: 17px; transition: transform .3s var(--ease); }
/* Jonli issiq gradient tugma */
.mk-btn-grad, .mk-btn-dark {
  background: var(--grad); background-size: 300% 100%;
  color: #fff; box-shadow: var(--glow);
  animation: mkGradShift 5s ease infinite;
}
.mk-btn-grad:hover, .mk-btn-dark:hover { transform: translateY(-2px); box-shadow: 0 14px 34px -10px rgba(210, 105, 30, 0.6); }
.mk-btn-grad:hover svg { transform: translateY(2px); }
.mk-btn-grad:disabled, .mk-btn-dark:disabled { opacity: .55; cursor: default; transform: none; }
.mk-btn-light { background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.mk-btn-light:hover { border-color: var(--g2); box-shadow: var(--shadow-md); }

/* Marquee — mahsulotlar lentasi */
.mk-marquee { position: relative; z-index: 2; margin-top: auto; padding: 48px 0 40px; overflow: hidden; width: 100%;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.mk-marquee-track { display: flex; gap: 16px; width: max-content; animation: mkMarquee var(--mq-dur, 45s) linear infinite; will-change: transform; }
.mk-marquee:hover .mk-marquee-track { animation-play-state: paused; }
.mk-hero-card {
  width: 225px; flex-shrink: 0; cursor: pointer;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), border-color .3s ease, box-shadow .35s var(--ease);
}
.mk-hero-card:hover { transform: translateY(-6px); border-color: var(--g2); box-shadow: var(--shadow-md); }
.mk-hero-card img { width: 100%; height: 148px; object-fit: cover; }
.mk-hero-card figcaption { padding: 10px 14px; }
.mk-hero-card b { display: block; font-size: 13.5px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mk-hero-card span { font-size: 12.5px; color: var(--muted); }

/* Oq soya olib tashlandi — hero krem fon katalogga tekis o'tadi */
.mk-hero-fade { display: none; }

/* ── Katalog ───────────────────────────────────────────────── */
.mk-catalog { padding: 56px 0 90px; scroll-margin-top: 70px; }
.mk-catalog-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: 22px; }
.mk-catalog-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; letter-spacing: -0.01em;
  position: relative; padding-bottom: 12px;
}
.mk-head-bar {
  position: absolute; left: 0; bottom: 0; height: 4px; width: 64px; border-radius: 2px;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 4s linear infinite;
}
.mk-catalog-head p { font-size: 14px; }

.mk-toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 28px; }
.mk-search {
  display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  min-width: min(300px, 100%); flex: 0 1 320px; box-shadow: var(--shadow-sm);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.mk-search:focus-within { border-color: var(--g2); box-shadow: 0 0 0 4px rgba(210, 105, 30, .13); }
.mk-search svg { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; }
.mk-search input { border: 0; outline: 0; background: none; width: 100%; font-size: 14px; }

/* ── Bo'limlar: Barchasi / To'plamlar / Donali ──────────────── */
.mk-segment {
  display: flex; gap: 6px; margin-bottom: 18px; padding: 5px;
  border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface);
  width: fit-content; max-width: 100%; overflow-x: auto; scrollbar-width: none;
}
.mk-segment::-webkit-scrollbar { display: none; }
.mk-seg {
  display: inline-flex; align-items: center; gap: 7px; flex-shrink: 0;
  height: 38px; padding: 0 16px; border-radius: 10px; border: 0; background: transparent;
  font-size: 13.5px; font-weight: 650; color: var(--ink-2); cursor: pointer;
  transition: all .22s var(--ease);
}
.mk-seg:hover { color: var(--g2); }
.mk-seg span {
  min-width: 20px; padding: 0 6px; height: 19px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700; background: var(--line); color: var(--muted);
}
.mk-seg.active { background: linear-gradient(100deg, var(--g2), var(--g3)); color: #fff; box-shadow: var(--shadow-sm); }
.mk-seg.active span { background: rgba(255,255,255,.24); color: #fff; }

/* To'plam belgisi va dona bog'lanishi */
.mk-set-badge {
  position: absolute; left: 12px; bottom: 12px; z-index: 2;
  padding: 5px 11px; border-radius: 999px; font-size: 11.5px; font-weight: 700;
  background: rgba(20,16,12,.72); color: #f6ead9; backdrop-filter: blur(6px);
}
.mk-dona-from { display: block; font-size: 11.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.mk-add-set { background: var(--surface-2) !important; color: var(--g3) !important; }

/* Rang belgisi */
.mk-color {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.mk-color.sm { font-size: 11.5px; margin-top: 3px; }
.mk-color i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); flex-shrink: 0; }
.mk-color.sm i { width: 10px; height: 10px; }
.mk-sum-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); margin: 0 3px 0 5px; }

/* To'plam tarkibi — belgilab savatga qo'shish */
.mk-parts { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 14px; }
.mk-parts-head {
  font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 10px;
}
.mk-part {
  display: flex; align-items: center; gap: 11px; padding: 9px; border-radius: 12px;
  border: 1px solid var(--line); margin-bottom: 7px; cursor: pointer;
  transition: all .2s var(--ease);
}
.mk-part:hover { border-color: var(--g2); background: var(--surface-2); }
.mk-part input { position: absolute; opacity: 0; pointer-events: none; }
.mk-part-box {
  width: 21px; height: 21px; border-radius: 7px; border: 2px solid var(--line-2);
  flex-shrink: 0; position: relative; transition: all .2s var(--ease);
}
.mk-part input:checked ~ .mk-part-box { background: var(--g2); border-color: var(--g2); }
.mk-part input:checked ~ .mk-part-box::after {
  content: ''; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.mk-part-thumb {
  width: 46px; height: 46px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: var(--surface-2); display: flex; align-items: center; justify-content: center;
}
.mk-part-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-part-noimg { width: 22px; height: 22px; color: var(--muted); display: block; }
.mk-part-noimg svg { width: 100%; height: 100%; }
.mk-part-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mk-part-info b { font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-part-tag { font-size: 11px; font-weight: 600; color: var(--g2); }
.mk-part-price { font-size: 13.5px; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.mk-btn:disabled { opacity: .5; cursor: not-allowed; }

.mk-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.mk-chip {
  height: 38px; padding: 0 18px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2);
  transition: all .25s var(--ease);
}
.mk-chip:hover { border-color: var(--g2); color: var(--g2); transform: translateY(-1px); }
.mk-chip.active {
  border-color: transparent; color: #fff;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 4s linear infinite;
  box-shadow: var(--shadow-md);
}

.mk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 20px; }

/* Mahsulot kartasi — hoverda jonli issiq gradient hoshiya */
.mk-card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; cursor: pointer; display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .25s ease;
  opacity: 0; transform: translateY(24px);
}
.mk-card.in { opacity: 1; transform: none; }
.mk-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  background-size: auto, 300% 100%;
  animation: mkGradShift 3.2s linear infinite;
}
.mk-card-img { position: relative; aspect-ratio: 4 / 3.1; background: #f3ecdf; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.mk-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mk-card:hover .mk-card-img img { transform: scale(1.05); }
.mk-card-img .mk-noimg { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #dccdb6; }
.mk-card-img .mk-noimg svg { width: 44px; height: 44px; }

.mk-stock {
  position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px;
  height: 26px; padding: 0 11px; border-radius: 999px; font-size: 11.5px; font-weight: 600;
  background: rgba(255, 253, 249, .93); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm);
}
.mk-stock i { width: 7px; height: 7px; border-radius: 50%; }
.mk-stock.ok { color: var(--green); } .mk-stock.ok i { background: var(--green); }
.mk-stock.order { color: var(--amber); } .mk-stock.order i { background: var(--amber); }

.mk-card-body { padding: 15px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.mk-card-type { font-size: 11.5px; color: var(--muted); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.mk-card-name { font-family: var(--serif); font-size: 16px; font-weight: 700; line-height: 1.3; }
.mk-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; }
.mk-price {
  font-size: 16.5px; font-weight: 800; letter-spacing: -0.01em;
  background: linear-gradient(100deg, var(--g2), var(--g3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mk-price small { display: block; font-size: 11.5px; font-weight: 500; color: var(--muted); -webkit-text-fill-color: var(--muted); }

.mk-add-btn {
  width: 40px; height: 40px; border-radius: 999px;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 5s ease infinite;
  color: #fff; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .3s var(--ease), box-shadow .3s ease;
}
.mk-add-btn svg { width: 17px; height: 17px; }
.mk-add-btn:hover { transform: scale(1.12) rotate(90deg); box-shadow: var(--glow); }
.mk-add-btn.added { background: var(--green); animation: mkPop .45s var(--ease); }

/* Holat ekranlari */
.mk-state { grid-column: 1 / -1; text-align: center; padding: 70px 20px; color: var(--muted); }
.mk-state p { margin-top: 14px; font-size: 14.5px; }
.mk-spinner {
  display: inline-block; width: 32px; height: 32px; border-radius: 50%;
  border: 3px solid var(--line-2); border-top-color: var(--g2);
  animation: mkSpin .8s linear infinite;
}
.mk-state svg { width: 44px; height: 44px; opacity: .4; }

/* ── Footer (to'q jigarrang + jonli gradient) ──────────────────────── */
.mk-footer {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #33210f 0%, #241608 100%);
  color: #f6ead9; padding: 64px 0 28px; scroll-margin-top: 70px;
}
/* Yuqori chiziq — sekin oquvchi gradient */
.mk-footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 2;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 5s linear infinite;
}
/* Fon aurora — iliq gradient dog'lar sekin harakatlanadi (jonli effekt) */
.mk-footer-aurora { position: absolute; inset: -20% -10%; pointer-events: none; filter: blur(72px); z-index: 0; }
.mk-footer-aurora i { position: absolute; display: block; border-radius: 50%; mix-blend-mode: screen; animation: mkAurora 20s ease-in-out infinite; }
.mk-footer-aurora i:nth-child(1) { width: 40vw; height: 40vw; min-width: 320px; min-height: 320px; background: #ff8c42; opacity: .22; top: -34%; left: -6%; }
.mk-footer-aurora i:nth-child(2) { width: 32vw; height: 32vw; min-width: 260px; min-height: 260px; background: #d2691e; opacity: .20; top: -14%; right: -4%; animation-delay: -7s; }
.mk-footer-aurora i:nth-child(3) { width: 24vw; height: 24vw; min-width: 200px; min-height: 200px; background: #ffb37a; opacity: .12; bottom: -24%; left: 38%; animation-delay: -13s; }

.mk-footer-main {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; align-items: start;
}
.mk-footer .mk-brand { color: #f6ead9; }
.mk-footer .mk-muted { color: rgba(246, 234, 217, .6); }
.mk-footer-brandcol .mk-muted { margin-top: 14px; font-size: 14px; max-width: 340px; line-height: 1.65; }
.mk-footer-nav { display: flex; gap: 22px; margin-top: 18px; }
.mk-footer-nav a { position: relative; font-size: 13.5px; font-weight: 600; letter-spacing: .03em; color: rgba(246, 234, 217, .72); transition: color .2s ease; }
.mk-footer-nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: -4px; height: 1.5px; background: var(--grad); background-size: 300% 100%; transition: right .3s var(--ease); }
.mk-footer-nav a:hover { color: #fff; }
.mk-footer-nav a:hover::after { right: 0; animation: mkGradShift 3s linear infinite; }

.mk-footer-title {
  font-family: var(--serif); font-size: 12.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(246, 234, 217, .5); margin-bottom: 16px;
}

/* Platformalar — yuklab olish tugmalari */
.mk-footer-apps { display: flex; flex-direction: column; gap: 12px; }
.mk-dl-btn {
  position: relative; display: flex; align-items: center; gap: 13px;
  padding: 11px 15px; border-radius: 13px; isolation: isolate; overflow: hidden;
  background: rgba(255, 244, 230, .06); border: 1px solid rgba(255, 244, 230, .12);
  transition: transform .3s var(--ease), border-color .3s ease;
}
.mk-dl-btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: 0;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 5s linear infinite;
  transition: opacity .35s ease;
}
.mk-dl-btn:hover { transform: translateY(-2px); border-color: transparent; }
.mk-dl-btn:hover::before { opacity: .18; }
.mk-dl-ic {
  display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 4.5s linear infinite; box-shadow: var(--glow);
}
.mk-dl-ic svg { width: 21px; height: 21px; color: #fff; fill: #fff; }
.mk-dl-txt { display: flex; flex-direction: column; line-height: 1.25; }
.mk-dl-txt b { font-size: 14.5px; font-weight: 700; color: #f9efe1; }
.mk-dl-txt i { font-size: 11.5px; font-style: normal; color: rgba(246, 234, 217, .5); }
/* Hali chiqmagan platforma (iOS) — bosilmaydi */
.mk-dl-soon { cursor: default; opacity: .62; }
.mk-dl-soon:hover { transform: none; border-color: rgba(255, 244, 230, .12); }
.mk-dl-soon:hover::before { opacity: 0; }

/* Aloqa ustuni */
.mk-footer-contact .mk-muted { font-size: 13.5px; }
.mk-footer-phone {
  display: inline-block; margin-top: 6px; font-size: 23px; font-weight: 800; letter-spacing: -0.01em;
  background: linear-gradient(100deg, #ffd9b0, #ffb37a, #ff8c42); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: mkGradShift 6s ease infinite;
}

/* Boshqaruv paneli tugmasi (xodimlar uchun) — jonli gradient */
.mk-panel-btn {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 22px;
  padding: 11px 21px; border-radius: 999px; font-size: 13.5px; font-weight: 700; letter-spacing: .02em; color: #fff;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 5s linear infinite;
  box-shadow: var(--glow); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.mk-panel-btn svg { width: 16px; height: 16px; }
.mk-panel-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(210, 105, 30, .7); }

.mk-copy {
  position: relative; z-index: 1; text-align: center; font-size: 12.5px; color: rgba(246, 234, 217, .45);
  margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(246, 234, 217, .09);
}

/* ── Savat (yon panel) ─────────────────────────────────────── */
.mk-backdrop {
  position: fixed; inset: 0; z-index: 200; background: rgba(47, 32, 19, 0.4);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
  opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.mk-backdrop.open { opacity: 1; pointer-events: auto; }

.mk-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 210;
  width: min(420px, 100vw); background: var(--surface);
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  transform: translateX(105%); transition: transform .5s var(--ease);
}
.mk-drawer.open { transform: none; }
.mk-drawer-head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.mk-drawer-head::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 5s linear infinite;
}
.mk-drawer-head h3 { font-family: var(--serif); font-size: 20px; font-weight: 700; }
.mk-icon-btn {
  width: 38px; height: 38px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); transition: all .25s var(--ease);
}
.mk-icon-btn svg { width: 16px; height: 16px; }
.mk-icon-btn:hover { border-color: var(--g2); color: var(--g2); transform: rotate(90deg); }

.mk-drawer-body { flex: 1; overflow-y: auto; padding: 14px 22px; }
.mk-cart-empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.mk-cart-empty svg { width: 46px; height: 46px; opacity: .35; margin: 0 auto 12px; }

.mk-cart-item { display: flex; gap: 13px; padding: 13px 0; border-bottom: 1px solid var(--line); animation: mkUp .4s var(--ease) both; }
.mk-cart-item:last-child { border-bottom: 0; }
.mk-cart-thumb { width: 64px; height: 64px; border-radius: 10px; background: #f3ecdf; overflow: hidden; flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: #dccdb6; }
.mk-cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-cart-thumb svg { width: 22px; height: 22px; }
.mk-cart-info { flex: 1; min-width: 0; }
.mk-cart-info b { display: block; font-size: 14px; line-height: 1.3; }
.mk-cart-info .mk-cart-price { font-size: 13px; color: var(--muted); margin-top: 2px; }
.mk-cart-row { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; }

.mk-qty { display: inline-flex; align-items: center; gap: 2px; border: 1px solid var(--line-2); border-radius: 999px; height: 32px; }
.mk-qty button { width: 30px; height: 30px; border-radius: 999px; font-size: 16px; color: var(--ink-2); transition: background .2s ease, color .2s ease; display: inline-flex; align-items: center; justify-content: center; }
.mk-qty button:hover { background: #f3ecdf; color: var(--g2); }
.mk-qty span { min-width: 26px; text-align: center; font-size: 13.5px; font-weight: 700; }

.mk-remove { font-size: 12.5px; color: var(--muted); transition: color .2s ease; }
.mk-remove:hover { color: #c2410c; }

.mk-drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); }
.mk-total-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 6px; }
.mk-total-row span { font-size: 14px; color: var(--muted); }
.mk-total-row b { font-size: 19px; font-weight: 800; }
.mk-drawer-foot .mk-btn { width: 100%; justify-content: center; margin-top: 12px; }

/* ── Modallar ──────────────────────────────────────────────── */
/* z-index 340: to'liq ekran sahifalardan (.mk-page = 320) YUQORIDA turishi shart —
   aks holda mahsulot yoki profil sahifasidan ochilgan kirish/ulashish oynasi
   ularning ostida qolib ko'rinmay qoladi. */
.mk-modal { position: fixed; inset: 0; z-index: 340; display: flex; align-items: center; justify-content: center; padding: 18px; visibility: hidden; }
.mk-modal.open { visibility: visible; }
.mk-modal-backdrop {
  position: absolute; inset: 0; background: rgba(47, 32, 19, 0.45);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .35s ease;
}
.mk-modal.open .mk-modal-backdrop { opacity: 1; }
.mk-modal-card {
  position: relative; background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg);
  width: 100%; max-height: calc(100vh - 36px); max-height: calc(100dvh - 36px); overflow-y: auto;
  opacity: 0; transform: translateY(26px) scale(.97);
  transition: opacity .4s var(--ease), transform .45s var(--ease);
}
.mk-modal.open .mk-modal-card { opacity: 1; transform: none; }

/* ════════════════════════════════════════════════════════════
   MAHSULOT SAHIFASI (to'liq ekran)
   ════════════════════════════════════════════════════════════ */
.mk-page {
  position: fixed; inset: 0; z-index: 320; background: var(--bg);
  overflow-y: auto; overflow-x: hidden;
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .3s;
}
.mk-page.open { opacity: 1; visibility: visible; transform: none; }

.mk-page-bar {
  position: sticky; top: 0; z-index: 6;
  display: flex; align-items: center; gap: 12px;
  padding: 10px clamp(14px, 4vw, 40px);
  background: rgba(255, 253, 249, .92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.mk-page-back {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0;
  height: 38px; padding: 0 14px 0 9px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.mk-page-back:hover { background: #f3ecdf; color: var(--g3); border-color: var(--g2); }
.mk-page-back svg { width: 17px; height: 17px; }
.mk-page-title {
  flex: 1; min-width: 0; font-family: var(--serif); font-size: 16px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--ink);
}
.mk-page-cart { flex-shrink: 0; }

.mk-page-body { padding: clamp(16px, 3vw, 34px) clamp(14px, 4vw, 40px) 60px; }

.mk-pd {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(20px, 3.4vw, 46px); align-items: start;
}

/* ── Galereya ── */
.mk-pd-media { position: sticky; top: 74px; }
.mk-pd-main {
  position: relative; border-radius: 18px; overflow: hidden;
  background: #f3ecdf; box-shadow: var(--shadow-md);
}
.mk-pd-img { display: block; width: 100%; aspect-ratio: 1 / 0.86; object-fit: cover; }
.mk-pd-main .mk-noimg {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 1 / 0.86; color: #dccdb6;
}
.mk-pd-main .mk-noimg svg { width: 64px; height: 64px; }
.mk-pd-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255, 253, 249, .92); box-shadow: var(--shadow-sm);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ink-2); opacity: 0; transition: opacity .25s ease, background .2s ease;
}
.mk-pd-main:hover .mk-pd-nav, .mk-pd-nav:focus-visible { opacity: 1; }
.mk-pd-nav:hover { background: #fff; color: var(--g2); }
.mk-pd-nav svg { width: 20px; height: 20px; }
.mk-pd-nav.prev { left: 12px; }
.mk-pd-nav.next { right: 12px; }
.mk-pd-counter {
  position: absolute; right: 12px; bottom: 12px;
  background: rgba(47, 32, 19, .62); color: #fff;
  font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px;
}
.mk-thumbs { display: flex; gap: 8px; padding: 12px 0 0; overflow-x: auto; }
.mk-thumbs img {
  width: 64px; height: 64px; border-radius: 12px; object-fit: cover; cursor: pointer;
  border: 2px solid transparent; opacity: .72; transition: all .25s ease; flex-shrink: 0;
}
.mk-thumbs img.active, .mk-thumbs img:hover { opacity: 1; border-color: var(--g2); }

/* ── Ma'lumot ustuni ── */
.mk-pd-info { min-width: 0; }
.mk-pd-info h1 {
  font-family: var(--serif); font-size: clamp(23px, 3vw, 33px);
  font-weight: 700; letter-spacing: -0.015em; line-height: 1.18; margin-top: 6px;
}
.mk-pd-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.mk-pd-meta .mk-stock { position: static; background: #f3ecdf; }
.mk-set-badge.static { position: static; }
.mk-pd-price {
  margin-top: 16px; font-size: clamp(25px, 3.4vw, 32px); font-weight: 800; letter-spacing: -0.015em;
  background: linear-gradient(100deg, var(--g2), var(--g3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mk-pd-price small { display: block; font-size: 13.5px; font-weight: 500; color: var(--muted); -webkit-text-fill-color: var(--muted); }

.mk-pd-block { margin-top: 24px; }
.mk-pd-block h4 {
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-bottom: 10px;
}
.mk-pd-label { font-size: 13.5px; color: var(--ink-2); margin-bottom: 10px; }
.mk-pd-label b { color: var(--ink); font-weight: 700; }

/* Rang tanlash */
.mk-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.mk-swatch {
  position: relative; width: 78px; padding: 5px 5px 6px; border-radius: 14px;
  border: 2px solid var(--line); background: var(--surface); cursor: pointer;
  transition: border-color .2s ease, box-shadow .25s ease, transform .2s ease;
}
.mk-swatch img, .mk-swatch-fill {
  display: block; width: 100%; aspect-ratio: 1; border-radius: 10px; object-fit: cover;
  border: 1px solid rgba(0, 0, 0, .06);
}
.mk-swatch-name {
  display: block; margin-top: 5px; font-size: 11px; font-weight: 600; color: var(--ink-2);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-align: center;
}
.mk-swatch:hover { border-color: var(--line-2); transform: translateY(-2px); }
.mk-swatch.active { border-color: var(--g2); box-shadow: var(--glow); }
.mk-swatch.out img, .mk-swatch.out .mk-swatch-fill { opacity: .45; }
.mk-swatch.out .mk-swatch-name::after { content: ' · yo\'q'; color: var(--muted); font-weight: 500; }

/* Xarid qatori */
.mk-pd-buy { display: flex; align-items: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.mk-pd-buy .mk-qty { height: 48px; border-radius: 999px; }
.mk-pd-buy .mk-qty button { width: 42px; height: 42px; }
.mk-pd-buy .mk-qty span { min-width: 30px; font-size: 15px; }
.mk-pd-add { height: 48px; flex: 1; min-width: 190px; justify-content: center; }

/* Xususiyatlar jadvali */
.mk-pd-props { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.mk-pd-props > div { display: flex; gap: 12px; background: var(--surface); padding: 9px 13px; font-size: 13.5px; }
.mk-pd-props dt { color: var(--muted); flex: 0 0 42%; }
.mk-pd-props dd { color: var(--ink); font-weight: 600; min-width: 0; }

/* Kartadagi rang nuqtalari */
.mk-card-colors { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 11.5px; color: var(--muted); }
.mk-card-colors i { width: 12px; height: 12px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.mk-card-colors b { font-size: 11px; font-weight: 700; color: var(--ink-2); }
.mk-card-colors span { margin-left: 3px; }

.mk-modal-close {
  position: absolute; top: 14px; right: 14px; z-index: 5;
  background: rgba(255, 253, 249, .93); box-shadow: var(--shadow-sm);
}

/* Buyurtma (checkout) oynasi */
.mk-checkout-card { max-width: 470px; padding: clamp(22px, 4vw, 32px); }
.mk-checkout-card h3 { font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: -0.01em; }
.mk-checkout-sub { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.mk-summary { margin: 18px 0; border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px; font-size: 13.5px; background: #fbf6ec; }
.mk-summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; }
.mk-summary-row span { color: var(--ink-2); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-summary-row b { white-space: nowrap; }
.mk-summary-total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 9px; font-weight: 700; }

.mk-field { margin-bottom: 14px; }
.mk-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; }
.mk-field label i { color: var(--g2); font-style: normal; }
.mk-input {
  width: 100%; height: 48px; border: 1px solid var(--line-2); border-radius: 12px;
  padding: 0 15px; font-size: 15px; outline: 0; background: var(--surface);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.mk-input:focus { border-color: var(--g2); box-shadow: 0 0 0 4px rgba(210, 105, 30, .13); }
textarea.mk-input { height: auto; min-height: 74px; padding: 11px 15px; resize: vertical; }
.mk-error { display: none; font-size: 13px; color: #b91c1c; margin-top: 10px; }
.mk-error.show { display: block; animation: mkUp .3s var(--ease); }
.mk-checkout-card .mk-btn { width: 100%; justify-content: center; margin-top: 6px; }

/* Muvaffaqiyat ekrani */
.mk-success { text-align: center; padding: 14px 4px 6px; }
.mk-success-ring {
  width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--grad); background-size: 300% 100%; animation: mkPop .6s var(--ease), mkGradShift 4s linear infinite;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--glow);
}
.mk-success-ring svg { width: 38px; height: 38px; color: #fff; }
.mk-success-ring path, .mk-success-ring polyline { stroke-dasharray: 48; animation: mkDraw .7s .25s var(--ease) both; }
.mk-success h3 { font-family: var(--serif); margin-bottom: 8px; }
.mk-success p { font-size: 14px; color: var(--ink-2); }
.mk-order-code {
  display: inline-block; margin: 16px 0 4px; padding: 10px 20px; border-radius: 999px;
  border: 1px dashed var(--line-2); background: #fbf6ec;
  font-weight: 800; letter-spacing: .06em; font-size: 15px;
  color: var(--g3);
}

/* Mijoz tartib raqami — buyurtma kodidan ustunroq ko'rinadi */
.mk-order-no {
  display: inline-block; margin: 18px 0 0; padding: 8px 18px; border-radius: 999px;
  background: #14301f; color: #d9f2e2; font-size: 14px; font-weight: 600;
}
.mk-order-no b { font-weight: 800; letter-spacing: .04em; }

/* ════════════════════════════════════════════════════════════
   BAHO (YULDUZLAR) · "BU HAFTA SOTIB OLINDI" · MIJOZLAR FIKRI
   ════════════════════════════════════════════════════════════ */

/* Yulduzlar: kulrang qatlam ustiga bahoga mos kenglikda tilla qatlam —
   yarim bahollar (4.5) ham to'g'ri ko'rinadi */
.mk-stars { position: relative; display: inline-block; line-height: 0; white-space: nowrap; flex-shrink: 0; }
.mk-stars-bg, .mk-stars-fg { display: block; white-space: nowrap; }
.mk-stars svg { width: 13px; height: 13px; display: inline-block; vertical-align: middle; }
.mk-stars-bg { color: #d5c4a6; }
.mk-stars-fg {
  position: absolute; left: 0; top: 0; overflow: hidden;
  color: var(--star); pointer-events: none;
}
.mk-stars.sm svg { width: 12px; height: 12px; }
.mk-stars.lg svg { width: 19px; height: 19px; }

/* Kartadagi baho qatori */
.mk-rate { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12px; }
.mk-rate b { font-weight: 700; color: var(--ink); }
.mk-rate i { font-style: normal; color: var(--muted); }

/* "Bu hafta N ta sotib olindi" — issiq, ko'zga tashlanadigan yozuv */
.mk-week {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 7px;
  align-self: flex-start; max-width: 100%;
  padding: 3px 9px 3px 7px; border-radius: 999px;
  background: linear-gradient(100deg, rgba(255, 140, 66, .16), rgba(210, 105, 30, .13));
  border: 1px solid rgba(210, 105, 30, .22);
  font-size: 11.5px; font-weight: 600; color: var(--g3); line-height: 1.35;
}
/* Tor kartada matn ikki qatorga o'tadi — kesilib qolmaydi */
.mk-week > span { min-width: 0; }
.mk-week svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--g1); }
.mk-week b { font-weight: 800; }
.mk-week.big { margin-top: 0; min-height: 26px; padding: 2px 12px 2px 9px; font-size: 12px; }

/* Mahsulot sahifasi: sarlavha ostidagi baho (bosilsa sharhlarga o'tadi) */
.mk-pd-rate {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 9px;
  font-size: 13px; color: var(--ink-2); cursor: pointer;
  border-bottom: 1px dashed transparent; transition: border-color .2s ease, color .2s ease;
}
.mk-pd-rate:hover { color: var(--g3); border-color: var(--line-2); }
.mk-pd-rate b { font-size: 14.5px; font-weight: 800; color: var(--ink); }
/* DIQQAT: bu qoidalar faqat izoh matniga tegishli. Oddiy "span" bo'lsa
   yulduzlar qatlamlari (.mk-stars-*) ham shu rangni olib, tilla rang
   yo'qolib qolardi. */
.mk-pd-rate .mk-rate-cap { color: var(--muted); }
.mk-pd-rate.empty .mk-rate-cap { color: var(--g2); font-weight: 600; }

/* ── Ikki ustun ostidagi keng bo'limlar (sharhlar, tavsiyalar) ── */
.mk-pd-wide { max-width: 1180px; margin: 0 auto; }
.mk-pd-wide:not(:empty) { margin-top: clamp(34px, 4vw, 54px); }
.mk-wide-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.mk-wide-head h3 { font-family: var(--serif); font-size: clamp(19px, 2.2vw, 24px); font-weight: 700; letter-spacing: -0.01em; }
.mk-wide-head p { font-size: 13.5px; }

/* Boshqa mahsulotlar — katalogdagi kabi setka: yonga emas, PASTGA suriladi */
.mk-rel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(235px, 1fr)); gap: 20px; }

/* ── Umumiy baho + yulduzlar taqsimoti ── */
.mk-rev-sum {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(18px, 3vw, 40px);
  align-items: center; padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.mk-rev-avg { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.mk-rev-avg b {
  font-family: var(--serif); font-size: 42px; font-weight: 700; line-height: 1;
  background: linear-gradient(100deg, var(--g2), var(--g3));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mk-rev-avg .mk-rate-cap { font-size: 12px; color: var(--muted); }
.mk-rev-bars { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.mk-rev-bar { display: flex; align-items: center; gap: 9px; font-size: 12px; color: var(--muted); }
.mk-rev-bar span { width: 26px; flex-shrink: 0; font-weight: 600; }
.mk-rev-bar i { flex: 1; height: 7px; border-radius: 999px; background: var(--line); overflow: hidden; }
.mk-rev-bar i b {
  display: block; height: 100%; border-radius: 999px; min-width: 0;
  background: linear-gradient(90deg, var(--g1), var(--g2));
  transition: width .6s var(--ease);
}
.mk-rev-bar u { width: 24px; text-align: right; flex-shrink: 0; text-decoration: none; font-variant-numeric: tabular-nums; }
.mk-rev-empty { font-size: 14px; padding: 4px 0 2px; }

/* ── Sharhlar ro'yxati + forma ── */
.mk-rev-wrap {
  display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px); align-items: start; margin-top: 22px;
}
.mk-rev-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.mk-rev {
  display: flex; gap: 12px; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
}
.mk-rev.own { border-color: var(--line-2); background: #fbf6ec; }
.mk-rev-ava {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--g1), var(--g3));
  color: #fff; font-weight: 700; font-size: 16px; font-family: var(--serif);
}
.mk-rev-body { min-width: 0; flex: 1; }
.mk-rev-top { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.mk-rev-top b { font-size: 14px; font-weight: 700; }
.mk-rev-top time { font-size: 11.5px; color: var(--muted); margin-left: auto; flex-shrink: 0; }
.mk-rev-you {
  font-size: 10.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--g3); background: rgba(210, 105, 30, .13); padding: 2px 7px; border-radius: 999px;
}
.mk-rev-body p { margin-top: 6px; font-size: 13.5px; color: var(--ink-2); overflow-wrap: break-word; }

.mk-rev-form {
  padding: clamp(16px, 2.4vw, 22px); border: 1px solid var(--line);
  border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm);
}
.mk-rev-form h4 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.mk-rev-form .mk-pd-label { margin-bottom: 7px; }
.mk-rev-form .mk-btn { width: 100%; justify-content: center; margin-top: 4px; }

/* Baho tanlash: kursor bilan ustidagilar yonadi */
.mk-star-pick { display: flex; align-items: center; gap: 4px; margin-bottom: 16px; }
.mk-star-pick button {
  width: 34px; height: 34px; border-radius: 9px; color: #d5c4a6;
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .18s var(--ease), color .18s ease;
}
.mk-star-pick button svg { width: 25px; height: 25px; }
.mk-star-pick button.on { color: var(--star); }
.mk-star-pick:hover button { color: var(--star); }
.mk-star-pick button:hover ~ button { color: #d5c4a6; }
.mk-star-pick button:hover { transform: scale(1.18); }
.mk-star-word { margin-left: 8px; font-size: 13px; font-weight: 700; color: var(--g3); }

.mk-rev-done {
  display: flex; align-items: center; gap: 9px; padding: 15px 17px;
  border: 1px solid rgba(46, 125, 50, .3); border-radius: 14px;
  background: rgba(46, 125, 50, .07); color: var(--green);
  font-size: 14px; font-weight: 600;
}
.mk-rev-done svg { width: 19px; height: 19px; flex-shrink: 0; }

.mk-link { color: var(--g2); font-weight: 600; text-decoration: underline; }

/* Mahsulot sahifasi oxiridagi footer — .mk-page-body ichki bo'shlig'idan
   chetga chiqib to'liq enni egallaydi (bosh sahifadagi footer kabi) */
.mk-pd-footer {
  margin: clamp(40px, 5vw, 64px) calc(-1 * clamp(14px, 4vw, 40px)) -60px;
}
.mk-pd-footer .mk-footer { margin: 0; }

/* ════════════════════════════════════════════════════════════
   MIJOZ HISOBI: kirish, profil, istaklar, ulashish
   ════════════════════════════════════════════════════════════ */
.mk-header-actions { display: flex; align-items: center; gap: 8px; }
.mk-profile-btn.authed { border-color: var(--g2); color: var(--g3); }
.mk-profile-btn.authed svg { color: var(--g2); }

/* ── Kartadagi ♥ va ulashish tugmalari ── */
.mk-card-tools {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(6px);
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.mk-card:hover .mk-card-tools, .mk-card:focus-within .mk-card-tools { opacity: 1; transform: none; }
.mk-card-tools .mk-wish.on { opacity: 1; transform: none; }
.mk-wish, .mk-share-ico {
  width: 32px; height: 32px; border-radius: 999px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 253, 249, .94); color: var(--ink-2);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .2s var(--ease), color .2s ease, background .2s ease;
}
.mk-wish svg, .mk-share-ico svg { width: 17px; height: 17px; }
.mk-wish:hover, .mk-share-ico:hover { transform: scale(1.12); color: var(--g2); }
.mk-wish.on { color: #dc2626; }
.mk-wish.on svg { fill: #dc2626; stroke: #dc2626; }
/* Saqlangan bo'lsa yurak doim ko'rinib tursin (hoversiz ham) */
.mk-card-tools:has(.mk-wish.on) { opacity: 1; transform: none; }
@media (hover: none) { .mk-card-tools { opacity: 1; transform: none; } }

/* Mahsulot sahifasidagi katta tugmalar */
.mk-pd-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.mk-tool-btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2);
  transition: all .22s var(--ease);
}
.mk-tool-btn svg { width: 17px; height: 17px; }
.mk-tool-btn:hover { border-color: var(--g2); color: var(--g3); transform: translateY(-1px); }
.mk-tool-btn.mk-wish { width: auto; height: 40px; border-radius: 999px; background: var(--surface); box-shadow: none; }
.mk-tool-btn.mk-wish.on { border-color: #f0a3a3; background: #fdf2f2; color: #b91c1c; }
.mk-tool-btn.mk-wish.on svg { fill: #dc2626; stroke: #dc2626; }

/* ── Kirish oynasi ── */
.mk-auth-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.mk-auth-ic {
  width: 44px; height: 44px; border-radius: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad); background-size: 300% 100%; animation: mkGradShift 5s ease infinite;
  color: #fff;
}
.mk-auth-ic svg { width: 22px; height: 22px; }
.mk-auth-steps { display: flex; gap: 6px; }
.mk-auth-steps i { width: 22px; height: 4px; border-radius: 999px; background: var(--line); }
.mk-auth-steps i.on { background: var(--g2); width: 30px; }
.mk-auth-steps i.done { background: var(--g3); }
.mk-auth-note { margin-top: 12px; font-size: 12px; color: var(--muted); text-align: center; }
.mk-auth-foot { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.mk-auth-foot .mk-link:disabled { color: var(--muted); text-decoration: none; cursor: default; }
.mk-code-input { text-align: center; letter-spacing: .55em; font-size: 24px; font-weight: 800; padding-left: 12px; }
.mk-demo-code {
  margin-top: 14px; padding: 12px; border-radius: 14px; text-align: center;
  border: 1px dashed var(--line-2); background: #fbf6ec;
}
.mk-demo-code span { display: block; font-size: 11.5px; color: var(--amber); font-weight: 600; }
.mk-demo-code b { display: block; margin-top: 4px; font-size: 27px; font-weight: 800; letter-spacing: .22em; color: var(--g3); }

/* ── Ulashish oynasi ── */
.mk-share-list { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.mk-share-btn {
  display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface);
  font-size: 14.5px; font-weight: 600; transition: all .22s var(--ease);
}
.mk-share-btn:hover { border-color: var(--g2); background: #fbf6ec; transform: translateY(-1px); }
.mk-share-ic {
  width: 34px; height: 34px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--g1), var(--g3)); color: #fff;
}
.mk-share-ic svg { width: 18px; height: 18px; }

/* ── Profil sahifasi ── */
.mk-profile {
  max-width: 1180px; margin: 0 auto;
  display: grid; grid-template-columns: 258px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px); align-items: start;
}
/* min-width:0 — busiz grid ustuni ichki tarkib (bo'limlar qatori) eniga
   cho'zilib, sahifa yon tomonga chiqib ketadi */
.mk-profile-side { position: sticky; top: 74px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.mk-profile-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 20px 16px; border: 1px solid var(--line); border-radius: 16px;
  background: var(--surface); box-shadow: var(--shadow-sm); text-align: center;
}
.mk-profile-ava {
  width: 60px; height: 60px; border-radius: 50%; margin-bottom: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, var(--g1), var(--g3));
  color: #fff; font-family: var(--serif); font-size: 26px; font-weight: 700;
}
.mk-profile-card b { font-size: 15.5px; }
.mk-profile-card span { font-size: 13px; }

.mk-ptabs { display: flex; flex-direction: column; gap: 3px; }
.mk-ptab {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 11px 13px; border-radius: 12px; text-align: left;
  font-size: 14px; font-weight: 600; color: var(--ink-2);
  transition: background .18s ease, color .18s ease;
}
.mk-ptab svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--muted); }
.mk-ptab span { flex: 1; min-width: 0; }
.mk-ptab b {
  min-width: 22px; height: 20px; padding: 0 6px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11.5px; font-weight: 700; background: var(--line); color: var(--muted);
}
.mk-ptab:hover { background: #f3ecdf; }
.mk-ptab.active { background: linear-gradient(100deg, var(--g2), var(--g3)); color: #fff; }
.mk-ptab.active svg { color: #fff; }
.mk-ptab.active b { background: rgba(255,255,255,.24); color: #fff; }

.mk-logout {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; border-radius: 12px; border: 1px solid var(--line-2);
  font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--surface);
  transition: all .2s ease;
}
.mk-logout svg { width: 17px; height: 17px; }
.mk-logout:hover { border-color: #dc2626; color: #b91c1c; background: #fdf2f2; }

.mk-profile-main { min-width: 0; }
.mk-pempty {
  text-align: center; padding: 46px 20px; color: var(--muted);
  border: 1px dashed var(--line-2); border-radius: 16px; background: var(--surface);
}
.mk-pempty svg { width: 44px; height: 44px; opacity: .45; margin-bottom: 12px; }
.mk-pempty p { font-size: 14.5px; max-width: 380px; margin: 0 auto 16px; }

/* Buyurtma kartasi */
.mk-porder {
  border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  padding: 15px 17px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.mk-porder-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.mk-porder-top b { font-size: 14px; font-weight: 800; letter-spacing: .03em; color: var(--g3); }
.mk-porder-top time { margin-left: auto; font-size: 12px; color: var(--muted); }
.mk-ostatus { font-size: 11.5px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.mk-ostatus.new { background: rgba(180,83,9,.12); color: var(--amber); }
.mk-ostatus.ok { background: rgba(210,105,30,.14); color: var(--g3); }
.mk-ostatus.done { background: rgba(46,125,50,.12); color: var(--green); }
.mk-ostatus.bad { background: rgba(185,28,28,.1); color: #b91c1c; }

.mk-porder-items { display: flex; flex-direction: column; gap: 9px; }
.mk-porder-item { display: flex; align-items: center; gap: 11px; cursor: pointer; border-radius: 10px; padding: 4px; transition: background .18s ease; }
.mk-porder-item:hover { background: #fbf6ec; }
.mk-porder-thumb {
  width: 46px; height: 46px; border-radius: 10px; overflow: hidden; flex-shrink: 0;
  background: #f3ecdf; display: inline-flex; align-items: center; justify-content: center;
}
.mk-porder-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mk-porder-info { display: flex; flex-direction: column; min-width: 0; font-size: 13px; }
.mk-porder-info b { font-size: 14px; font-weight: 650; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-porder-foot {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 12px; padding-top: 11px; border-top: 1px solid var(--line);
  font-size: 13.5px; color: var(--muted);
}
.mk-porder-foot b { font-size: 16px; font-weight: 800; color: var(--ink); }

/* Sharh kutayotgan mahsulotlar */
.mk-pending {
  border: 1px solid rgba(210,105,30,.25); border-radius: 16px;
  background: linear-gradient(100deg, rgba(255,140,66,.08), rgba(210,105,30,.05));
  padding: 15px 17px; margin-bottom: 16px;
}
.mk-pending h4 { font-family: var(--serif); font-size: 17px; font-weight: 700; }
.mk-pending p { font-size: 13px; margin: 3px 0 11px; }
.mk-pending-row {
  display: flex; align-items: center; gap: 11px; width: 100%; text-align: left;
  padding: 8px; border-radius: 12px; background: var(--surface);
  border: 1px solid var(--line); margin-bottom: 7px; transition: all .2s var(--ease);
}
.mk-pending-row:hover { border-color: var(--g2); transform: translateX(2px); }
.mk-pending-row b { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-pending-cta { font-size: 12.5px; font-weight: 700; color: var(--g2); white-space: nowrap; }

.mk-rev-acts { display: flex; gap: 14px; margin-top: 8px; }
.mk-rev-acts .mk-link { font-size: 12.5px; }
.mk-link.danger { color: #b91c1c; }
.mk-rev-prod { cursor: pointer; }
.mk-rev-prod:hover { color: var(--g2); }

/* Sharh eshigi (kirmagan / sotib olmagan mijoz) */
.mk-rev-gate {
  padding: clamp(16px, 2.4vw, 22px); border: 1px dashed var(--line-2);
  border-radius: 16px; background: #fbf6ec; text-align: center;
}
.mk-rev-gate h4 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: 7px; }
.mk-rev-gate p { font-size: 13.5px; color: var(--ink-2); margin-bottom: 14px; }
.mk-rev-gate .mk-btn { width: 100%; justify-content: center; }

/* Promokodlar */
.mk-promos { display: flex; flex-direction: column; gap: 11px; }
.mk-promo {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 18px; border-radius: 16px; border: 1px dashed var(--line-2);
  background: linear-gradient(100deg, rgba(255,140,66,.09), rgba(139,69,19,.05));
}
.mk-promo-left b { display: block; font-size: 19px; font-weight: 800; letter-spacing: .09em; color: var(--g3); }
.mk-promo-left span { font-size: 13px; color: var(--ink-2); }
.mk-promo-right { text-align: right; }
.mk-promo-right b { display: block; font-size: 20px; font-weight: 800; color: var(--g2); }
.mk-promo-right span { font-size: 11.5px; color: var(--muted); }

/* Manzil formasi va yordam */
.mk-addr-form, .mk-support {
  padding: clamp(16px, 2.4vw, 22px); border: 1px solid var(--line);
  border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-sm);
}
.mk-addr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mk-addr-form .mk-btn, .mk-support .mk-btn { width: 100%; justify-content: center; }
.mk-support-call {
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: #fbf6ec; transition: all .2s var(--ease);
}
.mk-support-call:hover { border-color: var(--g2); transform: translateY(-1px); }
.mk-support-call svg { width: 22px; height: 22px; color: var(--g2); flex-shrink: 0; }
.mk-support-call b { display: block; font-size: 16.5px; font-weight: 800; }
.mk-support-call i { font-style: normal; font-size: 12.5px; color: var(--muted); }

/* ── Toast ─────────────────────────────────────────────────── */
.mk-toast {
  position: fixed; bottom: 26px; left: 50%; z-index: 400;
  transform: translate(-50%, 80px); opacity: 0;
  background: #2f2013; color: #f6ead9; font-size: 14px; font-weight: 500;
  padding: 13px 22px; border-radius: 999px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(210, 105, 30, .55);
  transition: transform .45s var(--ease), opacity .35s ease;
  pointer-events: none; max-width: calc(100vw - 40px); text-align: center;
}
.mk-toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ── Mobil moslashuv ───────────────────────────────────────── */
@media (max-width: 900px) {
  .mk-hero { padding-top: 110px; min-height: auto; }
  .mk-marquee { padding: 40px 0 32px; }
  .mk-pd { grid-template-columns: 1fr; gap: 22px; }
  .mk-pd-media { position: static; }
  .mk-pd-img { aspect-ratio: 4 / 3; }
  .mk-pd-nav { opacity: 1; }
  .mk-catalog { padding-top: 44px; }
  .mk-footer-main { grid-template-columns: 1fr 1fr; gap: 34px 40px; }
  .mk-footer-brandcol { grid-column: 1 / -1; }

  /* Sharhlar: ro'yxat va forma ustma-ust */
  .mk-rev-wrap { grid-template-columns: 1fr; }

  /* Profil: yon panel tepada, bo'limlar gorizontal suriladi.
     minmax(0,1fr) — ustun tarkibdan kichik bo'la olsin (aks holda
     bo'limlar qatori butun sahifani kengaytirib yuboradi) */
  .mk-profile { grid-template-columns: minmax(0, 1fr); }
  .mk-profile-side { position: static; }
  .mk-ptabs {
    flex-direction: row; overflow-x: auto; gap: 7px; padding-bottom: 4px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .mk-ptabs::-webkit-scrollbar { display: none; }
  .mk-ptab { flex-shrink: 0; width: auto; padding: 9px 14px; }
  .mk-ptab span { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  /* Header: logo + bo'lim havolalari + savat — hammasi sig'adi */
  .mk-header-inner { height: 58px; gap: 10px; }
  .mk-brand span { display: none; }
  .mk-nav { gap: 14px; }
  .mk-nav a { font-size: 12.5px; letter-spacing: 0; }
  .mk-cart-btn span { display: none; }
  .mk-cart-btn { height: 38px; padding: 0 12px; }

  /* Profil tugmasi telefonda faqat ikonka */
  .mk-header-actions { gap: 6px; }
  .mk-profile-btn { padding: 0 11px; }
  .mk-profile-btn span { display: none; }
  .mk-addr-row { grid-template-columns: 1fr; gap: 0; }
  .mk-promo { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mk-promo-right { text-align: left; }
  .mk-profile-card { flex-direction: row; text-align: left; gap: 12px; padding: 14px; }
  .mk-profile-ava { width: 46px; height: 46px; font-size: 20px; margin: 0; }

  .mk-hero { padding-top: 92px; }
  .mk-hero-sub { font-size: 14.5px; padding: 0 4px; }
  .mk-hero-cta { margin-top: 26px; gap: 12px; }
  .mk-btn { height: 50px; padding: 0 24px; font-size: 14.5px; }
  .mk-marquee { padding: 32px 0 26px; }
  .mk-hero-card { width: 180px; }
  .mk-hero-card img { height: 118px; }
  .mk-hero-card b { font-size: 12.5px; }

  .mk-catalog { padding: 36px 0 64px; }
  .mk-catalog-head { flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
  .mk-toolbar { gap: 10px; margin-bottom: 20px; }
  .mk-search { flex: 1 1 100%; height: 44px; }
  .mk-segment { width: 100%; }
  .mk-seg { height: 36px; padding: 0 13px; font-size: 12.5px; }
  .mk-part-price { font-size: 12.5px; }

  /* Mahsulot sahifasi — telefon */
  .mk-page-bar { padding: 8px 12px; gap: 8px; }
  .mk-page-back span { display: none; }
  .mk-page-back { padding: 0 10px; }
  .mk-page-title { font-size: 14.5px; }
  .mk-page-body { padding: 14px 14px 40px; }
  .mk-pd-main { border-radius: 14px; }
  .mk-thumbs img { width: 56px; height: 56px; }
  .mk-swatch { width: 68px; }
  /* Xarid qatori pastda yopishib turadi — tugma doim ko'rinadi */
  .mk-pd-buy {
    position: sticky; bottom: 0; z-index: 5;
    margin: 20px -14px 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 253, 249, .95);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .mk-pd-props dt { flex-basis: 46%; }

  .mk-chips { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .mk-chips::-webkit-scrollbar { display: none; }
  .mk-chip { height: 36px; padding: 0 15px; font-size: 13px; flex-shrink: 0; }

  .mk-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }
  .mk-card-body { padding: 12px 12px 13px; }
  .mk-card-name { font-size: 14.5px; }
  .mk-price { font-size: 14.5px; }
  .mk-price small { font-size: 10.5px; }
  .mk-add-btn { width: 36px; height: 36px; }
  .mk-add-btn svg { width: 15px; height: 15px; }
  .mk-stock { height: 24px; padding: 0 9px; font-size: 10.5px; top: 8px; left: 8px; }

  /* Baho / "bu hafta" yozuvi — ikki ustunli setkada ham sig'adi */
  .mk-week { font-size: 10.5px; padding: 3px 8px 3px 6px; margin-top: 6px; }
  .mk-week svg { width: 12px; height: 12px; }
  .mk-rate { font-size: 11.5px; gap: 5px; }
  .mk-stars svg { width: 12px; height: 12px; }

  /* Sharhlar bo'limi */
  .mk-rev-sum { grid-template-columns: 1fr; gap: 16px; text-align: center; }
  .mk-rev-avg { flex-direction: row; align-items: baseline; justify-content: center; gap: 9px; flex-wrap: wrap; }
  .mk-rev-avg b { font-size: 34px; }
  .mk-rev-avg .mk-rate-cap { flex: 1 1 100%; }
  .mk-rev-bar { text-align: left; }
  .mk-rev { padding: 12px 13px; gap: 10px; }
  .mk-rev-ava { width: 34px; height: 34px; font-size: 15px; }
  .mk-rev-top time { margin-left: 0; }
  .mk-rev-form { padding: 16px 14px; }
  .mk-star-pick button { width: 38px; height: 38px; }
  .mk-star-pick button svg { width: 28px; height: 28px; }

  /* Boshqa mahsulotlar — katalog kabi 2 ustun, pastga suriladi */
  .mk-rel-grid { grid-template-columns: repeat(2, 1fr); gap: 11px; }

  /* Footer — mobil .mk-page-body bo'shlig'iga moslashadi (14px / 40px) */
  .mk-pd-footer { margin: 34px -14px -40px; }

  .mk-footer { padding: 46px 0 22px; }
  .mk-footer-main { grid-template-columns: 1fr; gap: 30px; }
  .mk-footer-phone { font-size: 20px; }

  .mk-modal { padding: 10px; }
  .mk-product-actions .mk-btn { flex: 1; justify-content: center; }
  .mk-checkout-card { padding: 20px 16px; }
  .mk-drawer-body { padding: 12px 16px; }
  .mk-drawer-head { padding: 16px; }
  .mk-drawer-foot { padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); }
}

/* Harakat kamaytirilgan rejim — animatsiyalar o'chadi */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .mk-enter, .mk-reveal, .mk-card { opacity: 1; transform: none; }
  .mk-marquee-track { animation: none; }
}
