/* =========================================================================
   NEW MOBILE GAME STORE — Stylesheet
   Dark premium tech aesthetic · brand red / blue used with intent
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  --bg: #07080b;
  --bg-alt: #0b0d12;
  --surface: #11141b;
  --surface-2: #171b24;
  --surface-3: #1e2330;
  --line: rgba(255, 255, 255, .075);
  --line-2: rgba(255, 255, 255, .13);
  --line-3: rgba(255, 255, 255, .22);
  --text: #f2f4f8;
  --text-2: #b0b7c5;
  --text-3: #7d8596;
  --blue: #2f6bff;
  --blue-2: #4f84ff;
  --blue-3: #8fb0ff;
  --blue-soft: rgba(47, 107, 255, .14);
  --red: #e3222e;
  --red-2: #ff3c47;
  --red-soft: rgba(227, 34, 46, .14);
  --green: #2bd47d;
  --amber: #f5b13d;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --shadow: 0 10px 30px -12px rgba(0, 0, 0, .6);
  --shadow-lg: 0 30px 60px -20px rgba(0, 0, 0, .75);
  --ring: 0 0 0 3px rgba(47, 107, 255, .35);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Barlow Condensed", "Inter", system-ui, sans-serif;
  --header-h: 76px;
  --container: 1280px;
  --gutter: 24px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 15px/1.6 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
body.lock { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 880px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s; }
.skip-link:focus { top: 12px; }
.muted { color: var(--text-3); }

.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ico--xs { width: 14px; height: 14px; }
.ico--sm { width: 17px; height: 17px; }
.ico--xl { width: 40px; height: 40px; stroke-width: 1.4; }

/* ---------- Buttons ---------- */
.btn {
  --h: 44px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--h); padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-weight: 600; font-size: 14px; letter-spacing: .01em; white-space: nowrap;
  transition: background .2s, border-color .2s, color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--lg { --h: 52px; padding: 0 26px; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; }
