/* Shared Big Sale homepage colours and live-auction typography. */
@font-face { font-family: Manrope; src: url('../fonts/Manrope-Variable.ttf') format('truetype'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Bangers; src: url('../fonts/Bangers-Regular.ttf') format('truetype'); font-display: swap; }
:root {
    --foundry-bg: #fffaf0;
    --foundry-surface: #fff;
    --foundry-surface-strong: #f7f1e8;
    --foundry-ink: #202020;
    --foundry-muted: #67605a;
    --foundry-line: #d9cec2;
    --foundry-line-strong: #746c62;
    --foundry-accent: #b9086d;
    --foundry-accent-soft: #fff0f7;
    --shop-yellow: #fbd765;
    --foundry-shadow: none;
    --vf-font-body: Manrope, sans-serif;
    --vf-font-mono: Manrope, sans-serif;
    --vf-font-display: Bangers, Manrope, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--foundry-ink);
    font: 15px/1.5 var(--vf-font-body);
    background: var(--foundry-bg);
}

.account-page [hidden], #checkout-form [hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--foundry-accent); outline-offset: 4px; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px; background: #fff; }
.skip-link:focus { top: 12px; }

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(1240px, calc(100% - 32px));
    margin: 0 auto;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--shop-yellow);
    border-bottom: 2px solid var(--foundry-ink);
}

.site-header > .container { padding-inline: 0; }
.nav-frame { display: flex; align-items: center; gap: 10px; min-height: 78px; }
.brand-block { display: flex; align-items: center; gap: 10px; min-width: 0; margin-right: auto; }
.brand-logo { width: 64px; height: 60px; object-fit: contain; flex-shrink: 0; }
.desktop-navigation, .desktop-header-actions { display: none; }

