/* ==========================================================================
   Pixel to Print — Immersive Gallery Wall Showroom (/showroom)
   Pure CSS (GPU transform/opacity animations, zero layout shift, mobile-first)
   ========================================================================== */

:root {
    --sr-bg: #0a0909;
    --sr-wall-dark: #0e0d0c;
    --sr-wall-mid: #171413;
    --sr-surface: rgba(24, 21, 20, 0.78);
    --sr-border: rgba(255, 255, 255, 0.08);
    --sr-border-strong: rgba(255, 255, 255, 0.15);
    --sr-ivory: #f6f2ec;
    --sr-text-soft: #c9c1b8;
    --sr-muted: #8f867d;
    --sr-amber: #ff7a2f;
    --sr-amber-bright: #ff9859;
    --sr-amber-glow: rgba(255, 122, 47, 0.34);
    --sr-amber-subtle: rgba(255, 122, 47, 0.12);
    --sr-ease-flip: cubic-bezier(0.7, 0, 0.2, 1);
    --sr-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --sr-font-sans: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --sr-font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html.sr-html {
    background-color: var(--sr-bg);
    color: var(--sr-ivory);
    font-family: var(--sr-font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.sr-body {
    margin: 0;
    background-color: var(--sr-bg);
    color: var(--sr-ivory);
    font-family: var(--sr-font-sans);
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden;
    position: relative;
}

/* Lock desktop viewport to single immersive gallery room */
@media (min-width: 769px) {
    body.sr-body {
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
}

body.sr-body.is-mobile-zoomed {
    overflow: hidden;
}

/* Accessible Focus Rings */
.sr-body a:focus-visible,
.sr-body button:focus-visible {
    outline: 2px solid var(--sr-amber);
    outline-offset: 3px;
}

/* Subtle Museum Wall Architectural Texture (CSS Chevron Weave + Studio Vignette + SVG Grain) */
.sr-wall-atmosphere {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-color: var(--sr-bg);
    background-image:
        radial-gradient(ellipse 80% 55% at 50% 38%, rgba(38, 31, 27, 0.72) 0%, rgba(12, 11, 11, 0.96) 75%),
        radial-gradient(ellipse 50% 28% at 50% 0%, rgba(255, 122, 47, 0.06) 0%, transparent 70%),
        repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.012) 0px, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 28px),
        repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.01) 0px, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 28px);
}

.sr-wall-atmosphere::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.032;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 180px 180px;
}

/* ==========================================================================
   1. Thin Announcement Ticker + Ultra-Minimal Fixed Top Bar
   ========================================================================== */
.sr-chrome {
    position: sticky;
    top: 0;
    z-index: 60;
    flex-shrink: 0;
    background: rgba(10, 9, 9, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--sr-border);
    transition: opacity 0.45s ease;
}

body.sr-body.is-mobile-zoomed .sr-chrome {
    opacity: 0;
    pointer-events: none;
}

.sr-ticker {
    height: 28px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #060505;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    letter-spacing: 0.04em;
    color: var(--sr-text-soft);
    user-select: none;
}

.sr-ticker-track {
    display: flex;
    width: max-content;
    animation: srTickerScroll 34s linear infinite;
    will-change: transform;
}

.sr-ticker:hover .sr-ticker-track {
    animation-play-state: paused;
}

.sr-ticker-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.sr-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 24px;
    white-space: nowrap;
}

.sr-ticker-item strong {
    color: var(--sr-ivory);
    font-weight: 600;
}

.sr-ticker-accent {
    color: var(--sr-amber-bright);
}

.sr-ticker-dot {
    color: rgba(255, 122, 47, 0.55);
}

@keyframes srTickerScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

.sr-topbar {
    height: 52px;
    max-width: 1680px;
    margin: 0 auto;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sr-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--sr-ivory);
    min-height: 44px;
    flex-shrink: 0;
}

.sr-brand-logo {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    object-fit: contain;
    background: #000;
    padding: 2px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    transition: transform 0.25s var(--sr-ease-out);
}

.sr-brand:hover .sr-brand-logo {
    transform: scale(1.06);
}

.sr-brand-name {
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.sr-brand-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--sr-amber-bright);
    padding: 2px 7px;
    border-radius: 999px;
    background: var(--sr-amber-subtle);
    border: 1px solid rgba(255, 122, 47, 0.25);
}