.btn--sm { --h: 36px; padding: 0 14px; font-size: 13px; border-radius: 9px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 8px 22px -10px rgba(47, 107, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .15); }
.btn--primary:hover { background: var(--blue-2); transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(47, 107, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .2); }
.btn--outline { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--outline:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .06); }
.btn--ghost { color: var(--text-2); background: var(--surface-2); }
.btn--ghost:hover { color: var(--text); background: var(--surface-3); }
.btn--light { background: #fff; color: #0a0b0f; }
.btn--light:hover { background: #e9edf5; transform: translateY(-1px); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .5); }
.btn--text { color: var(--text-2); padding: 0 6px; height: auto; min-height: 36px; }
.btn--text:hover { color: var(--text); }
.btn--muted { background: var(--surface-3); color: var(--text-2); }
.btn--muted:hover { color: var(--text); }
.btn.is-added { background: var(--green); color: #04150b; box-shadow: none; }
.btn[disabled] { opacity: .65; pointer-events: none; }
.linklike { color: inherit; font-size: inherit; text-align: left; }
.linklike:hover { color: var(--text); }

.icon-btn {
  width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 10px;
  color: var(--text-2); transition: background .2s, color .2s; position: relative;
}
.icon-btn:hover { background: rgba(255, 255, 255, .07); color: var(--text); }
.icon-btn--sm { width: 34px; height: 34px; border-radius: 8px; }
.icon-btn--primary { background: var(--blue); color: #fff; }
.icon-btn--primary:hover { background: var(--blue-2); color: #fff; }
.icon-btn[disabled] { opacity: .3; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; color: var(--blue-3); transition: gap .2s, color .2s; }
.link-arrow:hover { color: #fff; gap: 9px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--text-2); font-size: 13px; font-weight: 500; white-space: nowrap;
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--line-3); }
.chip.active { background: var(--text); color: #0a0b0f; border-color: var(--text); }
.chip--sm { height: 30px; padding: 0 12px; font-size: 12.5px; }
.chip--x { background: var(--surface-2); }

.badge { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.badge--red { background: var(--red); color: #fff; }
.badge--light { background: rgba(255, 255, 255, .92); color: #0a0b0f; }

.pill { position: absolute; top: 12px; left: 12px; z-index: 2; display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; backdrop-filter: blur(8px); }
.pill--static { position: static; }
.pill--new { background: rgba(10, 12, 18, .78); color: #fff; border: 1px solid rgba(255, 255, 255, .14); }
.pill--refurbished { background: rgba(10, 30, 22, .82); color: #6ff0ad; border: 1px solid rgba(43, 212, 125, .3); }
.pill--open-box { background: rgba(40, 28, 8, .82); color: #ffc96b; border: 1px solid rgba(245, 177, 61, .3); }
.pill--sale { left: auto; right: 12px; background: var(--red); color: #fff; }
.pill--neutral { position: static; background: var(--surface-3); color: var(--text-2); }

.stock { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--text-3); white-space: nowrap; }
.stock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 18%, transparent); }
.stock--in { color: var(--green); }
.stock--low { color: var(--amber); }
.stock--out { color: #8b92a1; }

/* ---------- Announcement ---------- */
.announce { background: linear-gradient(90deg, #0d1222, #10172b 50%, #0d1222); border-bottom: 1px solid var(--line); font-size: 13px; color: var(--text-2); }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 40px; text-align: center; }
.announce__inner > .ico { color: var(--blue-3); }
.announce__link { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 600; white-space: nowrap; }
.announce__link:hover { color: var(--blue-3); }

/* ---------- Header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(7, 8, 11, .84); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .25s, background .25s; }
.header.scrolled { border-bottom-color: var(--line); background: rgba(7, 8, 11, .92); }
.header__inner { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.brand { display: flex; align-items: center; flex: none; }
.brand__logo { height: 52px; width: auto; mix-blend-mode: lighten; }
.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 13px; border-radius: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-2); transition: color .2s, background .2s;
}
.nav__link:hover, .nav__item--dropdown.open .nav__link { color: #fff; }
.nav__link::after { content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav__link.active { color: #fff; }
.nav__link.active::after { transform: scaleX(1); }
.nav__caret { transition: transform .25s var(--ease); }
.nav__item--dropdown { position: relative; }
.nav__item--dropdown.open .nav__caret { transform: rotate(180deg); }

.mega {
  position: absolute; top: calc(100% + 14px); left: 50%; width: 620px; padding: 12px;
  background: rgba(17, 20, 27, .98); border: 1px solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .22s var(--ease), transform .22s var(--ease), visibility .22s;
}
.mega::before { content: ""; position: absolute; top: -16px; left: 0; right: 0; height: 16px; }
.nav__item--dropdown.open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega__item { display: flex; align-items: center; gap: 14px; padding: 12px; border-radius: 12px; transition: background .2s; }
.mega__item:hover { background: rgba(255, 255, 255, .05); }
.mega__item:hover .mega__icon { background: var(--blue); color: #fff; border-color: var(--blue); }
.mega__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 11px; background: var(--surface-2); border: 1px solid var(--line); color: var(--blue-3); transition: all .2s; }
.mega__txt { display: grid; gap: 1px; }
.mega__txt strong { font-size: 14.5px; font-weight: 600; }
.mega__txt small { font-size: 12.5px; color: var(--text-3); }
.mega__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 14px 12px 6px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--text-3); }

.header__actions { display: flex; align-items: center; gap: 4px; flex: none; }
.lang { display: inline-flex; padding: 3px; margin: 0 6px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.lang__btn { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 9px; border-radius: 7px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--text-3); transition: all .2s; }
.lang__btn[aria-pressed="true"] { background: var(--text); color: #0a0b0f; }
.lang__btn:not([aria-pressed="true"]):hover { color: var(--text); }
.lang__flag { font-size: 13px; line-height: 1; }
.lang--block { display: flex; margin: 0; }
.lang--block .lang__btn { flex: 1; justify-content: center; height: 40px; font-size: 13px; }
.cart-btn__count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--bg); }
.cart-btn__count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
.burger { display: none; }

/* Search panel */
.search-panel { position: absolute; left: 0; right: 0; top: 100%; background: rgba(13, 15, 20, .98); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: 18px 0 22px; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s var(--ease); }
.search-panel.open { opacity: 1; transform: none; }
.search-panel__form { display: flex; align-items: center; gap: 12px; height: 56px; padding: 0 8px 0 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); transition: border-color .2s, box-shadow .2s; }
.search-panel__form:focus-within { border-color: var(--blue); box-shadow: var(--ring); }
.search-panel__form > .ico { color: var(--text-3); }
.search-panel__form input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; font-size: 16px; }
.search-panel__form input::-webkit-search-cancel-button { display: none; }
.search-panel__popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--text-3); }
.sr-list { margin-top: 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.sr-item { display: flex; align-items: center; gap: 14px; padding: 8px; border-radius: 12px; transition: background .2s; }
.sr-item:hover { background: rgba(255, 255, 255, .05); }
.sr-item img { width: 56px; height: 56px; border-radius: 10px; object-fit: cover; background: var(--surface-2); }
.sr-item__txt { flex: 1; min-width: 0; display: grid; }
.sr-item__txt strong { font-size: 14px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-item__txt small { font-size: 12px; color: var(--text-3); }
.sr-item__price { font-weight: 700; font-size: 14px; }
.sr-all { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; padding: 0 8px; font-size: 13.5px; font-weight: 600; color: var(--blue-3); }
.sr-empty { margin-top: 14px; color: var(--text-3); font-size: 14px; }

/* ---------- Drawers ---------- */
.scrim { position: fixed; inset: 0; z-index: 80; background: rgba(0, 0, 0, .62); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.scrim.show { opacity: 1; visibility: visible; }
.drawer { position: fixed; inset: 0; z-index: 90; pointer-events: none; }
.drawer__panel { position: absolute; top: 0; bottom: 0; width: min(420px, 100%); display: flex; flex-direction: column; background: var(--surface); border-left: 1px solid var(--line-2); box-shadow: var(--shadow-lg); transition: transform .38s var(--ease); pointer-events: auto; }
.drawer--right .drawer__panel { right: 0; transform: translateX(105%); }
.drawer--left .drawer__panel { left: 0; width: min(360px, 88vw); border-left: 0; border-right: 1px solid var(--line-2); transform: translateX(-105%); }
.drawer.open .drawer__panel { transform: none; }
.drawer:not(.open) .drawer__panel { visibility: hidden; transition: transform .38s var(--ease), visibility 0s .38s; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 16px 22px; border-bottom: 1px solid var(--line); }
.drawer__logo { height: 44px; width: auto; mix-blend-mode: lighten; }
.drawer__foot { margin-top: auto; padding: 18px; border-top: 1px solid var(--line); display: grid; gap: 12px; }

.mnav { padding: 10px 12px; overflow-y: auto; }
.mnav__link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; border-bottom: 1px solid var(--line); }
.mnav__link:hover { background: rgba(255, 255, 255, .04); }
.mnav__toggle .ico { transition: transform .25s; }
.mnav__toggle[aria-expanded="true"] .ico { transform: rotate(180deg); }
.mnav__sub { display: block; max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.mnav__sub.open { max-height: 420px; }
.mnav__sublink { display: flex; align-items: center; gap: 12px; padding: 12px 14px 12px 22px; font-size: 14.5px; color: var(--text-2); border-radius: 8px; }
.mnav__sublink .ico { color: var(--blue-3); }
.mnav__sublink:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.mnav__sublink--all { color: var(--blue-3); font-weight: 600; font-size: 13.5px; }

/* ---------- Pages / sections ---------- */
.page--enter { animation: pageIn .45s var(--ease); }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tight { padding: 56px 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }
.section__title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); text-transform: uppercase; letter-spacing: .01em; line-height: 1; }
.section__title--sm { font-size: clamp(1.7rem, 2.6vw, 2.2rem); }
.section__sub { margin-top: 14px; max-width: 560px; color: var(--text-2); font-size: 16px; }
.kicker { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-3); }
.kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--red); }
.kicker--light { color: #fff; }

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

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 480px at 82% 18%, rgba(47, 107, 255, .16), transparent 65%),
    radial-gradient(600px 400px at 6% 96%, rgba(227, 34, 46, .09), transparent 65%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 70% at 60% 40%, #000 20%, transparent 75%);
}
.hero__grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 0 14px 0 12px; border-radius: 999px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); font-size: 12.5px; font-weight: 600; color: var(--text-2); letter-spacing: .02em; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.hero__title { margin-top: 22px; font-family: var(--display); font-weight: 800; font-size: clamp(2.9rem, 6.2vw, 5.4rem); line-height: .94; text-transform: uppercase; letter-spacing: -.005em; }
.text-grad { background: linear-gradient(92deg, #fff 0%, #a9c2ff 45%, var(--blue-2) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { margin-top: 22px; max-width: 520px; font-size: 17px; color: var(--text-2); line-height: 1.65; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); }
.hero__points li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); font-weight: 500; }
.hero__points .ico { color: var(--blue-3); }
.hero__media { display: grid; grid-template-columns: 1.15fr .85fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 540px; }
.hero__shot { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hero__shot:hover img { transform: scale(1.04); }
.hero__shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.hero__shot--main { grid-row: 1 / 3; }
.hero__tag { position: absolute; z-index: 2; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px; border-radius: 9px; background: rgba(8, 9, 12, .7); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }

/* ---------- Trust bar ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.trust__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust__item { display: flex; align-items: center; gap: 14px; padding: 24px 22px; }
.trust__item + .trust__item { border-left: 1px solid var(--line); }
.trust__item > .ico { width: 26px; height: 26px; color: var(--blue-3); stroke-width: 1.6; }
.trust__item div { display: grid; gap: 1px; }
.trust__item strong { font-size: 14px; font-weight: 600; }
.trust__item span { font-size: 12.5px; color: var(--text-3); }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-card { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); isolation: isolate; transition: border-color .3s, transform .4s var(--ease), box-shadow .4s; }
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s var(--ease); }
.cat-card__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7, 8, 11, .05) 25%, rgba(7, 8, 11, .9) 92%); }
.cat-card__icon { position: absolute; top: 14px; left: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; background: rgba(8, 9, 12, .6); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .14); transition: background .3s, border-color .3s; }
.cat-card__body { position: absolute; left: 18px; right: 18px; bottom: 18px; display: grid; gap: 2px; }
.cat-card__body strong { font-family: var(--display); font-weight: 800; font-size: 1.65rem; text-transform: uppercase; letter-spacing: .01em; line-height: 1.05; }
.cat-card__body small { font-size: 12.5px; color: var(--text-2); }
.cat-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-3); transition: gap .25s; }
.cat-card:hover { border-color: var(--line-3); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card:hover .cat-card__icon { background: var(--blue); border-color: var(--blue); }
.cat-card:hover .cat-card__go { gap: 10px; color: #fff; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; gap: 18px; }
.product-grid--4 { grid-template-columns: repeat(4, 1fr); }
.product-grid--5 { grid-template-columns: repeat(5, 1fr); }
.pcard { container-type: inline-size; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .3s, transform .35s var(--ease), box-shadow .35s; }
.pcard:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.pcard__media { position: relative; display: block; aspect-ratio: 1; background: #0d0f14; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__body { display: flex; flex-direction: column; flex: 1; padding: 16px; }
.pcard__brand { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-3); }
.pcard__brand span { font-weight: 500; letter-spacing: .02em; text-transform: none; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pcard__name { margin-top: 6px; font-size: 15px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pcard__name a:hover { color: var(--blue-3); }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pcard__meta span { font-size: 11.5px; color: var(--text-2); padding: 3px 8px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); }
.pcard__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 14px; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; }
.price strong { font-size: 18px; font-weight: 700; letter-spacing: -.01em; }
.price s { font-size: 13px; color: var(--text-3); }
.pcard__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.pcard__actions .btn { padding: 0 10px; }
@container (max-width: 250px) {
  .pcard__actions { grid-template-columns: 1fr auto; }
  .pcard__actions [data-add] { width: 36px; padding: 0; }
  .pcard__actions [data-add] span { display: none; }
  .pcard__actions [data-notify] { padding: 0 10px; }
}
@container (max-width: 200px) {
  .pcard__body { padding: 12px; }
  .pcard__brand span { display: none; }
  .pcard__name { font-size: 13.5px; }
  .pcard__row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .price strong { font-size: 16px; }
  .pcard__actions [data-notify] { font-size: 12px; }
}

/* ---------- Promo ---------- */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.promo { position: relative; display: flex; align-items: flex-end; min-height: 320px; padding: 34px; overflow: hidden; border-radius: var(--radius-xl); border: 1px solid var(--line); isolation: isolate; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1s var(--ease); }
.promo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(7, 8, 11, .94) 15%, rgba(7, 8, 11, .55) 60%, rgba(7, 8, 11, .2)); }
.promo:hover img { transform: scale(1.04); }
.promo__body { max-width: 380px; display: grid; gap: 12px; justify-items: start; }
.promo__title { font-family: var(--display); font-weight: 800; font-size: 2.1rem; text-transform: uppercase; line-height: 1; }
.promo__body p { color: var(--text-2); font-size: 14.5px; }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { display: flex; flex-direction: column; gap: 10px; padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); transition: border-color .3s, transform .35s var(--ease), background .3s; }
.svc:hover { border-color: rgba(47, 107, 255, .45); transform: translateY(-3px); background: linear-gradient(180deg, rgba(47, 107, 255, .07), var(--surface) 60%); }
.svc__icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 6px; border-radius: 12px; background: var(--blue-soft); color: var(--blue-3); border: 1px solid rgba(47, 107, 255, .25); }
.svc h3 { font-size: 16px; font-weight: 600; }
.svc p { font-size: 13.5px; color: var(--text-2); line-height: 1.55; flex: 1; }
.svc .link-arrow { font-size: 13px; margin-top: 6px; }

/* ---------- Band ---------- */
.band { display: grid; grid-template-columns: 1.1fr .9fr; overflow: hidden; border-radius: var(--radius-xl); background: linear-gradient(120deg, #0e1a44 0%, #0b1330 55%, #0a0d18 100%); border: 1px solid rgba(79, 132, 255, .25); }
.band__copy { padding: 56px; display: grid; align-content: center; gap: 14px; }
.band__title { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); text-transform: uppercase; line-height: 1; }
.band__copy > p { color: #c3cbe0; max-width: 460px; }
.band__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.band__media { position: relative; min-height: 320px; }
.band__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #0b1330, transparent 40%); }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__intro .btn { margin-top: 26px; }
.accordion { display: grid; gap: 10px; }
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; transition: border-color .25s; }
.acc.open { border-color: var(--line-2); }
.acc__q { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 20px 22px; text-align: left; font-size: 15.5px; font-weight: 600; }
.acc__ico { color: var(--text-3); transition: transform .3s var(--ease), color .3s; }
.acc.open .acc__ico { transform: rotate(45deg); color: var(--blue-3); }
.acc__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.acc__a > div { overflow: hidden; }
.acc.open .acc__a { grid-template-rows: 1fr; }
.acc__a p { padding: 0 22px 20px; color: var(--text-2); font-size: 14.5px; }

/* ---------- Page head / crumbs ---------- */
.page-head { padding: 48px 0 32px; background: radial-gradient(700px 260px at 50% -40px, rgba(47, 107, 255, .12), transparent 70%); }
.page-head--center { text-align: center; padding: 56px 0 24px; }
.page-head--center .crumbs { justify-content: center; }
.page-head--center .page-head__sub { margin-left: auto; margin-right: auto; }
.page-head__title { margin-top: 14px; font-family: var(--display); font-weight: 800; font-size: clamp(2.3rem, 4.4vw, 3.6rem); text-transform: uppercase; line-height: 1; }
.page-head .kicker + .page-head__title { margin-top: 0; }
.page-head .crumbs + .kicker { margin-top: 18px; }
.page-head__sub { margin-top: 12px; max-width: 620px; color: var(--text-2); font-size: 16px; }
.crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-3); }
.crumbs a:hover { color: var(--text); }
.crumbs span:last-child { color: var(--text-2); }
.crumbs--light { color: rgba(255, 255, 255, .65); }
.crumbs--light span:last-child { color: #fff; }

/* ---------- Shop ---------- */
.shop { padding-bottom: 80px; }
.tabs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; margin-bottom: 18px; }
.tabs::-webkit-scrollbar { display: none; }
.tab { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: all .2s; }
.tab:hover { color: var(--text); border-color: var(--line-2); }
.tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.chips::-webkit-scrollbar { display: none; }
.toolbar__right { display: flex; align-items: center; gap: 10px; flex: none; margin-left: auto; }
.filter-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--blue); color: #fff; font-size: 11px; display: grid; place-items: center; }