.header-icon { display: inline-flex; width: 22px; height: 22px; flex-shrink: 0; }
.header-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.header-basket-link, .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 46px;
    padding: 8px 10px;
    border: 1px solid var(--foundry-ink);
    border-radius: 6px;
    font-weight: 800;
    flex-shrink: 0;
    transition: background .15s ease, color .15s ease;
}
.header-basket-link { background: var(--foundry-accent); color: #fff; }
.header-basket-link:hover { background: var(--foundry-ink); color: #fff; }
.basket-count { min-width: 22px; text-align: center; font-size: .85rem; }
.basket-label { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.mobile-menu-toggle { width: 46px; padding: 0; list-style: none; background: transparent; cursor: pointer; }
.mobile-menu-toggle::-webkit-details-marker { display: none; }
.mobile-menu-toggle:hover, .mobile-menu[open] .mobile-menu-toggle { background: var(--foundry-ink); color: #fff; }
.menu-icon-close, .mobile-menu[open] .menu-icon-open { display: none; }
.mobile-menu[open] .menu-icon-close { display: initial; }

.mobile-menu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 12px max(16px, calc((100vw - 960px) / 2)) 24px;
    background: var(--foundry-bg);
    border-bottom: 2px solid var(--foundry-ink);
    box-shadow: 0 4px 8px #20202014;
}
.primary-nav { display: flex; flex-direction: column; }
.primary-nav a { display: flex; align-items: center; min-height: 60px; padding: 10px 0; font-size: 1.5rem; font-weight: 800; transition: color .15s ease; }
.primary-nav a:hover, .primary-nav a[aria-current] { color: var(--foundry-accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.mobile-menu-account { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding-block: 16px; margin-top: 12px; border-top: 1px solid var(--foundry-line); }
.header-account-link, .header-mail, .header-pill { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0; border: 0; background: transparent; color: var(--foundry-ink); font-size: .9rem; font-weight: 700; }
.header-account-link:hover, .header-mail:hover, .header-pill:hover { color: var(--foundry-accent); text-decoration: underline; text-underline-offset: 4px; }
.mobile-menu-account .header-mail { margin-left: auto; }
.language-form, .logout-form, .mobile-language-form { margin: 0; }
.mobile-language-form { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; border-top: 1px solid var(--foundry-line); font-weight: 700; }
.language-select, .mobile-language-select { min-height: 44px; padding: 8px; border: 1px solid var(--foundry-line-strong); border-radius: 6px; background: var(--foundry-surface); color: var(--foundry-ink); font-size: 1rem; cursor: pointer; }
.mobile-language-select { min-width: 112px; }

@media (min-width: 1200px) {
    .nav-frame { min-height: 96px; gap: 24px; }
    .brand-block { margin-right: 12px; gap: 12px; }
    .brand-logo { width: 80px; height: 76px; }
    .desktop-navigation { display: block; }
    .primary-nav { flex-direction: row; align-items: center; gap: 24px; }
    .primary-nav a { min-height: 48px; font-size: 1.1rem; white-space: nowrap; }
    .desktop-header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
    .desktop-header-actions .header-mail .header-icon { display: none; }
    .desktop-header-actions .header-pill { width: 44px; }
    .desktop-header-actions .header-pill .header-link-label { display: none; }
    .language-select { border-color: transparent; background: transparent; font-size: .85rem; font-weight: 700; }
    .header-basket-link { padding-inline: 16px; }
    .basket-label { position: static; width: auto; height: auto; overflow: visible; clip-path: none; font-size: .9rem; }
    .mobile-menu { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
    .mobile-menu[open] .mobile-menu-panel { animation: shop-appear .15s ease; }
}

.footer-brand-logo {
    width: auto;
    max-width: 100%;
    object-fit: contain;
}
.section-kicker,
.product-meta-line,
.auction-meta-line,
.product-stock,
.detail-note,
.detail-spec-grid span,
.text-link,
.filter-pill {
    font-family: var(--vf-font-mono);
    font-size: 0.74rem;
    letter-spacing: normal;
    text-transform: none;
}
.section-kicker,
.text-link {
    color: var(--foundry-accent);
}
.footer-links a,
.footer-links .button-link {
    transition: color 0.18s ease;
}
.footer-links a:hover,
.footer-links .button-link:hover {
    color: var(--foundry-ink);
}
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line-strong);
    background: var(--foundry-accent);
    color: #fff;
    gap: 12px;
    min-height: 44px;
    border: 2px solid var(--foundry-ink);
    box-shadow: 3px 3px 0 var(--foundry-ink);
    font-weight: 700;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.button:hover {
    background: var(--foundry-ink);
    color: #fff;
}

.button-secondary {
    background: var(--foundry-surface);
    color: var(--foundry-ink);
}

.page-shell {
    padding: 32px 0 88px;
}

.flash-banner {
    margin-bottom: 24px;
    padding: 16px 18px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
}

.flash-banner-error {
    border-color: rgba(211, 111, 99, 0.34);
    background: rgba(211, 111, 99, 0.08);
    color: #a32226;
}

.flash-banner-success {
    border-color: rgba(134, 184, 104, 0.34);
    background: rgba(134, 184, 104, 0.08);
    color: #285414;
}

.hero-grid,
.product-detail-layout,
.footer-grid {
    display: grid;
    gap: 24px;
}

.hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
}

.shop-home .page-shell { padding-top: 0; }

.hero-copy-panel,
.hero-stage-clean,
.page-hero,
.product-card,
.auction-card,
.detail-panel,
.detail-story,
.info-panel,
.point-card {
    background: var(--foundry-surface);
    border: 1px solid var(--foundry-line);
    box-shadow: var(--foundry-shadow);

}

.hero-copy-panel,
.page-hero,
.detail-panel,
.detail-story,
.info-panel,
.point-card {
    padding: 24px;
}

.hero-stage-clean,
.product-visual,
.auction-card-image,
.detail-image-frame {
    overflow: hidden;
    border-radius: 6px;
}

.hero-stage-clean {
    min-height: 560px;
    background:
        radial-gradient(circle at top, var(--foundry-accent-soft), transparent 40%),
        #121518;
}

.hero-stage-editorial {
    display: block;
    padding: 18px;
}

.hero-stage-shot {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #0f1113;
    border: 1px solid rgba(241, 236, 226, 0.08);
}

.hero-stage-shot::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 11, 13, 0.02) 0%, rgba(10, 11, 13, 0.24) 100%),
        linear-gradient(90deg, rgba(10, 11, 13, 0.12) 0%, rgba(10, 11, 13, 0) 35%);
    pointer-events: none;
}

.hero-stage-shot-primary {
    height: 100%;
    min-height: 520px;
}

.hero-auth {
    margin-top: 18px;
    display: grid;
    gap: 14px;
    max-width: 34rem;
}

.hero-auth-note {
    margin: 0;
    color: var(--foundry-muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.hero-actions-auth {
    margin-top: 0;
}

.hero-actions-auth .button {
    min-width: 170px;
}

.hero-stage-clean img,
.product-visual img,
.auction-card-image img,
.detail-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--vf-font-display);
    font-weight: 400;
    letter-spacing: .02em;
    text-transform: none;
}

h1 {
    font-size: clamp(2.9rem, 5.2vw, 5rem);
    line-height: 1.1;
}

h2,
.section-heading h1 {
    font-size: clamp(1.7rem, 2.7vw, 2.5rem);
    line-height: 1.15;
}

h3 {
    font-size: 1.1rem;
    font-family: var(--vf-font-body);
    font-weight: 700;
    line-height: 1.2;
}

.hero-lead,
.page-hero p,
.detail-lead,
.detail-story p,
.product-copy p,
.auction-card-copy p,
.point-card p,
.footer-copy,
.footer-meta span,
.info-panel {
    color: var(--foundry-muted);
    line-height: 1.65;
}

.hero-actions,
.detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.home-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.point-card h2 {
    margin-bottom: 10px;
    font-size: 1.45rem;
}

.section-block {
    margin-top: 52px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.product-grid,
.auction-grid {
    display: grid;
    gap: 18px;
}

.product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.auction-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: start;
}

.product-card,
.auction-card {
    border-radius: 6px;
    overflow: hidden;
}

.product-visual,
.auction-card-image {
    display: block;
    width: 100%;
    position: relative;
    aspect-ratio: 1 / 1;
    min-height: 0;
    background: var(--foundry-surface-strong);
}

.product-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--shop-yellow);
    border: 1px solid var(--foundry-line);
    color: var(--foundry-ink);
    font-family: var(--vf-font-mono);
    font-size: 0.68rem;
    letter-spacing: normal;
    text-transform: none;
}

