/* ==========================================================================
   No.1 Bútor Outlet — design system + shop styles
   Mobile-first. Breakpoints: 640 / 960 / 1280. Max content width: 1320px.
   Sections: 0 fonts · 1 tokens · 2 base · 3 utilities · 4 buttons · 5 header · 6 nav
             7 hero · 8 sections · 9 product card · 10 carousel · 11 tiles
             12 footer · 13 coming soon · 14 misc
   ========================================================================== */

/* 0. Fonts ------------------------------------------------------------------ */
/* Self-hosted Google Fonts (OFL): Cormorant Garamond 600/700, Manrope 400–700 variable.
   Subsets: latin + latin-ext (ő, ű). Generated from the Google Fonts CSS API. */
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-600-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Cormorant Garamond";
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url("../fonts/cormorant-garamond-600-700-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: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/manrope-400-700-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Manrope";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/manrope-400-700-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;
}

/* 1. Design tokens (CLAUDE.md 4.2) ---------------------------------------- */
:root {
    --ink: #0E0E0F;
    --ink-2: #1A1A1C;
    --gold: #C6A15B;
    --gold-deep: #A8843F;
    --gold-soft: #F3EBDD;
    --ivory: #FAF8F4;
    --paper: #FFFFFF;
    --text: #1C1C1E;
    --muted: #6E6A64;
    --line: #E7E1D7;
    --sale: #B3261E;
    --ok: #2F7D4F;
    --wait: #9A6A12;
    --radius: 6px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);

    /* Derived tokens */
    --muted-on-ink: #B9B3A9;
    --line-on-ink: rgba(255, 255, 255, .1);
    --media-bg: #F4F1EB;
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .04), 0 18px 40px rgba(0, 0, 0, .10);

    --font-display: "Cormorant Garamond", "Times New Roman", serif;
    --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

    --container: 1320px;
    --gutter: 16px;
    --section-y: clamp(48px, 6vw, 88px);
    --header-h: 64px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

@media (min-width: 640px) { :root { --gutter: 24px; } }
@media (min-width: 960px) { :root { --gutter: 32px; --header-h: 84px; } }

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

body {
    margin: 0;
    background: var(--ivory);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 960px) { body { font-size: 16px; } }

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    color: var(--ink);
    letter-spacing: -.005em;
}

/* Cormorant defaults to old-style figures ("No.1" would read "No.I"). */
h1, h2, h3, h4, .tabs__tab, .cat-tile__name, .room-tile__name, .benefit__title,
.minicart__title, .mega__feature-title, .error-page__code, .cat-tile__outlet-mark {
    font-variant-numeric: lining-nums;
    font-feature-settings: "lnum" 1;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; }
main:focus { outline: none; }

:focus-visible {
    outline: 2px solid var(--gold-deep);
    outline-offset: 2px;
    border-radius: 2px;
}

.icon {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

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

/* 3. Utilities -------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.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: 12px; top: -60px;
    z-index: 1000;
    padding: 10px 16px;
    background: var(--ink);
    color: var(--paper);
    border-radius: var(--radius);
    font-weight: 600;
}
.skip-link:focus { top: 12px; }

.muted { color: var(--muted); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--muted);
}
.eyebrow--gold { color: var(--gold); }

.link-gold { color: var(--gold); font-weight: 600; }
.link-gold:hover { color: var(--paper); }

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ink);
    white-space: nowrap;
}
.link-arrow .icon { width: 18px; height: 18px; color: var(--gold-deep); transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.link-button {
    padding: 0;
    background: none;
    border: 0;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

/* 4. Buttons ----------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.btn .icon { width: 18px; height: 18px; }
.btn--block { width: 100%; }

.btn--primary { background: var(--ink); color: var(--paper); }
.btn--primary:hover { box-shadow: inset 0 -3px 0 var(--gold); }

.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--paper); color: var(--ink); }

.btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }

.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: var(--ivory); background: transparent; }
.btn--ghost-light:hover { border-color: var(--gold); color: var(--gold); }

.icon-btn {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 50%;
    color: var(--ink);
    cursor: pointer;
    transition: background-color .2s var(--ease), color .2s var(--ease), opacity .2s;
}
.icon-btn:hover { background: var(--gold-soft); }
.icon-btn .icon { width: 22px; height: 22px; }
.icon-btn--round { background: var(--paper); box-shadow: var(--shadow); }
.icon-btn--round:hover { background: var(--ink); color: var(--gold); }
.icon-btn--round:disabled { opacity: 0; pointer-events: none; }
.icon-btn--glass { background: rgba(14, 14, 15, .45); color: var(--ivory); backdrop-filter: blur(6px); }
.icon-btn--glass:hover { background: var(--gold); color: var(--ink); }

/* 5. Top bar + header ---------------------------------------------------------- */
.preview-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
    padding: 8px var(--gutter);
    background: var(--gold-soft);
    color: var(--ink);
    font-size: 13px;
    text-align: center;
}
.preview-bar a { font-weight: 700; text-decoration: underline; }

.topbar {
    background: var(--ink);
    color: var(--muted-on-ink);
    font-size: 12.5px;
}
.topbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 38px;
}
.topbar__msg { display: flex; align-items: center; gap: 8px; min-width: 0; }
.topbar__msg span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .icon { width: 16px; height: 16px; color: var(--gold); }
.topbar__contact { display: flex; gap: 20px; flex: none; }
.topbar__contact a { display: flex; align-items: center; gap: 6px; color: var(--ivory); }
.topbar__contact a:hover { color: var(--gold); }
.topbar__email { display: none; }
@media (max-width: 639px) { .topbar__msg { display: none; } .topbar__inner { justify-content: center; } }
@media (min-width: 960px) { .topbar__email { display: block; } }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
}
.site-header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "toggle logo actions" "search search search";
    align-items: center;
    gap: 8px 12px;
    padding-block: 10px;
}
.nav-toggle { grid-area: toggle; margin-left: -10px; }
.site-header__logo { grid-area: logo; justify-self: start; }
.search { grid-area: search; }
.header-actions { grid-area: actions; }

@media (min-width: 960px) {
    .site-header__inner {
        grid-template-columns: auto minmax(0, 560px) 1fr;
        grid-template-areas: "logo search actions";
        gap: 40px;
        min-height: var(--header-h);
        padding-block: 0;
    }
    .nav-toggle { display: none; }
}

/* Logo (brand package or uploaded, CLAUDE.md 4.3) */
.logo-img { display: block; width: auto; height: 42px; max-width: 100%; }
@media (min-width: 960px) { .logo-img { height: 54px; } }

/* Search */
.search { position: relative; }
.search__input {
    width: 100%;
    height: 46px;
    padding: 0 52px 0 18px;
    background: var(--ivory);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--text);
    transition: border-color .2s, background-color .2s;
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { outline: none; border-color: var(--gold); background: var(--paper); box-shadow: 0 0 0 3px rgba(198, 161, 91, .2); }
.search__input::-webkit-search-cancel-button { display: none; }
.search__submit {
    position: absolute;
    right: 4px; top: 4px;
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    background: var(--ink);
    border: 0;
    border-radius: 50%;
    color: var(--gold);
    cursor: pointer;
}
.search__submit .icon { width: 18px; height: 18px; }

