/* Addım — storefront styles. Hand-written, no framework. Mobile first. */

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

:root {
    --bg: #FFFFFF;
    --ink: #1A1A1A;
    --accent: #D23A3A;
    --soft: #F2EEEA;
    --on: #FFFFFF;

    --accent-ink: #B32B2B;
    --muted: #63605C;
    --line: #E3DED8;
    --line-strong: #1A1A1A;
    --ok: #1F6B3A;

    --font: "Inter Tight", "Helvetica Neue", Arial, system-ui, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --wrap: 1440px;
    --gutter: clamp(16px, 3.2vw, 40px);
    --header-h: 60px;
    --radius: 0;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.5 var(--font);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
del { text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.sr-only {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute; left: 8px; top: -60px; z-index: 100;
    padding: 10px 16px; background: var(--ink); color: var(--on);
}
.skip-link:focus { top: 8px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 560px; }

.mono { font-family: var(--mono); font-size: .8125rem; letter-spacing: .02em; }

.display {
    font-weight: 850;
    font-size: clamp(2.25rem, 8vw, 5.5rem);
    line-height: .92;
    letter-spacing: -.045em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.h2 { font-weight: 800; font-size: clamp(1.5rem, 4vw, 2.25rem); line-height: 1; letter-spacing: -.035em; text-transform: uppercase; margin-bottom: 20px; }
.lead { margin-top: 16px; max-width: 62ch; font-size: 1.0625rem; color: var(--muted); }
.lead--xl { font-size: clamp(1.125rem, 2.2vw, 1.5rem); line-height: 1.35; color: var(--ink); max-width: 46ch; }
.eyebrow { color: var(--muted); margin-bottom: 8px; }
.hint { font-size: .875rem; color: var(--muted); }

/* ---------- Buttons & links ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 12px 24px;
    border: 1.5px solid var(--ink); border-radius: var(--radius);
    background: transparent; color: var(--ink);
    font-weight: 700; font-size: .9375rem; letter-spacing: .02em; text-transform: uppercase;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: var(--on); }
.btn--dark:hover { background: #000; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--on); }
.btn--accent:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on); }
.btn--block { width: 100%; }
.btn--lg { min-height: 56px; font-size: 1rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.link-arrow:hover { color: var(--accent); }
.link-btn { padding: 0; border: 0; background: none; text-decoration: underline; text-underline-offset: 3px; font-size: .875rem; }
.link-btn:hover { color: var(--accent); }

.icon-btn {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px; padding: 0;
    border: 0; background: none; position: relative;
}
.icon-btn svg { width: 22px; height: 22px; }

.pill {
    display: inline-flex; align-items: center; gap: 8px;
    min-height: 36px; padding: 6px 14px;
    border: 1px solid var(--line-strong);
    font-size: .875rem; font-weight: 600;
    white-space: nowrap;
}
.pill:hover { background: var(--ink); color: var(--on); }
.pill--sale { border-color: var(--accent); color: var(--accent); }

.badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--ink); color: var(--on);
    font: 500 .6875rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase;
}
.badge--sale { background: var(--accent); }
.badge--muted { background: var(--on); color: var(--ink); border: 1px solid var(--ink); }

.notice { padding: 14px 18px; margin-bottom: 24px; border-left: 4px solid var(--ink); background: var(--soft); }
.notice--ok { border-color: var(--ok); }
.notice--error { border-color: var(--accent); color: var(--accent-ink); background: #FBEDEC; }

/* ---------- Marquee ---------- */

.marquee {
    overflow: hidden;
    background: var(--ink); color: var(--on);
    font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
}
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__list { display: flex; flex-shrink: 0; }
.marquee__list li { padding: 11px 28px; white-space: nowrap; position: relative; }
.marquee__list li::after { content: "✦"; position: absolute; right: -6px; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */

.header {
    position: sticky; top: 0; z-index: 40;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: saturate(1.4) blur(8px);
}
.header__inner { display: flex; align-items: center; gap: 8px; height: var(--header-h); }
.header__burger { margin-left: -10px; }
.header__logo img { width: 128px; height: auto; }
.header__nav { display: none; }
.header__tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.header__search { display: none; }

.lang { display: flex; gap: 2px; font: 500 .75rem/1 var(--mono); }
.lang a { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 4px; color: var(--muted); }
.lang a[aria-current] { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.lang a:hover { color: var(--ink); }
.header__tools > .lang { display: none; }

.cart-link .cart-count {
    position: absolute; top: 4px; right: 2px;
    min-width: 18px; height: 18px; padding: 0 5px;
    display: grid; place-items: center;
    background: var(--accent); color: var(--on);
    font: 600 .6875rem/1 var(--mono);
    border-radius: 9px;
}
.cart-count[hidden] { display: none; }
.cart-link.is-bumped .cart-count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.4); } }

@media (min-width: 1024px) {
    :root { --header-h: 72px; }
    .header__burger { display: none; }
    .header__logo img { width: 150px; }
    .header__nav { display: block; margin-left: 32px; }
    .header__nav > ul { display: flex; gap: 4px; }
    .header__nav > ul > li > a {
        display: flex; align-items: center; height: var(--header-h); padding: 0 14px;
        font-weight: 750; font-size: .9375rem; letter-spacing: -.01em; text-transform: uppercase;
        position: relative;
    }
    .header__nav > ul > li > a::after {
        content: ""; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 2px;
        background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
    }
    .header__nav > ul > li:hover > a::after, .header__nav > ul > li > a:focus-visible::after { transform: scaleX(1); }
    .header__nav .is-sale { color: var(--accent-ink); }
    .has-mega { position: relative; }
    .mega {
        position: absolute; left: 0; top: 100%;
        min-width: 240px; padding: 16px 0;
        background: var(--bg); border: 1px solid var(--line); border-top: 2px solid var(--ink);
        opacity: 0; visibility: hidden; transform: translateY(6px);
        transition: opacity .2s, transform .2s var(--ease), visibility .2s;
    }
    .has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
    .mega a { display: block; padding: 8px 20px; font-weight: 600; }
    .mega a:hover { background: var(--soft); }
    .header__search { display: flex; align-items: center; border-bottom: 1.5px solid var(--ink); margin-right: 12px; }
    .header__search input { width: 200px; height: 36px; border: 0; background: none; padding: 0 4px; font-size: .9375rem; }
    .header__search input:focus { outline: none; }
    .header__search .icon-btn { width: 36px; height: 36px; }
    .header__tools > .lang { display: flex; margin-right: 4px; }
}

/* ---------- Drawer (mobile menu) ---------- */

.drawer { position: fixed; inset: 0; z-index: 60; }
.drawer[hidden] { display: none; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(26, 26, 26, .5); animation: fade .25s; }
.drawer__panel {
    position: absolute; left: 0; top: 0; bottom: 0;
    width: min(88vw, 400px); padding: 12px 20px 24px;
    display: flex; flex-direction: column; gap: 20px;
    background: var(--bg); overflow-y: auto;
    animation: slide-in .3s var(--ease);
}
.drawer__head { display: flex; justify-content: space-between; align-items: center; }
.drawer__search { display: flex; border-bottom: 1.5px solid var(--ink); }
.drawer__search input { flex: 1; min-width: 0; border: 0; height: 44px; background: none; font-size: 1rem; }
.drawer__search input:focus { outline: none; }
.drawer__nav > li { border-bottom: 1px solid var(--line); }
.drawer__main { display: block; padding: 14px 0; font-weight: 800; font-size: 1.5rem; letter-spacing: -.03em; text-transform: uppercase; }
.drawer__main.is-sale { color: var(--accent-ink); }
.drawer__nav ul { padding-bottom: 12px; }
.drawer__nav ul a { display: block; padding: 7px 0; color: var(--muted); font-weight: 600; }
.drawer__links a { display: block; padding: 8px 0; font-weight: 600; }
.drawer__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; }
@keyframes fade { from { opacity: 0; } }
@keyframes slide-in { from { transform: translateX(-100%); } }

/* ---------- Sections ---------- */

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-top: 24px; }
.section--sale { background: var(--soft); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; margin-bottom: 24px; }
.section-head__title {
    display: flex; align-items: flex-start; gap: 10px;
    font-weight: 850; font-size: clamp(1.75rem, 5.5vw, 3.5rem); line-height: .95; letter-spacing: -.045em; text-transform: uppercase;
}
.section-head__index { font-size: .75rem; font-weight: 500; letter-spacing: 0; color: var(--muted); margin-top: 4px; }
.section--sale .section-head__title { color: var(--accent-ink); }
.section-head .link-arrow { flex-shrink: 0; }