.product-copy,
.auction-card-copy {
    padding: 18px 18px 20px;
}

.auction-card-copy {
    padding: 14px 14px 16px;
}

.product-meta-line,
.auction-meta-line {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: var(--foundry-muted);
}

.product-copy h3 a {
    color: var(--foundry-ink);
}

.product-copy p,
.auction-card-copy p {
    margin: 10px 0 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-copy h3,
.auction-card-copy h3 {
    min-height: 2.1em;
}

.auction-card-copy h3 {
    min-height: 0;
    font-size: 1.05rem;
    line-height: 1.1;
}

.product-bottom,
.auction-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: end;
    margin-top: 18px;
}

.product-price,
.auction-price,
.detail-price {
    font-family: var(--vf-font-display);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.1;
}

.auction-price {
    font-size: 1.4rem;
}

.product-compare,
.auction-end,
.detail-compare {
    color: var(--foundry-muted);
    font-size: 0.92rem;
}

.auction-card-copy p,
.auction-end,
.auction-meta-line {
    font-size: 0.76rem;
    line-height: 1.45;
}

.auction-bottom {
    gap: 10px;
    margin-top: 14px;
}

.auction-card .button {
    padding: 10px 12px;
    font-size: 0.72rem;
    letter-spacing: normal;
}

.page-hero {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    border-radius: 6px;
    margin-bottom: 24px;
}

.filter-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-pill {
    padding: 10px 16px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
    color: var(--foundry-muted);
}

.filter-pill.active {
    background: var(--foundry-accent-soft);
    border-color: var(--foundry-accent-soft);
    color: var(--foundry-ink);
}

.product-detail-layout {
    grid-template-columns: minmax(0, 1.02fr) minmax(300px, 0.78fr);
    align-items: start;
    gap: 18px;
}

.detail-gallery {
    display: grid;
    gap: 12px;
}

.detail-gallery-stage {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: var(--foundry-surface-strong);
    border: 1px solid var(--foundry-line);
    box-shadow: var(--foundry-shadow);
}

.detail-gallery-slide {
    display: none;
}

.detail-gallery-slide.is-active {
    display: block;
}

.detail-image-frame {
    aspect-ratio: 5 / 4;
    min-height: 0;
    background: var(--foundry-surface-strong);
    border: 0;
    margin: 0;
}

.detail-gallery-controls {
    position: absolute;
    inset: 50% 18px auto;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}

.detail-gallery-button {
    pointer-events: auto;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line-strong);
    background: var(--foundry-surface);
    color: var(--foundry-ink);
    font-size: 1.45rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.detail-gallery-button:hover,
.detail-gallery-button:focus-visible {
    background: var(--shop-yellow);
    border-color: var(--foundry-accent-soft);

}

.detail-gallery-status {
    position: absolute;
    right: 18px;
    bottom: 18px;
    padding: 6px 10px;
    border-radius: 6px;
    background: var(--foundry-surface);
    border: 1px solid var(--foundry-line);
    color: var(--foundry-ink);
    font-family: var(--vf-font-mono);
    font-size: 0.64rem;
    letter-spacing: normal;
}

.detail-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: 10px;
}