.sr-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.sr-nav-link {
    color: var(--sr-muted);
    text-decoration: none;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 8px 2px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.sr-nav-link:hover {
    color: var(--sr-ivory);
}

.sr-cart-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    min-height: 36px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--sr-ivory);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--sr-border-strong);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.sr-cart-pill:hover {
    background: rgba(255, 122, 47, 0.14);
    border-color: rgba(255, 122, 47, 0.48);
}

.sr-cart-pill.is-bumped {
    transform: scale(1.07);
    border-color: var(--sr-amber);
}

.sr-cart-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--sr-amber);
    box-shadow: 0 0 8px var(--sr-amber);
}

/* ==========================================================================
   2. Main Showroom Shell & Hero Header
   ========================================================================== */
.sr-main {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.sr-app.is-zoomed .sr-main {
    pointer-events: none;
    user-select: none;
}

.sr-hero {
    max-width: 1680px;
    width: 100%;
    margin: 0 auto;
    padding: 14px 26px 6px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    flex-shrink: 0;
    transition: opacity 0.45s ease, transform 0.55s var(--sr-ease-flip);
}

.sr-app.is-zoomed .sr-hero {
    opacity: 0;
    transform: translate3d(0, -14px, 0);
    pointer-events: none;
}

.sr-hero-title {
    margin: 0;
    font-size: clamp(1.55rem, 2.3vw, 2.35rem);
    font-weight: 600;
    letter-spacing: -0.035em;
    line-height: 1.05;
    color: var(--sr-ivory);
}

.sr-hero-title em {
    font-family: var(--sr-font-serif);
    font-style: italic;
    font-weight: 400;
    font-size: 1.16em;
    letter-spacing: -0.01em;
    color: var(--sr-amber-bright);
    padding-right: 2px;
}

.sr-hero-sub {
    margin: 4px 0 0;
    font-size: 12.5px;
    color: var(--sr-muted);
    letter-spacing: -0.005em;
}

.sr-hero-hint {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--sr-muted);
    letter-spacing: 0.03em;
    white-space: nowrap;
}

.sr-keycap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--sr-text-soft);
    font-size: 10px;
}

/* ==========================================================================
   3. Gallery Wall Viewport & Camera-Zoomable 2-Row × 5-Column Rail (Desktop)
   ========================================================================== */
.sr-wall-viewport {
    position: relative;
    flex: 1;
    min-height: 0;
    width: 100%;
    overflow: visible;
    cursor: grab;
    display: flex;
    align-items: center;
    transition: opacity 0.24s ease;
}

.sr-wall-viewport.is-dragging {
    cursor: grabbing;
}

.sr-wall-viewport.is-filtering {
    opacity: 0;
}

.sr-wall-rail {
    position: relative;
    transform-origin: 0 0;
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    grid-auto-flow: column;
    /* 5 frames visible across viewport on desktop */
    grid-auto-columns: clamp(205px, calc((100vw - 84px) / 5), 330px);
    gap: 10px 14px;
    width: max-content;
    flex-shrink: 0;
    height: 100%;
    max-height: 650px;
    padding: 8px 36px 12px;
}

/* Individual Gallery Slot */
.sr-slot {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 8px 26px;
    min-height: 0;
    opacity: 0;
    transform: translate3d(0, 18px, 0);
    animation: srSlotEnter 0.65s var(--sr-ease-out) forwards;
    animation-delay: var(--sr-stagger, 0ms);
    transition: opacity 0.55s ease;
}