.page-top { padding-top: clamp(20px, 4vw, 48px); padding-bottom: clamp(20px, 3vw, 36px); }
.page-top--tight { padding-bottom: 12px; }

.crumbs { margin-bottom: 16px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--line-strong); opacity: .4; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink); }

/* ---------- Hero ---------- */

.hero { display: grid; gap: 4px; }
.hero__main { position: relative; min-height: min(78vh, 720px); overflow: hidden; background: var(--ink); }
.hero__main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.hero__main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .6) 0%, rgba(0, 0, 0, .2) 45%, rgba(0, 0, 0, 0) 70%); }
.hero__text {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
    padding: var(--gutter); padding-bottom: clamp(28px, 5vw, 64px);
    color: var(--on);
}
.hero__eyebrow { margin-bottom: 14px; }
.hero__title {
    max-width: 11ch;
    font-weight: 900; font-size: clamp(2.75rem, 11vw, 8.5rem); line-height: .86; letter-spacing: -.055em; text-transform: uppercase;
}
.hero__lead { max-width: 42ch; margin-top: 16px; font-size: 1.0625rem; }
.hero__text .btn { margin-top: 24px; }
.hero__side { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.hero__tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero__tile:hover img { transform: scale(1.04); }
.hero__tile-text {
    position: absolute; left: 0; right: 0; bottom: 0;
    display: flex; flex-direction: column; gap: 6px;
    padding: 14px; color: var(--on);
    background: linear-gradient(0deg, rgba(0, 0, 0, .65), rgba(0, 0, 0, 0));
}
.hero__tile-text strong { font-weight: 850; font-size: clamp(1.125rem, 2.6vw, 2rem); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; }
.hero__tile-text .link-arrow { align-self: flex-start; font-size: .75rem; }

@media (max-width: 599px) {
    .hero__tile-text .link-arrow, .hero__tile-text .mono { display: none; }
}

@media (min-width: 1024px) {
    .hero { grid-template-columns: 2fr 1fr; }
    .hero__main { min-height: min(82vh, 820px); }
    .hero__side { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
    .hero__tile { aspect-ratio: auto; }
}

/* ---------- Categories ---------- */

.cats { display: grid; grid-template-columns: 1fr; gap: 4px; }
.cat { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: var(--soft); }
.cat img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ease); }
.cat:hover img { transform: scale(1.05); }
.cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--soft) 0%, rgba(242, 238, 234, .92) 22%, rgba(242, 238, 234, 0) 45%); pointer-events: none; }
.cat__name {
    position: absolute; left: 14px; bottom: 34px; z-index: 1;
    font-weight: 900; font-size: clamp(1.75rem, 5vw, 3rem); line-height: .9; letter-spacing: -.05em; text-transform: uppercase;
}
.cat__count { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 768px) {
    .cats { grid-template-columns: repeat(3, 1fr); }
    .cat { aspect-ratio: 4 / 5; }
    .cat__name { left: 20px; bottom: 44px; }
    .cat__count { left: 20px; bottom: 20px; }
}