.detail-gallery-thumb {
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
    opacity: 0.72;
    transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.detail-gallery-thumb img {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.detail-gallery-thumb:hover,
.detail-gallery-thumb:focus-visible,
.detail-gallery-thumb.is-active {
    opacity: 1;
    border-color: var(--foundry-accent-soft);
    color: var(--foundry-accent);
}

.detail-title {
    margin: 8px 0 0;
    font-family: var(--vf-font-body);
    font-size: clamp(1.7rem, 3.2vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.03em;
    text-wrap: balance;
    max-width: 11ch;
}

.detail-panel,
.detail-story {
    border-radius: 6px;
}

.about-story {
    max-width: 100%;
}

.about-story-head {
    margin-bottom: 22px;
    max-width: 58rem;
}

.about-story-head h1 {
    margin-top: 8px;
    max-width: 12ch;
}

.about-story-head p {
    margin: 12px 0 0;
    max-width: 42rem;
    color: var(--foundry-muted);
    font-size: 1rem;
    line-height: 1.6;
}

.about-story > p {
    max-width: 72rem;
    margin: 0;
}

.about-story > p + p {
    margin-top: 20px;
}

.detail-price-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
    margin-top: 14px;
}

.detail-price {
    font-family: var(--vf-font-body);
    font-size: 1.34rem;
    font-weight: 800;
    letter-spacing: normal;
}

.detail-price-note {
    margin-top: 6px;
    color: var(--foundry-muted);
    font-size: 0.82rem;
    line-height: 1.45;
}

.detail-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.detail-spec-grid div {
    padding: 11px 12px;
    border-radius: 6px;
    background: var(--foundry-surface);
    border: 1px solid var(--foundry-line);
}

.detail-spec-grid span {
    font-size: 0.68rem;
    letter-spacing: normal;
}

.detail-spec-grid strong {
    display: block;
    margin-top: 4px;
    font-size: 0.96rem;
    line-height: 1.3;
}

.detail-note {
    margin-top: 18px;
    color: var(--foundry-muted);
    font-size: 0.74rem;
}

.detail-inline-message {
    display: inline-flex;
    align-items: center;
    padding: 11px 14px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
    color: var(--foundry-muted);
    font-size: 0.92rem;
}

.basket-add-form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: end;
}

.basket-add-form-single {
    align-items: stretch;
}

.basket-quantity-field {
    display: grid;
    gap: 8px;
}

.basket-quantity-field span {
    color: var(--foundry-muted);
    font-family: var(--vf-font-mono);
    font-size: 0.74rem;
    letter-spacing: normal;
    text-transform: none;
}

.basket-quantity-input {
    width: 92px;
}

.detail-panel .section-kicker {
    font-size: 0.68rem;
    letter-spacing: normal;
}

.detail-lead {
    margin-top: 8px;
    font-size: 0.95rem;
    line-height: 1.55;
}

.detail-actions {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.detail-actions-primary,
.detail-actions-secondary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: stretch;
}

.detail-actions .button,
.basket-add-form .button {
    padding: 10px 15px;
    font-size: 0.9rem;
    min-height: 42px;
}

.detail-auth-box {
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
    display: grid;
    gap: 10px;
}

.detail-auth-title {
    font-family: var(--vf-font-mono);
    font-size: 0.74rem;
    letter-spacing: normal;
    text-transform: none;
    color: var(--foundry-ink);
}

.detail-auth-box p {
    margin: 0;
    color: var(--foundry-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 30ch;
}

.detail-auth-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.detail-auth-link {
    color: var(--foundry-accent);
    font-family: var(--vf-font-mono);
    font-size: 0.8rem;
    letter-spacing: normal;
    text-transform: none;
    text-decoration: none;
}

.detail-auth-link:hover {
    color: var(--foundry-ink);
}

.detail-suggestion-box {
    margin-top: 14px;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
}

.detail-suggestion-box summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--vf-font-mono);
    font-size: 0.74rem;
    letter-spacing: normal;
    text-transform: none;
    color: var(--foundry-ink);
}

.detail-suggestion-box summary::-webkit-details-marker {
    display: none;
}

.detail-suggestion-box p {
    margin: 10px 0 0;
    color: var(--foundry-muted);
    font-size: 0.86rem;
    line-height: 1.5;
}

.detail-suggestion-title {
    font-family: var(--vf-font-mono);
    font-size: 0.74rem;
    letter-spacing: normal;
    text-transform: none;
    color: var(--foundry-ink);
}

.detail-suggestion-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.detail-suggestion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.detail-suggestion-message {
    grid-column: 1 / -1;
}

