/*
 * Udsalg.app — one stylesheet for the public pages.
 *
 * The identity is a price tag: near-black ink, cool grey paper so product photos on white
 * stand forward, and sale-tag yellow reserved for what has been cut. The one loud moment is
 * the hero, where "Fuld pris" is struck through in yellow; everything else stays quiet.
 */

@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url('/fonts/inter-latin-variable.woff2') format('woff2');
}

:root {
    --ink: #14181d;
    --ink-soft: #2b323b;
    --paper: #f1f2f4;
    --card: #ffffff;
    --line: #e2e5ea;
    --muted: #667180;
    --signal: #ffd400;          /* sale-tag yellow: cuts, the struck price, the active choice */
    --signal-ink: #7a5c00;      /* the same yellow darkened until it passes contrast on white */
    --signal-soft: #fff4bf;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 2px rgba(20, 24, 29, .05), 0 10px 30px -18px rgba(20, 24, 29, .45);
    --shell: min(1280px, calc(100% - 48px));
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font: 400 15px/1.5 Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-feature-settings: 'cv05', 'ss01';
}
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus { outline: none; }
/* Keyboard focus: a ring in the darkened sale-tag gold, following each control's own shape. */
:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--signal-ink); }
.shell { width: var(--shell); margin: 0 auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header: brand, search and Dame/Herre, always within reach ---------- */

.site-header {
    position: sticky; top: 0; z-index: 20;
    background: rgba(241, 242, 244, .86);
    -webkit-backdrop-filter: saturate(1.6) blur(14px);
    backdrop-filter: saturate(1.6) blur(14px);
    border-bottom: 1px solid var(--line);
}
.site-header .shell {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center; gap: 18px; padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 1.1rem; letter-spacing: -.03em; text-decoration: none; white-space: nowrap; }
.brand-mark { display: block; width: 26px; height: 11px; border-radius: 3px; background: var(--ink); position: relative; overflow: hidden; }
.brand-mark::after { content: ''; position: absolute; inset: 0 0 0 62%; background: var(--signal); }

.search { position: relative; display: flex; max-width: 620px; width: 100%; justify-self: center; }
.search input {
    flex: 1; min-width: 0; height: 44px; padding: 0 46px 0 42px;
    color: var(--ink); background: var(--card);
    border: 1px solid var(--line); border-radius: 999px;
    font: 400 15px Inter, Arial, sans-serif;
    box-shadow: 0 1px 2px rgba(20, 24, 29, .04);
}
.search input:focus { outline: none; border-color: #c9d0d8; box-shadow: 0 0 0 4px rgba(255, 212, 0, .28); }
.search svg { position: absolute; left: 15px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search button {
    position: absolute; right: 5px; top: 5px; height: 34px; padding: 0 14px;
    color: #fff; background: var(--ink); border: 0; border-radius: 999px;
    font: 600 13px Inter, Arial, sans-serif; cursor: pointer;
}

/* Alle / Dame / Herre: a segmented switch, the choice marked in yellow like a price tag. */
.gender { display: inline-flex; padding: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.gender a {
    padding: 7px 14px; border-radius: 999px; text-decoration: none;
    font: 600 13.5px Inter, Arial, sans-serif; color: var(--muted); white-space: nowrap;
}
.gender a:hover { color: var(--ink); }
.gender a[aria-current="true"] { color: var(--ink); background: var(--signal); }

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

.hero {
    position: relative; overflow: hidden; isolation: isolate;
    margin-top: 20px; border-radius: 24px;
    min-height: clamp(300px, 42vw, 440px);
    color: #fff; background: var(--ink);
    display: flex; align-items: center;
}
.hero-media, .hero-media video, .hero-media img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% 50%;
}
.hero-media { z-index: -2; }
.hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(20, 24, 29, .94) 0%, rgba(20, 24, 29, .78) 38%, rgba(20, 24, 29, .08) 72%);
}
.hero-copy { padding: clamp(28px, 5vw, 64px); max-width: 640px; }
.hero h1 { margin: 0; font-size: clamp(2.1rem, 5.4vw, 4rem); line-height: .98; font-weight: 800; letter-spacing: -.045em; text-wrap: balance; }
.hero .full-price {
    position: relative; display: inline-block; margin-bottom: .12em;
    color: rgba(255, 255, 255, .5); font-weight: 600;
}
/* The signature: the full price struck through by a sale-tag yellow bar, drawn once on load. */
.hero .full-price::after {
    content: ''; position: absolute; left: -.06em; right: -.06em; top: 52%; height: .12em;
    background: var(--signal); border-radius: 99px;
    transform-origin: left center; transform: scaleX(1);
    animation: strike .7s cubic-bezier(.65, 0, .35, 1) .35s both;
}
@keyframes strike { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero p { margin: 18px 0 0; max-width: 44ch; color: rgba(255, 255, 255, .78); font-size: 1.02rem; }
.hero p strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-searches { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.hero-searches span { color: rgba(255, 255, 255, .55); font-size: .82rem; margin-right: 2px; }
.hero-searches a {
    padding: 5px 12px; color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 999px;
    font-size: .84rem; text-decoration: none;
}
.hero-searches a:hover { border-color: var(--signal); color: var(--signal); }

.button {
    display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px;
    border-radius: 999px; text-decoration: none; font: 700 14px Inter, Arial, sans-serif; white-space: nowrap;
}
.button-signal { color: var(--ink); background: var(--signal); }
.button-signal:hover { background: #ffdf3d; }
.button-ghost { color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.button-ghost:hover { border-color: #fff; }

/* ---------- Tiles: Dame / Herre and departments, as pictures ---------- */

.block { margin-top: 34px; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.block-head h2 { margin: 0; font-size: 1.2rem; font-weight: 750; letter-spacing: -.02em; }
.block-head a, .block-head span { color: var(--muted); font-size: .9rem; text-decoration: none; }
.block-head a:hover { color: var(--ink); }

.gender-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.gender-tile {
    position: relative; overflow: hidden; display: block; aspect-ratio: 2 / 1;
    border-radius: var(--radius); background: #e9ebee; text-decoration: none;
}
.gender-tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; transition: transform .5s ease; }
.gender-tile:hover img { transform: scale(1.04); }
.gender-tile .label {
    position: absolute; left: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 2px;
    padding: 12px 16px; background: rgba(255, 255, 255, .92); border-radius: 12px;
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.gender-tile strong { font-size: 1.25rem; font-weight: 800; letter-spacing: -.03em; }
.gender-tile small { color: var(--muted); font-size: .82rem; font-variant-numeric: tabular-nums; }

.dep-tiles {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(132px, 1fr); gap: 12px;
    overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none;
}
.dep-tiles::-webkit-scrollbar { display: none; }
.dep-tile { scroll-snap-align: start; display: block; text-decoration: none; }
.dep-tile .pic { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 14px; background: #e9ebee; }
.dep-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.dep-tile:hover img { transform: scale(1.05); }
.dep-tile span { display: block; margin-top: 8px; font-weight: 600; font-size: .92rem; letter-spacing: -.01em; }

/* ---------- Filter bar: one tap per filter ---------- */

.filterbar { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.chip-row { display: flex; align-items: center; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0; }
.chip-row::-webkit-scrollbar { display: none; }
.chip-label { flex: none; color: var(--muted); font: 600 11px Inter, Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; white-space: nowrap; padding: 0 2px; }
.chip-gap { flex: 0 0 8px; }

.chip, .dep {
    /* flex: none — in a scrolling row a chip must keep its width, not squeeze its label. */
    flex: none; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
    color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px;
    font: 500 13.5px Inter, Arial, sans-serif; text-decoration: none; white-space: nowrap; cursor: pointer;
}
.chip:hover, .dep:hover { border-color: #c9d0d8; }
.chip[aria-pressed="true"], .dep[aria-current="true"] { color: var(--ink); background: var(--signal); border-color: var(--signal); font-weight: 650; }
.dep { padding-left: 5px; }
.dep img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #e9ebee; }
.dep.all { padding-left: 14px; }

.filter-open { font-weight: 650; }
.filter-open svg { width: 15px; height: 15px; }
.badge {
    display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px;
    color: var(--ink); background: var(--signal); border-radius: 999px; font-size: 11px; font-weight: 800;
}
.active-filter {
    flex: none; display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px;
    color: #fff; background: var(--ink); border-radius: 999px;
    font: 600 13px Inter, Arial, sans-serif; text-decoration: none; white-space: nowrap;
}
.active-filter span[aria-hidden] { opacity: .6; }
.clear-all { color: var(--muted); font: 500 13px Inter, Arial, sans-serif; white-space: nowrap; }

.filter-row { display: flex; align-items: center; gap: 12px; }
.filter-row .chip-row { flex: 1; min-width: 0; }

/* Sort: a pill that opens a small card, in the site's style rather than the system's select. */
.sorter { flex: none; display: flex; align-items: center; gap: 8px; }
.sorter-label { color: var(--muted); font: 600 11px Inter, Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.sort-menu { position: relative; }
.sort-menu summary {
    display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px 0 16px;
    color: var(--ink); background: var(--card); border: 1px solid var(--line); border-radius: 999px;
    font: 500 13.5px Inter, Arial, sans-serif; white-space: nowrap; cursor: pointer; list-style: none;
    -webkit-user-select: none; user-select: none;
}
.sort-menu summary::-webkit-details-marker { display: none; }
.sort-menu summary:hover, .sort-menu[open] summary { border-color: #c9d0d8; }
.sort-menu summary svg { width: 10px; height: 6px; color: var(--muted); transition: transform .18s ease; }
.sort-menu[open] summary svg { transform: rotate(180deg); }
.sort-options {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; min-width: 220px; padding: 6px;
    background: var(--card); border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 2px 6px rgba(20, 24, 29, .06), 0 22px 44px -22px rgba(20, 24, 29, .45);
    animation: menu-in .16s ease-out;
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.sort-options a {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 10px 12px;
    color: var(--ink); border-radius: 10px; font: 500 14px Inter, Arial, sans-serif; text-decoration: none;
}
.sort-options a:hover { background: var(--paper); }
.sort-options a svg { width: 14px; height: 10px; color: var(--ink); visibility: hidden; }
.sort-options a[aria-current="true"] { font-weight: 650; background: var(--signal-soft); }
.sort-options a[aria-current="true"] svg { visibility: visible; }

/* ---------- Product cards ---------- */

.row-cards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(214px, 1fr); gap: 14px; margin: 0; padding: 0 0 6px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.row-cards::-webkit-scrollbar { display: none; }
.row-cards > li { scroll-snap-align: start; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(214px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }

.product {
    position: relative; height: 100%; display: flex; flex-direction: column;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.product:hover { transform: translateY(-2px); border-color: #cfd6de; box-shadow: var(--shadow); }
/* The photo sits inside a fixed square; a tall product image must not stretch the card. */
.thumb { --pad: 16px; position: relative; display: block; flex: none; aspect-ratio: 1; background: #fff; border-bottom: 1px solid var(--line); }
.thumb img { position: absolute; inset: var(--pad); width: calc(100% - 2 * var(--pad)); height: calc(100% - 2 * var(--pad)); object-fit: contain; }
.thumb.empty { display: grid; place-items: center; color: #a9b2bc; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }
.cut-tag {
    position: absolute; left: 10px; top: 10px; padding: 4px 9px;
    color: var(--ink); background: var(--signal); border-radius: 999px;
    font: 800 12.5px Inter, Arial, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: -.01em;
}
.product .body { flex: 1; display: flex; flex-direction: column; padding: 13px 14px 14px; }
.merchant { margin: 0 0 5px; color: var(--muted); font: 600 10.5px Inter, Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product .title { margin: 0 0 12px; font-size: .93rem; line-height: 1.32; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product .title a { text-decoration: none; }
.product .title a::after { content: ''; position: absolute; inset: 0; }
.product .variants { margin: -8px 0 10px; color: var(--muted); font-size: .8rem; }
.prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px; margin-top: auto; font-variant-numeric: tabular-nums; }
.now { font-size: 1.28rem; font-weight: 800; letter-spacing: -.035em; }
.was { color: var(--muted); font-size: .8rem; text-decoration: line-through; }
.cta {
    position: relative; z-index: 1; display: block; margin-top: 12px; padding: 10px 12px;
    color: #fff; background: var(--ink); border-radius: var(--radius-sm);
    font: 600 13px Inter, Arial, sans-serif; text-align: center; text-decoration: none;
}
.cta:hover { background: var(--ink-soft); }

/* ---------- Results ---------- */

.results { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 34px 0 14px; }
.results h2 { margin: 0; font-size: 1.35rem; font-weight: 750; letter-spacing: -.025em; }
.results .count { color: var(--muted); font-size: .9rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.empty-state { padding: 48px 24px; text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.empty-state h2 { margin: 0 0 8px; font-size: 1.3rem; }
.empty-state p { margin: 0; color: var(--muted); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 30px 0; }
.pagination a, .pagination span { padding: 10px 16px; border-radius: 999px; font: 500 13.5px Inter, Arial, sans-serif; text-decoration: none; }
.pagination a { background: var(--card); border: 1px solid var(--line); }
.pagination a:hover { border-color: var(--ink); }
.pagination .disabled { color: #a9b2bc; }
.pagination .current { color: var(--muted); font-variant-numeric: tabular-nums; }


/* ---------- Footer: the dark close, mirroring the hero ---------- */

.site-footer { margin-top: 56px; padding: 56px 0 28px; color: rgba(255, 255, 255, .7); background: var(--ink); font-size: .9rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1.2fr); gap: 40px; }
.footer-top.no-searches { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 2.7fr); }
.no-searches .footer-departments ul { grid-template-columns: repeat(3, 1fr); }
.brand-light { color: #fff; }
.brand-light .brand-mark { background: #fff; }
.footer-about p { margin: 0 0 12px; max-width: 34ch; line-height: 1.55; }
.footer-claim { margin-top: 18px !important; color: #fff; font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.15 !important; }
.footer-count { display: inline-flex; align-items: baseline; gap: 6px; margin-top: 6px !important; padding: 7px 12px; color: var(--ink); background: var(--signal); border-radius: 999px; font-size: .85rem; }
.footer-count strong { font-weight: 800; font-variant-numeric: tabular-nums; }
.footer-col h2 { margin: 4px 0 14px; color: #fff; font: 700 11px Inter, Arial, sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.footer-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.footer-departments ul { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.footer-col a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-col a:hover { color: var(--signal); }
.footer-tags { display: flex !important; flex-wrap: wrap; gap: 8px !important; }
.footer-tags a { display: inline-block; padding: 5px 11px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; font-size: .84rem; }
.footer-tags a:hover { border-color: var(--signal); }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer-bottom p { margin: 0; max-width: 92ch; line-height: 1.6; }
.footer-copy { white-space: nowrap; }

/* ---------- Desktop: five cards to a row, the sections filling it exactly ---------- */

@media (min-width: 1100px) {
    .grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
    .row-cards { grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; }
}

/* ---------- Filter drawer ---------- */

.drawer {
    position: fixed; inset: 0 0 0 auto; width: min(420px, 100%); height: 100%; max-height: none; margin: 0;
    padding: 0; border: 0; background: var(--card); color: var(--ink);
    transform: translateX(100%); transition: transform .26s ease;
}
.drawer.is-open { transform: translateX(0); }
.drawer::backdrop { background: rgba(20, 24, 29, .4); }
.drawer form { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.02em; }
.drawer-close { width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: var(--card); font-size: 18px; line-height: 1; cursor: pointer; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 22px 22px; }
fieldset { margin: 18px 0 0; padding: 0; border: 0; }
legend { float: left; width: 100%; padding: 0 0 8px; color: var(--muted); font: 600 11px Inter, Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.option { display: flex; align-items: center; gap: 10px; padding: 9px 0; cursor: pointer; border-bottom: 1px solid #f0f2f5; }
.option input { width: 18px; height: 18px; accent-color: var(--ink); }
.option span { font-size: 14px; }
.hint { margin: 0; color: var(--muted); font-size: 13px; }
.drawer-foot { padding: 16px 22px; border-top: 1px solid var(--line); }
.drawer-foot button { width: 100%; height: 48px; color: #fff; background: var(--ink); border: 0; border-radius: 12px; font: 700 15px Inter, Arial, sans-serif; cursor: pointer; }

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

.variant-picker { margin: 0 0 24px; }
.variant-picker h2 { margin: 0 0 10px; font-size: .95rem; font-weight: 700; }
.variant-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.variant-chip {
    display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    min-width: 58px; padding: 8px 12px; color: var(--ink); background: var(--card);
    border: 1px solid var(--line); border-radius: 12px; text-decoration: none;
}
.variant-chip span { font-size: .92rem; font-weight: 650; }
.variant-chip small { color: var(--muted); font-size: .72rem; font-variant-numeric: tabular-nums; }
.variant-chip:hover { border-color: #c9d0d8; }
.variant-chip[aria-current="true"] { background: var(--signal); border-color: var(--signal); }
.variant-chip[aria-current="true"] small { color: var(--ink); }

.back { display: inline-flex; margin-top: 22px; color: var(--muted); font: 600 13px Inter, Arial, sans-serif; text-decoration: none; }
.back:hover { color: var(--ink); }
.detail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 46px; padding: 22px 0 10px; align-items: start; }
.figure { position: sticky; top: 92px; padding: 28px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; }
.figure img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.figure.empty { display: grid; place-items: center; aspect-ratio: 1; color: #a9b2bc; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; }
.figure .cut-tag { left: 18px; top: 18px; font-size: 14px; padding: 6px 12px; }
.eyebrow { margin: 0 0 10px; color: var(--muted); font: 600 11px Inter, Arial, sans-serif; letter-spacing: .09em; text-transform: uppercase; }
.detail h1 { margin: 0 0 20px; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.1; font-weight: 800; letter-spacing: -.035em; }
.description { margin: 26px 0 0; color: var(--muted); white-space: pre-line; }
.offers { display: flex; flex-direction: column; gap: 10px; }
.offers h2 { margin: 0 0 2px; font-size: .95rem; font-weight: 700; }
.offer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.offer.best { border-color: var(--ink); }
.offer .shop { font-weight: 600; }
.offer .now { font-size: 1.5rem; }
.best-badge { display: inline-block; margin-left: 8px; padding: 2px 8px; background: var(--signal); border-radius: 999px; font: 700 10.5px Inter, Arial, sans-serif; letter-spacing: .06em; text-transform: uppercase; color: #4a3800; }
.cut { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.cut-rail { width: 96px; height: 6px; background: #eceff2; border-radius: 999px; overflow: hidden; }
.cut-fill { display: block; height: 100%; background: var(--signal); border-radius: 999px; }
.cut-value { color: var(--signal-ink); font: 700 12px Inter, Arial, sans-serif; font-variant-numeric: tabular-nums; }
.offer .cta { margin: 0; padding: 12px 18px; white-space: nowrap; }
.none { padding: 20px; color: var(--muted); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }

/* ---------- Small screens ---------- */

@media (max-width: 1000px) {
    .footer-top, .footer-top.no-searches { grid-template-columns: 1fr 1fr; }
    .no-searches .footer-departments ul { grid-template-columns: 1fr 1fr; }
    .footer-about { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
    :root { --shell: calc(100% - 28px); }
    .site-footer { padding-top: 40px; }
    .footer-top { gap: 30px 20px; }
    .footer-departments { grid-column: 1 / -1; order: 3; }
    .footer-departments ul, .no-searches .footer-departments ul { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; margin-top: 32px; }
    .site-header .shell { grid-template-columns: auto auto; gap: 10px 12px; padding: 10px 0 12px; }
    .search { grid-column: 1 / -1; grid-row: 2; max-width: none; }
    .gender { justify-self: end; }
    .gender a { padding: 6px 11px; font-size: 13px; }
    .hero { margin-top: 14px; border-radius: 20px; min-height: 380px; align-items: flex-end; }
    .hero::after { background: linear-gradient(0deg, rgba(20, 24, 29, .96) 0%, rgba(20, 24, 29, .7) 48%, rgba(20, 24, 29, .1) 100%); }
    .hero-media video, .hero-media img { object-position: 70% 30%; }
    .gender-tile { aspect-ratio: 4 / 5; }
    .gender-tile .label { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
    .gender-tile strong { font-size: 1.05rem; }
    .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .row-cards { grid-auto-columns: 46%; gap: 10px; }
    .thumb { --pad: 10px; }
    .product .body { padding: 11px 11px 12px; }
    .now { font-size: 1.12rem; }
    .sorter-label { display: none; }
    .detail { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .figure { position: relative; top: 0; }
    .offer { flex-wrap: wrap; }
    .offer .cta { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .hero-media video { display: none; }
}
