/* ============================================
   MapToPrint V3 - Beige / clay UI (Variant D)
   See docs/DESIGN_SYSTEM.md for tokens and map-vs-chrome scope.
   ============================================ */

:root {
    /* ========== Beige/clay token layer (--bc-*) ========== */

    --bc-bg: #F3EBE2;
    --bc-surface: #FFFFFF;
    --bc-workspace: #E7E0D7;
    --bc-ink: #1A1A1A;
    --bc-clay: #D8A07E;
    --bc-clay-soft: #F2E0D4;
    --bc-decision: #5A4F47;
    --bc-decision-text: #FFF8F1;
    --bc-decision-cta-text: #2F2723;
    --bc-decision-meta: #E8D4C7;
    --bc-decision-stroke: #76665C;
    --bc-text-muted: #75675D;
    --bc-text-warm: #8D705E;
    --bc-text-clay: #B27A5B;
    --bc-text-clay-deep: #7A4B32;
    --bc-border: #DCCABD;
    --bc-border-soft: #E9DDD3;
    --bc-border-strong: #D0BEB1;
    --bc-radius-card: 24px;
    --bc-radius-field: 12px;
    --bc-radius-pill: 999px;

    /* ========== Spacing scale (4px base, system-neutral) ========== */

    --space-0: 0;
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;

    /* ========== Motion ========== */

    --duration-fast: 150ms;
    --duration-base: 250ms;
    --duration-slow: 400ms;
    --ease-default: ease;
    --ease-out: ease-out;
    --ease-in-out: ease-in-out;

    /* ========== Border radius scale ========== */

    --radius-sm: 6px;
    --radius-md: var(--bc-radius-field);
    --radius-lg: 16px;
    --radius-xl: var(--bc-radius-card);

    /* ========== Shadow scale (warm-toned for light surfaces) ========== */

    --shadow-sm: 0 2px 8px rgba(90, 79, 71, 0.08);
    --shadow-md: 0 4px 16px rgba(90, 79, 71, 0.10);
    --shadow-lg: 0 8px 32px rgba(90, 79, 71, 0.14);

    /* ========== Z-index scale ========== */

    --z-base: 0;
    --z-above: 1;
    --z-dropdown: 50;
    --z-sticky: 90;
    --z-nav: 100;
    --z-modal-backdrop: 200;
    --z-modal: 210;
    --z-toast: 300;

    /* ========== Semantic aliases (consumed by existing component rules) ========== */

    --bg-primary: var(--bc-bg);
    --bg-secondary: var(--bc-workspace);
    --bg-tertiary: var(--bc-surface);
    --bg-card: var(--bc-surface);

    --text-primary: var(--bc-ink);
    --text-secondary: var(--bc-text-muted);
    --text-muted: var(--bc-text-warm);
    --text-tertiary: var(--bc-text-warm);

    --accent: var(--bc-clay);
    --accent-soft: var(--bc-clay-soft);

    --border: var(--bc-border);
    --border-hover: var(--bc-border-strong);

    /* Brand state tokens */
    --state-success-text: #1a5c2a;
    --state-success-bg: rgba(70, 150, 95, 0.12);
    --state-success-border: rgba(70, 150, 95, 0.30);
    --state-error-text: #991b1b;
    --state-error-bg: rgba(190, 70, 70, 0.10);
    --state-error-border: rgba(190, 70, 70, 0.30);

    /* Component tokens */
    --nav-button-hover-bg: rgba(26, 26, 26, 0.04);
    --nav-auth-signed-in-border: var(--bc-clay);
    --nav-auth-signed-in-bg: var(--bc-clay-soft);
    --product-card-bg: var(--bg-card);
    --product-card-border: var(--border);
    --frame-black-bg: #1a1410;
    --frame-black-border: #5c4c40;
    --frame-white-bg: #f5f5f5;
    --frame-white-border: #cfcfcf;

    /* Typography */
    --font-serif: 'Instrument Serif', Georgia, serif;
    --font-sans: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Layout */
    --container-max: 1200px;
    --section-padding: clamp(4rem, 10vw, 8rem);
    --section-padding-compact: clamp(3rem, 7vw, 3.5rem);
    --home-compact-card-height-desktop: 338px;
    --home-compact-card-height-mobile: 300px;
    --theme-label-height: 38px;
    --nav-height: 72px;
    --promo-banner-height: 36px;
    /* Total fixed chrome: nav + promo strip (SSR shell reserves both; JS only refreshes copy) */
    --header-offset: calc(var(--nav-height) + var(--promo-banner-height));

    /* Transitions (duration + easing combined for convenience) */
    --transition-fast: var(--duration-fast) var(--ease-default);
    --transition-base: var(--duration-base) var(--ease-default);
    --transition-slow: var(--duration-slow) var(--ease-default);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    color-scheme: light;
}

/* Ensure [hidden] always wins over any display rule in component CSS */
[hidden] { display: none !important; }

html,
body {
    width: 100%;
    max-width: 100%;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.page-wrap {
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    min-height: var(--nav-height);
    z-index: var(--z-nav);
    display: flex;
    align-items: center;
    padding: 1.25rem clamp(1.5rem, 5vw, 3rem);
    pointer-events: none;
}

.nav-full {
    background: var(--bc-bg);
    border-bottom: 1px solid var(--bc-border-strong);
}

.nav > * {
    pointer-events: auto;
}

.nav-inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: 100%;
}

/* Center logo: menu and actions take equal flex space on left/right */
.nav-full .nav-inner .nav-menu {
    flex: 1;
    justify-content: flex-start;
}

.nav-full .nav-inner .nav-actions {
    flex: 1;
    justify-content: flex-end;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.logo-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.nav-link {
    margin-left: auto;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--bc-ink);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--bc-text-clay);
}

.nav-full .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin: 0;
    height: 100%;
}

.nav-item-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Bridge gap removed - hover-intent is handled by JS */

.nav-full .nav-item {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--bc-ink);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: 0.5rem 0;
}

.nav-item-wrapper.has-dropdown > .nav-item {
    cursor: pointer;
}

.nav-full .nav-item:hover,
.nav-full .nav-item:focus-visible {
    color: var(--bc-text-clay);
}

.nav-full .nav-item.nav-item-active {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 0.35rem;
}

.nav-item-wrapper.is-dropdown-active > .nav-item {
    color: var(--text-primary);
    text-decoration: underline;
    text-underline-offset: 0.35rem;
}

/* Dropdown Base - full-width panel anchored below nav bar */
.nav-dropdown {
    position: fixed;
    top: var(--nav-dropdown-top, var(--nav-height));
    left: 0;
    right: 0;
    background: var(--bc-surface);
    border-bottom: 1px solid var(--bc-border-strong);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
    z-index: calc(var(--z-nav) + 10);
    pointer-events: none;
    padding: 2.5rem 0;
}

.nav-dropdown.is-dropdown-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Scrim behind dropdown - dims the page */
.nav-dropdown-scrim {
    position: fixed;
    inset: 0;
    top: var(--nav-dropdown-top, var(--nav-height));
    background: rgba(26, 26, 26, 0.25);
    z-index: calc(var(--z-nav) - 1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
}

.nav-dropdown-scrim.is-scrim-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Standard Menu */
.nav-standard-menu .nav-standard-list {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
}

.nav-standard-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-standard-list li a {
    display: block;
    padding: 0.5rem 0;
    color: var(--bc-text-warm);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

.nav-standard-list li a:hover {
    color: var(--bc-ink);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

/* Mega Menu - full-width panel with centered content */
.nav-mega-inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 3rem);
    display: flex;
    gap: 3rem;
}

.nav-mega-column {
    flex: 1 1 auto;
    min-width: 0;
}

.nav-mega-column--see-all {
    flex: 0 0 auto;
    max-width: 12rem;
}

.nav-mega-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--bc-text-clay);
    margin-bottom: 1.25rem;
}

.nav-mega-column-body {
    display: flex;
    gap: 2rem;
}

.nav-mega-column-body--single {
    gap: 0;
}

.nav-mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
    min-width: 0;
}

.nav-mega-list li a {
    color: var(--bc-text-warm);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.15s ease;
}

.nav-mega-list li a:hover {
    color: var(--bc-ink);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.nav-mega-footer-link {
    display: inline-block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--bc-clay);
    text-decoration: none;
}

.nav-mega-footer-link:hover {
    color: var(--bc-ink);
    text-decoration: underline;
    text-underline-offset: 0.2rem;
}

.nav-full .nav-actions {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-left: auto;
}

.nav-site-toggle {
    width: 36px;
    height: 36px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-site-toggle:hover,
.nav-site-toggle:focus-visible {
    color: var(--bc-ink);
    border-color: var(--bc-border-strong);
    background: var(--bc-workspace);
}

.nav-menu-backdrop {
    display: none;
}

/* Mobile drawer internals hidden on desktop */
.mobile-drawer-header,
.mobile-drawer-links,
.mobile-drawer-spacer,
.mobile-drawer-cta {
    display: none;
}

.nav-create-cta {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1;
}

.nav-menu-create-cta {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    line-height: 1;
}

.nav-auth-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    flex-shrink: 0;
    border-radius: 999px;
    border: 1px solid var(--bc-border);
    background: var(--bc-surface);
    color: var(--bc-text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.nav-auth-button:hover,
.nav-auth-button:focus-visible {
    color: var(--bc-ink);
    border-color: var(--bc-border-strong);
    background: var(--bc-workspace);
}

.nav-auth-button[data-state="signed-in"] {
    color: var(--accent);
    border-color: var(--nav-auth-signed-in-border);
    background: var(--nav-auth-signed-in-bg);
}

.nav-auth-dropdown {
    position: fixed;
    z-index: 1100;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border-strong);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 4px;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.nav-auth-dropdown-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    border-radius: 7px;
    font-size: 0.875rem;
    color: var(--text-primary);
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
    transition: var(--transition-fast);
    min-height: 44px;
}

.nav-auth-dropdown-item:hover,
.nav-auth-dropdown-item:focus-visible {
    background: var(--bc-bg);
    color: var(--bc-ink);
    outline: none;
}

.nav-auth-dropdown-signout {
    color: var(--text-secondary);
}

.nav-auth-dropdown-signout:hover,
.nav-auth-dropdown-signout:focus-visible {
    color: var(--text-primary);
}

.nav-cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--bc-border);
    background: var(--bc-surface);
    color: var(--bc-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.nav-cart-link:hover,
.nav-cart-link:focus-visible {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.nav-cart-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-cart-icon svg {
    display: block;
}

.nav-cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    border: 1px solid var(--bc-bg);
    background: var(--bc-clay);
    color: var(--bc-decision-cta-text);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}

/* ── Basket Drawer ─────────────────────────────────────────────── */

.basket-drawer {
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-nav) + 20);
    pointer-events: none;
}