.detail-suggestion-message textarea {
    min-height: 96px;
    resize: vertical;
}

.detail-suggestion-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-actions-primary > .detail-inline-message {
    min-height: 42px;
}

.basket-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
    gap: 24px;
}

.basket-lines {
    display: grid;
    gap: 18px;
}

.basket-row {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    padding: 18px;
    border-radius: 6px;
    background: var(--foundry-surface);
    border: 1px solid var(--foundry-line);
    box-shadow: var(--foundry-shadow);
}

.basket-thumb {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background: var(--foundry-surface-strong);
}

.basket-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.basket-copy {
    min-width: 0;
}

.basket-row-meta,
.checkout-line span {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    color: var(--foundry-muted);
    font-size: 0.92rem;
}

.basket-row-actions,
.basket-update-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}

.basket-row-actions {
    margin-top: 18px;
}

.button-link {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.basket-line-total {
    font-family: var(--vf-font-display);
    font-weight: 700;
    font-size: 2rem;
    line-height: 1.1;
    white-space: nowrap;
}

.basket-summary-panel {
    align-self: start;
}

.basket-summary-list {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.basket-summary-list div {
    padding: 14px;
    border-radius: 6px;
    background: var(--foundry-surface);
    border: 1px solid var(--foundry-line);
}

.basket-summary-list span {
    display: block;
    color: var(--foundry-muted);
    font-family: var(--vf-font-mono);
    font-size: 0.74rem;
    letter-spacing: normal;
    text-transform: none;
}

.basket-summary-list strong {
    display: block;
    margin-top: 6px;
}

.basket-summary-actions {
    margin-top: 20px;
}

.checkout-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.checkout-span-2 {
    grid-column: span 2;
}

.checkout-notes {
    min-height: 132px;
    resize: vertical;
}

.checkout-lines {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.checkout-line {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--foundry-line);
}

.checkout-line:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.checkout-line img {
    width: 82px;
    height: 82px;
    border-radius: 6px;
    object-fit: cover;
}

.checkout-line strong {
    display: block;
}

.checkout-line-total {
    font-family: var(--vf-font-mono);
    font-size: 0.88rem;
    letter-spacing: normal;
    text-transform: none;
}

.detail-story {
    margin-top: 24px;
}

.auction-page-grid {
    margin-top: 10px;
}

.info-panel {
    border-radius: 6px;
    margin-bottom: 18px;
}

.site-footer {
    border-top: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
    padding: 28px 0 44px;
}

.footer-brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
}

.footer-brand-logo {
    height: 70px;
}

.footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
}

.footer-meta,
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-meta {
    margin-top: 12px;
    align-items: flex-start;
    color: var(--foundry-muted);
    font-size: 0.94rem;
    line-height: 1.6;
    text-align: left;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(120px, 1fr));
    gap: 10px 24px;
    align-content: start;
}

.footer-links .button-link {
    color: inherit;
    text-align: left;
}

.auth-layout,
.account-grid {
    display: grid;
    gap: 24px;
}

.auth-layout {
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
    align-items: stretch;
}

.auth-layout-single {
    grid-template-columns: minmax(0, 680px);
    justify-content: center;
}

.auth-panel {
    border-radius: 6px;
    padding: 30px;
}

.auth-panel-primary {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
    background: var(--foundry-surface);
}

.auth-panel-compact {
    gap: 0;
}