/* Header actions */
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.header-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 44px;
    padding: 4px 6px;
    background: none;
    border: 0;
    color: var(--ink);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    cursor: pointer;
}
.header-action:hover { color: var(--gold-deep); }
.header-action__icon { position: relative; }
.header-action__icon .icon { width: 24px; height: 24px; }
.header-action__label { display: none; }
@media (min-width: 960px) { .header-action__label { display: block; } .header-actions { gap: 12px; } }

.count-badge {
    position: absolute;
    top: -6px; right: -9px;
    min-width: 18px; height: 18px;
    padding: 0 5px;
    background: var(--gold);
    color: var(--ink);
    border-radius: 9px;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
}
.count-badge[hidden] { display: none; }

.minicart { position: relative; }
.minicart__panel {
    position: absolute;
    right: 0; top: calc(100% + 12px);
    z-index: 120;
    width: min(340px, 92vw);
    padding: 20px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.minicart__title { font-family: var(--font-display); font-size: 24px; font-weight: 600; margin-bottom: 8px; }
.minicart__empty { color: var(--muted); margin-bottom: 16px; }

/* 6. Navigation + mega menu ----------------------------------------------------- */
.nav__link {
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: 0;
    color: var(--ink);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}
.nav__link--sale { color: var(--sale); }
.nav__link--accent { color: var(--gold-deep); }
.nav__chevron { width: 16px; height: 16px; margin-left: auto; transition: transform .2s var(--ease); }
.nav__link[aria-expanded="true"] .nav__chevron { transform: rotate(180deg); }

.mega__title {
    margin-bottom: 10px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--muted);
}
.mega__links a { display: block; padding: 6px 0; color: var(--text); }
.mega__links a:hover { color: var(--gold-deep); }
.mega__all { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.mega__all .icon { width: 18px; height: 18px; color: var(--gold-deep); }

/* Mobile drawer (< 960px) */
@media (max-width: 959px) {
    .site-nav {
        position: fixed;
        inset: 0 auto 0 0;
        z-index: 200;
        width: min(380px, 88vw);
        overflow-y: auto;
        background: var(--paper);
        box-shadow: var(--shadow-lg);
        transform: translateX(-105%);
        visibility: hidden;
        transition: transform .3s var(--ease), visibility .3s;
    }
    .site-nav.is-open { transform: none; visibility: visible; }
    .site-nav__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 12px var(--gutter);
        border-bottom: 1px solid var(--line);
    }
    .site-nav__head .logo-img { height: 38px; }
    .nav { padding-block: 8px; }
    .nav__item { border-bottom: 1px solid var(--line); }
    .mega__inner { display: grid; gap: 18px; padding: 4px 0 20px; }
    .mega__feature { display: none; }
    .nav-backdrop {
        position: fixed;
        inset: 0;
        z-index: 150;
        background: rgba(14, 14, 15, .45);
    }
}

/* Desktop bar (>= 960px) */
@media (min-width: 960px) {
    .site-nav { border-top: 1px solid var(--line); }
    .site-nav__head, .nav-backdrop { display: none !important; }
    /* 11 items (two long ones: "Szekrények és tárolók", "Asztalok és székek"): one line each,
       tighter on smaller desktops; a second row instead of overflow below ~1200px. */
    .nav { display: flex; flex-wrap: wrap; align-items: center; column-gap: clamp(14px, 1.6vw, 24px); }
    .nav__item { position: static; }
    .nav__link {
        position: relative;
        width: auto;
        padding: 15px 0;
        font-size: 12.5px;
        font-weight: 700;
        letter-spacing: .05em;
        text-transform: uppercase;
        white-space: nowrap;
    }
    .nav__link::after {
        content: "";
        position: absolute;
        left: 0; right: 0; bottom: -1px;
        height: 2px;
        background: var(--gold);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s var(--ease);
    }
    .nav__link:hover::after, .nav__link[aria-expanded="true"]::after { transform: scaleX(1); }
    .nav__chevron { margin-left: 0; }

    .mega {
        position: absolute;
        left: 0; right: 0; top: 100%;
        z-index: 110;
        background: var(--paper);
        border-top: 1px solid var(--line);
        box-shadow: 0 24px 40px rgba(0, 0, 0, .08);
        animation: mega-in .2s var(--ease);
    }
    .mega__inner {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 220px)) 1fr;
        grid-template-rows: 1fr auto;
        gap: 12px 48px;
        padding-block: 32px;
    }
    .mega__all { grid-row: 2; grid-column: 1 / 4; padding-top: 16px; border-top: 1px solid var(--line); }
    .mega__feature {
        grid-column: 4;
        grid-row: 1 / 3;
        justify-self: end;
        display: grid;
        width: min(100%, 380px);
        overflow: hidden;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: var(--paper);
    }
    .mega__feature-media { display: block; aspect-ratio: 16 / 10; background: var(--media-bg); }
    .mega__feature img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .5s var(--ease); }
    .mega__feature:hover img { transform: scale(1.04); }
    .mega__feature-text { display: block; padding: 14px 18px 16px; }
    .mega__feature .eyebrow { color: var(--muted); }
    .mega__feature-title { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--ink); }
}

@keyframes mega-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* Smaller desktops: the 11 menu items stay on one line each. */
@media (min-width: 960px) and (max-width: 1399px) {
    .nav__link { font-size: 12px; letter-spacing: .03em; }
}

/* 7. Hero slider ------------------------------------------------------------------ */
.hero { position: relative; background: var(--ink); color: var(--ivory); }
.hero__track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.hero__track::-webkit-scrollbar { display: none; }
.hero__slide {
    position: relative;
    flex: 0 0 100%;
    min-height: clamp(460px, 68vh, 660px);
    display: flex;
    align-items: center;
    scroll-snap-align: start;
    overflow: hidden;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(90deg, rgba(14, 14, 15, .82) 0%, rgba(14, 14, 15, .55) 45%, rgba(14, 14, 15, .05) 80%),
        linear-gradient(0deg, rgba(14, 14, 15, .45), transparent 40%);
}
.hero__content { position: relative; z-index: 2; padding-block: 64px 96px; }
.hero__panel { max-width: 560px; }
.hero__panel .eyebrow { margin-bottom: 16px; }
.hero__title {
    color: var(--ivory);
    font-weight: 700;
    font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem);
    line-height: 1.02;
    margin-bottom: 18px;
}
.hero__text { max-width: 440px; margin-bottom: 30px; color: rgba(250, 248, 244, .82); font-size: 17px; }
.hero__controls {
    position: absolute;
    left: 0; right: 0; bottom: 24px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero__dots { display: flex; gap: 8px; }
.hero__dot {
    width: 28px; height: 28px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
    position: relative;
}
.hero__dot::before {
    content: "";
    position: absolute;
    left: 2px; right: 2px; top: 50%;
    height: 2px;
    background: rgba(250, 248, 244, .4);
    transition: background-color .2s;
}
.hero__dot[aria-current="true"]::before { background: var(--gold); height: 3px; }

/* 8. Sections ---------------------------------------------------------------------- */
.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper); border-block: 1px solid var(--line); }
.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 28px;
}
.section-head--spaced { margin-top: 64px; }
.section-head .muted { max-width: 640px; margin-top: 8px; }
.section-title { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem); font-weight: 600; }