.basket-drawer.is-open {
    pointer-events: auto;
}

.basket-drawer-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.45);
    border: none;
    padding: 0;
    cursor: default;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.basket-drawer.is-open .basket-drawer-backdrop {
    opacity: 1;
}

.basket-drawer-panel {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 400px;
    max-width: 100vw;
    background: var(--bc-surface);
    border-left: 1px solid var(--bc-border);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.basket-drawer.is-open .basket-drawer-panel {
    transform: translateX(0);
}

.basket-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.basket-drawer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.basket-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.basket-drawer-close:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.basket-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

body.basket-drawer-open {
    overflow: hidden;
}

/* ── Drawer: empty state ───── */

.bdr-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding-top: 3rem;
    text-align: center;
}

.bdr-empty-icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--bc-bg);
    border: 1px solid var(--bc-border);
    color: var(--bc-border-strong);
    margin-bottom: 0.25rem;
}

.bdr-empty-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.bdr-empty-text {
    margin: 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    max-width: 26ch;
    line-height: 1.5;
}

.bdr-cta {
    margin-top: 0.25rem;
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
    text-decoration: none;
}

/* ── Drawer: filled state ───── */

.bdr-item {
    display: flex;
    gap: 0.875rem;
    align-items: flex-start;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1.25rem;
}

.bdr-thumb-col {
    flex-shrink: 0;
    width: 72px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.bdr-thumb {
    width: 100%;
    flex-shrink: 0;
    aspect-ratio: 5 / 7;
    border-radius: 8px;
    overflow: visible;
    background: transparent;
    border: none;
}

.bdr-frame-wrap {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    position: relative;
    transition: box-shadow 0.2s ease, border-radius 0.2s ease;
}

.bdr-thumb-img,
.bdr-thumb-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bdr-thumb-img--loading {
    opacity: 0.6;
}

/* Physical frame overlays on basket drawer thumbnail */
.bdr-frame-wrap.physical-framed {
    border-radius: 0;
    overflow: hidden;
    border: none;
}

.bdr-frame-wrap.physical-framed::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.bdr-frame-wrap.physical-framed.physical-frame-white {
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.22),
        0 0 0 8px  rgba(0, 0, 0, 0.15),
        0 0 0 7px  var(--bc-surface),
        0 0 0 2px  rgba(240, 240, 240, 0.98);
}

.bdr-frame-wrap.physical-framed.physical-frame-white::after {
    box-shadow:
        inset 0  2px 4px rgba(0, 0, 0, 0.14),
        inset 2px 0  3px rgba(0, 0, 0, 0.08),
        inset 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.bdr-frame-wrap.physical-framed.physical-frame-black {
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.55),
        0 0 0 8px  rgba(255, 255, 255, 0.06),
        0 0 0 7px  #1a1410,
        0 0 0 2px  #5c4c40;
}

.bdr-frame-wrap.physical-framed.physical-frame-black::after {
    box-shadow:
        inset 0  2px 5px rgba(0, 0, 0, 0.45),
        inset 2px 0  4px rgba(0, 0, 0, 0.28),
        inset 0 -1px 3px rgba(0, 0, 0, 0.18);
}

.bdr-frame-wrap.physical-framed.physical-frame-natural {
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.24),
        0 0 0 8px  rgba(0, 0, 0, 0.10),
        0 0 0 7px  #c9a66b,
        0 0 0 2px  #a67c52;
}

.bdr-frame-wrap.physical-framed.physical-frame-dark-wood {
    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.38),
        0 0 0 8px  rgba(255, 255, 255, 0.05),
        0 0 0 7px  #5c4030,
        0 0 0 2px  #3d2a1a;
}

.bdr-item-info {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
}

.bdr-item-name {
    margin: 0 0 0.3rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
}

.bdr-item-copy {
    margin: 0;
}

.bdr-item-meta,
.bdr-item-copy-line {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ── Drawer: option tokens ───── */

.bdr-option-tokens {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 6px;
}

.bdr-option-token {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border: 1px solid var(--border);
    border-radius: 100px;
    background: transparent;
    color: var(--text-primary);
    font-size: 0.72rem;
    line-height: 1.4;
}

.bdr-token-label {
    color: var(--text-secondary);
    font-weight: 400;
}

.bdr-footer {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bdr-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    font-size: 0.925rem;
    text-decoration: none;
    border-radius: 10px;
}

.bdr-view-basket-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: 10px;
}

.bdr-add-another {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bc-text-clay);
    text-align: center;
    padding: 0.35rem 0;
    transition: color var(--transition-fast);
}

.bdr-add-another:hover {
    color: var(--text-primary);
    text-decoration: underline;
}

/* ── Drawer: item header row (title + remove button) ───── */

.bdr-item-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

.bdr-item-title-wrap {
    flex: 1;
    min-width: 0;
}

.bdr-item-remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
    padding: 0;
    margin-top: 1px;
}

.bdr-item-remove:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--bg-secondary);
}

/* ── Drawer: bottom row - price ───── */

.bdr-item-bottom-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
}

.bdr-qty-row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.bdr-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    transition: var(--transition-fast);
}

.bdr-qty-btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.bdr-qty-count {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    padding: 0 2px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    height: 26px;
    line-height: 1;
}

.bdr-item-price {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

/* ── Drawer: order summary (subtotal + delivery note) ───── */

.bdr-order-summary {
    padding: 1rem 0 0.75rem;
    margin-bottom: 0.75rem;
}

.bdr-subtotal {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.bdr-subtotal-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.bdr-subtotal-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.bdr-promo-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.35rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.bdr-promo-row[hidden] {
    display: none;
}

.bdr-promo-value {
    font-weight: 600;
    color: var(--text-primary);
}

.bdr-delivery-bar-wrap {
    margin-top: 0.5rem;
}

.bdr-delivery-progress {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.bdr-delivery-bar {
    height: 4px;
    border-radius: 999px;
    background: var(--bc-border-soft);
    overflow: hidden;
}

.bdr-delivery-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--bc-clay);
    transition: width 0.5s ease;
}

.bdr-delivery-copy {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin: 0;
}

.bdr-delivery-copy strong {
    color: var(--text-primary);
}

.bdr-delivery-upsell {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0.35rem 0 0;
}

.bdr-delivery-upsell a {
    color: var(--bc-text-clay);
    text-decoration: none;
}

.bdr-delivery-upsell a:hover {
    text-decoration: underline;
}

.bdr-delivery-progress--unlocked .bdr-delivery-bar-fill {
    background: #16a34a;
}

.bdr-delivery-progress--unlocked .bdr-delivery-copy {
    color: #16a34a;
    font-weight: 500;
}

.bdr-view-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-decoration: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.bdr-view-link:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

@media (max-width: 480px) {
    .basket-drawer-panel {
        width: 100vw;
        border-left: none;
        border-top: 1px solid var(--border);
    }

    .nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Nav bar variant for non-hero pages (solid background, visible logo) */
.nav-bar {
    background: var(--bc-bg);
    border-bottom: 1px solid var(--bc-border-strong);
}

/* Non-hero pages use fixed header and content should start below it */
.nav-bar + * {
    margin-top: var(--header-offset);
}

/* When nav.nav-full is direct child of body (no .nav-bar), main still needs top offset */
body > nav.nav-full + main {
    margin-top: var(--header-offset);
}

.nav-bar .logo {
    color: var(--text-primary);
    text-shadow: none;
}

.nav-bar .logo:hover {
    text-shadow: none;
}

.nav-bar .logo-icon {
    filter: none;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ---- Hero: new split layout ---- */

.hero-new {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex: 1;
    min-height: 100vh;
    padding: calc(var(--header-offset) + 40px) 48px 40px;
    background: var(--bc-bg);
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
    max-width: 540px;
    min-width: 0;
}

.hero-title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: clamp(2.35rem, 5vw, 4.4rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--bc-ink);
}

/* Animated rotating title */

.hero-anim-title {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-active-line {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-your {
    font-family: var(--font-sans);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-word-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    border-radius: 12px;
    padding: 4px 16px;
    min-width: 3ch;
}

.hero-word-text {
    font-family: var(--font-sans);
    font-size: 64px;
    font-weight: 700;
    line-height: 1.1;
    color: var(--bc-decision-cta-text);
    display: inline-block;
    white-space: nowrap;
}

.hero-cursor {
    font-family: var(--font-sans);
    font-size: 64px;
    font-weight: 300;
    line-height: 1.1;
    color: var(--accent);
    opacity: 0.85;
    animation: hero-blink 1s steps(2, start) infinite;
}

@keyframes hero-blink {
    to { opacity: 0; }
}

.hero-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 520px;
    margin: 0;
}

.hero-cta-row {
    display: flex;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bc-decision);
    color: var(--bc-decision-text);
    font-family: var(--font-sans);
    font-size: 16px;
    font-weight: 700;
    height: 52px;
    padding: 0 28px;
    border-radius: var(--bc-radius-pill);
    border: none;
    text-decoration: none;
    transition: filter 0.2s, transform 0.15s;
}

.hero-cta-btn:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

/* Hero room mockup (Option 1, wider right column) */

.hero-mockup-area {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    flex: 1 1 0;
    min-width: 0;
    max-width: 640px;
}

.hero-mockup-stage {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
}

.hero-mockup-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 28px;
    overflow: hidden;
    background: var(--bc-workspace);
    box-shadow: var(--shadow-lg);
}

.hero-mockup-frame picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-mockup-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.22s ease;
}