/* ---------- Product grid & card ---------- */

.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 4px; }
@media (min-width: 768px) { .grid--3, .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Horizontal scroll rail on phones */
@media (max-width: 767px) {
    .rail {
        grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 70%;
        overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
        margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
        scrollbar-width: none;
    }
    .rail::-webkit-scrollbar { display: none; }
    .rail > * { scroll-snap-align: start; }
}

.card { min-width: 0; }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.card__hover { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) {
    .card__media:hover .card__hover { opacity: 1; }
    .card__media:hover img:first-child { transform: scale(1.03); }
}
.card__badges { position: absolute; left: 8px; top: 8px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.card__body { padding: 10px 2px 0; }
.card__title { font-weight: 650; font-size: .9375rem; line-height: 1.25; letter-spacing: -.01em; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__meta { margin-top: 4px; color: var(--muted); font-size: .6875rem; text-transform: uppercase; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: 6px; }
.price__now { font-weight: 750; font-size: 1rem; }
.price__now--sale { color: var(--accent-ink); }
.price__old { color: var(--muted); font-size: .875rem; }
.price--lg .price__now { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -.02em; }
.price--lg { align-items: center; margin-top: 16px; }

/* ---------- Perks ---------- */

.perks { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.perks__list { display: grid; grid-template-columns: 1fr; }
.perk { display: flex; gap: 14px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--line); }
.perk:last-child { border-bottom: 0; }
.perk svg { flex-shrink: 0; width: 28px; height: 28px; color: var(--accent); }
.perk__title { font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: -.01em; }
.perk p { color: var(--muted); font-size: .875rem; margin-top: 2px; }
@media (min-width: 768px) {
    .perks__list { grid-template-columns: repeat(2, 1fr); }
    .perk { padding: 28px 24px 28px 0; }
    .perk:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (min-width: 1200px) {
    .perks__list { grid-template-columns: repeat(4, 1fr); }
    .perk { border-bottom: 0; border-right: 1px solid var(--line); padding-left: 24px; }
    .perk:first-child { padding-left: 0; }
    .perk:last-child { border-right: 0; }
}

/* ---------- Footer ---------- */

.footer { margin-top: clamp(48px, 8vw, 96px); background: var(--ink); color: #D7D3CE; padding-bottom: 76px; }
.footer a:hover { color: var(--on); }
.footer__grid { display: grid; gap: 36px; padding-block: 48px 32px; }
.footer__brand img { width: 160px; height: auto; }
.footer__brand p { margin-top: 16px; max-width: 36ch; font-size: .9375rem; }
.footer__title { margin-bottom: 14px; color: var(--on); font: 500 .75rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.footer__col li + li { margin-top: 8px; }
.footer__contact { font-size: .9375rem; }
.social { display: flex; gap: 8px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #4A4A4A; }
.social a:hover { border-color: var(--on); }
.social svg { width: 20px; height: 20px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 20px; border-top: 1px solid #333; font-size: .8125rem; color: #A8A39D; }
@media (min-width: 768px) {
    .footer { padding-bottom: 0; }
    .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

/* Fixed call / WhatsApp bar (phones only) */
.quick-contact {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    display: flex; gap: 1px; background: var(--line);
    padding-bottom: env(safe-area-inset-bottom);
}
.quick-contact__btn {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    height: 56px; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .04em;
}
.quick-contact__btn svg { width: 20px; height: 20px; }
.quick-contact__btn--call { background: var(--ink); color: var(--on); }
.quick-contact__btn--wa { background: #1E7E45; color: var(--on); }
@media (min-width: 768px) { .quick-contact { display: none; } }

/* ---------- Listing & filters ---------- */

.listing-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; }
.listing-head__count { color: var(--muted); margin-top: 12px; }
.subcats { display: flex; gap: 8px; margin-top: 20px; overflow-x: auto; scrollbar-width: none; }
.subcats::-webkit-scrollbar { display: none; }

.listing { display: block; }
.listing__main { min-width: 0; }

.toolbar {
    position: sticky; top: var(--header-h); z-index: 20;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 10px 0; margin-bottom: 16px;
    background: var(--bg); border-bottom: 1px solid var(--line);
}
.toolbar__filters { min-height: 42px; padding: 8px 16px; }
.count-dot { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--accent); color: var(--on); font: 600 .6875rem/1 var(--mono); }
.sort { display: flex; align-items: center; gap: 8px; }
.sort label { color: var(--muted); }
.sort select {
    min-height: 42px; padding: 8px 32px 8px 12px; border: 1px solid var(--line-strong); border-radius: 0; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231A1A1A' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 12px center;
    appearance: none; font-weight: 600; font-size: .875rem;
}
@media (max-width: 479px) { .sort label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; } }

.active-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }

/* Filter panel: bottom sheet on phones (opened with #filters:target or .is-open), sidebar from 1024px. */
.filters { position: fixed; inset: 0; z-index: 70; visibility: hidden; pointer-events: none; }
.filters:target, .filters.is-open { visibility: visible; pointer-events: auto; }
.filters__backdrop { position: absolute; inset: 0; background: rgba(26, 26, 26, .5); opacity: 0; transition: opacity .25s; }
.filters:target .filters__backdrop, .filters.is-open .filters__backdrop { opacity: 1; }
.filters__sheet {
    position: absolute; left: 0; right: 0; bottom: 0;
    max-height: 88vh; overflow-y: auto; overscroll-behavior: contain;
    background: var(--bg); padding: 0 20px 20px;
    transform: translateY(100%); transition: transform .35s var(--ease);
}
.filters:target .filters__sheet, .filters.is-open .filters__sheet { transform: none; }
.filters__head {
    position: sticky; top: 0; z-index: 1;
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 0; background: var(--bg); border-bottom: 1px solid var(--line);
}
.filters__head::before { content: ""; position: absolute; left: 50%; top: 5px; width: 40px; height: 4px; margin-left: -20px; background: var(--line); border-radius: 2px; }
.filters__title { font-weight: 850; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -.02em; }
.filters__actions {
    position: sticky; bottom: -20px; display: grid; gap: 8px;
    padding: 16px 0 20px; margin-bottom: -20px; background: var(--bg); border-top: 1px solid var(--line);
}
.filter { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter__label { margin-bottom: 12px; font: 500 .75rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.filter__cats a { display: block; padding: 6px 0; font-weight: 600; }
.filter__cats a[aria-current] { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 4px; }
.filter__cats ul { padding-left: 14px; }
.filter__cats ul a { font-weight: 500; color: var(--muted); }
.filter__cats ul a[aria-current] { color: var(--accent-ink); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: grid; place-items: center; min-width: 48px; height: 40px; padding: 0 10px; border: 1px solid var(--line); }
.chip input:hover + span { border-color: var(--ink); }
.chip input:checked + span { background: var(--ink); color: var(--on); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px 14px; }
.swatch { position: relative; display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: .875rem; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch__dot { width: 28px; height: 28px; border-radius: 50%; background: var(--swatch); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); position: relative; }
.swatch__dot--light { box-shadow: inset 0 0 0 1px var(--line-strong); }
.swatch__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; }
.swatch input:checked + .swatch__dot::after { border-color: var(--ink); }
.swatch input:focus-visible + .swatch__dot::after { border-color: var(--accent); }
.swatches--lg .swatch__dot { width: 34px; height: 34px; }

.price-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto; align-items: center; gap: 6px; }
.price-range label { flex: 1; min-width: 0; }
.price-range input { width: 100%; min-width: 0; height: 44px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: 0; font-family: var(--mono); font-size: .875rem; }

.toggle { position: relative; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__ui { flex-shrink: 0; width: 44px; height: 24px; border-radius: 12px; background: var(--line); position: relative; transition: background .2s; }
.toggle__ui::after { content: ""; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--on); box-shadow: 0 1px 2px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.toggle input:checked + .toggle__ui { background: var(--accent); }
.toggle input:checked + .toggle__ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle__ui { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (min-width: 1024px) {
    .listing { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 40px; align-items: start; }
    .filters { position: sticky; top: calc(var(--header-h) + 16px); inset: auto; z-index: 1; visibility: visible; pointer-events: auto; }
    .filters__backdrop, .filters__close, .filters__head::before { display: none; }
    .filters__sheet { position: static; transform: none; max-height: calc(100vh - var(--header-h) - 32px); padding: 0 8px 0 0; }
    .filters__head { position: static; padding-top: 0; margin-bottom: 4px; border-bottom: 2px solid var(--ink); }
    .filters__actions { position: static; margin: 0; padding: 16px 0 0; border: 0; }
    .toolbar__filters { visibility: hidden; }
}

.pager { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 48px; }
.pager__pages { display: flex; gap: 6px; }
.pager__btn, .pager__num { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--line); font-weight: 600; }
.pager__btn:hover, .pager__num:hover { border-color: var(--ink); }
.pager__num.is-current { background: var(--ink); color: var(--on); border-color: var(--ink); }
.pager__btn.is-disabled { opacity: .3; }
.pager__gap { display: grid; place-items: center; min-width: 24px; height: 44px; }

.empty { padding: 56px 20px; text-align: center; background: var(--soft); display: grid; justify-items: center; gap: 12px; }
.empty--page { padding-block: 80px; }
.empty__title { font-weight: 850; font-size: 1.5rem; text-transform: uppercase; letter-spacing: -.03em; }
.empty__icon { width: 48px; height: 48px; }
.empty .btn { margin-top: 8px; }

.searchbar { display: flex; gap: 8px; margin-top: 24px; max-width: 720px; }
.searchbar input { flex: 1; min-width: 0; height: 56px; padding: 0 16px; border: 1.5px solid var(--ink); border-radius: 0; font-size: 1.125rem; }

/* ---------- Product page ---------- */

.pdp { display: grid; gap: 24px; }
.pdp__gallery { min-width: 0; margin-inline: calc(var(--gutter) * -1); position: relative; }
.gallery {
    display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery__item { scroll-snap-align: start; aspect-ratio: 4 / 5; background: var(--soft); overflow: hidden; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.gallery__dots span { width: 24px; height: 3px; background: rgba(26, 26, 26, .2); transition: background .2s; }
.gallery__dots .is-active { background: var(--ink); }

.pdp__cat a { color: var(--muted); text-transform: uppercase; }
.pdp__cat a:hover { color: var(--ink); }
.pdp__title { margin-top: 8px; font-weight: 850; font-size: clamp(1.75rem, 4.5vw, 3rem); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; }
.pdp__sku { margin-top: 10px; color: var(--muted); }

.buy { margin-top: 24px; display: grid; gap: 22px; }
.buy__label { display: block; width: 100%; margin-bottom: 12px; font-weight: 700; font-size: .875rem; text-transform: uppercase; letter-spacing: .03em; }
.buy__label--row { display: flex; justify-content: space-between; align-items: baseline; }
.buy__value { font-weight: 500; text-transform: none; color: var(--muted); letter-spacing: 0; }
.buy__stock { margin-top: 10px; min-height: 1.2em; color: var(--muted); }
.buy__stock.is-low { color: var(--accent-ink); }

.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 6px; }
.size { position: relative; }
.size input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.size span { display: grid; place-items: center; height: 48px; border: 1px solid var(--line); font-size: .875rem; transition: border-color .15s; }
.size input:hover:not(:disabled) + span { border-color: var(--ink); }
.size input:checked + span { background: var(--ink); color: var(--on); border-color: var(--ink); }
.size input:disabled { cursor: not-allowed; }
.size input:disabled + span { color: #A3A09B; background: linear-gradient(to top right, transparent calc(50% - 1px), var(--line) 50%, transparent calc(50% + 1px)); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.field-error { margin-top: 8px; color: var(--accent-ink); font-size: .875rem; font-weight: 600; }

.pdp__perks { display: grid; gap: 10px; margin-top: 24px; padding: 16px; background: var(--soft); }
.pdp__perks li { display: flex; align-items: center; gap: 10px; }
.pdp__perks svg { width: 20px; height: 20px; flex-shrink: 0; }

.accordion { margin-top: 24px; border-top: 1px solid var(--line-strong); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
    display: flex; justify-content: space-between; align-items: center;
    padding: 18px 0; cursor: pointer; list-style: none;
    font-weight: 750; text-transform: uppercase; letter-spacing: .02em; font-size: .9375rem;
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font: 400 1.5rem/1 var(--mono); transition: transform .2s var(--ease); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion .prose, .accordion .specs { padding-bottom: 20px; }

.prose p + p, .prose p + h2, .prose h2 + p { margin-top: 1em; }
.prose { color: #33312E; max-width: 68ch; }
.prose--page { font-size: 1.0625rem; line-height: 1.65; }
.prose--page h2 { margin-top: 2em; font-weight: 850; font-size: clamp(1.25rem, 3vw, 1.75rem); letter-spacing: -.03em; text-transform: uppercase; color: var(--ink); }
.prose-wrap { padding-bottom: 24px; }
.specs li { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .9375rem; }
.specs li:last-child { border-bottom: 0; }
.specs .mono { color: var(--muted); text-transform: uppercase; font-size: .6875rem; padding-top: 3px; }

@media (min-width: 900px) {
    .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: start; }
    .pdp__gallery { margin: 0; }
    .gallery { grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; gap: 4px; overflow: visible; }
    .gallery__item:first-child:nth-last-child(odd) { grid-column: span 2; }
    .gallery__dots { display: none; }
    .pdp__sticky { position: sticky; top: calc(var(--header-h) + 24px); }
}

.dialog { width: min(640px, calc(100vw - 32px)); max-height: 85vh; padding: 0; border: 0; border-top: 4px solid var(--ink); }
.dialog::backdrop { background: rgba(26, 26, 26, .55); }
.dialog__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.dialog__title { font-weight: 850; font-size: 1.25rem; text-transform: uppercase; letter-spacing: -.02em; }
.table-scroll { overflow-x: auto; padding: 8px 20px; }
.size-table { width: 100%; border-collapse: collapse; }
.size-table th, .size-table td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table th { font-weight: 500; color: var(--muted); text-transform: uppercase; font-size: .6875rem; }
.size-table tr:hover td { background: var(--soft); }
.dialog__note { padding: 12px 20px 20px; color: var(--muted); font-size: .875rem; }

/* ---------- Cart ---------- */

.cart { display: grid; gap: 32px; }
.cart__lines { border-top: 2px solid var(--ink); }
.line { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.line--warn { background: #FFF6F5; }
.line__img { grid-row: span 2; background: var(--soft); aspect-ratio: 4 / 5; }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__title { font-weight: 750; font-size: 1rem; line-height: 1.2; }
.line__title a:hover { text-decoration: underline; }
.line__meta { margin-top: 6px; color: var(--muted); font-size: .75rem; }
.line__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.line__total { font-weight: 600; margin-left: auto; }
.line__remove { color: var(--muted); }
.qty { display: inline-flex; border: 1px solid var(--line-strong); }
.qty__btn { width: 40px; height: 40px; border: 0; background: none; font-size: 1.125rem; }
.qty__btn:hover:not(:disabled) { background: var(--soft); }
.qty__btn:disabled { opacity: .3; cursor: not-allowed; }
.qty__input { display: grid; place-items: center; width: 40px; height: 40px; }

.panel { padding: 24px; background: var(--soft); }
.panel + .panel { margin-top: 4px; }
.panel__title { margin-bottom: 16px; font-weight: 850; font-size: 1.25rem; letter-spacing: -.02em; text-transform: uppercase; }
.panel .btn + .btn { margin-top: 8px; }
.panel .btn--lg { margin-top: 20px; }
.panel .hint { margin-top: 12px; }
.panel .link-arrow { margin-top: 16px; }

.totals { display: grid; gap: 8px; padding: 16px 0 0; }
.totals > div { display: flex; justify-content: space-between; gap: 12px; }
.totals dt { color: var(--muted); }
.totals__discount dd { color: var(--accent-ink); }
.totals__total { margin-top: 8px; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 800; font-size: 1.25rem; }
.totals__total dt { color: var(--ink); text-transform: uppercase; }
.totals__total dd { font-size: 1.25rem; }

.promo { padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.promo__label { display: block; margin-bottom: 8px; font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
.promo__row { display: flex; }
.promo__row input { flex: 1; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid var(--line-strong); border-right: 0; border-radius: 0; background: var(--bg); text-transform: uppercase; }
.promo--applied { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--ok); }

.free-ship { margin-top: 16px; color: var(--muted); }
.free-ship p { margin-bottom: 8px; }
.free-ship__bar { height: 4px; background: var(--line); }
.free-ship__bar span { display: block; height: 100%; background: var(--accent); }

@media (min-width: 900px) {
    .cart { grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; }
    .cart__aside { position: sticky; top: calc(var(--header-h) + 24px); }
    .line { grid-template-columns: 120px minmax(0, 1fr) auto; gap: 20px; }
    .line__img { grid-row: auto; }
    .line__actions { flex-direction: column; align-items: flex-end; justify-content: space-between; }
    .line__total { margin-left: 0; }
}

/* ---------- Checkout ---------- */

.checkout { display: grid; gap: 32px; }
.step { padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.step__title { display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px; font-weight: 850; font-size: 1.375rem; text-transform: uppercase; letter-spacing: -.03em; }
.step__title .mono { color: var(--accent-ink); }

.fields { display: grid; gap: 16px; }
@media (min-width: 600px) { .fields { grid-template-columns: 1fr 1fr; } .fields__full { grid-column: 1 / -1; } }
.fields[hidden] { display: none; }

.field { display: grid; gap: 6px; }
.field__label { font-weight: 700; font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
.field__req { color: var(--accent-ink); }
.field__hint { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--muted); margin-left: 4px; }
.field input, .field textarea {
    width: 100%; min-height: 50px; padding: 12px 14px;
    border: 1px solid #8C8883; border-radius: 0; background: var(--bg);
    font-size: 1rem;
    transition: border-color .15s;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.field [aria-invalid="true"] { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.mono-input input { font-family: var(--mono); text-transform: uppercase; }

.options { display: grid; gap: 8px; margin-bottom: 20px; }
@media (min-width: 600px) { .options { grid-template-columns: 1fr 1fr; } }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.option__body { display: grid; gap: 6px; height: 100%; padding: 16px 16px 16px 48px; border: 1px solid #8C8883; position: relative; transition: border-color .15s, background-color .15s; }
.option__body::before { content: ""; position: absolute; left: 16px; top: 18px; width: 18px; height: 18px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--bg); }
.option input:checked + .option__body { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--soft); }
.option input:checked + .option__body::before { border-width: 6px; }
.option input:focus-visible + .option__body { outline: 2px solid var(--accent); outline-offset: 2px; }
.option__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.option__head svg { width: 24px; height: 24px; }
.option__note { color: var(--muted); font-size: .875rem; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.mini-lines { display: grid; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mini-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.mini-lines img { width: 56px; height: 70px; object-fit: cover; background: var(--bg); }
.mini-lines strong { display: block; font-size: .9375rem; line-height: 1.2; }
.mini-lines span .mono, .mini-lines .mono { color: var(--muted); font-size: .75rem; }
.mini-lines > li > .mono { color: var(--ink); font-size: .8125rem; }

@media (min-width: 900px) {
    .checkout { grid-template-columns: minmax(0, 1fr) 400px; gap: 56px; align-items: start; }
    .checkout__aside { position: sticky; top: calc(var(--header-h) + 24px); }
}

/* ---------- Order ---------- */

.order { display: grid; gap: 4px; }
@media (min-width: 900px) { .order { grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; } .order__aside .panel + .panel { margin-top: 4px; } }
.order__aside { display: grid; gap: 4px; }
.order__aside .btn { margin-top: 12px; }
.order__aside p + p { margin-top: 8px; }

.timeline { display: grid; gap: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 14px; padding: 10px 0; color: var(--muted); }
.timeline li:not(:last-child)::after { content: ""; position: absolute; left: 11px; top: 32px; bottom: -10px; width: 2px; background: var(--line); }
.timeline li.is-done:not(:last-child)::after { background: var(--ink); }
.timeline__dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); background: var(--bg); position: relative; z-index: 1; }
.timeline .is-done { color: var(--ink); }
.timeline .is-done .timeline__dot { background: var(--ink); border-color: var(--ink); }
.timeline .is-current .timeline__dot { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 0 5px rgba(210, 58, 58, .18); }
.timeline__label { font-weight: 700; }
.timeline .is-current .timeline__label { color: var(--ink); }
.status-cancelled { color: var(--accent-ink); font-size: 1rem; text-transform: uppercase; }
.pay-status { display: inline-block; margin-top: 8px; padding: 4px 8px; border: 1px solid currentColor; text-transform: uppercase; font-size: .75rem; }
.pay-status--paid { color: var(--ok); }
.pay-status--failed { color: var(--accent-ink); }

/* ---------- Demo payment ---------- */

.is-payment .main { background: var(--soft); }
.paybox { padding: 28px; border: 2px solid var(--ink); background: var(--bg); }
.paybox__flag { display: inline-block; padding: 6px 10px; margin-bottom: 18px; background: var(--accent); color: var(--on); font-size: .6875rem; }
.paybox__title { font-weight: 850; font-size: 2rem; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 8px; }
.paybox__summary { display: grid; gap: 8px; margin: 24px 0; }
.paybox__summary > div { display: flex; justify-content: space-between; }
.paybox__summary dt { color: var(--muted); }
.paybox__amount { font-size: 1.5rem; font-weight: 600; }
.paybox__card { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; height: 170px; padding: 20px; margin-bottom: 24px; background: linear-gradient(135deg, #1A1A1A, #4A1A1A); color: var(--on); }
.paybox__actions { display: grid; gap: 8px; }

/* ---------- Static pages ---------- */

.facts { display: grid; gap: 4px; margin-bottom: 40px; }
.facts > div { padding: 20px; background: var(--soft); }
.facts dt { color: var(--muted); text-transform: uppercase; font-size: .6875rem; margin-bottom: 6px; }
.facts dd { font-weight: 800; font-size: 1.375rem; letter-spacing: -.02em; }
@media (min-width: 768px) { .facts { grid-template-columns: repeat(3, 1fr); } }

.contact { display: grid; gap: 48px; }
.contact-list { display: grid; border-top: 2px solid var(--ink); }
.contact-list li { display: grid; gap: 4px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-list .mono { color: var(--muted); text-transform: uppercase; font-size: .6875rem; }
.contact-list a, .contact-list span:not(.mono) { font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; overflow-wrap: anywhere; }
.contact-list a:hover { color: var(--accent-ink); }
.map { margin-top: 24px; }
.map iframe { display: block; width: 100%; height: 360px; border: 0; background: var(--soft); filter: grayscale(1); }
.map .link-arrow { margin-top: 12px; }
.form-stack { display: grid; gap: 16px; }
.form-stack .btn { justify-self: start; }
.panel.form-stack .btn { justify-self: stretch; }
@media (min-width: 900px) { .contact { grid-template-columns: 1fr 1fr; gap: 64px; } }

.error-page { min-height: 50vh; }
.error-page__code { color: var(--accent-ink); font-size: 1rem; margin-bottom: 12px; }
.error-page__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }

/* ---------- Toast ---------- */

.toast {
    position: fixed; left: 50%; bottom: 76px; z-index: 80;
    max-width: calc(100vw - 32px); padding: 14px 20px;
    background: var(--ink); color: var(--on); font-weight: 600;
    transform: translateX(-50%);
    animation: toast-in .3s var(--ease);
}
.toast--error { background: var(--accent-ink); }
.toast a { text-decoration: underline; margin-left: 12px; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }
@media (min-width: 768px) { .toast { bottom: 24px; } }

/* ---------- Motion ---------- */

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