.select { position: relative; display: block; }
.select select { appearance: none; -webkit-appearance: none; width: 100%; height: 48px; padding: 0 40px 0 14px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line-2); cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.select select:focus { outline: 0; border-color: var(--blue); box-shadow: var(--ring); }
.select select option { background: #11141b; color: var(--text); }
.select > .ico { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.select--sm select { height: 36px; font-size: 13px; padding-right: 34px; border-radius: 9px; background: rgba(255, 255, 255, .02); }
.select--sm > .ico { right: 11px; }

.filters { margin-top: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); animation: pageIn .3s var(--ease); }
.filters__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr .8fr; gap: 28px; }
.filters__group legend { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.filters__options { display: grid; gap: 4px; max-height: 210px; overflow-y: auto; padding-right: 4px; }
.filters__options--row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; max-height: none; }
.filters__foot { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.price-range { display: flex; align-items: center; gap: 8px; }
.price-range__sep { color: var(--text-3); }
.field--compact input { height: 40px !important; }

.results-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 20px 0 18px; font-size: 13.5px; color: var(--text-3); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; }

.empty { display: grid; justify-items: center; gap: 10px; padding: 64px 20px; text-align: center; color: var(--text-2); background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--radius-lg); }
.empty .ico { color: var(--text-3); margin-bottom: 6px; }
.empty h3 { color: var(--text); font-size: 18px; }
.empty .btn { margin-top: 10px; }