.hero-mockup-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.hero-mockup-chip {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: var(--bc-radius-pill);
    border: 1px solid var(--bc-border-soft);
    background: var(--bc-surface);
    color: var(--bc-text-muted);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.hero-mockup-chip:hover {
    border-color: var(--bc-border-strong);
    color: var(--bc-ink);
}

.hero-mockup-chip.is-active {
    background: var(--bc-surface);
    border-color: var(--bc-border-strong);
    color: var(--bc-ink);
    box-shadow: var(--shadow-sm);
}

@media (prefers-reduced-motion: reduce) {
    .hero-cursor { animation: none; opacity: 0.85; }
    .hero-mockup-frame img { transition: none; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-trust-strip {
    padding: 1rem 0 var(--section-padding-compact);
    background: var(--bc-bg);
}

.home-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.home-trust-item {
    min-height: 100%;
    padding: 1.35rem;
    border: 1px solid var(--bc-border);
    border-radius: 22px;
    background: var(--bc-surface);
}

.home-trust-kicker {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--bc-text-clay);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-trust-item strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--bc-ink);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.25;
}

.home-trust-item p {
    margin: 0;
    color: var(--bc-text-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================
   Hero Decision Zone (beige/clay split-contrast pattern)
   ============================================ */

/* ============================================
   Reusable beige/clay components (.bc-*)
   ============================================ */

.bc-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bc-clay-soft);
    color: var(--bc-text-clay-deep);
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: var(--bc-radius-pill);
    text-decoration: none;
}

.bc-card {
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: 22px;
    padding: 16px;
}

.bc-card--large {
    padding: 18px;
}

.bc-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    color: var(--bc-ink);
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--bc-radius-pill);
    cursor: pointer;
    transition: var(--transition-fast);
}

.bc-chip:hover {
    background: var(--bc-bg);
    border-color: var(--bc-border-strong);
}

.bc-chip--active {
    background: var(--bc-clay-soft);
    border-color: var(--bc-clay);
    color: var(--bc-text-clay-deep);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.125rem;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--bc-border-strong);
    border-radius: var(--bc-radius-pill);
    background: var(--bc-surface);
    color: var(--bc-ink);
    cursor: pointer;
    transition: var(--transition-fast);
}

.btn:hover {
    border-color: var(--bc-border);
    background: var(--bc-bg);
}

.btn-primary {
    background: var(--bc-decision);
    color: var(--bc-decision-text);
    border-color: var(--bc-decision);
}

.btn-primary:hover,
.btn-primary:focus-visible {
    background: var(--bc-decision);
    color: var(--bc-decision-text);
    border-color: var(--bc-decision);
    filter: brightness(0.92);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--bc-clay-soft);
    color: var(--bc-text-clay-deep);
    border: 1px solid var(--bc-clay);
}

.btn-secondary:hover {
    background: #eed6c5;
    border-color: var(--bc-clay);
}

.btn-full {
    width: 100%;
}

.btn-large {
    padding: 1.125rem 2.25rem;
    font-size: 1rem;
    gap: 0.75rem;
}

.btn-large svg {
    transition: transform var(--transition-fast);
}

.btn-large:hover svg {
    transform: translateX(4px);
}

/* Button state modifiers (see .cursor/docs/UI_PRIMITIVES.md) */
.btn.is-loading {
    pointer-events: none;
    position: relative;
}
.btn.is-loading .btn-text {
    visibility: hidden;
}
.btn.is-loading::after {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: btn-spin 0.6s linear infinite;
}
@keyframes btn-spin {
    to { transform: rotate(360deg); }
}
.btn.is-disabled,
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================
   Chip Primitives
   ============================================ */

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5625rem 0.875rem;
    border-radius: var(--bc-radius-pill);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--bc-text-warm);
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.chip:hover {
    border-color: var(--bc-border-strong);
}

.chip.is-selected,
.chip-selected {
    background: var(--bc-clay-soft);
    color: var(--bc-text-clay-deep);
    border-color: transparent;
    font-weight: 700;
}

/* ============================================
   Decision Surface (split-contrast commitment zone)
   ============================================ */

.decision-surface {
    background: var(--bc-decision);
    color: var(--bc-decision-text);
    border-radius: var(--bc-radius-card);
    padding: var(--space-4);
}

.decision-surface__meta {
    color: var(--bc-decision-meta);
}

.decision-surface__stroke {
    border-color: var(--bc-decision-stroke);
}

.decision-surface .btn-primary,
.decision-surface__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--bc-radius-pill);
    background: var(--bc-clay);
    color: var(--bc-decision-cta-text);
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-fast);
}

.decision-surface .btn-primary:hover,
.decision-surface__cta:hover {
    filter: brightness(1.08);
    transform: none;
    box-shadow: none;
}

/* ============================================
   Section Headers
   ============================================ */

.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    background: var(--bc-clay-soft);
    color: var(--bc-text-clay-deep);
    padding: 8px 12px;
    border-radius: var(--bc-radius-pill);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 400;
    font-style: normal;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-title em {
    font-style: italic;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    max-width: 480px;
    line-height: 1.7;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-subtitle {
    margin: 0 auto;
}

.how-it-works .section-header,
.features-section .section-header,
.theme-showcase .section-header,
.social-proof .section-header,
.cta-section .section-header {
    margin-bottom: 2rem;
}

.product-showcase .section-header {
    text-align: left;
    margin-bottom: 2rem;
    max-width: 640px;
}

.product-showcase .section-header .section-subtitle {
    margin: 0;
    max-width: 620px;
}

/* ============================================
   Homepage v2 split rhythm (post-hero)
   ============================================ */

.section-eyebrow {
    display: block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bc-text-clay);
    margin-bottom: 0.75rem;
}

.section-split {
    display: flex;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: flex-start;
}

.section-split .section-intro {
    flex: 0 0 320px;
    max-width: 320px;
    text-align: left;
}

.section-split .section-content {
    flex: 1;
    min-width: 0;
    position: relative;
}

.section-split--flip {
    flex-direction: row-reverse;
}

.section-split--flip .section-intro {
    flex-basis: 340px;
    max-width: 340px;
}

.section-split .section-intro .section-subtitle {
    max-width: 100%;
    margin: 0;
}

@media (min-width: 769px) {
    .how-it-works .section-split--flip {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
        grid-template-areas: "steps intro";
        align-items: center;
        gap: clamp(1.5rem, 3vw, 2.5rem);
    }

    .how-it-works .section-split--flip .section-content {
        grid-area: steps;
        min-width: 0;
    }

    .how-it-works .section-split--flip .section-intro {
        grid-area: intro;
        flex: none;
        max-width: 340px;
    }
}

.section-intro-cta {
    margin-top: 1.5rem;
}

.section-intro-cta .btn {
    width: auto;
}

/* ============================================
   Examples Gallery
   ============================================ */

.examples {
    padding: var(--section-padding) 0;
    background: var(--bg-secondary);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-tertiary);
    cursor: pointer;
    transition: var(--transition-base);
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Static map image inside gallery item (no MapLibre - instant display) */
.gallery-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.gallery-item .gallery-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    /* No opacity/transition on load - show immediately to avoid blink */
    opacity: 1;
}
.gallery-item img {
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.2) 40%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 1;
    transition: var(--transition-base);
    pointer-events: none;
}

.gallery-item:hover .gallery-item-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 70%);
}

.gallery-item-city {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.gallery-item-theme {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ============================================
   Features Section
   ============================================ */

.features-section {
    padding: var(--section-padding-compact) 0;
    background: var(--bg-primary);
}

.home-production-section {
    padding: var(--section-padding) 0;
    background: var(--bc-workspace);
}

.home-production-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.home-production-copy .section-title {
    color: var(--bc-ink);
}

.home-production-copy .section-subtitle {
    max-width: 680px;
    margin-bottom: 1.75rem;
}

.home-production-points {
    display: grid;
    gap: 1rem;
    margin: 0 0 1.75rem;
}

.home-production-points article {
    padding: 1.25rem;
    border: 1px solid var(--bc-border);
    border-radius: 20px;
    background: var(--bc-surface);
}

.home-production-points h3 {
    margin: 0 0 0.4rem;
    color: var(--bc-ink);
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
}

.home-production-points p {
    margin: 0;
    color: var(--bc-text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

.home-production-visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.home-production-visual img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid var(--bc-border);
    border-radius: 18px;
    background: var(--bc-surface);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.07);
}

.home-production-visual img:nth-child(2) {
    margin-top: 1.25rem;
}

.home-production-visual img:nth-child(3) {
    margin-top: 0.6rem;
}

@media (min-width: 900px) {
    .home-production-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    }

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

.city-showcase {
    padding: var(--section-padding) 0;
    background: var(--bg-primary);
}

.city-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.city-showcase-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 3 / 4;
    border: 1px solid var(--border);
    text-decoration: none;
}

.city-showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.city-showcase-card:hover img {
    transform: scale(1.05);
}

.city-showcase-card.is-active {
    outline: 2px solid var(--bc-clay);
    outline-offset: 1px;
}

.city-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), rgba(0, 0, 0, 0.1) 55%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1rem;
    gap: 0.25rem;
}

.city-showcase-name {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--text-primary);
}

.city-showcase-meta {
    font-size: 0.8125rem;
    color: var(--text-secondary);
}

.city-playground {
    margin-top: 1.25rem;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-card);
    background: var(--bc-surface);
    display: grid;
    grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    overflow: hidden;
}

.city-playground-preview-wrap {
    background: var(--bg-secondary);
    min-height: 320px;
}

.city-playground-preview-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.city-playground-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.city-playground-tag {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.city-playground-header h3 {
    font-family: var(--font-serif);
    margin-bottom: 0.35rem;
}

.city-playground-header p {
    color: var(--text-secondary);
    font-size: 0.92rem;
}

.city-playground-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.city-playground-chip {
    border: 1px solid var(--border);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: 999px;
    padding: 0.42rem 0.78rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: var(--transition-base);
}

.city-playground-chip:hover {
    border-color: var(--border-hover);
}

.city-playground-chip.is-active {
    border-color: var(--bc-clay);
    background: var(--bc-clay-soft);
    color: var(--bc-text-clay-deep);
}

.city-playground-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

/* .features-grid replaced by .scroll-carousel--features */

.feature-card {
    padding: 2rem;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-card);
    text-align: center;
    transition: var(--transition-base);
}