/* Sale band (dark) */
.section--sale { background: var(--ink); color: var(--ivory); }
.section--sale .section-title { color: var(--ivory); }
.section--sale .link-arrow { color: var(--ivory); }
.section--sale .link-arrow .icon { color: var(--gold); }
.eyebrow--sale { color: var(--gold); margin-bottom: 6px; }
.sale-head {
    display: grid;
    gap: 20px;
    align-items: end;
    margin-bottom: 32px;
}
@media (min-width: 960px) {
    .sale-head { grid-template-columns: 1fr auto auto; gap: 48px; }
}

.countdown { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.countdown__label { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-ink); }
.countdown__boxes { display: flex; gap: 8px; }
.countdown__box {
    display: grid;
    justify-items: center;
    min-width: 60px;
    padding: 8px 6px 6px;
    border: 1px solid rgba(198, 161, 91, .45);
    border-radius: var(--radius);
    background: var(--ink-2);
}
.countdown__box b { font-size: 24px; font-weight: 700; line-height: 1.1; color: var(--gold); font-variant-numeric: tabular-nums; }
.countdown__box small { font-size: 10px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-on-ink); }

/* Tabs */
.tabs { display: flex; gap: 28px; }
.tabs__tab {
    position: relative;
    padding: 0 0 6px;
    background: none;
    border: 0;
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.75rem);
    font-weight: 600;
    line-height: 1.1;
    color: #8f8a83;
    cursor: pointer;
}
.tabs__tab[aria-selected="true"] { color: var(--ink); }
.tabs__tab[aria-selected="true"]::after {
    content: "";
    position: absolute;
    left: 0; bottom: 0;
    width: 48px; height: 2px;
    background: var(--gold);
}
.tabs__tab:hover { color: var(--ink); }

/* 9. Product card -------------------------------------------------------------------- */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
    transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .3s;
}
.card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
@media (hover: hover) { .card:hover { transform: translateY(-2px); } }

.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--media-bg); overflow: hidden; }
.card__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 7%;
    transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.card__img--alt { object-fit: cover; padding: 0; opacity: 0; }
/* Studio shots (white background) melt into the beige card background. */
.card__img.is-studio, .gallery__img--cutout, .gallery__thumb--cutout img, .cat-tile__media img, .mega__feature img, .suggest__media img { mix-blend-mode: multiply; }
.card__img--alt.is-studio { object-fit: contain; padding: 7%; }
@media (hover: hover) {
    .card:hover .card__img--alt { opacity: 1; transform: scale(1.03); }
}

.card__badges {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    pointer-events: none;
}
.badge {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.3;
    text-transform: uppercase;
    background: var(--paper);
    color: var(--ink);
}
.badge--sale { background: var(--sale); color: var(--paper); font-variant-numeric: tabular-nums; }
.badge--new { background: var(--ink); color: var(--gold); }
.badge--outlet { background: var(--gold); color: var(--ink); }
.badge--bestseller { background: var(--gold-soft); color: var(--ink); }
.badge--stock { background: var(--paper); color: var(--ok); box-shadow: inset 0 0 0 1px rgba(47, 125, 79, .35); }

.card__wish {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    background: var(--paper);
    border: 0;
    border-radius: 50%;
    box-shadow: var(--shadow);
    color: var(--ink);
    cursor: pointer;
    transition: color .2s, transform .2s var(--ease);
}
.card__wish .icon { width: 20px; height: 20px; }
.card__wish:hover { color: var(--sale); transform: scale(1.06); }
.card__wish[aria-pressed="true"] { color: var(--sale); }
.card__wish[aria-pressed="true"] .icon { fill: var(--sale); }

.card__countdown {
    position: absolute;
    left: 10px; bottom: 10px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: var(--sale);
    color: var(--paper);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.card__countdown::before {
    content: "";
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: pulse 1.6s infinite;
}
@keyframes pulse { 50% { opacity: .3; } }

.card__body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 14px 16px 18px; }
.card__type { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 23px; font-weight: 600; line-height: 1.15; }
.card__link { color: var(--ink); }
.card__link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__link:focus-visible { outline: none; }
.card:has(.card__link:focus-visible) { outline: 2px solid var(--gold-deep); outline-offset: 2px; }

.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 2px 0 4px; }
.swatch {
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--swatch, #ccc);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--paper), 0 0 0 3px var(--line);
}
.swatches__more { font-size: 12px; font-weight: 600; color: var(--muted); margin-left: 2px; }

.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-top: auto; padding-top: 4px; }
.price__now { font-size: 19px; font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price__now--sale { color: var(--sale); }
.price__from { font-size: 14px; font-weight: 600; }
.price__old { font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.price__omnibus { font-size: 11.5px; line-height: 1.4; color: var(--muted); }

.stock { display: flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; }
.stock__dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.stock--in_stock { color: var(--ok); }
.stock--order { color: var(--wait); }
.stock--inquiry { color: var(--muted); }
.stock--unavailable { color: var(--muted); }

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1280px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.proto-label { margin: 16px 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-deep); }

/* Small screens: denser cards */
@media (max-width: 639px) {
    .card__body { padding: 12px 12px 14px; gap: 5px; }
    .card__title { font-size: 20px; }
    .price__now { font-size: 16px; }
    .price__old { font-size: 12.5px; }
    .stock { font-size: 12px; }
    .card__wish { width: 36px; height: 36px; }
    .badge { font-size: 9.5px; padding: 3px 6px; }
}

/* 10. Carousel ------------------------------------------------------------------------ */
.carousel { position: relative; --per-view: 1.6; --gap: 12px; }
@media (min-width: 640px) { .carousel { --per-view: 3; --gap: 20px; } }
@media (min-width: 960px) { .carousel { --per-view: 4; --gap: 24px; } }
.carousel__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--per-view) - 1) * var(--gap)) / var(--per-view));
    gap: var(--gap);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    padding: 4px 2px 12px;
    margin-inline: -2px;
    scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { scroll-snap-align: start; min-width: 0; }
.carousel__nav { display: none; }
@media (min-width: 960px) {
    .carousel__nav {
        position: absolute;
        inset: 0 -22px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        pointer-events: none;
    }
    .carousel__nav .icon-btn { pointer-events: auto; position: relative; top: -40px; z-index: 4; }
}
.section--sale .card { border-color: transparent; }