.load-more { display: grid; justify-items: center; gap: 12px; margin-top: 44px; }
.load-more__meta { font-size: 13px; color: var(--text-3); }
.load-more__bar { width: 220px; height: 3px; border-radius: 3px; background: var(--surface-3); overflow: hidden; }
.load-more__bar span { display: block; height: 100%; background: var(--blue); border-radius: 3px; transition: width .5s var(--ease); }
.load-more .btn { min-width: 240px; margin-top: 6px; }
.disclaimer { display: flex; align-items: flex-start; gap: 8px; margin: 40px auto 0; max-width: 720px; justify-content: center; text-align: center; font-size: 12.5px; color: var(--text-3); }
.disclaimer .ico { margin-top: 3px; }

/* ---------- Product detail ---------- */
.pdp { padding-top: 28px; padding-bottom: 72px; }
.pdp__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; margin-top: 24px; align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 20px); }
.gallery__main { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-xl); background: #0d0f14; border: 1px solid var(--line); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; transition: opacity .15s; }
.gallery__main img.swap { opacity: 0; }
.gallery__main .pill--sale { top: 16px; right: 16px; }
.gallery__thumbs { display: grid; grid-template-columns: repeat(3, 92px); gap: 10px; margin-top: 12px; }
.gallery__thumb { aspect-ratio: 1; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--surface); opacity: .6; transition: all .2s; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: 1; }
.gallery__thumb.active { border-color: var(--blue); opacity: 1; }
.pdp__brand { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-3); }
.pdp__name { margin-top: 10px; font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.12; }
.pdp__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.pdp__tags .pill { height: 28px; font-size: 11.5px; }
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.pdp__price strong { font-size: 2.2rem; font-weight: 700; letter-spacing: -.02em; }
.pdp__price s { color: var(--text-3); font-size: 1.05rem; }
.save { padding: 3px 9px; border-radius: 6px; background: var(--red-soft); color: #ff7a82; font-size: 12.5px; font-weight: 700; }
.pdp__lead { margin-top: 16px; color: var(--text-2); font-size: 15.5px; }
.pdp__buy { display: flex; gap: 12px; margin-top: 28px; }
.pdp__add { flex: 1; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-alt); }
.qty button { width: 44px; height: 100%; display: grid; place-items: center; color: var(--text-2); }
.qty button:hover { color: #fff; }
.qty input { width: 40px; height: 100%; text-align: center; background: none; border: 0; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty--sm { height: 34px; border-radius: 8px; }
.qty--sm button { width: 32px; }
.qty--sm span { min-width: 22px; text-align: center; font-size: 13.5px; font-weight: 600; }
.pdp__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.pdp__benefits { display: grid; gap: 12px; margin-top: 28px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pdp__benefits li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--text-2); }
.pdp__benefits .ico { color: var(--blue-3); }
.ptabs { margin-top: 64px; }
.ptabs__nav { display: flex; gap: 6px; border-bottom: 1px solid var(--line); }
.ptabs__btn { position: relative; height: 48px; padding: 0 18px; font-weight: 600; color: var(--text-3); }
.ptabs__btn.active { color: var(--text); }
.ptabs__btn.active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 2px; background: var(--red); border-radius: 2px; }
.ptabs__panel { padding: 28px 0 0; max-width: 820px; color: var(--text-2); display: grid; gap: 14px; }
.specs { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.specs th, .specs td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.specs th { width: 36%; font-weight: 500; color: var(--text-3); }
.specs td { color: var(--text); }
.specs tr:nth-child(odd) { background: rgba(255, 255, 255, .015); }

/* ---------- Cover (wholesale / repairs) ---------- */
.cover { position: relative; display: flex; align-items: center; min-height: 480px; padding: 72px 0; overflow: hidden; isolation: isolate; }
.cover__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cover::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7, 8, 11, .96) 20%, rgba(7, 8, 11, .7) 55%, rgba(7, 8, 11, .35)), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.cover--wholesale::before { background: linear-gradient(90deg, rgba(6, 10, 26, .96) 20%, rgba(8, 14, 36, .75) 55%, rgba(7, 8, 11, .35)), linear-gradient(0deg, var(--bg) 0%, transparent 30%); }
.cover__inner { display: grid; justify-items: start; }
.cover__inner .crumbs { margin-bottom: 26px; }
.cover__title { max-width: 720px; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 5.4vw, 4.4rem); text-transform: uppercase; line-height: .96; }
.cover__lead { max-width: 560px; margin-top: 18px; font-size: 17px; color: #cdd3df; }
.cover__inner > .btn, .cover__cta { margin-top: 30px; }
.cover__cta { display: flex; flex-wrap: wrap; gap: 12px; }

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { padding: 26px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.feature__icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue-3); border: 1px solid rgba(47, 107, 255, .25); margin-bottom: 16px; }
.feature h3 { font-size: 16px; font-weight: 600; }
.feature p { margin-top: 6px; font-size: 13.5px; color: var(--text-2); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); overflow: hidden; }
.steps li { display: flex; gap: 16px; padding: 24px; }
.steps li + li { border-left: 1px solid var(--line); }
.steps__n { font-family: var(--display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--blue-2); }
.steps li div { display: grid; gap: 4px; }
.steps strong { font-size: 15px; font-weight: 600; }
.steps span:not(.steps__n) { font-size: 13.5px; color: var(--text-2); }
.steps--plain { margin-top: 0; }