.feature-card:hover {
    border-color: var(--bc-border-strong);
    transform: translateY(-4px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.how-it-works {
    padding: var(--section-padding-compact) 0;
    background: var(--bg-secondary);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-card);
    padding: 1.75rem;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: baseline;
    column-gap: 0.625rem;
    row-gap: 0.625rem;
}

@media (min-width: 769px) and (max-width: 960px) {
    .how-it-works .step-card {
        padding: 1.35rem;
    }

    .how-it-works .steps-grid {
        gap: 1rem;
    }
}

.step-number {
    display: inline-block;
    font-size: 0.8125rem;
    letter-spacing: 0.14em;
    color: var(--bc-text-clay);
    margin-bottom: 0;
    white-space: nowrap;
}

.step-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin: 0;
    min-width: 0;
}

.step-card p {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.product-showcase {
    padding: var(--section-padding-compact) 0;
    background: var(--bg-primary);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.product-card {
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-card);
    background: var(--bc-surface);
    padding: 1.75rem;
}

.product-card h3 {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.product-card p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* ─── JS transform-driven horizontal carousel ─── */

.scroll-carousel-wrap {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
    touch-action: pan-y;
    contain: layout paint;
}

.scroll-carousel {
    display: flex;
    gap: 1rem;
    width: max-content;
    transform: translate3d(0, 0, 0);
    will-change: transform;
    transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}

.scroll-carousel.is-dragging {
    transition: none;
    cursor: grabbing;
}

.scroll-carousel > * {
    flex: 0 0 auto;
}

.scroll-carousel--products > * { width: 280px; }
.scroll-carousel--features > * { width: 240px; }
/* Homepage Themes intentionally use narrower cards than product cards for section balance. */
.scroll-carousel--themes > * { width: 200px; }

@media (max-width: 539px) {
    .scroll-carousel--products > * { width: 75vw; }
    .scroll-carousel--features > * { width: 70vw; }
    .scroll-carousel--themes > * { width: 160px; }
}

@media (max-width: 768px) {
    .scroll-carousel-wrap .scroll-carousel-arrow {
        width: 40px;
        height: 40px;
    }
}

/* ─── Carousel arrow buttons ─── */

.scroll-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--bc-border-strong);
    background: var(--bc-surface);
    color: var(--bc-ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
    box-shadow: var(--shadow-sm);
}

.scroll-carousel-arrow:hover {
    background: var(--bc-bg);
    border-color: var(--bc-border-strong);
    box-shadow: var(--shadow-md);
}

.scroll-carousel-arrow--left { left: -18px; }
.scroll-carousel-arrow--right { right: -18px; }

.section-content .scroll-carousel-arrow--left { left: 6px; }
.section-content .scroll-carousel-arrow--right { right: 6px; }

.scroll-carousel-arrow[hidden] { display: none; }

/* ─── Home catalog strip ─── */

.home-catalog-section-footer {
    text-align: center;
    margin-top: 2rem;
}

.section-intro .home-catalog-section-footer {
    text-align: left;
    margin-top: 0;
}

/* ─── Legacy storefront grid (kept for compat) ─── */

.home-storefront-grid {
    display: grid;
    grid-template-columns: minmax(0, 560px);
    justify-content: center;
}

.home-storefront-card {
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-card);
    overflow: hidden;
    background: var(--bc-surface);
    box-shadow: var(--shadow-lg);
}

.home-storefront-image-wrap {
    aspect-ratio: 3 / 4;
    background: var(--bg-tertiary);
}

.home-storefront-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-storefront-body {
    padding: 1.15rem 1.2rem 1.25rem;
}

.home-storefront-body h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    font-size: 1.5rem;
    margin-bottom: 0.45rem;
}

.home-storefront-body p {
    color: var(--text-secondary);
    margin-bottom: 0.85rem;
}

.home-storefront-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.95rem;
}

.home-storefront-price {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.home-storefront-price strong {
    color: var(--text-primary);
}

.home-storefront-limited {
    color: var(--bc-text-clay-deep);
    border: 1px solid var(--bc-clay);
    background: var(--bc-clay-soft);
    border-radius: 999px;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.23rem 0.52rem;
}

.home-storefront-actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
}

/* Theme Showcase */
.theme-showcase {
    padding: var(--section-padding-compact) 0;
    background: var(--bg-primary);
}

/* .theme-showcase-strip grid replaced by .scroll-carousel--themes */
.scroll-carousel--themes { margin-top: 2rem; }

.theme-showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: var(--home-compact-card-height-desktop);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.theme-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.theme-showcase-card img {
    /* Hard-lock visual height so intrinsic image attrs cannot inflate the card. */
    width: 100%;
    height: calc(var(--home-compact-card-height-desktop) - var(--theme-label-height));
    min-height: 0;
    max-height: calc(var(--home-compact-card-height-desktop) - var(--theme-label-height));
    aspect-ratio: auto;
    object-fit: cover;
    display: block;
}

.theme-showcase-label {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: var(--theme-label-height);
    padding: 0;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    letter-spacing: 0.02em;
}

@media (max-width: 539px) {
    .theme-showcase-card {
        height: var(--home-compact-card-height-mobile);
    }

    .theme-showcase-card img {
        height: calc(var(--home-compact-card-height-mobile) - var(--theme-label-height));
        max-height: calc(var(--home-compact-card-height-mobile) - var(--theme-label-height));
    }
}

/* Video Embed (prep for future video content) */
.video-embed {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--frame-black-bg);
}

.video-embed iframe,
.video-embed video {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    border: 0;
}

.video-embed-caption {
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    background: var(--bg-card);
    margin: 0;
}

.social-proof {
    padding: var(--section-padding-compact) 0;
    background: var(--bg-secondary);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.testimonial-card {
    margin: 0;
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-card);
    background: var(--bc-surface);
    padding: 1.5rem;
}

.testimonial-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.testimonial-card cite {
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.8125rem;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
    padding: var(--section-padding-compact) 0;
    background: var(--bg-secondary);
    background-image: radial-gradient(ellipse 60% 40% at 50% 100%, rgba(216, 160, 126, 0.10), transparent);
}

.cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content .section-subtitle {
    max-width: 100%;
    margin: 0 auto 2.5rem;
}

/* ============================================
   Preview Modal
   ============================================ */

.preview-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.preview-modal.active {
    opacity: 1;
    visibility: visible;
}

.preview-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.7);
    backdrop-filter: blur(20px);
}

.preview-modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    width: 100%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.preview-modal.active .preview-modal-content {
    transform: scale(1) translateY(0);
}

.preview-modal-close {
    position: absolute;
    top: -3rem;
    right: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.preview-modal-close:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.preview-modal-content img {
    width: 100%;
    max-height: 60vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.preview-modal-info {
    text-align: center;
    padding: 1.5rem 0;
}

.preview-modal-info h3 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.preview-modal-info p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ============================================
   Modal
   ============================================ */

.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.55);
    backdrop-filter: blur(10px);
}

@media (min-width: 769px) {
    .modal-backdrop {
        background: rgba(26, 26, 26, 0.33);
    }
}

.modal-content {
    position: relative;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-card);
    padding: 1.125rem;
    max-width: 420px;
    width: 100%;
    text-align: center;
    transform: scale(0.95) translateY(20px);
    transition: var(--transition-base);
}

@media (max-width: 768px) {
    .modal {
        align-items: flex-end;
        padding: 0;
    }

    .modal-content {
        border-radius: 24px 24px 0 0;
        max-width: 100%;
        width: 100%;
        padding: 1.125rem;
        transform: translateY(100%);
    }

    .modal.active .modal-content {
        transform: translateY(0);
    }
}

@media (min-width: 769px) {
    .modal {
        align-items: center;
        justify-content: center;
        padding: 2rem;
    }

    .modal-content {
        border-radius: 28px;
        padding: 1.375rem;
        max-width: 420px;
    }

    .modal.active .modal-content {
        transform: scale(1) translateY(0);
    }
}

.modal.active .modal-content {
    transform: scale(1) translateY(0);
}

/* Shared auth modal primitives (used by generate + designs) */
.auth-modal-content {
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

@media (min-width: 769px) {
    .auth-modal-content {
        gap: 0.875rem;
    }
}

.payment-gate {
    text-align: center;
    padding: 0.5rem;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: none;
    border: none;
    color: var(--bc-text-clay-deep);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: var(--transition-fast);
    z-index: 10;
}

.modal-close-btn:hover {
    color: var(--bc-text-clay-deep);
    background: var(--bc-clay-soft);
}

.payment-gate-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--accent-soft);
    border-radius: 50%;
    color: var(--accent);
    margin-bottom: 1rem;
}

.auth-gate h3 {
    margin-bottom: 0.6rem;
}

.auth-hint {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.btn-google-sso {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 0.65rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--bc-ink);
    background: var(--bc-surface);
    border: 1px solid var(--bc-border-strong);
    border-radius: var(--bc-radius-field);
    cursor: pointer;
    transition: var(--transition-fast);
    margin-bottom: 0.75rem;
    min-height: 44px;
}

.btn-google-sso:hover,
.btn-google-sso:focus-visible {
    border-color: var(--bc-border-strong);
    background: var(--bc-bg);
    outline: none;
}

.btn-google-sso:disabled {
    opacity: 0.6;
    cursor: default;
}

.auth-sso-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.8rem;
}

.auth-sso-divider::before,
.auth-sso-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-email-form {
    margin-bottom: 0.75rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.email-form input[type="email"] {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--bc-ink);
    background: var(--bc-bg);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-field);
    outline: none;
    transition: var(--transition-fast);
    text-align: center;
}

.email-form input[type="email"]::placeholder {
    color: var(--bc-text-warm);
}

.email-form input[type="email"]:focus {
    border-color: var(--bc-clay);
    box-shadow: 0 0 0 3px var(--bc-clay-soft);
}

.email-form input[type="email"].error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}

.auth-password-form {
    margin-bottom: 0.75rem;
}

.auth-password-form[hidden] {
    display: none;
}

.auth-password-form:not([hidden]) {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.auth-password-form input[type="password"] {
    width: 100%;
    padding: 0.7rem 0.8rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--bc-ink);
    background: var(--bc-bg);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-field);
    outline: none;
    transition: var(--transition-fast);
    text-align: center;
}

.auth-password-form input[type="password"]::placeholder {
    color: var(--bc-text-warm);
}