/* 11. Category + room tiles, benefits ---------------------------------------------------- */
.cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1280px) { .cat-tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; } }
.cat-tile { display: block; }
.cat-tile__media {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--media-bg);
}
.cat-tile__media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; transition: transform .6s var(--ease); }
.cat-tile:hover .cat-tile__media img { transform: scale(1.05); }
.cat-tile__name {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding-top: 12px;
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 600;
    color: var(--ink);
}
.cat-tile__name .icon { width: 18px; height: 18px; color: var(--gold-deep); transition: transform .2s var(--ease); }
.cat-tile:hover .cat-tile__name .icon { transform: translateX(4px); }
.cat-tile__media--outlet {
    display: grid;
    place-content: center;
    gap: 6px;
    text-align: center;
    background:
        radial-gradient(circle at 30% 20%, rgba(198, 161, 91, .25), transparent 55%),
        var(--ink);
}
.cat-tile__outlet-mark { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); color: var(--gold); line-height: 1; }
.cat-tile__outlet-text { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-ink); }

.room-tiles { display: grid; gap: 12px; }
@media (min-width: 640px) { .room-tiles { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.room-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
    color: var(--ivory);
}
@media (min-width: 960px) { .room-tile { aspect-ratio: 16 / 10; } }
.room-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.room-tile:hover img { transform: scale(1.04); }
.room-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(14, 14, 15, .78) 0%, rgba(14, 14, 15, .1) 55%);
}
.room-tile--plain {
    background:
        repeating-linear-gradient(135deg, rgba(198, 161, 91, .07) 0 1px, transparent 1px 22px),
        radial-gradient(circle at 80% 10%, rgba(198, 161, 91, .18), transparent 50%),
        var(--ink-2);
}
.room-tile--plain::after { display: none; }
.room-tile__body {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: clamp(20px, 3vw, 36px);
}
.room-tile__name { font-family: var(--font-display); font-size: clamp(2rem, 1.5rem + 1.8vw, 2.9rem); font-weight: 600; line-height: 1; }
.room-tile__text { color: rgba(250, 248, 244, .8); font-size: 15px; }
.room-tile__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold);
}
.room-tile__cta .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.room-tile:hover .room-tile__cta .icon { transform: translateX(4px); }

.section--benefits { background: var(--paper); border-top: 1px solid var(--line); padding-block: clamp(36px, 4vw, 56px); }
.benefits { display: grid; gap: 24px; }
@media (min-width: 640px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .benefits { grid-template-columns: repeat(4, 1fr); } }
.benefit { display: flex; align-items: center; gap: 16px; }
.benefit__icon {
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    flex: none;
    border: 1px solid var(--gold);
    border-radius: 50%;
    color: var(--gold-deep);
}
.benefit__icon .icon { width: 26px; height: 26px; }
.benefit__title { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.2; }
.benefit__text { display: block; font-size: 14px; color: var(--muted); }

/* 12. Footer ----------------------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--muted-on-ink); font-size: 14px; }
.site-footer__grid { display: grid; gap: 36px; padding-block: 56px 40px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .site-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; padding-block: 72px 56px; } }
.site-footer__logo { display: inline-block; margin-bottom: 20px; }
.site-footer__logo .logo-img { height: 58px; }
.site-footer__address { display: flex; gap: 10px; margin-bottom: 6px; color: var(--ivory); }
.site-footer .icon { width: 18px; height: 18px; color: var(--gold); }
.site-footer__hours { margin-top: 20px; }
.site-footer__hours li { padding: 2px 0; }
.site-footer__heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gold);
}
.site-footer__links li { padding: 4px 0; }
.site-footer__links a:hover, .site-footer__address a:hover { color: var(--gold); }
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a {
    display: grid;
    place-items: center;
    width: 40px; height: 40px;
    border: 1px solid var(--line-on-ink);
    border-radius: 50%;
}
.social a:hover { border-color: var(--gold); }
.site-footer__bottom { border-top: 1px solid var(--line-on-ink); }
.site-footer__bottom-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 20px;
    font-size: 13px;
}

/* 13. Coming soon (maintenance) ------------------------------------------------------------ */
.body--bare { background: var(--ink); }
.soon {
    display: grid;
    grid-template-rows: 1fr auto;
    min-height: 100vh;
    min-height: 100dvh;
    padding: 48px var(--gutter) 24px;
    background:
        radial-gradient(ellipse at 50% -10%, rgba(198, 161, 91, .22), transparent 60%),
        radial-gradient(ellipse at 50% 120%, rgba(198, 161, 91, .10), transparent 50%),
        var(--ink);
    color: var(--muted-on-ink);
    text-align: center;
}
.soon__inner { display: grid; justify-items: center; align-content: center; max-width: 620px; margin: 0 auto; }
.soon__logo .logo-img { height: clamp(48px, 7vw, 72px); }
.soon__logo .logo-img--stacked { height: clamp(170px, 26vw, 250px); }
.soon__rule { width: 64px; height: 1px; margin: 40px 0 32px; background: var(--gold); }
.soon__title { color: var(--ivory); font-weight: 600; font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); line-height: 1.02; margin-bottom: 20px; }
.soon__text { font-size: 17px; line-height: 1.7; margin-bottom: 32px; }
.soon__contact { display: grid; gap: 10px; margin-bottom: 28px; color: var(--ivory); }
.soon__contact li { display: flex; align-items: center; justify-content: center; gap: 10px; }
.soon__contact a:hover { color: var(--gold); }
.soon .icon { width: 18px; height: 18px; color: var(--gold); }
.soon .btn .icon { color: inherit; }
.soon__hours { margin-bottom: 32px; font-size: 14px; }
.soon__hours-title { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 6px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.soon__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.soon__footer { padding-top: 40px; font-size: 12px; }

/* 14. Misc ---------------------------------------------------------------------------------- */
.messenger-fab {
    position: fixed;
    right: 20px; bottom: 20px;
    z-index: 90;
    display: grid;
    place-items: center;
    width: 56px; height: 56px;
    background: var(--ink);
    color: var(--gold);
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
}
.messenger-fab .icon { width: 28px; height: 28px; }
.messenger-fab:hover { background: var(--gold); color: var(--ink); }

.error-page__inner { display: grid; justify-items: center; gap: 16px; max-width: 560px; text-align: center; padding-block: 40px; }
.error-page__code { font-family: var(--font-display); font-size: 96px; font-weight: 700; line-height: 1; color: var(--gold); }

body.nav-open { overflow: hidden; }

/* ==========================================================================
   Stage B — catalog, search, product page
   15 home extras · 16 breadcrumbs · 17 listing · 18 filters · 19 search
   20 product page · 21 lightbox
   ========================================================================== */

/* 15. Home extras ------------------------------------------------------------ */
.hero--intro {
    min-height: clamp(320px, 42vh, 460px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(198, 161, 91, .25), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(198, 161, 91, .12), transparent 50%),
        var(--ink);
}
.hero--intro .hero__content { padding-block: 72px; }
.room-tiles--1 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .room-tiles--1 .room-tile { aspect-ratio: 21 / 8; } }
@media (min-width: 960px) { .room-tiles--3 { grid-template-columns: repeat(3, 1fr); } .room-tiles--3 .room-tile { aspect-ratio: 4 / 5; } }
.card__placeholder { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line); }
.card__placeholder .icon { width: 64px; height: 64px; stroke-width: 1; }
.section--flush { padding-block: 48px 0; }

