:root {
  --bg: #0b0b0f;
  --bg-2: #101016;
  --card: #14141b;
  --card-2: #191922;
  --line: #24242e;
  --line-2: #33333f;
  --text: #f2f2f6;
  --muted: #9a9aaa;
  --violet: #7a3cf0;
  --violet-2: #9a68ff;
  --violet-soft: rgba(122, 60, 240, .14);
  --ok: #4ade80;
  --radius: 14px;
  --head: "Montserrat", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 140px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0; letter-spacing: -0.01em; }
svg { width: 20px; height: 20px; flex: none; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 10px; background: var(--violet); color: #fff; font-weight: 600; transition: top .2s; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 2px; }
main:focus { outline: none; }
button, a, input, label { touch-action: manipulation; }
.price { font-variant-numeric: tabular-nums; }

/* header */
.head { position: sticky; top: 0; z-index: 20; background: rgba(11, 11, 15, .92); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.head__in { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand img { height: 26px; width: auto; }
.search { flex: 1; display: flex; max-width: 560px; margin: 0 auto; height: 44px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card); overflow: hidden; transition: border-color .2s; }
.search:focus-within { border-color: var(--violet); }
.search input { flex: 1; min-width: 0; padding: 0 16px; border: 0; background: none; color: var(--text); font: 15px var(--body); outline: none; }
@media (max-width: 640px) { .search input { font-size: 16px; } }
.search input::placeholder { color: #6e6e7c; }
.search button { width: 46px; border: 0; background: none; color: var(--muted); }
.search button:hover { color: var(--text); }
.head__tg { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; border: 1px solid var(--line-2); border-radius: 12px; }
.head__tg svg { color: var(--violet-2); }
.head__tg span { display: flex; flex-direction: column; line-height: 1.25; }
.head__tg b { font-size: 14px; }
.head__tg small { font-size: 11px; color: var(--muted); }
.head__tg:hover { border-color: var(--violet); }
.lang { display: grid; place-items: center; height: 44px; padding: 0 12px; font: 700 13px var(--head); letter-spacing: .06em; border: 1px solid var(--line-2); border-radius: 12px; color: var(--muted); }
.lang:hover { color: var(--text); border-color: var(--violet); }
.cart-btn { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--violet); border: 0; color: #fff; }
.cart-btn:hover { background: var(--violet-2); }
.cart-btn__n { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: #fff; color: var(--bg); font: 700 11px/20px var(--head); text-align: center; }
.cats { border-top: 1px solid var(--line); }
.cats__in { display: flex; gap: 6px; height: 46px; align-items: center; overflow-x: auto; scrollbar-width: none; }
.cats__in::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 7px 12px; border-radius: 8px; font: 600 14px var(--head); color: #d6d6de; }
.cats a:hover { background: var(--card); color: #fff; }
.cats a:last-child { margin-left: auto; color: var(--violet-2); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 22px; border-radius: 10px; border: 1px solid var(--violet); background: var(--violet); color: #fff; font: 700 14px var(--head); transition: background .2s, border-color .2s; white-space: nowrap; }
.btn:hover { background: var(--violet-2); border-color: var(--violet-2); }
.btn:active { transform: translateY(1px); }
.btn--ghost { background: transparent; border-color: var(--line-2); }
.btn--ghost:hover { background: var(--violet-soft); border-color: var(--violet); }
.btn--block { width: 100%; }
.btn--lg { height: 52px; padding: 0 30px; font-size: 15px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.icon-btn { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--line-2); background: none; color: var(--text); }
.icon-btn:hover { border-color: var(--violet); background: var(--violet-soft); }
.icon-btn--lg { width: 52px; height: 52px; }

/* slider */
.slider { position: relative; margin-top: 24px; height: 420px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: linear-gradient(115deg, #1c1036 0%, #121019 55%, #0e0e13 100%); }
.slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 24px; padding: 0 72px 36px; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.is-on { opacity: 1; visibility: visible; }
.slide__text .eyebrow { margin: 0 0 12px; font: 600 12px var(--head); letter-spacing: .22em; text-transform: uppercase; color: var(--violet-2); }
.slide__text h2 { font-size: clamp(30px, 4vw, 50px); font-weight: 800; letter-spacing: .02em; }
.slide__text p:not(.eyebrow) { max-width: 420px; margin: 14px 0 26px; color: #c4c4cf; font-size: 16px; }
.slide__art { display: grid; place-items: center; height: 100%; }
.slide__pad { width: 74%; transform: perspective(1400px) rotateX(48deg) rotateZ(-24deg); transition: transform .8s; }
.slide.is-on .slide__pad { transform: perspective(1400px) rotateX(44deg) rotateZ(-20deg); }
.slide__mouse { height: 84%; width: auto; transform: rotate(-12deg); }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(11, 11, 15, .7); }
.slider__nav:hover { border-color: var(--violet); }
.slider__nav--prev { left: 16px; }
.slider__nav--next { right: 16px; }
.slider__dots { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 8px; }
.dot { width: 22px; height: 24px; padding: 10px 0; border: 0; border-radius: 2px; background: var(--line-2); background-clip: content-box; transition: width .3s, background-color .3s; }
.dot.is-on { width: 40px; background-color: var(--violet); }

/* benefits */
.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.benefit { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.benefit__ic { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--violet-soft); color: var(--violet-2); }
.benefit h3 { font-size: 15px; margin-bottom: 4px; }
.benefit p { margin: 0; font-size: 13px; color: var(--muted); }

/* sections */
.sec { padding-top: 56px; }
.sec__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec__head h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; }
.sec__sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.more { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--violet-2); }
.more svg { width: 16px; height: 16px; }
.more:hover { color: #fff; }
main { padding-bottom: 72px; }

/* product grid + card */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, transform .2s; }
.card:hover { border-color: var(--violet); transform: translateY(-2px); }
.card[hidden] { display: none; }
.card__img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 14%; background: var(--card-2); }
.card__img .pad { width: 100%; transition: transform .35s; }
.card:hover .card__img .pad { transform: scale(1.04); }
.card__img .mouse { position: absolute; top: 10%; left: 50%; height: 80%; width: auto; transform: translateX(-50%) rotate(-8deg); }
.card__img:has(.photo), .product__img:has(.photo) { overflow: hidden; }
.card__img .photo, .product__img .photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.card:hover .card__img .photo { transform: scale(1.04); }
.mark { width: 42%; opacity: .35; }
.slide__art .photo { height: 72%; width: auto; max-width: 100%; transform: none; border-radius: 14px; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9); }
.badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.badge { padding: 3px 9px; border-radius: 6px; font: 700 11px var(--head); background: var(--violet); color: #fff; }
.badge--sale { background: #e5484d; }
.badge--sample { background: #fbbf24; color: #1a1a1a; }
.stock--sold { color: #f87171; background: rgba(248, 113, 113, .1); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 14px 16px 16px; }
.card__brand { margin: 0 0 4px; font: 600 11px var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__name { font: 600 15px/1.35 var(--body); letter-spacing: 0; min-height: 2.7em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__name a:hover { color: var(--violet-2); }
.card__row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 12px 0 14px; }
.price { font: 800 21px var(--head); white-space: nowrap; }
.price s { display: block; font: 500 13px var(--body); color: var(--muted); }
.price--tba { font-size: 15px; color: var(--muted); }
.stock { padding: 3px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.stock--instock { color: var(--ok); background: rgba(74, 222, 128, .1); }
.stock--preorder { color: var(--violet-2); background: var(--violet-soft); }
.stock--soon { color: var(--muted); background: rgba(255, 255, 255, .05); }
.card__act { display: flex; gap: 8px; margin-top: auto; }

/* pad drawn in CSS: cloth + overlock edge + logo bottom-right */
.pad { position: relative; aspect-ratio: 490 / 420; border-radius: 4.5%/5.3%; background: #1b1b22; padding: 1.4%; box-shadow: 0 24px 40px -18px rgba(0, 0, 0, .9); }
.pad--violet { background: var(--violet); }
.pad__cloth { position: absolute; inset: 1.4%; border-radius: 3.6%/4.2%;
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .07), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .018) 0 2px, transparent 2px 4px),
    repeating-linear-gradient(-45deg, rgba(0, 0, 0, .25) 0 2px, transparent 2px 4px),
    #0d0d11; }
.pad--violet .pad__cloth { background:
    linear-gradient(115deg, transparent 30%, rgba(154, 104, 255, .12) 50%, transparent 70%),
    radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .06), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .012) 0 1px, transparent 1px 3px),
    #0c0b11; }
.pad--orange { background: #c95a12; }
.pad--orange .pad__cloth { background:
    radial-gradient(120% 90% at 20% 0%, rgba(255, 255, 255, .16), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, .03) 0 2px, transparent 2px 4px),
    #e8742a; }
.pad__logo { position: absolute; width: 18%; right: 6%; bottom: 7%; opacity: .92; }

/* choose */
.choose { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choose__item { display: flex; align-items: center; gap: 22px; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s; }
.choose__item:hover { border-color: var(--violet); }
.choose__item .pad--mini { width: 140px; flex: none; }
.choose__item h3 { font-size: 20px; letter-spacing: .16em; margin-bottom: 6px; }
.choose__item p { margin: 0; color: var(--muted); font-size: 14px; }

/* inner pages */
.page { padding-top: 18px; }
.page__h { margin: 10px 0 22px; font-size: clamp(26px, 3vw, 34px); font-weight: 800; }
.page__h2 { margin: 44px 0 14px; font-size: 22px; font-weight: 800; }
.page__p { max-width: 760px; color: #c9c9d4; margin: 0; }

/* catalog */
.shop { display: grid; grid-template-columns: 250px 1fr; gap: 24px; align-items: start; }
.filters { position: sticky; top: 140px; display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.filters__head { display: flex; align-items: center; justify-content: space-between; font: 700 16px var(--head); }
.filters__head span { display: flex; align-items: center; gap: 8px; }
.filters__head .x, .filters__show { display: none; }
#filter-form { display: grid; gap: 16px; }
.fgroup { margin: 0; padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--line); }
.fgroup legend { padding: 0; margin-bottom: 10px; font: 700 12px var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.chk { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.chk input { appearance: none; flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid var(--line-2); border-radius: 5px; background: var(--bg); display: grid; place-items: center; cursor: pointer; }
.chk input:checked { background: var(--violet); border-color: var(--violet); }
.chk input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.chk em { margin-left: auto; font-style: normal; font-size: 12px; color: var(--muted); padding: 1px 7px; border-radius: 6px; background: var(--card-2); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 16px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); }
.toolbar__filters { display: none; height: 38px; padding: 0 14px; }
.sorts { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: 14px; }
.sorts span { color: var(--muted); margin-right: 6px; }
.sorts button { padding: 6px 10px; border: 0; border-radius: 8px; background: none; color: var(--muted); }
.sorts button:hover { color: var(--text); }
.sorts button.is-on { background: var(--violet-soft); color: var(--violet-2); font-weight: 600; }
.found { margin-left: auto; font-size: 13px; color: var(--muted); }
.found b { color: var(--text); }
.nothing { padding: 50px 0; text-align: center; color: var(--muted); }

/* product page */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; margin-top: 18px; }
.product__img { position: relative; display: grid; place-items: center; aspect-ratio: 1 / 1; padding: 12%; border: 1px solid var(--line); border-radius: 18px; background: var(--card-2); }
.product__img .pad { width: 100%; }
.product__img .mouse { height: 72%; width: auto; transform: rotate(-8deg); }
.product__info h1 { margin: 6px 0 8px; font-size: clamp(24px, 2.8vw, 34px); font-weight: 800; }
.ptag { margin: 0; color: var(--muted); letter-spacing: .04em; }
.pprice { display: flex; align-items: center; gap: 14px; margin: 24px 0 18px; }
.pprice .price { font-size: 34px; }
.pnote { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; border: 1px solid rgba(122, 60, 240, .35); background: var(--violet-soft); color: #d9ccff; font-size: 14px; }
.pleft { margin: 0 0 14px; font-size: 14px; font-weight: 600; color: #fbbf24; }
.buyrow { display: flex; gap: 10px; }
.buyrow .btn { flex: 1; }
.perks { list-style: none; margin: 26px 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 14px; color: #c9c9d4; }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks svg { color: var(--violet-2); }
.ptabs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; }
.ptab { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.ptab h2 { font-size: 18px; margin-bottom: 14px; }
.ptab p { margin: 0 0 10px; color: #c9c9d4; }
.pgames span { color: var(--muted); }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { padding: 10px 0; border-bottom: 1px solid var(--line); text-align: left; }
.spec th { color: var(--muted); font-weight: 500; width: 45%; }
.spec tr:last-child th, .spec tr:last-child td { border-bottom: 0; }

/* delivery page */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.info-card { padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.info-card h3 { margin: 14px 0 8px; font-size: 17px; }
.info-card p { margin: 0; color: var(--muted); font-size: 14px; }
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 600 16px var(--head); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--violet-2); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: -4px 0 18px; color: var(--muted); }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 44px 0 24px; background: var(--bg-2); }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; }
.foot__logo { height: 24px; width: auto; align-self: flex-start; }
.foot p { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 260px; }
.foot h4 { margin-bottom: 14px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.foot__grid > div { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.foot__grid a { display: inline-flex; align-items: center; gap: 8px; color: #c9c9d4; }
.foot__grid a:hover { color: #fff; }
.foot__grid a svg { width: 18px; height: 18px; color: var(--violet-2); }
.foot__hours { color: var(--muted); font-size: 13px; }
.foot__copy { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: #8a8a98; }

/* drawer: cart, checkout, notify */
.drawer { position: fixed; inset: 0; z-index: 50; display: flex; justify-content: flex-end; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); }
.drawer[hidden] { display: none; }
.drawer:not([hidden]) { animation: fade .2s ease-out; }
.drawer.is-closing { animation: fade .18s ease-in reverse forwards; }
.panel { display: flex; flex-direction: column; width: min(440px, 100%); height: 100%; background: var(--bg-2); border-left: 1px solid var(--line); animation: slide .28s cubic-bezier(.2, .8, .2, 1); }
.panel.no-anim { animation: none; }
.drawer.is-closing .panel { animation: slide .18s ease-in reverse forwards; }
@keyframes slide { from { transform: translateX(40px); opacity: 0; } }
@keyframes fade { from { opacity: 0; } }
.req { color: var(--violet-2); }
.panel__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.panel__head h2 { font-size: 18px; text-transform: uppercase; letter-spacing: .06em; }
.x { width: 38px; height: 38px; border-radius: 9px; border: 1px solid var(--line-2); background: none; font-size: 20px; line-height: 1; }
.panel__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.panel__foot { padding: 18px 22px 22px; border-top: 1px solid var(--line); }
.panel__foot .btn { width: 100%; }
.total { display: flex; justify-content: space-between; margin-bottom: 14px; font: 700 18px var(--head); }
.empty { color: var(--muted); text-align: center; padding: 60px 0; }
.note { font-size: 13px; color: var(--violet-2); margin: 4px 0 14px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .pad { width: 64px; padding: 2px; }
.line .pad__logo { display: none; }
.line__name { font-weight: 600; font-size: 14px; }
.line__price { font-size: 13px; color: var(--muted); }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1px solid var(--line-2); border-radius: 8px; }
.qty button { width: 30px; height: 28px; background: none; border: 0; }
.qty span { min-width: 22px; text-align: center; font-size: 14px; }
.qty--lg { margin: 0; height: 52px; border-radius: 10px; }
.qty--lg button { width: 40px; height: 100%; font-size: 18px; }
.qty--lg span { min-width: 28px; font-size: 16px; font-weight: 600; }
.rm { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; }
.form { display: grid; gap: 12px; }
.form label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
.form input, .form textarea { width: 100%; padding: 12px 14px; border-radius: 9px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 16px var(--body); }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(122, 60, 240, .25); }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form input[aria-invalid="true"] { border-color: #f87171; }
.form textarea { min-height: 76px; resize: vertical; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.seg label { display: block; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 11px; text-align: center; border: 1px solid var(--line-2); border-radius: 9px; color: var(--text); font-size: 14px; cursor: pointer; }
.seg input:checked + span { border-color: var(--violet); background: rgba(122, 60, 240, .15); }
.done { text-align: center; padding: 50px 10px; }
.done h3 { font-size: 24px; margin-bottom: 10px; }
.done p { color: var(--muted); }
.err { color: #f87171; font-size: 13px; min-height: 18px; margin: 0; }
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translate(-50%, 20px); padding: 12px 20px; border-radius: 10px; background: var(--card); border: 1px solid var(--violet); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* photo lightbox */
.product__img--zoom { cursor: zoom-in; }
.product__img--zoom:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(11, 11, 15, .7); border: 1px solid var(--line-2); color: #fff; transition: background .2s; }
.product__img--zoom:hover .zoom-hint { background: var(--violet); border-color: var(--violet); }
.lb { position: fixed; inset: 0; z-index: 70; display: grid; place-items: center; padding: 24px; background: rgba(5, 5, 8, .94); overflow: hidden; cursor: zoom-out; }
.lb[hidden] { display: none; }
.lb:not([hidden]) { animation: fade .2s ease-out; }
.lb:not([hidden]) img { animation: pop .25s cubic-bezier(.2, .8, .2, 1); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } }
.lb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; border-radius: 10px; cursor: zoom-in; transition: transform .25s; }
.lb.is-zoom img { transform: scale(2.5); cursor: zoom-out; border-radius: 0; }
.lb__x { position: absolute; top: 16px; right: 16px; z-index: 1; background: rgba(11, 11, 15, .8); color: #fff; }

/* 404 */
.nf__in { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 24px; }
.nf__in img { width: 110px; opacity: .9; }
.nf__in h1 { font-size: 88px; color: var(--violet-2); }
.nf__in p { margin: 0 0 12px; color: var(--muted); }

/* responsive */
@media (max-width: 1100px) {
  .head__tg { display: none; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .head__in { flex-wrap: wrap; height: auto; padding-top: 12px; padding-bottom: 12px; gap: 12px; }
  .brand { margin-right: auto; }
  .search { order: 5; flex-basis: 100%; max-width: none; }
  .slider { height: auto; }
  .slide { position: relative; display: none; grid-template-columns: 1fr; padding: 28px 24px 56px; gap: 8px; }
  .slide.is-on { display: grid; }
  .slide__art { order: -1; height: 210px; }
  .slide__pad { width: 70%; max-width: 330px; }
  .slide__mouse { height: 200px; }
  .slider__nav { display: none; }
  .slider__dots { bottom: 20px; }
  .slide__art .photo { height: 210px; }
  .benefits, .info-grid, .choose, .ptabs { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 55; width: min(340px, 88vw); border-radius: 0; overflow-y: auto; transform: translateX(-105%); transition: transform .28s; align-content: start; }
  .filters.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .6); }
  .filters__head .x, .filters__show, .toolbar__filters { display: inline-flex; align-items: center; justify-content: center; }
  .found { margin-left: 0; width: 100%; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .brand img { height: 22px; }
  .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card__body { padding: 12px; }
  .card__name { font-size: 14px; }
  .price { font-size: 17px; }
  .card__row { flex-direction: column; align-items: flex-start; gap: 6px; }
  .card__act .icon-btn { display: none; }
  .card__act .btn { height: 40px; padding: 0 10px; font-size: 13px; }
  .choose__item { flex-direction: column; align-items: flex-start; }
  .foot__grid { grid-template-columns: 1fr; }
  .buyrow .btn { padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