.auth-password-form input[type="password"]:focus {
    border-color: var(--bc-clay);
    box-shadow: 0 0 0 3px var(--bc-clay-soft);
}

.auth-method-toggle {
    width: 100%;
    margin-bottom: 0.65rem;
    border: none;
    background: transparent;
    color: var(--bc-text-clay-deep);
    border-radius: 999px;
    padding: 0.6rem 0.85rem;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.auth-method-toggle:hover {
    color: var(--bc-text-clay-deep);
    background: transparent;
}

.auth-status-message {
    min-height: 1.2rem;
    margin: 0.1rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.auth-status-message.is-success {
    color: #16a34a;
}

.auth-status-message.is-error {
    color: #dc2626;
}

/* ============================================
   Footer
   ============================================ */

.footer {
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    color: var(--bc-text-warm);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-social-link:hover {
    color: var(--bc-ink);
}

.footer-social-icon {
    display: block;
}

.footer-brand p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.footer-brand-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem 2rem;
    flex: 1 1 280px;
    min-width: min(100%, 280px);
}

.footer-brand-text {
    flex: 1 1 auto;
    min-width: 0;
}

.footer-brand .footer-social {
    flex-shrink: 0;
}

.footer-links h4,
.footer-brand .footer-social h4 {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: none;
    letter-spacing: 0;
    color: var(--bc-text-clay);
    margin-bottom: 0.75rem;
}

.footer-city-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem 0.75rem;
}

.footer-city-grid a {
    font-size: 0.8125rem;
    color: var(--bc-text-warm);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-city-grid a:hover {
    color: var(--bc-ink);
}

.footer-credit {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-align: right;
}

.footer-credit p {
    margin: 0.25rem 0;
}

.footer-credit a {
    color: var(--bc-text-warm);
    text-decoration: none;
}

.footer-credit a:hover {
    color: var(--bc-ink);
}

/* ============================================
   Text links in page content
   ============================================ */

:is(main, .legal-content) a:not(
    .btn,
    [class*="btn-"],
    .nav-link,
    .nav-item,
    .nav-cart-link,
    .product-cta,
    .offer-cta-primary,
    .offer-cta,
    .checkout-recover-link,
    .checkout-back-step-btn
):is(:link, :visited) {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.18em;
    text-decoration-thickness: 1px;
}

:is(main, .legal-content) a:not(
    .btn,
    [class*="btn-"],
    .nav-link,
    .nav-item,
    .nav-cart-link,
    .product-cta,
    .offer-cta-primary,
    .offer-cta,
    .checkout-recover-link,
    .checkout-back-step-btn
):hover {
    color: inherit;
    text-decoration-thickness: 1.5px;
}

:is(main, .legal-content) a.btn,
:is(main, .legal-content) a[class*="btn-"] {
    text-decoration: none;
}

:is(main, .legal-content) a.btn-primary {
    color: var(--bc-decision-text);
}

:is(main, .legal-content) a.btn-secondary {
    color: var(--bc-text-clay-deep);
}

/* ============================================
   Legal Pages
   ============================================ */

.legal-section {
    padding: 3rem 0 6rem;
    background: var(--bg-secondary);
}

.legal-container {
    max-width: 800px;
}

.legal-date {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.legal-content {
    margin-top: 3rem;
}

.legal-content h2 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 2.5rem 0 0.75rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-family: var(--font-sans);
    font-size: 1.0625rem;
    font-weight: 500;
    color: var(--text-primary);
    margin: 1.5rem 0 0.5rem;
}

.legal-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0.75rem 0;
}

.legal-content ul {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.legal-content li {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0.375rem 0;
}

.content-page-hero {
    padding: 4rem 0 2rem;
    background: var(--bg-secondary);
}

.content-page-hero--split {
    padding-top: calc(var(--header-offset) + 3rem);
    padding-bottom: 4rem;
}

.content-page-hero .section-header {
    margin-bottom: 0;
}

.content-hero-grid {
    display: grid;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: center;
}

.content-hero-copy .section-subtitle {
    max-width: 680px;
}

.content-hero-actions {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-top: 1.75rem;
}

.content-poster-mosaic {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.content-poster-mosaic img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border: 1px solid var(--bc-border);
    border-radius: 18px;
    background: var(--bc-surface);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.07);
}

.content-poster-mosaic img:nth-child(2) {
    margin-top: 1.25rem;
}

.content-poster-mosaic img:nth-child(3) {
    margin-top: 0.6rem;
}

.content-hero-media {
    margin: 0;
    min-height: 0;
}

.content-hero-media picture,
.content-hero-media img {
    display: block;
    width: 100%;
}

.content-hero-media img {
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border: 1px solid var(--bc-border);
    border-radius: 18px;
    background: var(--bc-surface);
    box-shadow: 0 18px 45px rgba(16, 24, 40, 0.07);
}

.content-section {
    padding: 3rem 0;
    background: var(--bg-primary);
}

.content-section--warm {
    background: var(--bc-workspace);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
}

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

.content-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-card);
    padding: 1.5rem;
}