@keyframes srSlotEnter {
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.sr-slot.is-entered,
.sr-slot.is-focused {
    opacity: 1;
    transform: none;
    animation: none;
}

.sr-app.is-zoomed .sr-slot:not(.is-focused) {
    opacity: 0.22;
}

.sr-app.is-zoomed .sr-slot.is-focused {
    z-index: 8;
    opacity: 1;
}

.sr-app.is-zoomed .sr-slot.is-focused .sr-caption {
    opacity: 0 !important;
    transform: translate3d(0, 4px, 0);
}

.sr-app.is-zoomed .sr-slot.is-focused .sr-spotlight {
    opacity: 1;
    transform: translateX(-50%) scaleX(1.16);
}

.sr-app.is-zoomed .sr-slot.is-focused .sr-ledge::before {
    opacity: 0.95;
    box-shadow: 0 3px 20px 5px rgba(255, 122, 47, 0.8);
}

/* Overhead Museum Spotlight Cone */
.sr-spotlight {
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 170px;
    height: 88%;
    pointer-events: none;
    background: radial-gradient(ellipse 52% 68% at 50% 6%, rgba(255, 196, 150, 0.16) 0%, rgba(255, 122, 47, 0.05) 45%, transparent 78%);
    opacity: 0.72;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.sr-spotlight::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 3px;
    border-radius: 99px;
    background: rgba(255, 214, 180, 0.55);
    box-shadow: 0 0 12px rgba(255, 150, 82, 0.7);
}

/* Clickable Frame Link / Button */
.sr-card {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    min-height: 0;
    text-decoration: none;
    color: inherit;
    user-select: none;
    -webkit-user-drag: none;
    touch-action: manipulation;
}

/* Physical Wooden / Matte Gallery Frame */
.sr-frame-box {
    position: relative;
    max-height: calc(100% - 14px);
    width: auto;
    max-width: 82%;
    padding: 6px;
    border-radius: 2px;
    background: linear-gradient(145deg, #24201e 0%, #110f0e 55%, #090808 100%);
    box-shadow:
        0 16px 28px -8px rgba(0, 0, 0, 0.85),
        0 4px 10px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    transition: transform 0.38s var(--sr-ease-out), box-shadow 0.38s var(--sr-ease-out);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Subtle Frame Finish Variations */
.sr-finish-walnut {
    background: linear-gradient(145deg, #3a271c 0%, #1f140e 60%, #120b08 100%);
}
.sr-finish-espresso {
    background: linear-gradient(145deg, #2d221c 0%, #17110e 60%, #0d0908 100%);
}
.sr-finish-charcoal {
    background: linear-gradient(145deg, #2a2928 0%, #151414 60%, #0b0a0a 100%);
}

/* Natural Gallery Aspect Ratios */
.sr-aspect-2-3 { --sr-ar: 2 / 3; aspect-ratio: 2 / 3; height: 92%; }
.sr-aspect-3-4 { --sr-ar: 3 / 4; aspect-ratio: 3 / 4; height: 86%; }
.sr-aspect-4-5 { --sr-ar: 4 / 5; aspect-ratio: 4 / 5; height: 82%; }

/* Archival Inner Museum Mat */
.sr-frame-mat {
    width: 100%;
    height: 100%;
    padding: 6px;
    background: #efeae2;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.35);
    display: flex;
    overflow: hidden;
}

.sr-frame-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #1b1817;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

/* Floating Glass Ledge + Warm Amber LED Glow + Floor Reflection */
.sr-ledge {
    position: relative;
    width: 76%;
    height: 3px;
    margin-top: 8px;
    border-radius: 99px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.26) 50%, rgba(255, 255, 255, 0.03) 100%);
    flex-shrink: 0;
}

/* Warm Amber LED Underglow (#ff7a2f) */
.sr-ledge::before {
    content: '';
    position: absolute;
    left: 12%;
    right: 12%;
    top: 1px;
    height: 3px;
    border-radius: 99px;
    background: var(--sr-amber);
    opacity: 0.42;
    filter: blur(2px);
    box-shadow: 0 3px 14px 2px rgba(255, 122, 47, 0.45);
    transition: opacity 0.32s ease, transform 0.32s ease, box-shadow 0.32s ease;
}

/* Ambient Light Spill / Glossy Floor Reflection Line Beneath Ledge */
.sr-ledge::after {
    content: '';
    position: absolute;
    left: 4%;
    right: 4%;
    top: 3px;
    height: 18px;
    background: radial-gradient(ellipse 65% 100% at 50% 0%, rgba(255, 122, 47, 0.24) 0%, transparent 80%);
    opacity: 0.55;
    pointer-events: none;
    transition: opacity 0.32s ease, transform 0.32s ease;
}

/* Tiny Label Under Frame (Fades in on Hover on Desktop, Always Visible on Mobile) */
.sr-caption {
    position: absolute;
    bottom: 2px;
    left: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 11px;
    line-height: 1.2;
    opacity: 0;
    transform: translate3d(0, 4px, 0);
    transition: opacity 0.26s ease, transform 0.26s var(--sr-ease-out);
    pointer-events: none;
}

.sr-caption-title {
    color: var(--sr-ivory);
    font-weight: 500;
    max-width: 145px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sr-caption-price {
    color: var(--sr-amber-bright);
    font-weight: 700;
    flex-shrink: 0;
}

/* Hover & Keyboard Focus States on Desktop Wall (Active Only When Not Zoomed In) */
@media (hover: hover) and (min-width: 769px) {
    .sr-app:not(.is-zoomed) .sr-slot:hover .sr-frame-box,
    .sr-app:not(.is-zoomed) .sr-card:focus-visible .sr-frame-box {
        transform: translate3d(0, -6px, 0) scale(1.04);
        box-shadow:
            0 22px 36px -8px rgba(0, 0, 0, 0.92),
            0 0 24px rgba(255, 122, 47, 0.16),
            inset 0 1px 0 rgba(255, 255, 255, 0.24);
    }

    .sr-app:not(.is-zoomed) .sr-slot:hover .sr-spotlight,
    .sr-app:not(.is-zoomed) .sr-card:focus-visible ~ .sr-spotlight {
        opacity: 1;
        transform: translateX(-50%) scaleX(1.12);
    }

    .sr-app:not(.is-zoomed) .sr-slot:hover .sr-ledge::before,
    .sr-app:not(.is-zoomed) .sr-card:focus-visible .sr-ledge::before {
        opacity: 1;
        transform: scaleX(1.15);
        box-shadow: 0 3px 20px 5px rgba(255, 122, 47, 0.85);
    }

    .sr-app:not(.is-zoomed) .sr-slot:hover .sr-ledge::after,
    .sr-app:not(.is-zoomed) .sr-card:focus-visible .sr-ledge::after {
        opacity: 1;
        transform: scaleY(1.25);
    }

    .sr-app:not(.is-zoomed) .sr-slot:hover .sr-caption,
    .sr-app:not(.is-zoomed) .sr-card:focus-visible .sr-caption {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* End-of-rail Loading Indicator */
.sr-rail-loader {
    grid-row: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    color: var(--sr-muted);
    font-size: 11.5px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sr-rail-loader[hidden] {
    display: none;
}

/* ==========================================================================
   4. Minimal Category Filter Bar Below the Wall
   ========================================================================== */
.sr-filter-bar {
    flex-shrink: 0;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
    padding: 6px 24px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: opacity 0.45s ease, transform 0.55s var(--sr-ease-flip);
}

.sr-app.is-zoomed .sr-filter-bar {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    pointer-events: none;
}

.sr-categories {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 2px 0;
}

.sr-categories::-webkit-scrollbar {
    display: none;
}

.sr-cat-btn {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.025);
    color: var(--sr-muted);
    font-family: var(--sr-font-sans);
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 7px 14px;
    min-height: 34px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.sr-cat-btn:hover {
    color: var(--sr-ivory);
    border-color: rgba(255, 255, 255, 0.2);
}

.sr-cat-btn.is-active {
    color: #110c09;
    background: var(--sr-ivory);
    border-color: var(--sr-ivory);
    font-weight: 700;
    box-shadow: 0 0 18px rgba(255, 122, 47, 0.28);
}

.sr-wall-status {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    color: var(--sr-muted);
    white-space: nowrap;
    flex-shrink: 0;
}

.sr-scroll-arrows {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.sr-mini-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--sr-border-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--sr-text-soft);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.sr-mini-arrow:hover {
    background: rgba(255, 122, 47, 0.16);
    border-color: var(--sr-amber);
    color: var(--sr-ivory);
}

/* ==========================================================================
   5. Cinematic Camera-Zoom HUD Overlay (Transparent Center Lens Vignette)
   ========================================================================== */
.sr-backdrop {
    position: fixed;
    inset: 80px 0 0 0;
    z-index: 40;
    background: radial-gradient(
        ellipse 26% 42% at 50% 48%,
        rgba(10, 9, 9, 0) 0%,
        rgba(10, 9, 9, 0.04) 56%,
        rgba(9, 8, 8, 0.80) 88%,
        rgba(7, 6, 6, 0.93) 100%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.65s var(--sr-ease-flip);
}

.sr-app.is-zoomed .sr-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.sr-stage {
    position: fixed;
    inset: 80px 0 0 0;
    z-index: 50;
    pointer-events: none;
    visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.sr-app.is-zoomed .sr-stage {
    pointer-events: auto;
    visibility: visible;
}

/* Stage Overhead Dramatic Spotlight Beam */
.sr-stage-beam {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: min(560px, 65vw);
    height: 85%;
    pointer-events: none;
    background: radial-gradient(ellipse 48% 72% at 50% 4%, rgba(255, 196, 148, 0.16) 0%, rgba(255, 122, 47, 0.05) 48%, transparent 78%);
    opacity: 0;
    transition: opacity 0.7s ease;
}

.sr-app.is-zoomed .sr-stage-beam {
    opacity: 1;
}

/* Desktop 3-Zone Stage Grid */
.sr-stage-grid {
    position: relative;
    z-index: 4;
    flex: 1;
    min-height: 0;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 20px 64px 8px;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) minmax(280px, 430px) minmax(270px, 1fr);
    align-items: center;
    gap: 28px;
}

.sr-app.is-animating .sr-stage-grid {
    z-index: 25;
}

/* Staggered UI Fade Panels (Left, Right, Bottom — Desktop & Mobile) */
.sr-fade-panel {
    opacity: 0;
    transform: translate3d(0, 14px, 0);
    transition: opacity 0.22s ease, transform 0.28s var(--sr-ease-out);
}

.sr-app.is-zoomed.is-ui-ready .sr-fade-left {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.4s ease 0.08s, transform 0.48s var(--sr-ease-out) 0.08s;
}

.sr-app.is-zoomed.is-ui-ready .sr-fade-right {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.4s ease 0.16s, transform 0.48s var(--sr-ease-out) 0.16s;
}

.sr-app.is-zoomed.is-ui-ready .sr-fade-bottom {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 0.4s ease 0.22s, transform 0.48s var(--sr-ease-out) 0.22s;
}

/* Left Column: Breadcrumb + Huge Bold Product Title + Editorial Summary */
.sr-stage-left {
    align-self: start;
    padding-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sr-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.13em;
    color: var(--sr-amber-bright);
}

.sr-breadcrumb-sep {
    color: rgba(255, 255, 255, 0.28);
}

.sr-stage-title {
    margin: 0;
    font-size: clamp(1.45rem, 2.35vw, 2.55rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.032em;
    color: var(--sr-ivory);
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sr-stage-desc {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--sr-text-soft);
    max-width: 36ch;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sr-detail-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    width: fit-content;
    color: var(--sr-ivory);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    padding-bottom: 3px;
    border-bottom: 1px solid rgba(255, 122, 47, 0.55);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.sr-detail-link:hover {
    color: var(--sr-amber-bright);
    border-color: var(--sr-amber-bright);
}

/* Center Stage Viewfinder Window (The Real Wall Frame Zooms Into This Target) */
.sr-stage-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 0;
    pointer-events: none;
}

.sr-camera-target {
    width: min(32vw, 375px);
    height: min(56vh, 475px);
    pointer-events: none;
}

/* Right Column: Price, Discount, Stars, Chips, Ratio Selector, Add to Cart, Buy Now */
.sr-stage-right {
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 360px;
    width: 100%;
    margin-left: auto;
}

.sr-price-header {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 6px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--sr-border);
}

.sr-price-row {
    display: flex;
    align-items: baseline;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.sr-price-current {
    font-size: clamp(1.7rem, 2.3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--sr-ivory);
}

.sr-price-old {
    font-size: 14px;
    color: var(--sr-muted);
    text-decoration: line-through;
}

.sr-discount-badge {
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 122, 47, 0.18);
    color: var(--sr-amber-bright);
    border: 1px solid rgba(255, 122, 47, 0.42);
}

.sr-rating-row {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--sr-text-soft);
}

.sr-stars {
    color: var(--sr-amber-bright);
    letter-spacing: 1px;
    font-size: 12.5px;
}

/* Spec Chips */
.sr-spec-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sr-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--sr-border);
    font-size: 11px;
    font-weight: 500;
    color: var(--sr-text-soft);
}

.sr-chip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--sr-amber);
}

/* Ratio / Size Selector */
.sr-ratio-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sr-ratio-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--sr-muted);
}

.sr-ratio-included {
    color: var(--sr-amber-bright);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}

.sr-ratio-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.sr-ratio-btn {
    appearance: none;
    padding: 7px 11px;
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid var(--sr-border-strong);
    background: rgba(255, 255, 255, 0.03);
    color: var(--sr-text-soft);
    font-family: var(--sr-font-sans);
    font-size: 11.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.18s ease;
}

.sr-ratio-btn:hover {
    border-color: rgba(255, 122, 47, 0.5);
    color: var(--sr-ivory);
}

.sr-ratio-btn.is-selected {
    background: rgba(255, 122, 47, 0.16);
    border-color: var(--sr-amber);
    color: var(--sr-ivory);
    font-weight: 600;
    box-shadow: 0 0 14px rgba(255, 122, 47, 0.2);
}

.sr-ratio-detail {
    margin: 0;
    font-size: 11.5px;
    line-height: 1.4;
    color: var(--sr-muted);
    min-height: 16px;
}

/* Purchase Actions */
.sr-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 2px;
}

.sr-btn-atc {
    appearance: none;
    width: 100%;
    min-height: 50px;
    padding: 12px 22px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff853d 0%, #ff6517 100%);
    color: #110905;
    font-family: var(--sr-font-sans);
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    box-shadow: 0 10px 28px -6px rgba(255, 122, 47, 0.55);
    transition: transform 0.2s var(--sr-ease-out), box-shadow 0.2s ease, filter 0.2s ease;
}

.sr-btn-atc:hover {
    transform: translate3d(0, -1px, 0);
    box-shadow: 0 14px 34px -4px rgba(255, 122, 47, 0.72);
    filter: brightness(1.05);
}

.sr-btn-atc:active {
    transform: scale(0.985);
}

.sr-btn-atc.is-success {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    box-shadow: 0 10px 28px -6px rgba(16, 185, 129, 0.5);
}

.sr-secondary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.sr-buynow-form {
    flex: 1;
    margin: 0;
}

.sr-btn-buynow {
    appearance: none;
    width: 100%;
    min-height: 42px;
    padding: 9px 16px;
    border-radius: 999px;
    border: 1px solid var(--sr-border-strong);
    background: rgba(255, 255, 255, 0.04);
    color: var(--sr-ivory);
    font-family: var(--sr-font-sans);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sr-btn-buynow:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Stage Bottom Controls (Prev / Back to Wall / Next) */
.sr-stage-bottom {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1520px;
    margin: 0 auto;
    padding: 6px 64px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.sr-nav-arrow {
    appearance: none;
    min-height: 42px;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--sr-border-strong);
    background: rgba(18, 16, 15, 0.75);
    color: var(--sr-text-soft);
    font-family: var(--sr-font-sans);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sr-nav-arrow:hover:not(:disabled) {
    color: var(--sr-ivory);
    border-color: var(--sr-amber);
    background: rgba(255, 122, 47, 0.14);
}

.sr-nav-arrow:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.sr-back-wall-btn {
    appearance: none;
    min-height: 42px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(24, 21, 20, 0.88);
    color: var(--sr-ivory);
    font-family: var(--sr-font-sans);
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sr-back-wall-btn:hover {
    border-color: var(--sr-amber);
    background: rgba(255, 122, 47, 0.16);
}

/* Mobile Top Bar Inside Stage (Hidden on Desktop) */
.sr-stage-mobile-top,
.sr-stage-mobile-sticky {
    display: none;
}

/* ==========================================================================
   6. Toast Notification (Add to Cart Feedback)
   ========================================================================== */
.sr-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 120;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 14px;
    background: rgba(20, 18, 17, 0.95);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 122, 47, 0.45);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.75);
    color: var(--sr-ivory);
    font-size: 12.5px;
    font-weight: 500;
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.32s var(--sr-ease-out);
}

.sr-toast.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
}