/* ---------- Forms ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.form { padding: 36px; }
.form__head { padding-bottom: 22px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.form__title { font-size: 22px; font-weight: 700; letter-spacing: -.01em; }
.form__sub { margin-top: 4px; font-size: 13px; color: var(--text-3); }
.form__section { margin: 30px 0 16px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-3); display: flex; align-items: center; gap: 12px; }
.form__section::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__grid--3 { grid-template-columns: repeat(3, 1fr); }
.form__grid + .field, .field + .field, .form__grid + .form__grid, .field + .form__grid { margin-top: 18px; }
.form__grid > .field, .schedule > .field { margin-top: 0 !important; }
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line-2);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.55; }
.field input::placeholder, .field textarea::placeholder { color: #5d6474; }
.field input:hover, .field textarea:hover, .select select:hover { border-color: var(--line-3); }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--blue); box-shadow: var(--ring); background: #0d1018; }
.field__hint { font-size: 12px; color: var(--text-3); }
.field__error { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #ff6b74; animation: pageIn .25s; }
.is-invalid input:not([type=checkbox]):not([type=radio]), .is-invalid textarea, .is-invalid select { border-color: rgba(255, 82, 92, .75) !important; }
.is-invalid .calendar, .is-invalid .check-grid .check, .is-invalid .seg, .is-invalid .slots .slot > span { border-color: rgba(255, 82, 92, .5); }
.form__actions { display: flex; justify-content: flex-end; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
input[type=number] { -moz-appearance: textfield; }
input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }

.check { position: relative; display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check__box { width: 20px; height: 20px; flex: none; border-radius: 6px; border: 1.5px solid var(--line-3); background: var(--bg-alt); display: grid; place-items: center; transition: all .2s; }
.check__box::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px) scale(0); transition: transform .2s var(--ease); }
.check input:checked + .check__box { background: var(--blue); border-color: var(--blue); }
.check input:checked + .check__box::after { transform: rotate(-45deg) translate(1px, -1px) scale(1); }
.check input:focus-visible + .check__box { box-shadow: var(--ring); }
.check:hover { color: var(--text); }
.check em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--text-3); }
.check--terms { align-items: flex-start; margin-top: 24px; font-size: 13.5px; line-height: 1.5; }
.check--terms .check__box { margin-top: 1px; }
.check--terms a { color: var(--blue-3); text-decoration: underline; text-underline-offset: 2px; }
.check--terms.is-invalid .check__box { border-color: #ff6b74; }
.check--terms .field__error { position: absolute; top: 100%; left: 30px; }
.check--terms.is-invalid { margin-bottom: 22px; }
.check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.check--card { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--bg-alt); transition: border-color .2s, background .2s; }
.check--card:has(input:checked) { border-color: var(--blue); background: rgba(47, 107, 255, .08); color: var(--text); }

.seg { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line-2); }
.seg__opt { flex: 1; position: relative; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 12px; border-radius: 9px; font-size: 13.5px; font-weight: 600; color: var(--text-2); text-align: center; cursor: pointer; transition: all .2s; white-space: nowrap; }
.seg__opt span:hover { color: var(--text); }
.seg__opt input:checked + span { background: var(--surface-3); color: #fff; box-shadow: inset 0 0 0 1px var(--line-3); }
.seg__opt input:focus-visible + span { box-shadow: var(--ring); }
.seg--wide .seg__opt span { height: 44px; }

.dropzone { position: relative; display: grid; justify-items: center; gap: 6px; padding: 28px 20px; border-radius: 12px; border: 1.5px dashed var(--line-3); background: var(--bg-alt); text-align: center; color: var(--text-2); font-size: 14px; transition: border-color .2s, background .2s; }
.dropzone:hover, .dropzone.drag { border-color: var(--blue); background: rgba(47, 107, 255, .06); }
.dropzone > .ico { width: 26px; height: 26px; color: var(--blue-3); margin-bottom: 4px; }
.dropzone strong { color: var(--text); }
.dropzone small { font-size: 12px; color: var(--text-3); }
.dropzone__input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line-2); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(0, 0, 0, .75); color: #fff; }

.notice { display: flex; gap: 12px; margin-top: 24px; padding: 16px 18px; border-radius: 12px; background: var(--blue-soft); border: 1px solid rgba(47, 107, 255, .3); color: #c8d6ff; font-size: 13.5px; }
.notice .ico { color: var(--blue-3); margin-top: 2px; }

.aside { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 16px; }
.aside__card { padding: 26px; }
.aside__card h3 { font-size: 17px; font-weight: 600; margin-bottom: 16px; }
.aside__card--muted { display: flex; gap: 12px; background: var(--bg-alt); font-size: 13.5px; color: var(--text-2); }
.aside__card--muted .ico { color: var(--blue-3); margin-top: 2px; }
.ticks { display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; font-size: 14px; color: var(--text-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238fb0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat; }
.mini-steps { display: grid; gap: 16px; }
.mini-steps li { display: flex; gap: 14px; }
.mini-steps span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--surface-3); font-size: 13px; font-weight: 700; color: var(--blue-3); }
.mini-steps p { font-size: 14px; color: var(--text-2); padding-top: 3px; }

/* Calendar & slots */
.schedule { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; }
.calendar { padding: 16px; border-radius: 14px; background: var(--bg-alt); border: 1px solid var(--line-2); }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.cal__title { font-size: 15px; font-weight: 600; }
.cal__week, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal__week span { text-align: center; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--text-3); padding: 6px 0; }
.cal__cell { aspect-ratio: 1; display: grid; place-items: center; border-radius: 9px; font-size: 13.5px; font-weight: 500; color: var(--text); transition: background .15s, color .15s; }
.cal__cell:not([disabled]):not(.cal__cell--empty):hover { background: var(--surface-3); }
.cal__cell[disabled] { color: #3f4553; cursor: not-allowed; }
.cal__cell.today { box-shadow: inset 0 0 0 1px var(--line-3); }
.cal__cell.selected { background: var(--blue) !important; color: #fff; font-weight: 700; box-shadow: 0 6px 16px -6px rgba(47, 107, 255, .8); }
.cal__legend { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.cal__dot { width: 8px; height: 8px; border-radius: 50%; background: #3f4553; }
.slots { display: grid; gap: 10px; }
.slot { position: relative; cursor: pointer; }
.slot input { position: absolute; opacity: 0; }
.slot > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--bg-alt); transition: all .2s; }
.slot strong { font-size: 14.5px; font-weight: 600; }
.slot small { font-size: 12.5px; color: var(--text-3); }
.slot:hover > span { border-color: var(--line-3); }
.slot input:checked + span { border-color: var(--blue); background: rgba(47, 107, 255, .1); }
.slot input:checked + span small { color: var(--blue-3); }
.slot input:focus-visible + span { box-shadow: var(--ring); }
.selected-when { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 14px 16px; border-radius: 12px; border: 1px dashed var(--line-2); font-size: 13.5px; color: var(--text-3); transition: all .25s; }
.selected-when.on { border-style: solid; border-color: rgba(43, 212, 125, .35); background: rgba(43, 212, 125, .07); color: #b8f3d3; }
.selected-when.on .ico { color: var(--green); }

/* ---------- Contact ---------- */
.contact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 28px; }
.ccard { display: flex; gap: 16px; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.ccard__icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--blue-soft); color: var(--blue-3); border: 1px solid rgba(47, 107, 255, .25); }
.ccard h3 { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.ccard p { font-size: 14.5px; color: var(--text); }
.ccard .link-arrow { margin-top: 8px; font-size: 13px; }
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 28px; align-items: stretch; }
.map { position: relative; overflow: hidden; min-height: 420px; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.4) invert(.9) hue-rotate(180deg) contrast(.9); }
.map__ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 18px; padding: 28px; text-align: center; background: radial-gradient(circle at 50% 42%, rgba(47, 107, 255, .14), transparent 60%), var(--bg-alt); }
.map__grid { position: absolute; inset: 0; opacity: .6; background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 34px 34px; mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); }
.map__pin { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 0 0 10px var(--red-soft), 0 0 0 22px rgba(227, 34, 46, .06); }
.map__txt { position: relative; max-width: 280px; }
.map__txt strong { font-size: 16px; }
.map__txt p { margin-top: 6px; font-size: 13.5px; color: var(--text-2); }