.content-card h3 {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.content-card p,
.content-card li {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.content-card ul {
    margin: 0.5rem 0 0;
    padding-left: 1.25rem;
}

.content-feature-panel {
    display: grid;
    gap: 2rem;
    align-items: start;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid var(--bc-border);
    border-radius: 28px;
    background: var(--bc-surface);
}

.content-proof-list {
    display: grid;
    gap: 1rem;
}

.content-proof-list article {
    padding: 1.25rem;
    border: 1px solid var(--bc-border);
    border-radius: 20px;
    background: var(--bc-bg);
}

.content-proof-list h3 {
    margin: 0 0 0.45rem;
    color: var(--bc-ink);
    font-family: var(--font-serif);
    font-size: 1.12rem;
    font-weight: 400;
}

.content-proof-list p {
    margin: 0;
    color: var(--bc-text-muted);
    font-size: 0.94rem;
    line-height: 1.6;
}

@media (min-width: 900px) {
    .content-hero-grid {
        grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
    }

    .content-feature-panel {
        grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    }
}

/* ============================================
   Contact Page
   ============================================ */

.contact-card {
    margin: 3rem auto;
    max-width: 480px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
}

.contact-email-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.contact-icon {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.contact-email {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-email:hover {
    color: var(--bc-text-clay-deep);
}

.contact-response {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-topics {
    margin-top: 4rem;
}

.contact-topics h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2rem;
}

.contact-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.contact-topic {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    transition: var(--transition-fast);
}

.contact-topic:hover {
    border-color: var(--border-hover);
}

.contact-topic-icon {
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.contact-topic h3 {
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.contact-topic p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   City Page Variant Strip
   ============================================ */

.city-variant-strip {
    margin: 2rem 0 2.5rem;
    padding: 1.25rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--bg-primary);
}

.city-variant-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.25rem;
}

.city-variant-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.city-variant-gallery {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.625rem;
    margin-top: 0.5rem;
}

.city-variant-card {
    display: block;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    transition: var(--transition-fast);
}

.city-variant-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.city-variant-preview {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.city-variant-card-label {
    display: block;
    padding: 0.5rem 0.6rem;
    text-align: center;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.poster-theme-badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 3;
    padding: 0.28rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(0, 0, 0, 0.45);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    pointer-events: none;
    backdrop-filter: blur(2px);
}

.city-variant-chips {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.city-variant-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.city-variant-chip:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.city-variant-chip.is-active {
    border-color: var(--bc-clay);
    color: var(--bc-text-clay-deep);
    background: var(--bc-clay-soft);
}

.city-variant-swatch {
    width: 0.9rem;
    height: 0.9rem;
    border: 1px solid var(--border);
    border-radius: 50%;
    display: inline-block;
}

.city-variant-label {
    font-size: 0.8125rem;
    line-height: 1;
}

/* ============================================
   Cookie Consent Banner
   ============================================ */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: var(--bc-surface);
    border-top: 1px solid var(--bc-border);
    box-shadow: 0 -4px 20px rgba(90, 79, 71, 0.10);
    padding: 1rem 0;
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-inner p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
    min-width: 200px;
}

.cookie-banner-inner a {
    color: var(--accent);
    text-decoration: none;
}

.cookie-banner-inner a:hover {
    color: var(--bc-text-clay-deep);
}

.btn-cookie-accept {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    background: var(--bc-decision);
    color: var(--bc-decision-text);
    border: none;
    border-radius: var(--bc-radius-pill);
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    filter: brightness(1.1);
}

/* ============================================
   Scrollbar
   ============================================ */

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bc-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--bc-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bc-border-strong);
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 800px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    background: var(--bc-surface);
    border: 1px solid var(--bc-border);
    border-radius: var(--bc-radius-field);
    padding: 1.5rem;
    transition: var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--bc-border-strong);
}

.faq-question {
    font-family: var(--font-sans);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.faq-answer {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 768px) {
    :root {
        --nav-height: 52px;
    }

    .nav {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
    }

    /* Hide desktop dropdowns on mobile */
    .nav-dropdown,
    .nav-dropdown-scrim {
        display: none !important;
    }

    .nav-full .nav-menu {
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: 85vw;
        max-width: 380px;
        height: auto;
        z-index: calc(var(--z-nav) + 20);
        background: var(--bc-bg);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .nav-full .nav-menu.is-open {
        transform: translateX(0);
    }

    /* Entire nav chrome (drawer + backdrop) above promo strip - promo is sibling with z-index nav+1 */
    body.mobile-drawer-open .nav {
        z-index: calc(var(--z-nav) + 40);
    }

    /* Hide wrapper-level dropdown items inside drawer - they get rebuilt as flat links */
    .nav-full .nav-menu .nav-item-wrapper {
        display: none;
    }

    .nav-full .nav-inner {
        position: relative;
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 0.75rem;
    }

    .nav-full .nav-inner .nav-site-toggle {
        grid-column: 1;
        justify-self: start;
    }

    .nav-full .nav-inner .logo {
        grid-column: 2;
        justify-self: center;
    }

    .nav-full .nav-inner .nav-actions {
        grid-column: 3;
        flex: unset;
        margin-left: 0;
        justify-self: end;
    }

    .nav-cart-link {
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
    }

    /* ── Override desktop display:none for drawer elements ── */
    .mobile-drawer-header,
    .mobile-drawer-links,
    .mobile-drawer-spacer {
        display: flex;
    }

    .mobile-drawer-cta {
        display: flex;
    }

    /* ── Drawer header bar ── */
    .mobile-drawer-header {
        align-items: center;
        justify-content: space-between;
        padding: 0 16px;
        min-height: 50px;
        border-bottom: 1px solid var(--border);
        flex-shrink: 0;
    }

    .mobile-drawer-close {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: none;
        color: var(--text-primary);
        cursor: pointer;
        padding: 0;
    }

    .mobile-drawer-logo {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-family: var(--font-serif);
        font-size: 1.125rem;
        color: var(--text-primary);
        text-decoration: none;
    }

    .mobile-drawer-logo .logo-icon {
        width: 20px;
        height: 20px;
        filter: none;
    }

    .mobile-drawer-cart {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border: none;
        background: none;
        color: var(--text-primary);
        cursor: pointer;
        padding: 0;
        text-decoration: none;
    }

    .mobile-drawer-cart-badge {
        position: absolute;
        top: 2px;
        right: 2px;
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        border-radius: 99px;
        background: var(--bc-clay);
        color: var(--bc-decision-cta-text);
        font-size: 10px;
        font-weight: 700;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
    }

    /* ── Drawer nav links ── */
    .mobile-drawer-links {
        display: flex;
        flex-direction: column;
        padding: 0 24px;
        flex-shrink: 0;
    }

    .mobile-drawer-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        color: var(--text-primary);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 400;
    }

    .mobile-drawer-link:last-child {
        border-bottom: none;
    }

    .mobile-drawer-link-chevron {
        color: var(--text-muted);
        display: flex;
        align-items: center;
    }

    /* ── Expandable primary sections (Inspiration, About) ── */
    .mobile-drawer-section {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid var(--border);
    }

    .mobile-drawer-expand {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 16px 0;
        border: 0;
        background: none;
        color: var(--text-primary);
        font-family: var(--font-sans);
        font-size: 1rem;
        font-weight: 400;
        text-align: left;
        cursor: pointer;
        transition: color var(--transition-fast);
    }

    .mobile-drawer-expand:hover,
    .mobile-drawer-expand:focus-visible {
        color: var(--bc-text-clay-deep);
    }

    .mobile-drawer-expand-label {
        flex: 1;
        min-width: 0;
    }

    .mobile-drawer-expand-chevron {
        color: var(--text-muted);
        display: flex;
        align-items: center;
        flex-shrink: 0;
        transition: transform 0.25s var(--ease-out);
    }

    .mobile-drawer-expand.is-open .mobile-drawer-expand-chevron {
        transform: rotate(90deg);
    }

    .mobile-drawer-panel {
        display: flex;
        flex-direction: column;
        gap: 4px;
        padding: 0 0 12px 4px;
    }

    .mobile-drawer-panel[hidden] {
        display: none !important;
    }

    .mobile-drawer-subsection {
        display: flex;
        flex-direction: column;
        gap: 2px;
        padding-bottom: 10px;
    }

    .mobile-drawer-subsection:last-child {
        padding-bottom: 4px;
    }

    .mobile-drawer-subtitle {
        font-family: var(--font-sans);
        font-size: 0.6875rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--text-muted);
        padding: 8px 0 4px;
    }

    .mobile-drawer-sublink {
        display: block;
        padding: 10px 0 10px 8px;
        color: var(--text-primary);
        text-decoration: none;
        font-size: 0.9375rem;
        border-radius: var(--radius-sm);
        transition: background var(--transition-fast), color var(--transition-fast);
    }

    .mobile-drawer-sublink:hover,
    .mobile-drawer-sublink:focus-visible {
        background: var(--bc-workspace);
        color: var(--bc-text-clay-deep);
    }

    /* ── Drawer spacer & CTA ── */
    .mobile-drawer-spacer {
        flex: 1;
        min-height: 32px;
    }

    .mobile-drawer-cta {
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 24px;
        padding: 14px 24px;
        border-radius: var(--bc-radius-pill);
        background: var(--bc-clay);
        color: var(--bc-decision-cta-text);
        font-family: var(--font-sans);
        font-size: 1rem;
        font-weight: 700;
        text-decoration: none;
        flex-shrink: 0;
    }

    .nav-site-toggle {
        display: inline-flex;
    }

    .nav-create-cta {
        display: none;
        padding: 0.5rem 0.85rem;
    }

    .nav-auth-button {
        width: 34px;
        height: 34px;
    }

    /* ── Drawer backdrop ── */
    .nav-menu-backdrop {
        display: block;
        position: fixed;
        inset: 0;
        z-index: calc(var(--z-nav) + 15);
        background: rgba(26, 26, 26, 0);
        border: 0;
        padding: 0;
        pointer-events: none;
        transition: background 0.3s ease;
    }

    .nav-menu-backdrop.is-active {
        pointer-events: auto;
        background: rgba(26, 26, 26, 0.35);
    }

    .nav-locale-btn {
        font-size: 11px;
        padding: 3px 6px;
    }

    /* Lock body scroll when drawer is open */
    body.mobile-drawer-open {
        overflow: hidden;
    }

    /* Hero: stack vertically on mobile */
    .hero-new {
        flex-direction: column;
        padding: calc(var(--header-offset) + 16px) 24px 32px;
        gap: 20px;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .hero-text {
        width: 100%;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .hero-title {
        font-size: clamp(2.2rem, 11vw, 3.4rem);
    }

    .hero-anim-title {
        align-items: center;
    }

    .hero-your { font-size: 36px; }
    .hero-word-text { font-size: 36px; }
    .hero-cursor { font-size: 32px; }

    .hero-word-pill {
        border-radius: 16px;
        padding: 4px 14px;
    }

    .hero-subtitle {
        font-size: 13px;
        line-height: 1.5;
        text-align: center;
        max-width: 300px;
    }

    .hero-cta-row { width: 100%; }

    .hero-cta-btn {
        width: 100%;
        height: 48px;
        font-size: 15px;
        border-radius: 12px;
    }

    .hero-mockup-area {
        order: -1;
        max-width: 100%;
        width: 100%;
        align-items: center;
    }

    .hero-mockup-stage {
        max-width: 360px;
        width: 100%;
        align-items: center;
    }

    .hero-mockup-chips {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 8px;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: auto;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .hero-mockup-chips::-webkit-scrollbar {
        display: none;
    }

    .hero-mockup-chip {
        flex-shrink: 0;
    }

    .city-showcase-grid,
    .steps-grid,
    .product-grid,
    .testimonial-grid,
    .content-grid,
    .content-grid--three,
    .content-hero-grid,
    .content-feature-panel,
    .home-trust-grid,
    .home-production-grid,
    .home-production-points {
        grid-template-columns: 1fr;
    }

    .home-trust-strip {
        padding: 1rem 0 2.5rem;
    }

    .home-production-section {
        padding: 3rem 0;
    }

    .home-production-visual img:nth-child(2),
    .home-production-visual img:nth-child(3),
    .content-poster-mosaic img:nth-child(2),
    .content-poster-mosaic img:nth-child(3) {
        margin-top: 0;
    }

    .content-page-hero--split {
        padding-top: calc(var(--header-offset) + 2rem);
        padding-bottom: 3rem;
    }

    .content-hero-actions {
        flex-direction: column;
    }

    .content-hero-actions .btn {
        width: 100%;
    }

    .section-split,
    .section-split--flip {
        flex-direction: column;
        gap: 1.25rem;
        align-items: stretch;
    }

    .section-split .section-intro,
    .section-split--flip .section-intro,
    .section-split .section-content {
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .section-content .scroll-carousel-arrow--left {
        left: 2px;
    }

    .section-content .scroll-carousel-arrow--right {
        right: 2px;
    }

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

    .home-storefront-actions .btn {
        width: 100%;
    }

    .city-playground {
        grid-template-columns: 1fr;
    }

    .city-playground-preview-wrap {
        min-height: 260px;
    }

    .city-variant-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand,
    .footer-links,
    .footer-credit {
        width: 100%;
    }

    .footer-brand-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-brand .footer-social h4 {
        text-align: center;
    }

    .footer-social-icons {
        justify-content: center;
    }

    .footer-links h4,
    .footer-brand .footer-social h4 {
        text-align: center;
    }

    .footer-city-grid {
        justify-content: center;
    }
    
    .footer-credit {
        text-align: center;
    }
}

/* ============================================
   Mobile Blocking Overlay
   ============================================ */

.mobile-block-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.mobile-block-message {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
}

.mobile-block-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: block;
}

.mobile-block-message h2 {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 400;
    color: var(--text-primary);
    margin: 0 0 1rem 0;
}

.mobile-block-message p {
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0.5rem 0;
}

.mobile-block-hint {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
}

.mobile-block-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-save-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    gap: 0.5rem;
}

.mobile-save-btn svg {
    width: 16px;
    height: 16px;
}

/* Location suggestions (kept for generate page) */

.location-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border-strong);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    max-height: 240px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.location-suggestions.active {
    display: block;
}

.location-suggestion {
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    text-align: left;
    color: var(--text-primary);
    transition: background-color var(--transition-fast);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.location-suggestion:last-child {
    border-bottom: none;
}

.location-suggestion:hover {
    background: var(--bc-bg);
}

.location-suggestion strong {
    font-weight: 500;
}

.location-suggestion-country {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   Poster Dimension Indicators
   Thin rules + measurement labels shown outside
   the poster on both generate and checkout pages.
   ============================================ */

.poster-dims-wrap {
    position: relative;
    width: 100%;
}

/* ── Height indicator (right side) ──
   right: -60px, width: 28px → left edge 32px from poster edge,
   which is 9px clear of the largest frame spread (23px). */
.dim-indicator-h {
    position: absolute;
    top: 0;
    bottom: 0;
    right: -60px;
    width: 28px;
    pointer-events: none;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Vertical connecting line */
.dim-indicator-h::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, 0.14);
}

/* Measurement text - reads bottom-to-top (engineering convention) */
.dim-indicator-h .dim-val {
    position: absolute;
    top: 50%;
    left: 11px;
    writing-mode: vertical-rl;
    transform: translateY(-50%) rotate(180deg);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.36);
    white-space: nowrap;
    text-transform: uppercase;
}

/* ── Width indicator (bottom) ──
   left/right: 0 → tick marks flush with poster edge (matches height indicator alignment).
   bottom: -56px, height: 24px → top edge 32px below poster (9px clear of 23px frame). */
.dim-indicator-w {
    position: absolute;
    bottom: -56px;
    left: 0;
    right: 0;
    height: 24px;
    pointer-events: none;
    z-index: 3;
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    justify-content: center;
}

/* Horizontal connecting line */
.dim-indicator-w::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.14);
}

.dim-indicator-w .dim-val {
    position: relative;
    z-index: 1;
    padding-top: 5px;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.07em;
    color: rgba(255, 255, 255, 0.36);
    white-space: nowrap;
    text-transform: uppercase;
}

@media (min-width: 1024px) {
    .dim-indicator-h,
    .dim-indicator-w {
        border-color: rgba(255, 255, 255, 0.42);
    }

    .dim-indicator-h::before,
    .dim-indicator-w::before {
        background: rgba(255, 255, 255, 0.4);
    }

    .dim-indicator-h .dim-val,
    .dim-indicator-w .dim-val {
        color: rgba(255, 255, 255, 0.82);
        font-weight: 600;
    }
}

/* ── Cookie Consent Banner ───────────────────────────────────────────────── */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--bc-surface);
    border-top: 1px solid var(--bc-border);
    padding: 12px 16px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-consent-banner.cookie-consent-visible {
    transform: translateY(0);
}
.cookie-consent-banner.cookie-consent-hiding {
    transform: translateY(100%);
}
.cookie-consent-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cookie-consent-text {
    flex: 1;
    min-width: 200px;
    font-size: 13px;
    color: var(--bc-text-muted);
    margin: 0;
}
.cookie-consent-link {
    color: var(--bc-text-clay);
    text-decoration: underline;
    margin-left: 6px;
}
.cookie-consent-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.cookie-consent-accept,
.cookie-consent-decline {
    font-size: 13px;
    padding: 6px 14px;
    height: auto;
}

