
:root {
  --font: 'Vazirmatn', system-ui, -apple-system, 'Segoe UI', Roboto, Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad-x: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
  --maxw: 1360px;
  --catbar-h: 62px;
  --r-card: clamp(20px, 5.6vw, 34px);
  --hero-blur: 3px;
}

:root,
:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060a15;
  --glass: rgba(16, 22, 40, .62);
  --glass-line: rgba(255, 255, 255, .10);
  --line: rgba(255, 255, 255, .09);
  --text: #f5f0e8;
  --text-2: #c7ccd9;
  --muted: #8d95aa;
  --accent: #ff8a2b;
  --accent-soft: rgba(255, 138, 43, .15);
  --accent-ink: #1b0e02;
  --chip-bg: rgba(255, 255, 255, .055);
  --chip-line: rgba(255, 255, 255, .10);
  --chip-on-bg: #f5f0e8;
  --chip-on-fg: #0b1020;
  --btn-bg: #f5f0e8;
  --btn-fg: #0b1020;
  --sheet-bg: #0d1426;
  --glow-1: rgba(16, 96, 108, .42);
  --glow-2: rgba(255, 138, 43, .11);
  --shadow-card: 0 34px 60px -30px rgba(0, 0, 0, .85), 0 0 0 1px rgba(255, 255, 255, .06);
  --grain-op: .06;
  --hero-scrim: rgba(6, 10, 21, .72);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f3f0eb;
  --glass: rgba(255, 255, 255, .72);
  --glass-line: rgba(20, 24, 43, .09);
  --line: rgba(20, 24, 43, .09);
  --text: #14182b;
  --text-2: #3b4056;
  --muted: #5d6277;
  --accent: #e8590c;
  --accent-soft: rgba(232, 89, 12, .11);
  --accent-ink: #fff;
  --chip-bg: rgba(20, 24, 43, .05);
  --chip-line: rgba(20, 24, 43, .09);
  --chip-on-bg: #14182b;
  --chip-on-fg: #ffffff;
  --btn-bg: #14182b;
  --btn-fg: #ffffff;
  --sheet-bg: #fbf9f6;
  --glow-1: rgba(255, 138, 43, .20);
  --glow-2: rgba(40, 120, 140, .13);
  --shadow-card: 0 30px 50px -28px rgba(20, 24, 43, .55), 0 0 0 1px rgba(20, 24, 43, .05);
  --grain-op: .035;
  --hero-scrim: rgba(243, 240, 235, .84);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 17.5px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(65vmax 55vmax at 92% -8%, var(--glow-1), transparent 62%),
    radial-gradient(55vmax 45vmax at -6% 34%, var(--glow-2), transparent 62%),
    var(--bg);
}
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: var(--grain-op);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .8 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
h1, h2, h3, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
input { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.icon-btn {
  position: relative;
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--glass);
  border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  transition: transform .2s var(--ease), background .25s;
}
.icon-btn:active { transform: scale(.92); }
.icon-btn .i { width: 20px; height: 20px; }
.icon-btn--chip { background: var(--chip-bg); border-color: var(--chip-line); -webkit-backdrop-filter: none; backdrop-filter: none; flex: none; }
.icon-btn--ghost { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.btn {
  --bs-btn-padding-x: 26px; --bs-btn-padding-y: 0; --bs-btn-font-size: 17.5px; --bs-btn-font-weight: 600; --bs-btn-line-height: 1.4;
  --bs-btn-border-radius: 99px; --bs-btn-border-color: transparent; --bs-btn-hover-border-color: transparent; --bs-btn-active-border-color: transparent;
  --bs-btn-focus-box-shadow: 0 0 0 4px var(--accent-soft);
  --bs-btn-bg: transparent; --bs-btn-color: var(--text); --bs-btn-hover-bg: var(--bs-btn-bg); --bs-btn-hover-color: var(--bs-btn-color); --bs-btn-active-bg: var(--bs-btn-bg); --bs-btn-active-color: var(--bs-btn-color);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 50px; white-space: nowrap;
  transition: transform .2s var(--ease), background .25s, box-shadow .25s;
}
.btn:active { transform: scale(.96); }
.btn--light { --bs-btn-bg: var(--btn-bg); --bs-btn-color: var(--btn-fg); box-shadow: 0 16px 30px -16px rgba(0, 0, 0, .6); }
.btn--light .i { width: 18px; height: 18px; }
.btn--ghost { --bs-btn-bg: var(--glass); --bs-btn-hover-bg: var(--chip-bg); --bs-btn-border-color: var(--glass-line); --bs-btn-hover-border-color: var(--glass-line); --bs-btn-active-border-color: var(--glass-line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.container-xxl { --bs-gutter-x: 2rem; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.noscript { padding: 32px; text-align: center; }

.top { gap: 12px; padding-top: calc(12px + env(safe-area-inset-top)); padding-bottom: 6px; }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand__txt { display: grid; line-height: 1.2; min-width: 0; }
.brand__txt b { font-weight: 800; font-size: 17.5px; white-space: nowrap; }
.brand__txt small { font-size: 11.5px; letter-spacing: .34em; color: var(--muted); font-weight: 500; }
.top__actions { display: flex; gap: 8px; flex: none; }
:root[data-theme="dark"] .i--moon, :root:not([data-theme]) .i--moon { display: none; }
:root[data-theme="light"] .i--sun { display: none; }
.badge-dot {
  position: absolute; top: -3px; inset-inline-end: -3px;
  min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--accent); color: var(--accent-ink);
  font-size: 12px; font-weight: 800; line-height: 1;
  display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--bg);
}

.hero {
  position: relative; isolation: isolate;
  display: grid; place-items: center;
  min-height: clamp(540px, 76vh, 680px); min-height: clamp(540px, 76svh, 680px);
  padding-top: 14px; padding-bottom: 40px;
}
.hero__art { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero__art img {
  width: min(118vw, 540px); max-width: none; height: auto;
  -webkit-filter: blur(3px); filter: blur(3px);
  -webkit-filter: blur(var(--hero-blur)); filter: blur(var(--hero-blur));
  opacity: .94;
}
.js .hero__art img { animation: art-in 1.3s var(--ease) both; }
@keyframes art-in { from { opacity: 0; transform: scale(1.06); } }

.hero::before {
  content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 42% at 50% 50%, var(--hero-scrim) 0%, transparent 100%);
}
.hero__inner { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; gap: 14px; padding-block: 8px; }
.kicker {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 6px 15px; border-radius: 99px;
  font-size: 14.5px; font-weight: 600; color: var(--text-2);
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.kicker i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.hero__title { line-height: 0; }
.wm { width: min(280px, 72vw); height: auto; margin-inline: auto; }
.wm--light { display: none; }
:root[data-theme="light"] .wm--dark { display: none; }
:root[data-theme="light"] .wm--light { display: block; }
.hero__sub { max-width: 27ch; font-size: clamp(16px, 4.64vw, 19px); line-height: 1.95; color: var(--text-2); text-wrap: balance; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 8px; }

.sentinel { height: 1px; margin-top: -1px; pointer-events: none; }
.catbar { position: sticky; top: 0; z-index: 30; padding-top: env(safe-area-inset-top); }
.catbar::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--glass);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid var(--glass-line);
  opacity: 0; transition: opacity .3s;
}
.catbar.is-stuck::before { opacity: 1; }
.catbar__row { padding-top: 9px; padding-bottom: 9px; }
.chips {
  position: relative; flex: 1; min-width: 0;
  display: flex; gap: 8px;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: none; -ms-overflow-style: none;
  padding-block: 1px; padding-inline: 14px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  -webkit-overflow-scrolling: touch;
}
.chips::-webkit-scrollbar { display: none; }
.chips__thumb {
  position: absolute; top: 1px; left: 0; z-index: 0;
  height: 44px; width: 0; border-radius: 99px;
  background: var(--chip-on-bg);
  box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .55);
  transition: transform .45s var(--ease), width .45s var(--ease);
  pointer-events: none;
}
.chip {
  position: relative; z-index: 1; flex: none;
  display: inline-flex; align-items: center; gap: 8px;
  height: 44px; padding-inline: 16px 18px;
  border-radius: 99px;
  background: var(--chip-bg); border: 1px solid var(--chip-line);
  font-weight: 600; font-size: 16px; white-space: nowrap; color: var(--text-2);
  transition: color .3s, background .3s, border-color .3s;
  -webkit-tap-highlight-color: transparent;
}
.chip .i { width: 18px; height: 18px; opacity: .85; }
.chip[aria-current="true"] { color: var(--chip-on-fg); background: transparent; border-color: transparent; }
.chip[aria-current="true"] .i { opacity: 1; }
.chip--fav .i { color: #ff6482; opacity: 1; }
.chip--fav[aria-pressed="true"] { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
.chip--fav[aria-pressed="true"] .i { color: currentColor; fill: currentColor; }

.searchbar {
  position: relative;
  display: flex; align-items: center; gap: 10px;
  padding-top: 9px; padding-bottom: 9px;
}
.searchbar > .i { position: absolute; top: 50%; transform: translateY(-50%); inset-inline-start: 32px; width: 20px; height: 20px; color: var(--muted); pointer-events: none; z-index: 1; }
.searchbar input {
  flex: 1; min-width: 0; height: 44px;
  padding-inline: 46px 16px;
  border-radius: 99px;
  background: var(--chip-bg); border: 1px solid var(--chip-line);
  font-size: 17.5px;
  -webkit-appearance: none; appearance: none;
  outline: none;
}
.searchbar input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.searchbar input::placeholder { color: var(--muted); }
.searchbar input::-webkit-search-cancel-button { display: none; }
.catbar.is-search .catbar__row { display: none; }

#menu { padding-bottom: 8px; outline: none; }
.cat { padding-top: 34px; scroll-margin-top: calc(var(--catbar-h) + env(safe-area-inset-top) - 6px); }
.cat:first-child { padding-top: 22px; }
.cat__head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.cat__titlebox { display: flex; align-items: center; gap: 13px; min-width: 0; }
.cat__ic { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.cat__ic .i { width: 23px; height: 23px; }
.cat__title { font-size: clamp(25px, 6.91vw, 34px); font-weight: 800; line-height: 1.25; letter-spacing: -.01em; }
.cat__desc { margin-top: 2px; font-size: 15px; line-height: 1.6; color: var(--muted); text-wrap: balance; }
.cat__count { flex: none; padding: 3px 12px; border-radius: 99px; font-size: 14.5px; font-weight: 500; color: var(--muted); border: 1px solid var(--chip-line); }

.cat .card { width: 100%; }

.card {
  --tint: 11 16 32;
  container-type: inline-size;
  position: relative; isolation: isolate;
  display: grid; grid-template-rows: 1fr;
  aspect-ratio: 5 / 8;
  overflow: hidden; overflow: clip;
  contain: paint;
  border-radius: var(--r-card);
  background: rgb(var(--tint));
  border: 0;
  color: #fff;
  box-shadow: var(--shadow-card);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), opacity .5s var(--ease) var(--d, 0ms), translate .6s var(--ease) var(--d, 0ms);
}
.card.dl-1 { --d: 70ms; }
.card.dl-2 { --d: 140ms; }
.card__media { position: absolute; inset: 0; z-index: -3; transition: transform 1.2s var(--ease); }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.js .card__img { opacity: 0; transition: opacity .6s var(--ease); }
.js .card__img.is-loaded { opacity: 1; }

.card__img--blur {
  filter: blur(15px) saturate(1.3) brightness(.9);
  transform: scale(1.12);
  -webkit-mask-image: linear-gradient(to bottom, transparent 36%, #000 64%);
  mask-image: linear-gradient(to bottom, transparent 36%, #000 64%);
}
.card__shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(to top, rgb(var(--tint) / .97) 0%, rgb(var(--tint) / .86) 24%, rgb(var(--tint) / .42) 46%, rgb(var(--tint) / 0) 66%),
    linear-gradient(to bottom, rgb(0 0 0 / .30) 0%, rgb(0 0 0 / 0) 24%);
}
.card__in {
  position: relative;
  display: flex; flex-direction: column; justify-content: space-between; gap: 18px;
  padding: 20px;
  padding: clamp(14px, 6.4cqw, 28px);
}

.card__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.card__tags { display: grid; gap: 8px; justify-items: start; min-width: 0; }
.price, .fav {
  background: rgb(244 242 238 / .86);
  color: #10131c;
  -webkit-backdrop-filter: blur(14px) saturate(1.6);
  backdrop-filter: blur(14px) saturate(1.6);
  box-shadow: 0 10px 26px -12px rgb(0 0 0 / .6), inset 0 0 0 1px rgb(255 255 255 / .55);
}
.price { display: inline-flex; align-items: baseline; gap: .42em; padding: .5em 1.05em; border-radius: 99px; white-space: nowrap; }
.price b { font-size: 20px; font-size: clamp(18px, 6.16cqw, 23.5px); font-weight: 800; line-height: 1.35; letter-spacing: -.01em; }
.price small { font-size: 13px; font-size: clamp(12px, 3.78cqw, 14.5px); font-weight: 500; color: #5e6477; }
.fav {
  flex: none; display: grid; place-items: center;
  width: 44px; width: clamp(40px, 12.6cqw, 50px); aspect-ratio: 1; border-radius: 50%;
  transition: transform .25s var(--ease), background .25s, color .25s;
}
.fav:active { transform: scale(.88); }
.fav .i { width: 46%; height: 46%; stroke-width: 1.9; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1), fill .2s; }
.fav[aria-pressed="true"] { color: #ff3b5c; background: #fff; }
.fav[aria-pressed="true"] .i { fill: currentColor; animation: pop .5s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: .28em .85em .28em .75em; border-radius: 99px;
  font-size: 13px; font-weight: 600; line-height: 1.6; color: #fff;
  background: rgb(8 12 26 / .5); border: 1px solid rgb(255 255 255 / .16);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.tag .i { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.tag--bestseller .i { color: #ffb14a; }
.tag--new .i { color: #7fe3d6; fill: none; stroke: currentColor; }
.tag--special .i { color: #ffd36a; }

.card__body { display: grid; gap: 12px; gap: clamp(10px, 3.5cqw, 15px); }
.card__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__title { font-size: 23px; font-size: clamp(20.5px, 6.8cqw, 27.5px); font-weight: 700; line-height: 1.4; letter-spacing: -.01em; text-shadow: 0 2px 16px rgb(0 0 0 / .4); min-width: 0; }
.card__open { display: block; max-width: 100%; font: inherit; letter-spacing: inherit; line-height: inherit; text-align: inherit; text-shadow: inherit; color: inherit; border-radius: 8px; }
.rating { flex: none; display: inline-flex; align-items: center; gap: 6px; font-size: 16.5px; font-size: clamp(15px, 4.64cqw, 18px); font-weight: 500; color: rgb(196 238 234 / .92); }
.rating .i { width: 1.05em; height: 1.05em; fill: #ffa63d; stroke: none; transform: translateY(-1px); }
.card__note { display: flex; align-items: center; gap: 11px; min-width: 0; font-size: 16px; font-size: clamp(14.5px, 4.7cqw, 17.5px); line-height: 1.65; color: rgb(255 255 255 / .9); }
.card__note .i { width: 1.4em; height: 1.4em; opacity: .95; }
.card__note span { min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
.specs { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 12px; }
.specs li { display: inline-flex; align-items: center; gap: 7px; font-size: 15px; font-size: clamp(13.5px, 4.27cqw, 16.5px); line-height: 1.5; color: rgb(255 255 255 / .92); white-space: nowrap; }
.specs li .i { width: 1.5em; height: 1.5em; opacity: .95; }

.card__cta { margin-top: 2px; }
.cta, .stepper {
  width: 100%; height: 52px; height: clamp(48px, 15.2cqw, 60px);
  border-radius: 99px; background: #fff; color: #0b1020;
  box-shadow: 0 18px 34px -16px rgb(0 0 0 / .65);
}
.cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 17.5px; font-size: clamp(16px, 5.08cqw, 19px); font-weight: 600;
  transition: transform .2s var(--ease), background .3s, color .3s;
}
.cta:active { transform: scale(.975); }
.cta .i { width: 1.15em; height: 1.15em; stroke-width: 2; }
.cta.is-added { background: #38d39f; color: #04281e; }
.stepper { display: grid; grid-template-columns: auto 1fr auto; align-items: center; padding: 5px; animation: in .35s var(--ease); }
.stepper button { height: 100%; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; transition: transform .2s var(--ease); }
.stepper button:active { transform: scale(.9); }
.stepper button .i { width: 1.1em; height: 1.1em; stroke-width: 2.1; }
.stepper .dec { background: #eceef4; }
.stepper .inc { background: #0b1020; color: #fff; }
.stepper output { display: grid; justify-items: center; line-height: 1.2; font-weight: 800; font-size: 21px; font-size: clamp(18.5px, 5.83cqw, 22.5px); }
.stepper output small { font-size: 12.5px; font-weight: 500; color: #6b7184; margin-top: 1px; }
@keyframes in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.card.is-sold .card__media { filter: grayscale(.85) brightness(.75); }
.card.is-sold .cta { background: rgb(255 255 255 / .14); color: rgb(255 255 255 / .65); box-shadow: none; pointer-events: none; }
.card--noimg .card__media { display: none; }
.card--noimg { background: radial-gradient(120% 80% at 30% 10%, rgb(255 255 255 / .12), transparent 60%), rgb(var(--tint)); }

@container (max-width: 250px) {
  .card__in { padding: 10px; gap: 8px; }
  .card__top { gap: 6px; }
  .card__tags { gap: 5px; }
  .price { padding: .38em .7em; gap: .3em; }
  .price b { font-size: 15.5px; }
  .price small { font-size: 11px; }
  .fav { width: 32px; }
  .tag { font-size: 11.5px; padding: .2em .6em; gap: 4px; }
  .tag .i { width: 11px; height: 11px; }
  .card__body { gap: 7px; }
  .card__head { gap: 6px; }
  .card__title { font-size: 16.5px; line-height: 1.45; }
  .rating { font-size: 13px; gap: 3px; }
  .card__note { font-size: 13px; gap: 6px; line-height: 1.55; }
  .card__note span { -webkit-line-clamp: 1; line-clamp: 1; }
  .specs { display: none; }
  .cta, .stepper { height: 38px; }
  .cta { font-size: 14.5px; gap: 5px; }
  .cta .i { width: 1em; height: 1em; }
  .stepper { padding: 3px; }
  .stepper output { font-size: 16.5px; }
  .stepper output small { display: none; }
}
@container (max-width: 190px) {
  .card__note { display: none; }
  .tag { display: none; }
  .card__title { font-size: 15.5px; }
}

.js .card { opacity: 0; translate: 0 22px; }
.js .card.in { opacity: 1; translate: 0 0; }
.js .card.no-anim { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .card { cursor: pointer; }
  .card:hover { transform: translateY(-6px); box-shadow: 0 44px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .1); }
  .card:hover .card__media { transform: scale(1.045); }
  .cta:hover { background: #f1efe9; }
  .chip:not([aria-current="true"]):hover { background: var(--glass); }
  .btn--light:hover { transform: translateY(-2px); }
  .icon-btn:hover { background: var(--chip-bg); }
}

.empty { display: grid; justify-items: center; gap: 4px; padding: 80px var(--pad-x); text-align: center; color: var(--muted); }
.empty .i { width: 42px; height: 42px; margin-bottom: 8px; opacity: .6; }
.empty b { color: var(--text); font-size: 20px; }
.skeleton { padding-top: 24px; }
.skeleton i { display: block; width: 100%; aspect-ratio: 5 / 8; border-radius: var(--r-card); background: linear-gradient(110deg, var(--chip-bg) 30%, rgba(255, 255, 255, .09) 50%, var(--chip-bg) 70%) 0 0 / 220% 100%; animation: shimmer 1.4s linear infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

.info { padding-top: 64px; padding-bottom: 8px; }
.info .cat__head { margin-bottom: 16px; }
.tile {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px; border-radius: 26px;
  background: var(--glass); border: 1px solid var(--glass-line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  min-width: 0;
}
.tile__ic { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent); }
.tile__ic .i { width: 22px; height: 22px; }
.tile__tx { min-width: 0; display: grid; gap: 1px; }
.tile__lb { font-size: 14.5px; color: var(--muted); }
.tile__val { font-weight: 600; font-size: 16.5px; line-height: 1.8; overflow-wrap: anywhere; }
.tile__val a { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; text-decoration-thickness: 2px; }
.tile__val .ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
.tile__link { margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 13px; border-radius: 99px; font-size: 14.5px; font-weight: 600; color: var(--accent); background: var(--accent-soft); }

.foot { margin-top: 56px; padding: 34px 0 calc(110px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); text-align: center; }
.foot__in { display: grid; justify-items: center; gap: 10px; }
.foot__tag { max-width: 34ch; color: var(--text-2); font-size: 16px; text-wrap: balance; }
.foot__copy { color: var(--muted); font-size: 14.5px; }

.tray {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  display: flex; justify-content: center;
  padding: 0 var(--pad-x) calc(14px + env(safe-area-inset-bottom));
  pointer-events: none;
  transform: translateY(130%); transition: transform .55s var(--ease);
}
.tray.show { transform: none; }
.tray__btn {
  pointer-events: auto;
  width: min(100%, 540px); height: 62px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 8px; padding-inline: 8px 22px;
  border-radius: 99px;
  background: var(--btn-bg); color: var(--btn-fg);
  box-shadow: 0 24px 50px -14px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .2s var(--ease);
}
.tray__btn:active { transform: scale(.97); }
.tray__count { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-weight: 800; font-size: 18.5px; flex: none; }
.tray__count.bump { animation: pop .45s cubic-bezier(.3, 1.6, .5, 1); }
.tray__label { font-weight: 700; font-size: 17.5px; }
.tray__total { font-weight: 800; font-size: 18.5px; white-space: nowrap; }
.tray__total small { font-size: 13px; font-weight: 500; opacity: .7; }

.sheet-modal { overflow: hidden; }
.modal.sheet-modal .modal-dialog {
  position: fixed; inset: auto 0 0 0; margin: 0 auto;
  width: 100%; max-width: 580px; height: auto;
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.modal.sheet-modal.show .modal-dialog { transform: none; }
.modal.sheet-modal--detail .modal-dialog { max-width: 540px; }
.sheet {
  display: flex; flex-direction: column; padding: 0;
  max-height: 88vh; max-height: min(88dvh, 780px);
  border: 0; border-radius: 30px 30px 0 0;
  background: var(--sheet-bg); color: var(--text);
  box-shadow: 0 -30px 80px -20px rgba(0, 0, 0, .7), 0 0 0 1px var(--glass-line);
  overflow: hidden;
}
.modal-backdrop { --bs-backdrop-bg: #02040a; --bs-backdrop-opacity: .62; }
.modal-backdrop.show { -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.sheet__grab { width: 42px; height: 5px; border-radius: 3px; background: var(--line); margin: 10px auto 0; flex: none; }
.sheet__head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 4px 12px; padding-inline: 20px 12px; flex: none; }
.sheet__head h2 { font-size: 24px; font-weight: 800; margin: 0; }
.sheet__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 4px 20px 8px; -webkit-overflow-scrolling: touch; }
.sheet__foot { flex: none; padding: 14px 20px calc(18px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); display: grid; gap: 12px; background: var(--sheet-bg); }

.line { display: grid; grid-template-columns: 62px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line:last-child { border-bottom: 0; }
.line__img { width: 62px; height: 62px; border-radius: 18px; object-fit: cover; object-position: 50% 32%; background: var(--chip-bg); }
.line__tx { min-width: 0; display: grid; gap: 1px; }
.line__name { font-weight: 700; font-size: 17px; line-height: 1.5; }
.line__unit { font-size: 14.5px; color: var(--muted); }
.line__side { display: grid; justify-items: end; gap: 8px; }
.line__sum { font-weight: 700; font-size: 15.5px; white-space: nowrap; }
.mini { display: inline-grid; grid-template-columns: auto auto auto; align-items: center; border-radius: 99px; background: var(--chip-bg); border: 1px solid var(--chip-line); }
.mini button { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; }
.mini button .i { width: 16px; height: 16px; stroke-width: 2.1; }
.mini output { min-width: 22px; text-align: center; font-weight: 700; font-size: 16px; }
.sum { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.sum span { color: var(--muted); font-size: 15.5px; }
.sum b { font-size: 23px; font-weight: 800; }
.sum small { font-size: 14.5px; font-weight: 500; color: var(--muted); }
.sheet__actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.btn--block { width: 100%; height: 56px; --bs-btn-font-size: 18.5px; }
.btn--solid { --bs-btn-bg: var(--accent); --bs-btn-color: var(--accent-ink); box-shadow: 0 18px 34px -16px rgba(255, 138, 43, .7); }
.btn--text { height: 46px; --bs-btn-color: var(--muted); --bs-btn-hover-color: var(--text); --bs-btn-font-weight: 500; }
.btn--text.is-armed { --bs-btn-color: #ff5a6e; --bs-btn-hover-color: #ff5a6e; --bs-btn-font-weight: 700; }
.empty-cart { display: grid; justify-items: center; gap: 6px; padding: 44px 0 30px; text-align: center; color: var(--muted); }
.empty-cart .i { width: 46px; height: 46px; opacity: .55; margin-bottom: 8px; }
.empty-cart b { color: var(--text); font-size: 18.5px; }

.receipt { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 10px 0 4px; }
.receipt__check { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: rgba(56, 211, 159, .14); color: #38d39f; margin-bottom: 8px; animation: pop .6s cubic-bezier(.3, 1.6, .5, 1); }
.receipt__check .i { width: 34px; height: 34px; stroke-width: 2.4; }
.receipt h3 { font-size: 22px; font-weight: 800; }
.receipt p { color: var(--muted); font-size: 15.5px; max-width: 32ch; }
.receipt__meta { margin-top: 6px; padding: 4px 14px; border-radius: 99px; background: var(--chip-bg); font-size: 14.5px; color: var(--text-2); }
.receipt__list { margin-top: 14px; width: 100%; display: grid; gap: 0; text-align: start; border-radius: 22px; background: var(--chip-bg); border: 1px solid var(--chip-line); padding: 6px 16px; }
.rl { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 16px; }
.rl:last-child { border-bottom: 0; }
.rl b { font-weight: 600; }
.rl span { color: var(--muted); white-space: nowrap; }

.app-toast-wrap { z-index: 1090; bottom: calc(92px + env(safe-area-inset-bottom)); width: max-content; max-width: calc(100% - 32px); }
.app-toast {
  --bs-toast-max-width: 100%; --bs-toast-font-size: 16.5px; --bs-toast-border-radius: 99px;
  width: auto; border-radius: 99px;
  background: rgba(14, 20, 36, .92); color: #f5f0e8;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .1);
}
.app-toast .toast-body { padding: 11px 22px; font-weight: 600; text-align: center; }

@media (min-width: 720px) {
  .hero { min-height: clamp(600px, 78vh, 740px); min-height: clamp(600px, 78svh, 740px); padding-bottom: 56px; }
  .hero__art img { width: min(640px, 76vw); }
  .wm { width: 340px; }
  .hero__inner { gap: 16px; }
  .hero__sub { font-size: 20px; max-width: 32ch; }
  .modal.sheet-modal .modal-dialog { inset: 0; margin: auto; height: fit-content; transform: translateY(16px) scale(.97); opacity: 0; transition: transform .35s var(--ease), opacity .25s; }
  .modal.sheet-modal.show .modal-dialog { transform: none; opacity: 1; }
  .sheet { border-radius: 30px; max-height: min(80vh, 720px); }
  .sheet__grab { display: none; }
  .app-toast-wrap { bottom: 100px; }
}

@media (min-width: 980px) {
  .hero { min-height: clamp(620px, 82vh, 780px); min-height: clamp(620px, 82svh, 780px); }
  .hero__art img { width: min(700px, 56vw); }
  .hero::before { background: radial-gradient(ellipse 44% 40% at 50% 50%, var(--hero-scrim) 0%, transparent 100%); }
  .hero__inner { gap: 18px; }
  .wm { width: 400px; }
  .hero__sub { font-size: 21px; max-width: 34ch; }
  .cat { padding-top: 48px; }
  .tray__btn { width: 460px; }
}

@media (max-width: 360px) {
  .tray__label { font-size: 16.5px; white-space: nowrap; }
  .tray__total { font-size: 17.5px; }
}

@media (max-width: 340px) {
  :root { --pad-x: max(12px, env(safe-area-inset-left), env(safe-area-inset-right)); }
  .brand__txt small { display: none; }
  .chip { padding-inline: 13px 14px; font-size: 15.5px; }
  .tray__label { font-size: 16px; white-space: nowrap; }
  .tray__total small { display: none; }
  .tray__count { width: 42px; height: 42px; }
  .tray__btn { height: 58px; padding-inline-end: 16px; }
  .line { grid-template-columns: 52px 1fr auto; gap: 10px; }
  .line__img { width: 52px; height: 52px; border-radius: 15px; }
}

@media (max-height: 520px) and (orientation: landscape) {
  .card { aspect-ratio: 4 / 5; }
  .hero { min-height: 0; padding-block: 18px 28px; }
  .hero__art img { width: min(62vh, 360px); }
  .hero__sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .card { opacity: 1; translate: none; }
}

@media print {
  .top__actions, .catbar, .tray, .fav, .card__cta, .hero__cta, .hero__art, .hero::before, .grain { display: none !important; }
  body { background: #fff; color: #000; }
}

.sheet--detail { max-width: 540px; --tint: 11 16 32; }
.sheet--detail .sheet__body { padding: 0; }
.detail__close {
  position: absolute; top: 14px; z-index: 6;
  inset-inline-start: 14px;
  background: rgba(8, 12, 26, .55); border-color: rgba(255, 255, 255, .22); color: #fff;
}
.detail__media { position: relative; width: 100%; aspect-ratio: 4 / 3.3; max-height: 46vh; max-height: 46dvh; overflow: hidden; background: rgb(var(--tint)); }
.detail__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.js .detail__img { opacity: 0; transition: opacity .5s var(--ease); }
.js .detail__img.is-loaded { opacity: 1; }
.detail__shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(to top, var(--sheet-bg) 1%, transparent 44%), linear-gradient(to bottom, rgba(0, 0, 0, .42), transparent 30%); }
.detail__fav { position: absolute; top: 14px; inset-inline-end: 14px; width: 44px; aspect-ratio: 1; z-index: 3; }
.detail__media .tag { position: absolute; inset-inline-end: 20px; bottom: 16px; z-index: 3; }

.detail__pill { position: absolute; inset-inline-start: 20px; bottom: 14px; z-index: 3; padding: .42em .95em; }
.detail__pill b { font-size: 21px; }
.detail__pill small { font-size: 14px; }
.detail__txt { padding: 4px 22px 18px; display: grid; gap: 10px; }
.detail__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.detail__title { font-size: 25px; font-weight: 800; line-height: 1.4; letter-spacing: -.01em; }
.detail__txt .rating { color: var(--text-2); font-size: 17.5px; }
.detail__en { margin-top: -6px; font-size: 14px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: start; unicode-bidi: plaintext; }
.detail__desc { color: var(--text-2); font-size: 16.5px; line-height: 1.95; }
.detail__specs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.detail__specs li { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 16px; border-radius: 99px; font-size: 15.5px; font-weight: 500; background: var(--chip-bg); border: 1px solid var(--chip-line); color: var(--text-2); }
.detail__specs li .i { width: 18px; height: 18px; color: var(--accent); }
.detail__buy { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
.detail__price { display: grid; line-height: 1.25; }
.detail__price small { font-size: 14px; color: var(--muted); }
.detail__price b { font-size: 23px; font-weight: 800; white-space: nowrap; }
.detail__price i { font-style: normal; font-size: 14px; font-weight: 500; color: var(--muted); }
.sheet--detail .cta, .sheet--detail .stepper { height: 56px; font-size: 17.5px; background: var(--btn-bg); color: var(--btn-fg); box-shadow: none; }
.sheet--detail .stepper .dec { background: rgba(128, 128, 128, .28); color: inherit; }
.sheet--detail .stepper .inc { background: var(--accent); color: var(--accent-ink); }
.sheet--detail .stepper output { font-size: 20px; }
.sheet--detail .stepper output small { color: inherit; opacity: .6; }
@media (max-width: 340px) { .detail__buy { grid-template-columns: 1fr; gap: 10px; } .detail__txt { padding-inline: 16px; } }

.fly-dot { position: fixed; left: 0; top: 0; z-index: 1080; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255, 138, 43, .28), 0 8px 18px rgba(255, 138, 43, .5); pointer-events: none; will-change: transform, opacity; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.js .hero__inner > * { animation: rise .8s var(--ease) both; }
.js .hero__inner > :nth-child(2) { animation-delay: .06s; }
.js .hero__inner > :nth-child(3) { animation-delay: .14s; }
.js .hero__inner > :nth-child(4) { animation-delay: .22s; }
.js .top { animation: rise .6s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .js .hero__inner > *, .js .top { animation: none; } }

@supports not (inset: 0) {
  body::before, .grain, .catbar::before, .card__media, .card__img, .card__shade, .hero__art, .hero::before { top: 0; right: 0; bottom: 0; left: 0; }
  .tray { left: 0; right: 0; }
  .modal.sheet-modal .modal-dialog { top: auto; right: 0; bottom: 0; left: 0; }
  .badge-dot { left: -3px; right: auto; }
  .searchbar > .i { right: 32px; left: auto; }
  .chip { padding-right: 16px; padding-left: 18px; }
  .chips { padding-left: 14px; padding-right: 14px; }
  .searchbar input { padding-right: 46px; padding-left: 16px; }
  .tray__btn { padding-left: 22px; padding-right: 8px; }
  .detail__close { right: 14px; }
  .detail__fav { left: 14px; }
  .detail__media .tag { left: 20px; }
  .detail__pill { right: 20px; }
}
@supports not (aspect-ratio: 1) {
  .card { min-height: 560px; }
  .skeleton i { height: 520px; }
  .detail__media { height: 280px; }
}