/* 16. Breadcrumbs ---------------------------------------------------------- */
.breadcrumbs { padding-block: 18px 6px; font-size: 13px; color: var(--muted); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumbs li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.breadcrumbs [aria-current] { color: var(--text); font-weight: 600; }

/* 17. Listing -------------------------------------------------------------- */
.listing-page { padding-bottom: var(--section-y); }
.listing-head { padding-block: 12px 24px; }
.listing-head__title { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); font-weight: 600; }
.listing-head__text { max-width: 720px; margin-top: 10px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 14px; font-weight: 600;
    transition: border-color .2s, background-color .2s;
}
.chip:hover { border-color: var(--ink); }
.chip__count { color: var(--muted); font-weight: 500; font-size: 12px; }

.listing { display: grid; gap: 32px; align-items: start; }
.listing.is-loading .listing__main { opacity: .45; pointer-events: none; transition: opacity .15s; }
@media (min-width: 960px) { .listing { grid-template-columns: 260px minmax(0, 1fr); gap: 40px; } }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 18px; }
.toolbar__count { margin-right: auto; color: var(--muted); font-size: 14px; }
.toolbar__filters { min-height: 42px; padding: 8px 16px; }
.toolbar__badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; border-radius: 10px; background: var(--gold); color: var(--ink); font-size: 11px; }
@media (min-width: 960px) { .toolbar__filters { display: none; } }
.toolbar__sort { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.toolbar__sort label { color: var(--muted); }
.toolbar__sort select, .filter__range input, .qty input {
    height: 42px;
    padding: 0 12px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
}
.toolbar__sort select:focus, .filter__range input:focus, .qty input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 161, 91, .2); }

.active-filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 13px; }
.active-filter {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 10px 6px 12px;
    background: var(--gold-soft);
    border-radius: 999px;
    font-weight: 600;
}
.active-filter .icon { width: 14px; height: 14px; }
.active-filter:hover { background: var(--ink); color: var(--paper); }

.product-grid--listing { gap: 12px; }
@media (min-width: 640px) { .product-grid--listing { gap: 20px; } }
@media (min-width: 1280px) { .product-grid--listing { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }

.empty-state { display: grid; justify-items: center; gap: 16px; padding: 64px 24px; text-align: center; color: var(--muted); background: var(--paper); border: 1px dashed var(--line); border-radius: var(--radius); }
.empty-state__icon { width: 40px; height: 40px; color: var(--gold-deep); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 40px; }
.pagination ol { display: flex; gap: 6px; }
.pagination__page, .pagination__step {
    display: grid; place-items: center;
    min-width: 42px; height: 42px; padding: 0 10px;
    border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--paper); font-weight: 600; font-variant-numeric: tabular-nums;
}
.pagination a:hover { border-color: var(--ink); }
.pagination__page[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: var(--gold); }
.pagination__gap { display: grid; place-items: center; width: 24px; color: var(--muted); }

/* Content page (Rólunk) */
.text-page { padding-bottom: 72px; }
.prose { max-width: 720px; font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); font-weight: 600; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose strong { font-weight: 700; color: var(--ink); }
.prose ul { margin: 0; padding-left: 1.3em; list-style: disc; }
.prose li::marker { color: var(--gold-deep); }
.prose li + li { margin-top: .35em; }
.prose-table { overflow-x: auto; }
/* Made to order: no right of withdrawal (product page, cart, checkout) */
.custom-order-note { display: flex; gap: 10px; align-items: flex-start; margin: 12px 0; padding: 12px 14px; background: var(--gold-soft); border-left: 3px solid var(--gold); border-radius: var(--radius); font-size: 14px; line-height: 1.5; color: var(--text); }
.custom-order-note[hidden] { display: none; }
.custom-order-note .icon { flex: none; margin-top: 2px; color: var(--gold-deep); }
.custom-order-note a { color: inherit; font-weight: 600; }
.custom-order-note--small { margin: 8px 0 0; padding: 8px 10px; font-size: 13px; }
.custom-order-tag { color: var(--wait); font-weight: 600; }
.custom-order-confirm { display: grid; gap: 8px; }
.prose-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose-table th, .prose-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose-table th { font-size: 13px; font-weight: 600; color: var(--muted); }
.contact-page { display: grid; gap: 32px; align-items: start; }
@media (min-width: 960px) { .contact-page { grid-template-columns: minmax(0, 1fr) 380px; gap: 56px; } }
.contact-card { display: grid; gap: 12px; padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-card__title { font-size: 1.8rem; font-weight: 600; }
.contact-card__row, .contact-card__sub { display: flex; gap: 10px; align-items: flex-start; }
.contact-card__row .icon, .contact-card__sub .icon { flex: none; margin-top: 3px; color: var(--gold-deep); }
.contact-card__sub { margin-top: 8px; font-family: var(--font-body); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.callback { max-width: 760px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); scroll-margin-top: 120px; }
.callback__title { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); font-weight: 600; }
.callback__intro { margin: 8px 0 20px; color: var(--muted); }
.callback__form { display: grid; gap: 16px; }
@media (min-width: 640px) { .callback__form { grid-template-columns: 1fr 1fr; } .callback__wide { grid-column: 1 / -1; } }
.callback__form select { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); font: inherit; }
.callback__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-card__company { margin-top: 8px; font-size: 13px; color: var(--muted); }

/* 18. Filters ------------------------------------------------------------- */
.filters__head { display: none; }
.filter { margin: 0 0 4px; padding: 0 0 18px; border: 0; border-bottom: 1px solid var(--line); }
.filter + .filter { padding-top: 18px; }
.filter__title { padding: 0; margin-bottom: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.filter__option { display: flex; align-items: center; gap: 10px; padding: 5px 0; font-size: 14px; cursor: pointer; }
.filter__option input { width: 18px; height: 18px; accent-color: var(--ink); }
.filter__count { margin-left: auto; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }
.filter__range { display: flex; align-items: center; gap: 8px; }
.filter__range label { flex: 1; }
.filter__range input { width: 100%; font-variant-numeric: tabular-nums; }
.filter__unit { color: var(--muted); font-size: 13px; }
.filter__swatches { display: grid; gap: 4px; }
.filter__swatch { position: relative; display: flex; align-items: center; gap: 10px; padding: 4px 0; font-size: 14px; cursor: pointer; }
.filter__swatch input { position: absolute; opacity: 0; }
.filter__swatch-dot {
    width: 22px; height: 22px; flex: none; border-radius: 50%;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--ivory), 0 0 0 3px var(--line);
}
.filter__swatch-name { display: flex; flex: 1; align-items: center; }
.filter__swatch input:checked + .filter__swatch-dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 2px var(--ivory), 0 0 0 4px var(--ink); }
.filter__swatch input:focus-visible + .filter__swatch-dot { outline: 2px solid var(--gold-deep); outline-offset: 4px; }
.filters__actions { padding-top: 18px; }
@media (min-width: 960px) {
    .js-enabled .filters__actions { display: none; } /* filters apply instantly */
    .filters { position: sticky; top: calc(var(--header-h) + 64px); max-height: calc(100vh - var(--header-h) - 80px); overflow-y: auto; padding-right: 6px; }
}