/* Legal / contact pages: replace hardcoded 5rem top padding */
.legal-main-shell {
    padding-top: calc(var(--header-offset) + 1rem);
}

/* ── Promotional Banner ────────────────────────────────────────────────── */
.promo-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--promo-banner-height, 36px);
    z-index: calc(var(--z-nav) + 1);
    background: var(--bc-workspace);
    border-bottom: 1px solid var(--bc-border-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}
.promo-banner-inner {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 0;
    padding: 0 24px;
    position: relative;
    height: 100%;
}
.promo-benefits-row {
    grid-column: 2;
    justify-self: center;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
}
.promo-benefit {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.promo-benefit-icon {
    display: flex;
    align-items: center;
    color: var(--bc-clay);
    flex-shrink: 0;
}
.promo-benefit-text {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 500;
    color: var(--bc-text-muted);
}
.promo-sep {
    font-size: 12px;
    color: var(--bc-border-strong);
    user-select: none;
}
.promo-country-btn {
    grid-column: 3;
    justify-self: end;
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--bc-text-muted);
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    padding: 0;
    white-space: nowrap;
    transition: color 0.2s;
}
.promo-country-btn:hover {
    color: var(--bc-ink);
}
.promo-country-label-compact {
    display: none;
}
.promo-country-chevron {
    display: flex;
    align-items: center;
    color: var(--bc-border-strong);
}
.promo-country-chevron svg,
.nav-locale-chevron svg {
    display: block;
    transition: transform 0.2s ease;
}
.is-locale-picker-open .promo-country-chevron svg,
.is-locale-picker-open .nav-locale-chevron svg {
    transform: rotate(180deg);
}

/* Push nav down when banner is present */
.promo-banner ~ .nav {
    top: var(--promo-banner-height, 36px);
}
@media (max-width: 768px) {
    :root {
        --promo-banner-height: 32px;
    }
    .promo-banner {
        height: var(--promo-banner-height);
    }
    .promo-banner-inner {
        padding: 0 12px;
    }
    .promo-benefits-row {
        display: grid;
        place-items: center;
        justify-items: center;
        min-width: 0;
        overflow: hidden;
    }
    .promo-benefit {
        grid-area: 1 / 1;
        justify-self: center;
        align-self: center;
        opacity: 0;
        transition: opacity 0.4s ease;
        pointer-events: none;
        white-space: nowrap;
    }
    .promo-benefit.is-promo-active {
        opacity: 1;
        pointer-events: auto;
    }
    .promo-sep {
        display: none;
    }
    .promo-benefit-icon svg {
        width: 12px;
        height: 12px;
    }
    .promo-benefit-text {
        font-size: 11px;
    }
    .promo-country-btn {
        gap: 4px;
        font-size: 10px;
        flex-shrink: 0;
    }
    .promo-country-label {
        display: none;
    }
    .promo-country-label-compact {
        display: inline;
    }
    .promo-country-chevron svg {
        width: 10px;
        height: 10px;
    }
}

/* ── Locale / Country Selector ──────────────────────────────────────────── */
.nav-locale-btn {
    background: none;
    border: 1px solid var(--bc-border);
    border-radius: 6px;
    color: inherit;
    cursor: pointer;
    font-size: 12px;
    font-family: inherit;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    transition: border-color 0.2s, background 0.2s;
}
.nav-locale-label {
    min-width: 0;
}
.nav-locale-chevron {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    color: var(--bc-border-strong);
}
.nav-locale-btn:hover {
    background: var(--bc-workspace);
    border-color: var(--bc-border-strong);
}

.locale-picker {
    z-index: 8500;
    background: var(--bc-surface);
    border: 1px solid var(--bc-border-strong);
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
    min-width: 240px;
    max-width: 300px;
    overflow: hidden;
}
.locale-picker-inner {
    display: flex;
    flex-direction: column;
}
.locale-picker-search {
    border: none;
    border-bottom: 1px solid var(--bc-border-soft);
    background: transparent;
    color: var(--bc-ink);
    font-size: 13px;
    font-family: inherit;
    padding: 10px 14px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.locale-picker-search::placeholder {
    color: var(--bc-text-warm);
}
.locale-picker-list {
    list-style: none;
    margin: 0;
    padding: 4px 0;
    max-height: 260px;
    overflow-y: auto;
}
.locale-picker-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    cursor: pointer;
    font-size: 13px;
    color: var(--bc-ink);
    transition: background 0.15s;
}
.locale-picker-item:hover,
.locale-picker-item.is-selected {
    background: var(--bc-bg);
}
.locale-picker-item.is-selected {
    font-weight: 600;
}
.locale-picker-name {
    flex: 1;
}
.locale-picker-currency {
    color: var(--bc-text-warm);
    font-size: 11px;
}

@media (max-width: 600px) {
    .nav-locale-btn {
        font-size: 11px;
        padding: 3px 6px;
    }
    .locale-picker {
        left: 8px !important;
        right: 8px !important;
        min-width: unset;
        max-width: unset;
    }
}

/* ============================================
   Toast Notification
   ============================================ */

.toast {
    position: fixed;
    top: calc(var(--header-offset) + 0.75rem);
    left: 50%;
    transform: translateX(-50%) translateY(-1rem);
    z-index: var(--z-toast);
    padding: 0.65rem 1.25rem;
    border-radius: 999px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--bc-decision-text);
    background: var(--bc-decision);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast--visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Price loading skeleton shimmer */
.price-loading {
    background: linear-gradient(
        90deg,
        var(--bc-bg) 0%,
        var(--bc-bg-soft) 50%,
        var(--bc-bg) 100%
    );
    background-size: 200% 100%;
    animation: price-shimmer 1.5s ease-in-out infinite;
    color: transparent !important;
    pointer-events: none;
}

@keyframes price-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.toast--success {
    background: #166534;
    color: #f0fdf4;
}

.toast--error {
    background: #991b1b;
    color: #fef2f2;
}

/* ── Shared pricing UI (basket, checkout, drawer) ────────────────────────── */