.auth-title {
    margin: 8px 0 0;
    font-family: var(--vf-font-body);
    font-size: clamp(2.1rem, 4.2vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.045em;
}

.auth-lead {
    margin-top: 14px;
    color: var(--foundry-muted);
    line-height: 1.65;
}

.auth-helper {
    margin: -4px 0 0;
    color: var(--foundry-muted);
    line-height: 1.55;
}

.auth-link-inline {
    display: inline-flex;
    align-self: flex-start;
    text-decoration: underline;
    text-underline-offset: 0.18em;
}

.auth-meta,
.account-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.auth-meta span,
.account-summary span {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
    color: var(--foundry-muted);
    font-family: var(--vf-font-mono);
    font-size: 0.72rem;
    letter-spacing: normal;
    text-transform: none;
}

.auth-section-head {
    margin-bottom: 18px;
}

.auth-section-head h2 {
    margin-top: 8px;
}

.auth-form {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

.auth-field {
    display: grid;
    gap: 8px;
}

.auth-field > span,
.auth-check span {
    color: var(--foundry-muted);
    font-family: var(--vf-font-mono);
    font-size: 0.74rem;
    letter-spacing: normal;
    text-transform: none;
}

.auth-input {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid var(--foundry-line-strong);
    border-radius: 6px;
    background: var(--foundry-surface);
    color: var(--foundry-ink);
    outline: none;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.auth-input:focus {
    border-color: var(--foundry-accent-soft);
    box-shadow: 0 0 0 4px var(--foundry-accent-soft);
    background: var(--foundry-surface);
}

.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.auth-check input {
    width: 16px;
    height: 16px;
    accent-color: var(--foundry-accent);
}

.auth-submit {
    width: 100%;
    margin-top: 4px;
    background: var(--foundry-surface);
    color: var(--foundry-ink);
}

.auth-submit:hover {
    background: var(--foundry-surface);
    border-color: var(--foundry-accent-soft);
}

.auth-submit-danger {
    border-color: rgba(211, 111, 99, 0.24);
    background: rgba(211, 111, 99, 0.08);
    color: #a32226;
}

.auth-submit-danger:hover {
    background: rgba(211, 111, 99, 0.16);
    border-color: rgba(211, 111, 99, 0.38);
}

.auth-resend-form {
    margin-top: 18px;
}

.auth-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--foundry-line);
    color: var(--foundry-muted);
}

.auth-footer a {
    color: var(--foundry-ink);
}

.form-message {
    padding: 14px 16px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
}

.form-message-error {
    border-color: rgba(211, 111, 99, 0.34);
    background: rgba(211, 111, 99, 0.08);
    color: #a32226;
}

.form-message-success {
    margin-bottom: 20px;
    border-color: rgba(134, 184, 104, 0.34);
    background: rgba(134, 184, 104, 0.08);
    color: #285414;
}

.checkout-disclosure {
    display: grid;
    gap: 10px;
}

.checkout-consent-box {
    display: grid;
    gap: 10px;
    padding: 18px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line);
    background: var(--foundry-surface);
}

.checkout-consent {
    align-items: flex-start;
}

.checkout-consent span {
    color: var(--foundry-ink);
    font-family: var(--vf-font-body);
    font-size: 0.96rem;
    letter-spacing: normal;
    text-transform: none;
    line-height: 1.6;
}

.checkout-consent a {
    color: var(--foundry-accent);
}

.checkout-payment-obligation {
    margin: 0;
    color: var(--foundry-muted);
    line-height: 1.6;
}

.field-validation {
    color: #a32226;
    font-size: 0.88rem;
}

.validation-summary-valid,
.field-validation-valid {
    display: none;
}

.account-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

code {
    font-family: var(--vf-font-mono);
    font-size: 0.82em;
}

.withdrawal-line {
    display: block;
    min-height: 1.5em;
    border-bottom: 1px solid currentColor;
}

.legal-page {
    display: grid;
    gap: 24px;
}

.legal-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
    gap: 24px;
}

.legal-layout-single {
    grid-template-columns: 1fr;
}

.legal-panel,
.legal-side-panel {
    display: grid;
    gap: 24px;
}

.legal-block {
    display: grid;
    gap: 12px;
}

.legal-block h2 {
    margin: 0;
}

.legal-block p,
.legal-list {
    margin: 0;
    color: var(--foundry-muted);
    line-height: 1.7;
}

.legal-list {
    padding-left: 18px;
}

.legal-facts {
    display: grid;
    gap: 14px;
    margin: 0;
}

.legal-facts div {
    display: grid;
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    gap: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--foundry-line);
}

.legal-facts dt {
    color: var(--foundry-muted);
    font-family: var(--vf-font-mono);
    font-size: 0.76rem;
    letter-spacing: normal;
    text-transform: none;
}

.legal-facts dd {
    margin: 0;
}

.legal-table {
    display: grid;
    gap: 1px;
    border-radius: 6px;
    overflow: hidden;
    background: var(--foundry-line);
}

.legal-table-row {
    display: grid;
    grid-template-columns: minmax(180px, 0.7fr) minmax(0, 1.4fr) minmax(180px, 0.8fr);
    gap: 16px;
    padding: 16px 18px;
    background: var(--foundry-surface);
}

.legal-table-head {
    background: var(--foundry-surface-strong);
    color: var(--foundry-muted);
    font-family: var(--vf-font-mono);
    font-size: 0.76rem;
    letter-spacing: normal;
    text-transform: none;
}

.cookie-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    width: min(460px, calc(100% - 32px));
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 6px;
    border: 1px solid var(--foundry-line-strong);
    background: var(--foundry-surface);
    box-shadow: var(--foundry-shadow);
}

.cookie-banner strong {
    display: block;
    margin-bottom: 6px;
}