@media (max-width: 959px) {
    .filters {
        position: fixed; inset: 0 0 0 auto; z-index: 210;
        width: min(380px, 92vw);
        overflow-y: auto;
        padding: 0 20px 24px;
        background: var(--ivory);
        box-shadow: var(--shadow-lg);
        transform: translateX(105%);
        visibility: hidden;
        transition: transform .3s var(--ease), visibility .3s;
    }
    .filters.is-open { transform: none; visibility: visible; }
    .filters__head { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; padding: 14px 0; margin-bottom: 8px; background: var(--ivory); border-bottom: 1px solid var(--line); }
    .filters__title { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
    .filters-backdrop { position: fixed; inset: 0; z-index: 200; background: rgba(14, 14, 15, .45); }
}

/* 19. Search suggestions ----------------------------------------------------- */
.search__suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 130;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.suggest { display: flex; align-items: center; gap: 14px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.suggest[aria-selected="true"], .suggest:hover { background: var(--gold-soft); }
.suggest__media { display: grid; place-items: center; width: 64px; height: 48px; flex: none; background: var(--media-bg); border-radius: 4px; overflow: hidden; }
.suggest__media img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.suggest__text { display: grid; min-width: 0; }
.suggest__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink); }
.suggest__meta { font-size: 12.5px; color: var(--muted); }
.suggest__all { display: block; padding: 12px 14px; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.suggest__all:hover { background: var(--ink); color: var(--gold); }
.search__empty { padding: 14px; color: var(--muted); font-size: 14px; }

/* 20. Product page ---------------------------------------------------------------- */
.product-page { padding-bottom: var(--section-y); }
.notice { padding: 12px 16px; margin: 8px 0 16px; border-radius: var(--radius); font-size: 14px; }
.notice--admin { background: var(--gold-soft); }
.notice--admin a { font-weight: 700; text-decoration: underline; }
.notice--outlet { margin: 0; background: var(--paper); border: 1px solid var(--gold); }
.notice--outlet p { margin-top: 4px; color: var(--muted); }

.product { display: grid; gap: 28px; padding-top: 8px; }
.product > *, .listing > *, .buybox > * { min-width: 0; } /* scrollable children must not widen the grid */
@media (min-width: 960px) { .product { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 56px; align-items: start; } }

.gallery__main {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--media-bg);
    border-radius: var(--radius);
}
.gallery__open { display: block; width: 100%; height: 100%; padding: 0; background: none; border: 0; cursor: zoom-in; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gallery__img--cutout { object-fit: contain; padding: 6%; }
.gallery__main .card__badges { top: 16px; left: 16px; }
.gallery__step { position: absolute; top: 50%; transform: translateY(-50%); }
.gallery__step--prev { left: 12px; }
.gallery__step--next { right: 12px; }
@media (hover: hover) {
    .gallery__step { opacity: 0; transition: opacity .2s; }
    .gallery__main:hover .gallery__step, .gallery__step:focus-visible { opacity: 1; }
}
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 4px; }
.gallery__thumb {
    width: 96px; height: 72px; flex: none; padding: 0;
    overflow: hidden;
    background: var(--media-bg);
    border: 1px solid var(--line); border-radius: 4px;
    cursor: pointer;
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb--cutout img { object-fit: contain; padding: 6%; }
.gallery__thumb[aria-current="true"] { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }

.buybox { display: grid; gap: 16px; }
@media (min-width: 960px) { .buybox { position: sticky; top: calc(var(--header-h) + 64px); } }
.buybox__type { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.buybox__title { font-size: clamp(2.4rem, 1.8rem + 2.4vw, 3.6rem); font-weight: 600; line-height: 1; margin-top: -8px; }
.price--large { margin: 0; padding: 0; gap: 6px 14px; align-items: center; }
.price--large .price__now { font-size: 30px; }
.price--large .price__old { font-size: 17px; }
.buybox__price { display: grid; gap: 6px; padding: 18px 0; border-block: 1px solid var(--line); }
.buybox__vat { font-size: 12px; color: var(--muted); }
.buybox__countdown { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 12px; border-radius: 999px; background: var(--sale); color: var(--paper); font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums; }
.buybox__countdown[hidden] { display: none; }
.buybox__countdown .icon { width: 16px; height: 16px; }

.buybox__form { display: grid; gap: 16px; }
.picker { margin: 0; padding: 0; border: 0; }
.picker__label { padding: 0; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.picker__label strong { color: var(--ink); }
.picker__info { margin: 0; font-size: 13px; color: var(--muted); }
.picker__info strong { color: var(--ink); font-weight: 600; }
.picker__swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.picker__swatch { position: relative; cursor: pointer; }
.picker__swatch input { position: absolute; opacity: 0; }
.picker__dot {
    display: block; width: 34px; height: 34px; border-radius: 50%;
    background: var(--swatch);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--ivory), 0 0 0 4px var(--line);
    transition: box-shadow .15s;
}
.picker__swatch input:checked + .picker__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px var(--ivory), 0 0 0 5px var(--ink); }
.picker__swatch input:focus-visible + .picker__dot { outline: 2px solid var(--gold-deep); outline-offset: 6px; }
.picker__options { display: flex; flex-wrap: wrap; gap: 8px; }
.picker__option { position: relative; cursor: pointer; }
.picker__option input { position: absolute; opacity: 0; }
.picker__option span {
    display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px;
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    font-size: 14px; font-weight: 600;
    transition: border-color .15s, background-color .15s;
}
.picker__option:hover span { border-color: var(--ink); }
.picker__option input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.picker__option input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.is-unavailable span, .is-unavailable .picker__dot { opacity: .35; }
.picker__option.is-unavailable span { text-decoration: line-through; }

.buybox__stock { font-size: 14px; }
.buybox__actions { display: flex; gap: 10px; align-items: stretch; }
.qty input { width: 72px; height: 48px; text-align: center; font-weight: 700; }
.buybox__cart { flex: 1; }
.buybox__cart .btn { height: 48px; }
.buybox__cart .btn:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; }
/* "Érdeklődjön" (no price / inquiry only): the callback link replaces quantity and cart. */
.buybox__inquiry { flex: 1; height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.buybox__inquiry[hidden], .buybox__actions.is-inquiry .qty, .buybox__actions.is-inquiry .buybox__cart { display: none; }
.price__request .price__now { font-size: 1.15rem; }
.price__now--inquiry { font-size: .95rem; }
.icon-btn--outline { width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); }
.card__wish--inline[aria-pressed="true"] { color: var(--sale); }
.card__wish--inline[aria-pressed="true"] .icon { fill: var(--sale); }
.buybox__note { font-size: 12px; color: var(--muted); margin-top: -6px; }

.fabric { display: grid; gap: 10px; padding: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.fabric[hidden] { display: none; }
.fabric__item { display: flex; align-items: center; gap: 12px; }
.fabric__item img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; }
.fabric__title { font-weight: 700; }
.fabric__meta { font-size: 13px; color: var(--muted); }

.buybox__benefits { display: grid; gap: 10px; padding-top: 6px; font-size: 13.5px; color: var(--muted); }
.buybox__benefits li { display: flex; gap: 10px; align-items: flex-start; }
.buybox__benefits .icon { color: var(--gold-deep); margin-top: 1px; }
.buybox__benefits strong { color: var(--ink); }