/* ---------- Policy / 404 ---------- */
.policy { padding: 40px; }
.policy__notice { display: flex; gap: 12px; padding: 18px 20px; border-radius: 12px; background: rgba(245, 177, 61, .08); border: 1px solid rgba(245, 177, 61, .28); color: #f3dcb0; font-size: 14px; margin-bottom: 30px; }
.policy__notice .ico { color: var(--amber); margin-top: 2px; }
.policy h2 { font-size: 18px; font-weight: 600; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.policy h2:first-of-type { border-top: 0; padding-top: 0; }
.policy h2 span { color: var(--blue-3); margin-right: 8px; font-variant-numeric: tabular-nums; }
.policy p { margin-top: 8px; color: var(--text-2); font-size: 14.5px; }
.policy__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.notfound { display: grid; justify-items: center; gap: 12px; padding: 110px 0; text-align: center; }
.notfound__code { font-family: var(--display); font-weight: 800; font-size: 7rem; line-height: 1; background: linear-gradient(180deg, #fff, rgba(255, 255, 255, .15)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 26px; }
.notfound p { color: var(--text-2); margin-bottom: 14px; }
.notfound .ico { color: var(--text-3); }

/* ---------- Footer ---------- */
.footer { background: #050608; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; padding-top: 64px; padding-bottom: 52px; }
.footer__logo { height: 64px; width: auto; mix-blend-mode: lighten; }
.footer__brand p { margin-top: 16px; max-width: 300px; font-size: 14px; color: var(--text-3); }
.footer__col h4 { margin-bottom: 18px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.footer__col ul { display: grid; gap: 11px; }
.footer__col a, .footer__col .linklike { font-size: 14px; color: var(--text-3); transition: color .2s; }
.footer__col a:hover, .footer__col .linklike:hover { color: #fff; }
.footer__contact li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-3); }
.footer__contact .ico { color: var(--text-3); }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.socials--sm { margin-top: 4px; }
.social { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; border: 1px solid var(--line-2); color: var(--text-2); transition: all .2s; }
.social:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer__bottom { border-top: 1px solid var(--line); }
.footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 22px; padding-bottom: 22px; font-size: 13px; color: var(--text-3); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a:hover { color: #fff; }

/* ---------- Cart ---------- */
.cart__title { font-size: 18px; font-weight: 700; display: flex; align-items: baseline; gap: 8px; }
.cart__qty { font-size: 13px; font-weight: 500; color: var(--text-3); }
.cart__items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.citem { position: relative; display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: opacity .2s, transform .2s; }
.citem.out { opacity: 0; transform: translateX(20px); }
.citem__img { width: 80px; height: 80px; flex: none; border-radius: 12px; overflow: hidden; background: var(--bg-alt); border: 1px solid var(--line); }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__body { flex: 1; min-width: 0; display: grid; gap: 3px; padding-right: 26px; }
.citem__name { font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.citem__name:hover { color: var(--blue-3); }
.citem__meta { font-size: 12px; color: var(--text-3); }
.citem__row { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.citem__rm { position: absolute; top: 14px; right: -6px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; color: var(--text-3); }
.citem__rm:hover { color: #ff6b74; background: rgba(255, 82, 92, .1); }
.cart__empty { display: grid; justify-items: center; gap: 10px; padding: 70px 10px; text-align: center; color: var(--text-2); }
.cart__empty .ico { color: var(--text-3); margin-bottom: 8px; }
.cart__empty h3 { color: var(--text); font-size: 18px; }
.cart__empty .btn { margin-top: 14px; }
.cart__foot { padding: 20px 22px calc(20px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.cart__row { display: flex; justify-content: space-between; font-size: 14px; color: var(--text-2); }
.cart__row strong { color: var(--text); }
.cart__row--muted { font-size: 12.5px; color: var(--text-3); }
.cart__row--total { padding-top: 12px; margin: 4px 0 6px; border-top: 1px solid var(--line); font-size: 16px; color: var(--text); font-weight: 600; }
.cart__row--total strong { font-size: 20px; }

/* ---------- Chat ---------- */
.chat-fab { position: fixed; right: 24px; bottom: 24px; z-index: 71; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: var(--blue); color: #fff; box-shadow: 0 14px 30px -10px rgba(47, 107, 255, .85), inset 0 1px 0 rgba(255, 255, 255, .2); transition: transform .3s var(--ease), background .2s; }
.chat-fab:hover { transform: translateY(-2px) scale(1.04); background: var(--blue-2); }
.chat-fab .ico { width: 24px; height: 24px; position: absolute; transition: transform .3s var(--ease), opacity .2s; }
.chat-fab__close { opacity: 0; transform: rotate(-90deg); }
.chat-fab.active .chat-fab__open { opacity: 0; transform: rotate(90deg); }
.chat-fab.active .chat-fab__close { opacity: 1; transform: none; }
.chat { position: fixed; right: 24px; bottom: 96px; z-index: 70; width: 380px; height: min(580px, calc(100vh - 140px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85); opacity: 0; visibility: hidden; transform: translateY(14px) scale(.98); transform-origin: bottom right; transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .3s; }
.chat.open { opacity: 1; visibility: visible; transform: none; }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; background: linear-gradient(120deg, #0f1a44, #0c1228); border-bottom: 1px solid var(--line); }
.chat__avatar { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; background: #000; border: 1px solid var(--line-2); flex: none; }
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat__who { flex: 1; min-width: 0; display: grid; }
.chat__who strong { font-size: 13px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #c3cbe0; }
.chat__status .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.chat__body { flex: 1; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 10px; scroll-behavior: smooth; }
.msg { display: flex; animation: msgIn .3s var(--ease); }
@keyframes msgIn { from { opacity: 0; transform: translateY(6px); } }
.msg__bubble { max-width: 86%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg--bot .msg__bubble { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 5px; color: var(--text); }
.msg--me { justify-content: flex-end; }
.msg--me .msg__bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.msg__links { display: grid; gap: 6px; margin-top: 10px; }
.msg__link { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; color: var(--blue-3); }
.msg__link:hover { border-color: var(--blue); color: #fff; }
.chat__note { display: flex; align-items: center; gap: 6px; align-self: center; padding: 6px 10px; border-radius: 8px; font-size: 11.5px; color: var(--text-3); background: rgba(255, 255, 255, .03); text-align: center; }
.chat__opts { display: flex; flex-wrap: wrap; gap: 6px; padding-left: 2px; animation: msgIn .3s var(--ease); }
.chat__opts .chip { background: var(--bg-alt); }
.chat__opts .chip:hover { border-color: var(--blue); color: #fff; }
.typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--text-3); animation: typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.chat__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }
.chat__input input { flex: 1; min-width: 0; height: 44px; padding: 0 14px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line-2); font-size: 14px; }
.chat__input input:focus { outline: 0; border-color: var(--blue); }
.chat__input .icon-btn { width: 44px; height: 44px; border-radius: 12px; }

.to-top { position: fixed; right: 31px; bottom: 96px; z-index: 69; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { color: #fff; border-color: var(--line-3); }
body.chat-open .to-top { opacity: 0; visibility: hidden; }

/* ---------- Modal & toasts ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgba(0, 0, 0, .66); backdrop-filter: blur(4px); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.modal.open { opacity: 1; visibility: visible; }
.modal__dialog { position: relative; width: min(460px, 100%); padding: 36px 32px 28px; text-align: center; background: var(--surface); border: 1px solid var(--line-2); border-radius: 22px; box-shadow: var(--shadow-lg); transform: translateY(14px) scale(.97); transition: transform .3s var(--ease); }
.modal.open .modal__dialog { transform: none; }
.modal__close { position: absolute; top: 14px; right: 14px; }
.modal__icon { width: 60px; height: 60px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 18px; }
.modal__icon .ico { width: 28px; height: 28px; }
.modal__icon--ok { background: rgba(43, 212, 125, .12); color: var(--green); }
.modal__icon--info { background: var(--blue-soft); color: var(--blue-3); }
.modal__icon--warn { background: rgba(245, 177, 61, .12); color: var(--amber); }
.modal__title { font-size: 21px; font-weight: 700; }
.modal__text { margin-top: 10px; color: var(--text-2); font-size: 14.5px; }
.modal__text strong { color: var(--text); }
.modal__sum { display: flex; justify-content: space-between; margin-top: 18px; padding: 14px 16px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text-2); }
.modal__sum strong { color: var(--text); }
.modal__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 26px; }
.modal__actions .btn { flex: 1 1 140px; }
.toasts { position: fixed; top: calc(var(--header-h) + 14px); right: 20px; z-index: 110; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 14px 12px 14px 16px; border-radius: 14px; background: rgba(23, 27, 36, .97); border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); font-size: 13.5px; color: var(--text-2); opacity: 0; transform: translateX(16px); transition: opacity .25s, transform .3s var(--ease); }
.toast.in { opacity: 1; transform: none; }
.toast.out { opacity: 0; transform: translateX(16px); }
.toast strong { color: var(--text); }
.toast--success > .ico { color: var(--green); }
.toast--error > .ico { color: #ff6b74; }
.toast--info > .ico { color: var(--blue-3); }
.toast__msg { flex: 1; }
.toast__action { flex: none; font-size: 12.5px; font-weight: 700; color: var(--blue-3); padding: 6px 8px; border-radius: 6px; }
.toast__action:hover { background: rgba(255, 255, 255, .06); }
.toast__x { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 6px; color: var(--text-3); }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 1240px) {
  .nav { display: none; }
  .burger { display: inline-grid; }
  .header__inner { justify-content: space-between; }
  .header__actions { margin-left: auto; }
  .product-grid--5 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; gap: 44px; }
  .hero__copy { max-width: 680px; }
  .hero__media { height: 460px; }
  .cat-grid { grid-template-columns: repeat(6, 1fr); }
  .cat-card:nth-child(4), .cat-card:nth-child(5) { aspect-ratio: 16 / 10; }
  .cat-card { grid-column: span 2; }
  .cat-card:nth-child(4), .cat-card:nth-child(5) { grid-column: span 3; }
  .svc-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid--5 { grid-template-columns: repeat(3, 1fr); }
  .filters__grid { grid-template-columns: 1fr 1fr; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .form-layout, .contact-layout { grid-template-columns: 1fr; }
  .aside { position: static; grid-template-columns: 1fr 1fr; }
  .map { min-height: 340px; }
  .pdp__grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery { position: static; max-width: 640px; }
  .footer__top { grid-template-columns: repeat(4, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(3) { border-left: 0; }
  .trust__item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .band { grid-template-columns: 1fr; }
  .band__media { min-height: 240px; order: -1; }
  .band__media::before { background: linear-gradient(0deg, #0b1330, transparent 50%); }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  :root { --header-h: 68px; --gutter: 20px; }
  .section { padding: 64px 0; }
  .section--tight { padding: 44px 0; }
  .brand__logo { height: 44px; }
  .hide-sm { display: none; }
  .promo-grid { grid-template-columns: 1fr; }
  .promo { min-height: 260px; padding: 26px; }
  .schedule { grid-template-columns: 1fr; }
  .form { padding: 26px 22px; }
  .form__grid--3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li + li { border-left: 0; border-top: 1px solid var(--line); }
  .band__copy { padding: 36px 28px; }
  .section__head { flex-wrap: wrap; align-items: flex-end; }
  .sr-list { grid-template-columns: 1fr; }
  .cover { min-height: 420px; padding: 56px 0; }
  .policy { padding: 28px 22px; }
}
@media (max-width: 640px) {
  :root { --gutter: 16px; }
  body { font-size: 14.5px; }
  .announce { font-size: 12px; }
  .announce__inner { gap: 8px; min-height: 36px; padding: 6px 16px; }
  .announce__inner > .ico { display: none; }
  .header__inner { gap: 8px; }
  .header__actions { gap: 0; }
  .header .lang { display: none; }
  .brand__logo { height: 46px; }
  .icon-btn { width: 40px; height: 40px; }
  .hero { padding: 40px 0 56px; }
  .hero__title { font-size: clamp(2.6rem, 12vw, 3.4rem); }
  .hero__lead { font-size: 15.5px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__points { gap: 10px 18px; }
  .hero__media { height: auto; grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .hero__shot--main { grid-row: auto; grid-column: 1 / -1; aspect-ratio: 16 / 11; }
  .hero__shot--a, .hero__shot--b { aspect-ratio: 1; }
  .trust__item { padding: 18px 12px; gap: 10px; }
  .trust__item > .ico { width: 22px; height: 22px; }
  .trust__item strong { font-size: 13px; }
  .trust__item span { font-size: 11.5px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .cat-card, .cat-card:nth-child(4) { grid-column: span 1; aspect-ratio: 4 / 5; }
  .cat-card:nth-child(5) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
  .cat-card__body { left: 14px; right: 14px; bottom: 14px; }
  .cat-card__body strong { font-size: 1.35rem; }
  .cat-card__body small { display: none; }
  .cat-card:nth-child(5) .cat-card__body small { display: block; }
  .cat-card__go { margin-top: 6px; }
  .product-grid { gap: 12px; }
  .product-grid--5 { grid-template-columns: 1fr 1fr; }
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }
  .svc { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 4px 14px; padding: 20px; }
  .svc__icon { margin: 0; }
  .svc h3 { flex: 1; align-self: center; }
  .svc p, .svc .link-arrow { flex-basis: 100%; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; padding: 20px; }
  .feature__icon { grid-row: span 2; margin: 0; }
  .form__grid, .form__grid--3 { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .seg { flex-direction: column; }
  .seg__opt span { justify-content: flex-start; }
  .form__actions .btn { width: 100%; }
  .aside { grid-template-columns: 1fr; }
  .filters { padding: 18px; }
  .filters__grid { grid-template-columns: 1fr; gap: 22px; }
  .toolbar { flex-wrap: wrap; }
  .chips { flex: 1 1 100%; order: 2; }
  .toolbar__right { width: 100%; justify-content: space-between; }
  .toolbar__right .select--sm { flex: 1; }
  .page-head { padding: 32px 0 22px; }
  .page-head--center { padding: 40px 0 16px; }
  .pdp__buy { flex-direction: column; }
  .qty { align-self: flex-start; }
  .gallery__thumbs { grid-template-columns: repeat(3, 1fr); }
  .contact-cards { grid-template-columns: 1fr; gap: 12px; }
  .ccard { padding: 20px; }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding-top: 48px; }
  .footer__bottom-inner { flex-direction: column; align-items: flex-start; }
  .chat { right: 0; left: 0; bottom: 0; width: 100%; height: min(86vh, 640px); border-radius: 20px 20px 0 0; transform-origin: bottom center; }
  .chat__input { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  body.chat-open .chat-fab { opacity: 0; visibility: hidden; }
  .chat-fab { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 21px; bottom: 82px; width: 42px; height: 42px; }
  .toasts { top: auto; bottom: 84px; right: 16px; left: 16px; width: auto; }
  .toast { transform: translateY(12px); }
  .toast.out { transform: translateY(12px); }
  .modal__dialog { padding: 30px 22px 22px; }
  .notfound__code { font-size: 5rem; }
}
@media (max-width: 380px) {
  .brand__logo { height: 36px; }
  .icon-btn { width: 38px; height: 38px; }
  .check-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}


/* =========================================================================
   v2 — Platform features: checkout, repair tracking, form helpers
   ========================================================================= */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.btn.busy { opacity: .65; pointer-events: none; }
.modal__dialog--wide { width: min(640px, 100%); }
.modal__dialog { max-height: calc(100vh - 32px); overflow-y: auto; }
.co-sub { margin-bottom: 16px; }
.co-form { display: grid; gap: 14px; text-align: left; }
.co-form .form__grid { gap: 14px; }
.co-promo { display: flex; gap: 8px; }
.co-promo input { flex: 1; }
.co-sum { display: grid; gap: 8px; margin-top: 18px; padding: 16px; border-radius: 12px; background: var(--bg-alt); border: 1px solid var(--line); text-align: left; font-size: 14px; }
.co-sum div { display: flex; justify-content: space-between; gap: 10px; color: var(--text-2); }
.co-sum .co-disc { color: #7ff0b4; }
.co-sum .co-total { padding-top: 8px; border-top: 1px solid var(--line); color: var(--text); font-size: 16px; }
.co-sum small { color: var(--text-3); font-size: 12px; }
.co-pay { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12.5px; color: var(--text-3); }
.ok-number { margin: 6px 0 12px; font-family: var(--display); font-weight: 800; font-size: 2rem; letter-spacing: .04em; color: #fff; }
.copy-row { display: flex; gap: 8px; margin-top: 10px; }
.copy-row input { flex: 1; min-width: 0; height: 38px; padding: 0 10px; border-radius: 9px; background: var(--bg-alt); border: 1px solid var(--line-2); font-size: 12.5px; color: var(--text-2); }
.cover__track { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: #cdd3df; }
.cover__track:hover { color: #fff; }
.notice--warn { background: rgba(245, 177, 61, .1); border-color: rgba(245, 177, 61, .35); color: #ffe0a6; }
.notice--warn .ico { color: var(--amber); }

.track-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 14px; align-items: end; padding: 24px; }
.trk-loading, .trk-err { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 20px; text-align: center; color: var(--text-2); }
.trk-err .ico { width: 34px; height: 34px; color: var(--amber); }
.trk { padding: 28px; margin-top: 4px; }
.trk__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.trk__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-3); }
.trk__num { font-family: var(--display); font-weight: 800; font-size: 2.6rem; letter-spacing: .03em; line-height: 1.05; }
.trk__status { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; }
.trk__status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.trk__status--progress { background: var(--blue-soft); color: var(--blue-3); }
.trk__status--done { background: rgba(43, 212, 125, .12); color: #7ff0b4; }
.trk__status--cancel { background: var(--red-soft); color: #ff8a92; }
.trk__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; margin: 22px 0; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trk__meta div { display: grid; gap: 2px; }
.trk__meta span { font-size: 12px; color: var(--text-3); }
.trk__meta strong { font-size: 14.5px; font-weight: 600; }
.trk__steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 0; counter-reset: s; margin-top: 8px; }
.trk__step { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; padding: 0 4px; }
.trk__step::before { content: ""; position: absolute; top: 14px; left: -50%; right: 50%; height: 3px; background: var(--surface-3); z-index: 0; }
.trk__step:first-child::before { display: none; }
.trk__step--done::before, .trk__step--current::before { background: var(--blue); }
.trk__dot { position: relative; z-index: 1; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-3); border: 3px solid var(--surface); color: #fff; }
.trk__step--done .trk__dot { background: var(--green); }
.trk__step--current .trk__dot { background: var(--blue); box-shadow: 0 0 0 5px rgba(47, 107, 255, .25); }
.trk__step--current .trk__dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.trk__step strong { font-size: 12.5px; font-weight: 600; color: var(--text-3); line-height: 1.3; }
.trk__step--done strong, .trk__step--current strong { color: var(--text); }
.trk__step small { display: block; margin-top: 2px; font-size: 11px; color: var(--text-3); }
.trk-est { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: 16px; padding: 24px 28px; }
.trk-est--pending { border-color: rgba(245, 177, 61, .45); background: linear-gradient(120deg, rgba(245, 177, 61, .08), var(--surface) 60%); }
.trk-est__amt { margin-top: 4px; font-size: 2rem; font-weight: 700; letter-spacing: -.02em; }
.trk-est__note, .trk-est__txt { margin-top: 4px; color: var(--text-2); font-size: 14px; }
.trk-est__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.trk-ev { margin-top: 16px; padding: 24px 28px; }
.trk-ev h3 { font-size: 16px; margin-bottom: 14px; }
.trk-ev ul { display: grid; gap: 0; }
.trk-ev li { position: relative; display: grid; grid-template-columns: 18px 1fr; gap: 12px; padding-bottom: 16px; }
.trk-ev li::before { content: ""; position: absolute; left: 6px; top: 16px; bottom: 0; width: 2px; background: var(--line-2); }
.trk-ev li:last-child::before { display: none; }
.trk-ev__dot { width: 14px; height: 14px; margin-top: 3px; border-radius: 50%; background: var(--blue); border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--blue); }
.trk-ev__dot--msg { background: var(--green); box-shadow: 0 0 0 1px var(--green); }
.trk-ev strong { font-size: 14px; } .trk-ev p { margin-top: 4px; padding: 10px 12px; border-radius: 10px; background: var(--bg-alt); border: 1px solid var(--line); color: var(--text-2); font-size: 14px; white-space: pre-wrap; }
.trk-ev small { display: block; margin-top: 3px; font-size: 12px; color: var(--text-3); }
.trk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 16px; font-size: 12.5px; color: var(--text-3); }
.trk-foot > span:first-child { display: inline-flex; align-items: center; gap: 6px; }
.trk-foot__btns { display: flex; gap: 6px; }
body.loading-data .product-grid:empty, body.loading-data .cat-grid:empty { min-height: 280px; border-radius: var(--radius-lg); background: linear-gradient(90deg, var(--surface) 0%, var(--surface-2) 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (max-width: 820px) {
  .track-form { grid-template-columns: 1fr; }
  .trk { padding: 20px; }
  .trk__steps { grid-auto-flow: row; grid-auto-columns: auto; gap: 14px; }
  .trk__step { grid-template-columns: 30px 1fr; justify-items: start; text-align: left; align-items: center; }
  .trk__step::before { left: 13px; right: auto; top: -14px; bottom: auto; width: 3px; height: 14px; }
  .trk-est, .trk-ev { padding: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

.co-form .field, .co-form .form__grid { margin-top: 0 !important; }