.cookie-banner p {
    margin: 0;
    color: var(--foundry-muted);
    line-height: 1.6;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.cookie-banner-actions .button,
.cookie-banner-actions a.button {
    flex: 1 1 140px;
    justify-content: center;
}

@media (max-width: 1100px) {
    .hero-grid,
    .product-detail-layout,
    .footer-grid,
    .product-grid,
    .auth-layout,
    .basket-layout,
    .account-grid,
    .legal-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-detail-layout,
    .footer-grid,
    .basket-layout,
    .account-grid,
    .legal-layout {
        grid-template-columns: 1fr;
    }

    .home-points {
        grid-template-columns: 1fr;
    }

    .auction-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {

    .page-hero,
    .section-heading,
    .product-bottom,
    .auction-bottom,
    .detail-actions,
    .basket-row-actions,
    .basket-update-form {
        flex-direction: column;
        align-items: flex-start;
    }

    .page-shell {
        padding: 14px 0 72px;
    }

    .hero-grid,
    .product-grid,
    .detail-spec-grid,
    .detail-suggestion-grid,
    .auth-layout,
    .checkout-grid,
    .legal-table-row {
        grid-template-columns: 1fr;
    }

    .auction-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .checkout-span-2 {
        grid-column: auto;
    }

    .hero-copy-panel,
    .page-hero,
    .detail-panel,
    .detail-story,
    .info-panel,
    .point-card,
    .auth-panel {
        padding: 22px;
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .basket-row,
    .checkout-line {
        grid-template-columns: 1fr;
    }

    .basket-line-total {
        font-size: 1.6rem;
    }

    .hero-stage-clean {
        min-height: 0;
    }

    .hero-stage-editorial {
        display: block;
    }

    .hero-stage-shot-primary {
        min-height: 320px;
    }

    .detail-title {
        font-size: clamp(1.45rem, 6vw, 2.2rem);
        max-width: none;
    }

    .detail-gallery-stage .detail-image-frame {
        aspect-ratio: 1 / 1;
    }

    .detail-gallery-button {
        width: 38px;
        height: 38px;
        font-size: 1.3rem;
    }

    .detail-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    .footer-brand-logo {
        height: 28px;
    }

    .cookie-banner {
        right: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
    }

    .legal-facts div {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 540px) {
    .container {
        width: min(100%, calc(100% - 24px));
    }

    .footer-links {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 18px;
    }

    .cookie-banner {
        right: 12px;
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 16px;
    }

    .hero-copy-panel,
    .page-hero,
    .detail-panel,
    .detail-story,
    .info-panel,
    .point-card,
    .auth-panel {
        padding: 18px;
    }

    .hero-stage-shot-primary {
        min-height: 220px;
    }

    h1 {
        font-size: 2.1rem;
    }

    .auction-grid {
        grid-template-columns: 1fr;
    }
}

.button-secondary:hover { background: var(--shop-yellow); color: var(--foundry-ink); }
.button:active { box-shadow: none; }
.button:disabled { opacity: .55; cursor: not-allowed; box-shadow: none; } .text-link:hover { color: var(--foundry-accent); text-decoration: underline; text-underline-offset: 4px; }
.hero-actions { align-items: center; }
.auth-field > span, .auth-check span, .filter-pill, .text-link { font-size: .9rem; }
.auth-input { background: #fff; }
.product-card { border: 0; background: transparent; box-shadow: none; }
.product-visual { border: 1px solid var(--foundry-line); aspect-ratio: 4 / 5; }
.product-copy { padding: 16px 0 20px; }
.product-price, .detail-price, .basket-line-total { font-family: var(--vf-font-body); font-size: 1.5rem; }
.product-card:hover h3 a { text-decoration: underline; text-underline-offset: 4px; }
.page-hero { border: 0; border-bottom: 2px solid var(--foundry-ink); border-radius: 0; background: transparent; padding: 8px 0 24px; }
.detail-panel { border: 2px solid var(--foundry-ink); }
.detail-title { max-width: none; }
.auth-submit { background: var(--foundry-accent); color: #fff; }
.auth-submit:hover { background: var(--foundry-ink); color: #fff; }
.auth-submit-danger { background: #fff0ed; color: #a32226; }
.basket-summary-list div, .detail-spec-grid div { border: 0; border-bottom: 1px solid var(--foundry-line); border-radius: 0; padding: 12px 0; }
.filter-pill.active { background: var(--shop-yellow); border-color: var(--foundry-ink); }
.site-footer { background: var(--shop-yellow); border-top: 2px solid var(--foundry-ink); }
@media (prefers-reduced-motion: no-preference) {
    @keyframes shop-appear { from { opacity: 0; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 760px) {
    .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .product-meta-line { flex-wrap: wrap; gap: 4px; }
    .product-copy h3 { font-size: .95rem; }
    .product-price { font-size: 1.2rem; }
    .section-heading { flex-direction: row; align-items: center; }
    .footer-brand-logo { height: 64px; }
}

.shop-notice { padding: 12px 24px; background: #fbd765; color: #202020; text-align: center; border-bottom: 1px solid #202020; }
.shop-unavailable { padding-block: 80px; min-height: 40vh; }
/* Live bidding uses the existing auction application on this same origin. */
.shop-live { padding: 24px 0; }
.shop-live iframe { display: block; width: 100%; min-height: 600px; border: 0; }
.shop-live[hidden], [data-live-link].account-page [hidden], #checkout-form [hidden] { display: none !important; }

/* Account forms use the quieter typography of checkout inputs. */
.account-page { padding-top: 32px; padding-bottom: 48px; }
.account-page h1, .account-page h2, .account-page h3 { font-family: inherit; text-transform: none; letter-spacing: normal; }
.account-page h1 { font-size: 28px; margin: 0 0 6px; }
.account-page h2 { font-size: 18px; margin: 0 0 18px; }
.account-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.account-heading p { margin: 0; overflow-wrap: anywhere; }
.account-heading a { text-decoration: underline; }
.account-nav { display: flex; gap: 28px; border-bottom: 1px solid #d6d1c5; margin: 24px 0 28px; }
.account-nav a { padding: 12px 0; }
.account-nav [aria-current] { border-bottom: 2px solid var(--accent, #b5006d); font-weight: 600; }
.account-form .auth-field { margin: 0; gap: 6px; }
.account-form .auth-input { min-width: 0; width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #aaa69c; border-radius: 4px; }
.contact-fields { display: grid; grid-template-columns: 2fr 2fr 1fr; gap: 18px; }
.account-contact { border-bottom: 1px solid #d6d1c5; padding-bottom: 24px; margin-bottom: 24px; }
.account-addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.address-fields { display: grid; grid-template-columns: 1fr 2fr; gap: 14px; }
.address-wide { grid-column: 1 / -1; }
.account-form [data-locker-fields] .auth-field { margin-top: 14px; }
.address-same { margin: 18px 0; }
.account-help { font-size: 14px; color: #68645c; margin-top: 16px; }
.account-save { border-top: 1px solid #d6d1c5; margin-top: 28px; padding-top: 20px; }
.account-page .button { min-height: 44px; box-shadow: none; border-radius: 4px; }
.account-delete { border-top: 1px solid #d6d1c5; margin-top: 32px; padding-top: 18px; max-width: 680px; }
.account-delete summary { cursor: pointer; font-weight: 600; }
.account-delete .auth-form { max-width: 380px; }
.account-page [hidden], #checkout-form [hidden] { display: none !important; }
.order-table { width: 100%; border-collapse: collapse; }
.order-table th, .order-table td { text-align: left; padding: 16px 12px; border-bottom: 1px solid #d6d1c5; }
.order-table th { font-size: 14px; color: #68645c; }
.order-table td:first-child, .order-table th:first-child { padding-left: 0; }
.order-table a { text-decoration: underline; }
.order-pagination { display: flex; justify-content: space-between; padding: 24px 0; gap: 20px; }
.order-invoices { margin: 24px 0; padding: 24px 0; border-top: 1px solid #d6d1c5; }
.order-invoices ul { padding-left: 20px; }
.order-invoices li { margin: 12px 0; }
@media (max-width: 650px) {
    .account-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .account-addresses, .contact-fields { grid-template-columns: 1fr; gap: 24px; }
    .account-addresses > section + section { border-top: 1px solid #d6d1c5; padding-top: 24px; }
    .contact-fields { gap: 14px; }
    .account-save .button { width: 100%; }
    .order-table thead { display: none; }
    .order-table tr { display: grid; grid-template-columns: 1fr 1fr; padding: 16px 0; border-bottom: 1px solid #d6d1c5; gap: 8px; }
    .order-table td { border: 0; padding: 0; }
    .order-table td:nth-child(even) { text-align: right; }
}

.withdrawal-form { display: grid; gap: .6rem; max-width: 44rem; }
.withdrawal-form input:not([type="hidden"]), .withdrawal-form textarea { width: 100%; box-sizing: border-box; }
.withdrawal-form label { margin-top: .5rem; }
.withdrawal-form button { margin-top: .8rem; justify-self: start; }