.product-details { display: grid; gap: 40px 56px; margin-top: 56px; padding-top: 48px; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .product-details { grid-template-columns: 1fr 1fr; } }
.product-section--wide { grid-column: 1 / -1; }
.product-section__title { font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem); margin-bottom: 18px; }
.checklist { display: grid; gap: 10px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; }
.checklist .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--gold-deep); stroke-width: 2; }
.specs { margin: 0; display: grid; }
.specs > div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 600; }
.specs__details { white-space: pre-line; font-weight: 500 !important; }
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1280px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 16px; padding: 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.feature img { width: 96px; height: 72px; flex: none; object-fit: cover; border-radius: 4px; }
.feature__title { font-size: 21px; margin-bottom: 4px; }
.feature p { font-size: 14px; color: var(--muted); }

/* 21. Lightbox --------------------------------------------------------------------- */
.lightbox {
    width: 100vw; height: 100vh; max-width: none; max-height: none;
    margin: 0; padding: 0; border: 0;
    background: rgba(14, 14, 15, .96);
    color: var(--ivory);
}
.lightbox::backdrop { background: rgba(14, 14, 15, .9); }
.lightbox[open] { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
.lightbox__figure { margin: 0; height: 100vh; display: grid; grid-template-rows: 1fr auto; place-items: center; overflow: hidden; padding: 48px 0 16px; }
.lightbox__img { max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-in; transition: transform .25s var(--ease); }
.lightbox__img.is-zoomed { transform: scale(2.2); cursor: zoom-out; }
.lightbox__count { padding-top: 10px; font-size: 13px; color: var(--muted-on-ink); font-variant-numeric: tabular-nums; }
.lightbox .icon-btn { color: var(--ivory); }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .1); }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; }
.lightbox__step { margin: 0 8px; }

/* ==========================================================================
   Stage C — cart, checkout, order, payment
   22 forms · 23 cart · 24 checkout · 25 order & payment result · 26 mini cart, toast
   ========================================================================== */