.price-was {
    text-decoration: line-through;
    color: var(--bc-text-muted, #999);
    font-weight: 400;
    font-size: 0.9em;
    margin-right: 0.25em;
}

.price-free {
    color: #16a34a;
    font-weight: 600;
}

.price-was {
    text-decoration: line-through;
    color: var(--bc-text-muted, #999);
    font-weight: 400;
}

.price-now {
    color: #16a34a;
    font-weight: 600;
}

.basket-vat-note {
    font-size: 0.78rem;
    color: var(--bc-text-muted, #999);
    margin: 0.2rem 0 0;
    text-align: right;
}

.discount-badge {
    background: var(--bc-warm-bg, #fef3e2);
    color: var(--bc-text-clay, #a0522d);
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    text-align: center;
    margin-bottom: 0.75rem;
}

/* Delivery progress bar (shared across drawer, basket, checkout) */
.delivery-bar-wrap {
    margin: 0.75rem 0;
}

.delivery-progress {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.delivery-bar {
    height: 4px;
    border-radius: 999px;
    background: var(--bc-border-soft, #e5e0db);
    overflow: hidden;
}

.delivery-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--bc-clay, #c4956a);
    transition: width 0.5s ease;
}

.delivery-copy {
    font-size: 0.8rem;
    color: var(--text-secondary, #777);
    margin: 0;
}

.delivery-copy strong {
    color: var(--text-primary, #333);
}

.delivery-progress--unlocked .delivery-bar-fill {
    background: #16a34a;
}

.delivery-progress--unlocked .delivery-copy {
    color: #16a34a;
    font-weight: 500;
}

.delivery-copy--unlocked-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.15rem;
}

.delivery-unlocked-title {
    font-weight: 600;
}

.delivery-unlocked-sub {
    font-weight: 500;
    opacity: 0.92;
}


/* ============================================
   Frame 11 Content Refresh
   ============================================ */
.content-refresh-hero{padding:calc(var(--header-offset) + 2rem) 0 2.5rem;background:linear-gradient(180deg,var(--bc-bg) 0%,var(--bc-workspace) 100%);overflow:hidden}.content-refresh-hero-mosaic{display:grid;gap:clamp(1.25rem,3vw,2rem);align-items:start}.content-refresh-hero-feature{margin:0;min-height:0}.content-refresh-hero-side{display:grid;gap:clamp(1rem,2.5vw,1.5rem);align-content:start}.content-refresh-hero-thumbs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem}.content-refresh-hero-thumbs figure{margin:0;min-height:0}.content-refresh-hero-copy{max-width:100%}.content-refresh-hero-copy h1{margin:0;color:var(--bc-ink);font-family:var(--font-serif);font-size:clamp(2rem,4.5vw,3.4rem);font-weight:400;line-height:1.05;letter-spacing:-.04em}.content-refresh-hero-copy .content-refresh-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:1.25rem}.content-refresh-actions{display:flex;flex-wrap:wrap;gap:.85rem;margin-top:1.35rem}.content-refresh-hero-feature picture,.content-refresh-hero-feature img,.content-refresh-hero-thumbs picture,.content-refresh-hero-thumbs img,.content-refresh-image-grid picture,.content-refresh-image-grid img,.content-refresh-production-image,.content-refresh-production-image img,.faq-support-hero picture,.faq-support-hero img,.production-hero picture,.production-hero img,.production-image-callout picture,.production-image-callout img,.content-poster-mosaic picture{display:block}.content-refresh-hero-feature img,.content-refresh-hero-thumbs img{width:100%;height:100%;min-height:280px;object-fit:cover;border-radius:28px;border:1px solid var(--bc-border);box-shadow:0 24px 70px rgba(61,43,32,.14)}.content-refresh-hero-feature img{min-height:0;max-height:min(58vh,480px);border-radius:32px;box-shadow:0 32px 90px rgba(61,43,32,.18)}.content-refresh-hero-thumbs img{min-height:0;aspect-ratio:3/4;border-radius:22px}.content-refresh-trust{padding:1.5rem 0 var(--section-padding-compact);background:var(--bc-workspace)}.content-refresh-trust-grid{display:grid;gap:1rem}.content-refresh-trust-grid article{padding:1.35rem;border:1px solid var(--bc-border);border-radius:22px;background:var(--bc-surface)}.content-refresh-trust-grid span{display:block;margin-bottom:.45rem;color:var(--bc-text-clay);font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.content-refresh-trust-grid strong{display:block;margin-bottom:.45rem;color:var(--bc-ink);font-family:var(--font-serif);font-size:1.35rem;font-weight:400}.content-refresh-trust-grid p{margin:0;color:var(--bc-text-muted);font-size:.92rem;line-height:1.55}.content-refresh-occasions,.content-refresh-production{padding:var(--section-padding) 0;background:var(--bc-bg)}.content-refresh-occasions-grid{display:grid;gap:clamp(2rem,4vw,3rem);align-items:center}.content-refresh-occasions-intro{max-width:520px}.content-refresh-image-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.content-refresh-image-grid img{width:100%;height:100%;min-height:360px;object-fit:cover;border:1px solid var(--bc-border);border-radius:28px;box-shadow:0 20px 60px rgba(61,43,32,.1)}.content-refresh-image-grid picture:nth-child(2){margin-top:2.5rem}.content-refresh-image-grid picture:nth-child(3){margin-top:1.25rem}.content-refresh-production{background:var(--bc-workspace)}.content-refresh-production-grid{display:grid;gap:2rem;align-items:center}.content-refresh-production-copy{max-width:640px}.content-refresh-proof-list{display:grid;gap:.9rem;margin:1.75rem 0}.content-refresh-proof-list article{padding:1.15rem;border:1px solid var(--bc-border);border-radius:20px;background:var(--bc-surface)}.content-refresh-proof-list strong{display:block;margin-bottom:.35rem;color:var(--bc-ink);font-family:var(--font-serif);font-size:1.08rem;font-weight:400}.content-refresh-proof-list p{margin:0;color:var(--bc-text-muted);font-size:.92rem;line-height:1.55}.content-refresh-production-image{display:block;justify-self:center;width:min(100%,420px)}.content-refresh-production-image img{width:100%;max-height:720px;object-fit:cover;object-position:center top;border:1px solid var(--bc-border);border-radius:30px;box-shadow:0 24px 70px rgba(61,43,32,.14)}.faq-support-page,.production-page{background:var(--bc-bg)}.faq-support-hero,.production-hero{padding:calc(var(--header-offset) + 2rem) 0 var(--section-padding);background:linear-gradient(180deg,var(--bc-bg) 0%,var(--bc-workspace) 100%)}.faq-support-hero-grid,.production-hero-grid{display:grid;gap:clamp(2rem,5vw,4rem);align-items:center}.faq-support-hero h1,.production-hero h1{margin:0 0 1.25rem;color:var(--bc-ink);font-family:var(--font-serif);font-size:clamp(2.8rem,6vw,5.8rem);font-weight:400;line-height:.98;letter-spacing:-.045em}.faq-support-hero p,.production-hero p{max-width:580px;margin:0;color:var(--bc-text-muted);font-size:1.08rem;line-height:1.7}.faq-support-hero img,.production-hero img,.production-image-callout img{width:100%;height:auto;border:1px solid var(--bc-border);border-radius:30px;box-shadow:0 28px 80px rgba(61,43,32,.14)}.faq-support-hero img{max-height:640px;object-fit:cover}.faq-support-content,.production-section{padding:var(--section-padding) 0}.faq-support-layout{display:grid;gap:2rem;align-items:start}.faq-support-card{padding:1.5rem;border:1px solid var(--bc-border);border-radius:24px;background:var(--bc-surface);position:sticky;top:calc(var(--header-offset) + 1rem)}.faq-support-card h2{margin:0 0 .65rem;color:var(--bc-ink);font-family:var(--font-serif);font-size:1.4rem;font-weight:400}.faq-support-card p{margin:0 0 1rem;color:var(--bc-text-muted);line-height:1.6}.faq-support-list{display:grid;gap:2rem}.faq-support-category h2{margin:0 0 1rem;color:var(--bc-ink);font-family:var(--font-serif);font-size:clamp(1.35rem,2.4vw,2rem);font-weight:400}.faq-support-items{display:grid;gap:1.5rem}.faq-support-item{padding:1.5rem;border:1px solid var(--bc-border);border-radius:20px;background:var(--bc-surface)}.faq-support-item h3{margin:0 0 .75rem;color:var(--bc-ink);font-family:var(--font-sans);font-size:1.125rem;font-weight:600}.faq-support-item p{margin:0;color:var(--bc-text-muted);font-size:1rem;line-height:1.65}
.faq-support-item ul{margin:.75rem 0;padding-left:1.25rem;color:var(--bc-text-muted);font-size:.95rem;line-height:1.6}
.faq-support-item li{margin-bottom:.35rem}.production-card-grid,.production-detail-grid,.production-image-callout{display:grid;gap:1.25rem}.production-card,.production-spec-list article{padding:1.5rem;border:1px solid var(--bc-border);border-radius:24px;background:var(--bc-surface)}.production-card span{display:inline-flex;margin-bottom:1rem;color:var(--bc-text-clay);font-size:.75rem;font-weight:700;letter-spacing:.08em}.production-card h3,.production-spec-list h3{margin:0 0 .55rem;color:var(--bc-ink);font-family:var(--font-serif);font-size:1.25rem;font-weight:400}.production-card p,.production-spec-list p{margin:0;color:var(--bc-text-muted);line-height:1.65}.production-section--warm{background:var(--bc-workspace)}.production-spec-list{display:grid;gap:.9rem}.production-image-callout{align-items:center}.production-image-callout .section-subtitle{margin-bottom:1.5rem}
@media (min-width:820px){.content-refresh-hero-mosaic{grid-template-columns:minmax(0,.92fr) minmax(260px,1fr)}.content-refresh-occasions-grid{grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr)}.content-refresh-trust-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.content-refresh-production-grid{grid-template-columns:minmax(0,.9fr) minmax(300px,.72fr)}.faq-support-hero-grid,.production-hero-grid{grid-template-columns:minmax(0,1fr) minmax(300px,.72fr)}.faq-support-layout{grid-template-columns:minmax(220px,.36fr) minmax(0,1fr)}.production-card-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.production-detail-grid,.production-image-callout{grid-template-columns:minmax(0,.85fr) minmax(320px,1fr);gap:3rem}}
@media (max-width:819px){.content-refresh-hero{padding:calc(var(--header-offset) + 1.25rem) 0 3rem}.content-refresh-hero-mosaic{grid-template-columns:1fr}.content-refresh-hero-feature{order:1}.content-refresh-hero-thumbs{order:2}.content-refresh-hero-copy{order:3}.content-refresh-hero-feature img{min-height:0;max-height:420px}.content-refresh-trust-grid,.content-refresh-production-grid,.content-refresh-occasions-grid{grid-template-columns:1fr}.content-refresh-image-grid{grid-template-columns:1fr}.content-refresh-image-grid picture:nth-child(2),.content-refresh-image-grid picture:nth-child(3){margin-top:0}.content-refresh-image-grid img{min-height:0;max-height:520px}.content-refresh-production-image{width:min(100%,360px)}.content-refresh-production-image img{max-height:560px}.faq-support-card{position:static}}
@media (max-width:560px){.content-refresh-actions{flex-direction:column}.content-refresh-actions .btn{width:100%}.faq-support-hero h1,.production-hero h1,.content-refresh-hero-copy h1{font-size:clamp(1.85rem,9vw,2.5rem)}}

/* Payment methods trust strip */
.payment-methods-trust{margin-top:.85rem}
.payment-methods-trust-list{display:flex;flex-wrap:wrap;gap:.5rem .65rem;margin:0;padding:0;list-style:none}
.payment-methods-trust-item{display:inline-flex;align-items:center;gap:.35rem;padding:.25rem .45rem .25rem .3rem;border:1px solid var(--bc-border-soft);border-radius:8px;background:var(--bc-surface)}
.payment-methods-trust-logo{display:block;width:40px;height:26px;object-fit:contain;flex-shrink:0}
.payment-methods-trust-label{font-size:.68rem;font-weight:600;color:var(--bc-text-muted);letter-spacing:.02em;white-space:nowrap}
.payment-methods-trust-hint{margin:.55rem 0 0;font-size:.78rem;line-height:1.45;color:var(--bc-text-warm)}
@media (max-width:819px){.payment-methods-trust-list{gap:.45rem .5rem}}