.sr-toast-link {
    color: var(--sr-amber-bright);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.sr-toast-link:hover {
    text-decoration: underline;
}

/* ==========================================================================
   7. Tablet Compact Adjustment (769px – 1120px)
   ========================================================================== */
@media (min-width: 769px) and (max-width: 1120px) {
    .sr-stage-grid {
        padding: 16px 28px 8px;
        grid-template-columns: minmax(200px, 1fr) minmax(220px, 320px) minmax(230px, 1fr);
        gap: 18px;
    }
    .sr-stage-bottom {
        padding: 6px 28px 16px;
    }
    .sr-peek {
        display: none;
    }
}

/* ==========================================================================
   8. Mobile Excellence (<= 768px, verified at 390px viewport)
   ========================================================================== */
@media (max-width: 768px) {
    .sr-topbar {
        height: 54px;
        padding: 0 12px;
        gap: 6px;
    }

    .sr-brand {
        gap: 7px;
    }

    .sr-brand-name {
        font-size: 12.5px;
    }

    .sr-brand-tag {
        display: none;
    }

    .sr-nav {
        gap: 10px;
    }

    .sr-nav-link {
        font-size: 10.5px;
        padding: 10px 2px;
    }

    .sr-nav-link.sr-hide-sm {
        display: none;
    }

    .sr-cart-pill {
        min-height: 44px;
        padding: 8px 12px;
        font-size: 11.5px;
    }

    .sr-main {
        display: flex;
        flex-direction: column;
    }

    .sr-hero {
        padding: 18px 16px 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sr-hero-title {
        font-size: 1.85rem;
    }

    .sr-hero-hint {
        display: none;
    }

    /* Move Category Filter Above Mobile Grid for Thumb Reach */
    .sr-filter-bar {
        order: 2;
        position: sticky;
        top: 82px;
        z-index: 30;
        padding: 10px 14px;
        background: rgba(10, 9, 9, 0.88);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .sr-cat-btn {
        min-height: 44px;
        padding: 10px 16px;
        font-size: 12px;
    }

    .sr-wall-status {
        display: none;
    }

    /* 2-Column Vertical Museum Grid */
    .sr-wall-viewport {
        order: 3;
        overflow: visible;
        cursor: default;
        display: block;
    }

    .sr-wall-rail {
        display: grid;
        width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-flow: row;
        grid-auto-columns: unset;
        gap: 18px 12px;
        height: auto;
        max-height: none;
        padding: 16px 14px 72px;
    }

    .sr-slot {
        padding: 16px 4px 8px;
        justify-content: flex-start;
    }

    .sr-spotlight {
        width: 135px;
        height: 76%;
        opacity: 0.85;
    }

    .sr-card {
        height: auto;
    }

    .sr-frame-box {
        display: block;
        width: 88%;
        max-width: 168px;
        height: auto !important;
        max-height: none;
        aspect-ratio: auto !important;
        padding: 5px;
    }

    .sr-frame-mat {
        display: block;
        width: 100%;
        height: auto;
        padding: 5px;
    }

    .sr-frame-img {
        display: block;
        width: 100%;
        height: auto;
        aspect-ratio: var(--sr-ar, 3 / 4);
        object-fit: cover;
    }

    .sr-ledge {
        width: 84%;
        margin-top: 9px;
    }

    /* Always visible title & price on mobile (zero hover dependency) */
    .sr-caption {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 10px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 3px;
        width: 100%;
        padding: 0 2px;
    }

    .sr-caption-title {
        max-width: 100%;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        font-size: 11.5px;
        line-height: 1.3;
    }

    .sr-caption-price {
        font-size: 12px;
    }

    .sr-rail-loader {
        grid-column: 1 / -1;
        padding: 18px;
    }

    /* Full-Screen Camera-Zoomed HUD on Mobile (Clear Lens Window Over Upper-Center Wall Artwork) */
    .sr-backdrop {
        inset: 0;
        z-index: 90;
        background:
            radial-gradient(ellipse 70% 29% at 50% 25%, rgba(10, 9, 9, 0) 0%, rgba(10, 9, 9, 0.04) 64%, rgba(9, 8, 8, 0.85) 100%),
            linear-gradient(180deg, rgba(8, 7, 7, 0.25) 0%, rgba(8, 7, 7, 0) 12%, rgba(8, 7, 7, 0) 44.5%, rgba(9, 8, 8, 0.90) 53.5%, rgba(8, 7, 7, 0.97) 70%);
    }

    .sr-stage {
        inset: 0;
        z-index: 95;
        background: transparent;
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
        justify-content: flex-start;
    }

    .sr-stage-bottom {
        display: none !important;
    }

    .sr-stage-mobile-top {
        position: sticky;
        top: 0;
        z-index: 15;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 12px;
        background: rgba(12, 11, 10, 0.86);
        backdrop-filter: blur(14px);
        -webkit-backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--sr-border);
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, -10px, 0);
        transition: opacity 0.22s ease, transform 0.28s var(--sr-ease-out);
    }

    .sr-app.is-zoomed.is-ui-ready .sr-stage-mobile-top {
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
        transition: opacity 0.36s ease 0.04s, transform 0.44s var(--sr-ease-out) 0.04s;
    }

    .sr-mob-icon-btn {
        appearance: none;
        min-width: 44px;
        min-height: 44px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid var(--sr-border-strong);
        background: rgba(255, 255, 255, 0.04);
        color: var(--sr-ivory);
        font-family: var(--sr-font-sans);
        font-size: 12.5px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
        touch-action: manipulation;
    }

    .sr-mob-nav-pair {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .sr-stage-grid {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        padding: 8px 16px 0;
        gap: 0;
        flex: none;
    }

    /* Order on Mobile: 1) Clear Camera Viewfinder Window on top, 2) Title, 3) Price/Ratios/Details */
    .sr-stage-center {
        order: 1;
        height: auto;
        flex: none;
        padding: 6px 0 10px;
    }

    .sr-camera-target {
        width: min(72vw, 285px);
        height: min(35vh, 302px);
    }

    .sr-stage-left {
        order: 2;
        margin: 0 -16px;
        padding: 16px 16px 10px;
        gap: 8px;
        background: linear-gradient(180deg, rgba(9, 8, 8, 0) 0%, rgba(9, 8, 8, 0.88) 26px, rgba(8, 7, 7, 0.96) 100%);
    }

    .sr-stage-title {
        font-size: 1.38rem;
        -webkit-line-clamp: 3;
    }

    .sr-stage-right {
        order: 3;
        max-width: none;
        width: calc(100% + 32px);
        margin: 0 -16px;
        padding: 6px 16px 115px;
        gap: 14px;
        background: rgba(8, 7, 7, 0.96);
    }

    .sr-price-header {
        align-items: flex-start;
        text-align: left;
    }

    .sr-price-row {
        justify-content: flex-start;
    }

    .sr-ratio-btn {
        min-height: 44px;
        padding: 9px 13px;
        font-size: 12px;
        touch-action: manipulation;
    }

    /* Hide inline Add-to-Cart on mobile in favor of sticky bottom bar */
    .sr-actions .sr-btn-atc {
        display: none;
    }

    .sr-btn-buynow {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .sr-detail-link {
        min-height: 44px;
        padding: 8px 0;
        border-bottom: none;
        text-decoration: underline;
        text-decoration-color: rgba(255, 122, 47, 0.65);
        text-underline-offset: 5px;
    }

    /* Sticky Bottom Add-to-Cart Bar on Mobile */
    .sr-stage-mobile-sticky {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 105;
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 10px 16px max(12px, env(safe-area-inset-bottom));
        background: rgba(14, 12, 11, 0.94);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        opacity: 0;
        pointer-events: none;
        transform: translate3d(0, 100%, 0);
        transition: opacity 0.22s ease, transform 0.28s var(--sr-ease-out);
    }

    .sr-app.is-zoomed.is-ui-ready .sr-stage-mobile-sticky {
        opacity: 1;
        pointer-events: auto;
        transform: translate3d(0, 0, 0);
        transition: opacity 0.36s ease 0.22s, transform 0.44s var(--sr-ease-out) 0.22s;
    }

    .sr-mob-sticky-price {
        display: flex;
        flex-direction: column;
        flex-shrink: 0;
    }

    .sr-mob-sticky-price strong {
        font-size: 17px;
        font-weight: 700;
        color: var(--sr-ivory);
        line-height: 1.1;
    }

    .sr-mob-sticky-price span {
        font-size: 10.5px;
        color: var(--sr-amber-bright);
    }

    .sr-stage-mobile-sticky .sr-btn-atc {
        flex: 1;
        min-height: 48px;
    }

    .sr-toast {
        left: 14px;
        right: 14px;
        bottom: 84px;
        justify-content: space-between;
    }
}

/* ==========================================================================
   9. Accessibility: Reduced Motion Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .sr-ticker-track {
        animation: none !important;
    }
    .sr-slot {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .sr-main,
    .sr-backdrop,
    .sr-stage,
    .sr-fade-panel,
    .sr-frame-box,
    .sr-stage-tilt,
    .sr-toast {
        transition-duration: 0.12s !important;
        transition-delay: 0s !important;
    }
    .sr-app.is-zoomed .sr-main {
        transform: none !important;
    }
}