/* 22. Forms & notices ------------------------------------------------------------ */
.shop-page { padding-bottom: var(--section-y); }
.shop-page__title { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); margin: 8px 0 24px; }
.notice--success { background: #EAF4EE; color: var(--ok); }
.notice--error { background: #FBECEB; color: var(--sale); }
.field { display: grid; gap: 6px; }
.field label, .coupon-form label { font-size: 13px; font-weight: 600; color: var(--text); }
.field input, .field textarea, .coupon-form input, .qty-input {
    width: 100%;
    min-height: 46px;
    padding: 10px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    color: var(--text);
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus, .coupon-form input:focus, .qty-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(198, 161, 91, .2); }
.field input[aria-invalid="true"] { border-color: var(--sale); }
.field__error { font-size: 12.5px; color: var(--sale); }
.field-grid { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 640px) {
    .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .field-grid--address { grid-template-columns: 120px minmax(0, 1fr); }
    .field-grid--address .field:last-child { grid-column: 1 / -1; }
}
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; cursor: pointer; margin-top: 12px; }
.check input { width: 20px; height: 20px; flex: none; margin-top: 1px; accent-color: var(--ink); }
.check a { text-decoration: underline; text-underline-offset: 2px; }
.check--error { color: var(--sale); }
.segmented { display: inline-flex; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.segmented label { cursor: pointer; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: block; padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.segmented input:checked + span { background: var(--ink); color: var(--paper); }
.segmented input:focus-visible + span { outline: 2px solid var(--gold-deep); outline-offset: 2px; }
.choice-list { display: grid; gap: 10px; }
.choice {
    display: flex; align-items: center; gap: 14px;
    padding: 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    cursor: pointer;
    transition: border-color .15s, box-shadow .15s;
}
.choice:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input { width: 20px; height: 20px; flex: none; accent-color: var(--ink); }
.choice__body { display: grid; gap: 2px; flex: 1; }
.choice__body small { color: var(--muted); font-size: 13px; }
.choice__price { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.choice__logo img { width: 197px; max-width: 40vw; height: auto; }
.choice.is-disabled { opacity: .45; cursor: not-allowed; }
.btn--large { min-height: 58px; font-size: 14px; }

/* 23. Cart -------------------------------------------------------------------------- */
.cart-layout, .checkout-layout { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) {
    .cart-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
    .checkout-layout { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
}
.cart-lines ul { border-top: 1px solid var(--line); margin-bottom: 18px; }
.cart-line {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    grid-template-areas: "media info" "media qty" "media price";
    gap: 6px 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}
@media (min-width: 640px) {
    .cart-line { grid-template-columns: 140px minmax(0, 1fr) 130px 140px; grid-template-areas: "media info qty price"; align-items: center; }
}
.cart-line__media { grid-area: media; display: block; aspect-ratio: 4 / 3; background: var(--media-bg); border-radius: var(--radius); overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; mix-blend-mode: multiply; }
.cart-line__info { grid-area: info; display: grid; gap: 2px; min-width: 0; }
.cart-line__name { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--ink); line-height: 1.15; }
.cart-line__variant { font-size: 13px; color: var(--muted); }
.cart-line__qty { grid-area: qty; display: flex; align-items: center; gap: 12px; }
.qty-input { width: 76px; text-align: center; font-weight: 700; min-height: 42px; }
.cart-line__remove { font-size: 13px; color: var(--muted); }
.cart-line__price { grid-area: price; display: grid; justify-items: start; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .cart-line__price { justify-items: end; } }
.cart-line__price strong { font-size: 18px; }
.cart-line__price small { color: var(--muted); font-size: 12px; }
.cart-summary, .checkout-summary__inner {
    display: grid; gap: 18px;
    padding: 24px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}
@media (min-width: 960px) { .cart-summary, .checkout-summary { position: sticky; top: calc(var(--header-h) + 64px); } }
.cart-summary__title { font-size: 28px; }
.cart-summary__continue { justify-self: center; }
.coupon-form { display: grid; gap: 6px; }
.coupon-form__row { display: flex; gap: 8px; }
.coupon-form__row input { text-transform: uppercase; }
.coupon-form__applied { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--gold-soft); border-radius: var(--radius); font-weight: 600; font-size: 14px; }
.totals { display: grid; gap: 8px; margin: 0; font-size: 14px; }
.totals > div { display: flex; justify-content: space-between; gap: 16px; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.totals__discount dd { color: var(--sale); }
.totals__total { padding-top: 12px; margin-top: 4px; border-top: 1px solid var(--line); font-size: 18px; }
.totals__total dt { color: var(--ink); font-weight: 700; }
.totals__total dd { font-size: 22px; font-weight: 700; }
.totals__deposit { padding: 10px 12px; background: var(--gold-soft); border-radius: var(--radius); }
.totals__deposit dt { color: var(--ink); font-weight: 600; }
.totals__note { font-size: 12.5px; }
.totals__warn { color: var(--sale); }
.totals__vat { font-size: 12px; color: var(--muted); }

/* 24. Checkout ------------------------------------------------------------------------ */
.checkout { display: grid; gap: 18px; min-width: 0; }
.checkout__step { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); min-width: 0; }
.checkout__title { display: flex; align-items: center; gap: 12px; font-size: 26px; margin-bottom: 16px; }
.checkout__title span {
    display: inline-grid; place-items: center;
    width: 32px; height: 32px; flex: none;
    border-radius: 50%;
    background: var(--ink); color: var(--gold);
    font-family: var(--font-sans); font-size: 14px; font-weight: 700;
}
.checkout__zone { margin: 12px 0 0; font-size: 14px; font-weight: 600; color: var(--ok); min-height: 1em; }
.checkout__zone.is-error { color: var(--sale); }
.checkout__confirm { display: grid; gap: 8px; }
.checkout__confirm .btn { margin-top: 12px; }
.checkout__hint { font-size: 12.5px; color: var(--muted); text-align: center; }
.checkout-summary { min-width: 0; }
.summary-lines { display: grid; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 14px; }
.summary-lines li { display: flex; justify-content: space-between; gap: 12px; }
.summary-lines small { display: block; color: var(--muted); font-size: 12px; }
.summary-lines li > span:last-child { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.checkout.is-loading .choice-list, .checkout-summary.is-loading { opacity: .6; transition: opacity .15s; }

/* 25. Order page & payment result ----------------------------------------------------- */
.payment-result__box { max-width: 640px; margin: 32px auto 0; padding: 40px 28px; text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.payment-result__icon {
    display: inline-grid; place-items: center;
    width: 64px; height: 64px;
    border-radius: 50%;
    background: #EAF4EE; color: var(--ok);
}
.payment-result__icon .icon { width: 32px; height: 32px; stroke-width: 2; }
.payment-result--fail .payment-result__icon, .payment-result--cancel .payment-result__icon,
.payment-result--timeout .payment-result__icon, .payment-result--error .payment-result__icon { background: #FBECEB; color: var(--sale); }
.payment-result__trx { font-size: 16px; }
.payment-result__text { margin: 12px auto 20px; max-width: 520px; color: var(--muted); }
.payment-result__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }
.payment-result__alt { margin-top: 16px; font-size: 13px; }
.order-page__head { padding: 28px 0 8px; text-align: center; }
.order-page__head .payment-result__icon { margin-bottom: 8px; }
.order-page__number { color: var(--muted); }
.order-page__retry { margin: 14px 0; }
.order-steps { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px 0 28px; counter-reset: step; }
.order-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--muted); }
.order-steps li.is-done { color: var(--ink); border-color: var(--gold); }
.order-steps li.is-current { background: var(--ink); color: var(--gold); border-color: var(--ink); }
.order-grid { display: grid; gap: 18px; margin-bottom: 18px; }
@media (min-width: 960px) { .order-grid { grid-template-columns: 1fr 1fr; } }
.order-box { padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 18px; }
.order-box__title { font-size: 24px; margin-bottom: 12px; }
.order-items { display: grid; margin-bottom: 18px; }
.order-items li { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.order-items__media { aspect-ratio: 4 / 3; background: var(--media-bg); border-radius: 4px; overflow: hidden; }
.order-items__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.order-items__info { display: grid; }
.order-items__info small { font-size: 12.5px; }
.defects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.defects img { width: 96px; height: 72px; object-fit: cover; border-radius: 4px; border: 1px solid var(--line); }

/* 26. Mini cart, toast, footer logo -------------------------------------------------- */
.minicart__lines { display: grid; gap: 10px; margin-bottom: 12px; }
.minicart__line { display: flex; gap: 12px; align-items: center; }
.minicart__media { width: 64px; height: 48px; flex: none; background: var(--media-bg); border-radius: 4px; overflow: hidden; }
.minicart__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.minicart__info { display: grid; min-width: 0; }
.minicart__name { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.minicart__meta, .minicart__more { font-size: 12.5px; color: var(--muted); }
.minicart__subtotal { display: flex; justify-content: space-between; padding: 12px 0; margin-bottom: 12px; border-top: 1px solid var(--line); }
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 300;
    max-width: calc(100vw - 32px);
    padding: 12px 18px;
    background: var(--ink); color: var(--paper);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 14px; font-weight: 600;
    transform: translate(-50%, 20px); opacity: 0;
    transition: transform .25s var(--ease), opacity .25s;
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }
.toast--error { background: var(--sale); }
.simplepay-logo { display: inline-flex; padding: 6px 10px; background: #FFFFFF; border-radius: 4px; }
.simplepay-logo img { width: 197px; height: auto; }

/* Cookie consent (CLAUDE.md 10.) ----------------------------------------------------------- */
/* Fixed bottom bar; while open the page gets the same bottom padding (--consent-h, set by consent.js),
   so the last elements (checkout "Megrendelés" button) can always be scrolled above it. */
.consent {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
    max-height: 60vh; overflow-y: auto; overscroll-behavior: contain;
    padding: 12px 0 calc(12px + env(safe-area-inset-bottom, 0px));
    background: var(--ink); color: var(--ivory);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .18);
    font-size: 13px; line-height: 1.45;
}
.consent[hidden] { display: none; }
.consent__inner { display: grid; gap: 10px; }
.consent__title { margin: 0 0 2px; font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--paper); }
.consent__text p { margin: 0; color: rgba(250, 248, 244, .85); }
.consent a { color: var(--gold); text-decoration: underline; }
.consent__prefs { display: grid; gap: 6px; }
.consent__prefs[hidden] { display: none; }
.consent__opt { display: flex; gap: 10px; align-items: flex-start; padding: 7px 10px; border: 1px solid rgba(255, 255, 255, .15); border-radius: var(--radius); cursor: pointer; }
.consent__opt input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); }
.consent__opt span { color: rgba(250, 248, 244, .85); }
.consent__opt strong { color: var(--paper); }
.consent__always { margin-left: 6px; font-style: normal; font-size: 12px; color: var(--gold); }
.consent__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent__btn { min-height: 44px; padding: 8px 10px; justify-content: center; font-size: 12px; letter-spacing: .06em; }
.consent__btn[hidden] { display: none; }
.consent__actions .consent__btn:nth-child(n+3) { grid-column: 1 / -1; }
.consent .btn:focus-visible { outline: 2px solid var(--paper); outline-offset: 2px; }
body.has-consent { padding-bottom: var(--consent-h, 0px); }
body.has-consent .messenger-fab { bottom: calc(20px + var(--consent-h, 0px)); }
body.has-consent .toast { bottom: calc(24px + var(--consent-h, 0px)); }
@media (min-width: 960px) {
    .consent { padding: 20px 0; max-height: 80vh; font-size: 14px; }
    .consent__title { font-size: 22px; }
    .consent__btn { padding: 10px 18px; }
    .consent__inner { grid-template-columns: 1fr auto; align-items: center; column-gap: 32px; }
    .consent__prefs { grid-column: 1 / -1; grid-row: 2; grid-template-columns: repeat(3, 1fr); }
    .consent__actions { display: flex; flex-wrap: wrap; justify-content: flex-end; }
    .consent__actions .consent__btn:nth-child(n+3) { grid-column: auto; }
}
