/* ==========================================================================
   LHDSR SHOP - DESIGN SYSTEM (STREET / MINIMAL / CLEAN ROOM)
   ========================================================================== */

:root {
    /* SILVER/LIGHT THEME (Default) */
    --shop-bg: #e2e8f0; 
    --shop-surface: #f8fafc; 
    --shop-accent: #ff3300; 
    --shop-text-main: #0f172a;
    --shop-text-muted: #475569;
    --shop-border: #94a3b8;
    --shop-backdrop-center: #ffffff;
    --shop-backdrop-mid: #f4f4f4;
    --shop-backdrop-edge: #e6e6e6;
}

body.theme-dark {
    /* DARK THEME (TITANIUM MATTE, ZERO PURE BLACK) */
    --shop-bg: #1a1b1e;
    --shop-surface: #22242a;
    --shop-accent: #ff3300;
    --shop-text-main: #e2e8f0;
    --shop-text-muted: #848b98;
    --shop-border: #383b45;
    --shop-backdrop-center: #2d3039;
    --shop-backdrop-mid: #22242a;
    --shop-backdrop-edge: #1a1b1e;
}

body.theme-dark .shop-logo { filter: invert(0); }
body:not(.theme-dark) .shop-logo { filter: invert(1); }

.shop-body {
    background-color: var(--shop-bg);
    color: var(--shop-text-main);
    overflow-x: hidden;
    overflow-y: auto;
    font-family: 'Inter', sans-serif;
}

/* --- EDITORIAL OVERSIZED WATERMARK (REF 3 / REF 2) --- */
.shop-body::before {
    content: 'LHDSR';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 30vw;
    color: transparent;
    -webkit-text-stroke: 2px rgba(17, 17, 17, 0.05); /* Outline only */
    z-index: -1;
    pointer-events: none;
    letter-spacing: -1vw;
}

/* --- ALGORITHMIC STUDIO BACKDROP --- */
.studio-backdrop {
    background: radial-gradient(circle at 50% 40%, var(--shop-backdrop-center) 0%, var(--shop-backdrop-mid) 50%, var(--shop-backdrop-edge) 100%);
    box-shadow: inset 0 0 60px rgba(0,0,0,0.1);
    position: relative;
}
.studio-backdrop::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: multiply;
    z-index: 1;
}

/* Hard reset sur le wrapper pour correspondre au design streetwear */
.shop-body .cyber-shell { 
    background: none; 
    height: auto; 
    min-height: 100vh; 
    overflow: visible; 
    display: block; 
}
.noise-overlay { 
    opacity: 0.02; 
    mix-blend-mode: multiply; 
    position: fixed; /* Fixe le grain pour le scroll */
}
.scan-line { display: none; }

.shop-main-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px 100px 40px;
    position: relative;
    z-index: 10;
}

/* --- HEADER MINIMALISTE (UTILITAIRE & TACTIQUE) --- */
.shop-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 0 20px 0;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--shop-border);
}

.shop-logo-zone {
    display: flex;
    align-items: center;
    gap: 20px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.shop-logo-zone:hover {
    opacity: 0.6;
}

.shop-logo {
    width: 32px;
    height: 32px;
}

.shop-title-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.shop-title-group h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: 2px;
    margin: 0;
    color: var(--shop-text-main);
    text-transform: uppercase;
}

.shop-subtitle {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    font-weight: 700;
    color: var(--shop-text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
    border: 1px solid var(--shop-border);
    padding: 4px 8px;
    border-radius: 2px;
    background: transparent;
}

.shop-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-tech {
    background: transparent;
    border: 1px solid var(--shop-border);
    color: var(--shop-text-main);
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 8px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 2px;
    text-transform: uppercase;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-tech:hover {
    background: var(--shop-text-main);
    color: var(--shop-surface);
    border-color: var(--shop-text-main);
}

.btn-icon {
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
}

.cart-badge {
    background: var(--shop-accent);
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 900;
    transition: background 0.3s, color 0.3s;
}

.btn-tech:hover .cart-badge {
    background: var(--shop-surface);
    color: var(--shop-text-main);
}

/* --- TACTICAL CREED MATRIX --- */
.shop-creed-matrix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 50px;
    border-top: 1px solid var(--shop-border);
    border-bottom: 1px solid var(--shop-border);
    background: transparent;
}

.creed-node {
    display: flex;
    align-items: center;
    padding: 20px 30px;
    border-right: 1px solid var(--shop-border);
}

.creed-node:last-child {
    border-right: none;
}

.node-id {
    font-family: 'Orbitron', sans-serif;
    font-size: 10px;
    font-weight: 900;
    color: var(--shop-text-muted);
    margin-right: 15px;
    opacity: 0.5;
}

.node-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--shop-text-main);
    letter-spacing: 1px;
}

.creed-node.highlight .node-id,
.creed-node.highlight .node-text {
    color: var(--shop-accent);
    opacity: 1;
}

@media (max-width: 768px) {
    .shop-creed-matrix {
        grid-template-columns: 1fr;
        border-bottom: none;
    }
    .creed-node {
        border-right: none;
        border-bottom: 1px solid var(--shop-border);
        padding: 15px 20px;
    }
}

/* --- FAQ ZONE (OPERATIONAL PROTOCOL) --- */
.shop-faq-zone {
    margin-top: 60px;
    border-top: 2px solid var(--shop-border);
    padding-top: 40px;
}

.faq-main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 900;
    color: var(--shop-text-main);
    letter-spacing: 2px;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.faq-item {
    border-bottom: 1px solid var(--shop-border);
    margin-bottom: 0;
}

.faq-question {
    font-family: 'Roboto Mono', monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--shop-text-main);
    padding: 20px 0;
    cursor: pointer;
    list-style: none; /* Masque la flèche native */
    position: relative;
    padding-right: 30px;
    transition: color 0.3s;
}

.faq-question::-webkit-details-marker {
    display: none; /* Masque la flèche native Webkit */
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--shop-accent);
    font-family: 'Inter', sans-serif;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item[open] .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-question:hover {
    color: var(--shop-accent);
}

.faq-answer {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: var(--shop-text-muted);
    line-height: 1.6;
    padding-bottom: 25px;
    animation: fadeInDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- FOOTER SUBLIME LHDSR --- */
.shop-footer {
    background: var(--shop-surface);
    color: var(--shop-text-main);
    padding: 60px 40px 20px 40px;
    border-top: 2px solid var(--shop-border);
    font-family: 'Inter', sans-serif;
    margin-top: auto;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--shop-border);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    width: 40px;
    height: 40px;
}

.footer-credo {
    font-family: 'Roboto Mono', monospace;
    font-size: 10px;
    color: #888;
    letter-spacing: 2px;
}

.footer-social-grid {
    display: flex;
    gap: 60px;
}

.social-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.social-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 14px;
    color: var(--shop-text-main);
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: #666;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: var(--shop-accent);
    transform: translateY(-3px);
}

.footer-legal {
    max-width: 1600px;
    margin: 20px auto 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Roboto Mono', monospace;
    font-size: 11px;
    color: var(--shop-text-muted);
}

.footer-legal-links {
    display: flex;
    gap: 30px;
}

.footer-legal-links a {
    color: var(--shop-text-main);
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 1px;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--shop-text-muted);
    transition: all 0.2s ease;
}

.footer-legal-links a:hover {
    color: var(--shop-accent);
    border-bottom-color: var(--shop-accent);
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    .footer-social-grid {
        flex-direction: column;
        gap: 30px;
    }
}

/* --- COUNTDOWN (TIMER) --- */
.shop-timer-zone {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--shop-surface);
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.timer-label {
    font-family: 'Roboto Mono', monospace;
    color: var(--shop-text-muted);
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.timer-digits {
    font-family: 'Orbitron', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: var(--shop-accent);
    letter-spacing: 2px;
}

/* --- ADAPTIVE HERO & GRID --- */
.shop-hero-zone {
    margin-bottom: 30px;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 0;
    border: 2px solid var(--shop-border);
    border-right: none;
    border-bottom: none;
}

/* --- PRODUCT CARD (BRUTALIST TALL CARDS REF 2) --- */
.shop-card {
    background: var(--shop-surface);
    display: flex;
    flex-direction: column;
    position: relative;
    cursor: pointer;
    border-right: 2px solid var(--shop-border);
    border-bottom: 2px solid var(--shop-border);
    overflow: hidden;
    transition: background 0.3s;
}

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

/* Hero Variant (SPLIT LAYOUT WITH VERTICAL SLIDER) */
.shop-hero-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--shop-bg); /* Blend with background */
    border: 2px solid var(--shop-border);
    min-height: 70vh;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-card:hover {
    background: var(--shop-text-main);
}
.shop-card:hover .shop-card-title,
.shop-card:hover .shop-card-price {
    color: var(--shop-surface);
}

.shop-card-image-box {
    width: 100%;
    aspect-ratio: 3/4;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--shop-border);
}

/* BOUTON LOCK / COMPTE A REBOURS INTEGRE */
.btn-locked-timer {
    position: relative;
    overflow: hidden;
    background: var(--shop-surface) !important;
    border-color: var(--shop-border) !important;
    color: var(--shop-text-main) !important;
    z-index: 1;
}
.btn-locked-timer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: var(--time-left-pct, 100%);
    background: rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    z-index: -1;
        transition: width 1s linear;
    }

.shop-card-image-box.studio-backdrop img {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.15));
}

.shop-hero-card .shop-card-image-box {
    border-bottom: none;
    border-left: 2px solid var(--shop-border);
    height: 100%;
    position: relative;
}

/* --- HERO NAV INDICATORS --- */
.hero-nav-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    opacity: 0.4;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(4px);
}
.hero-nav-indicator:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.8);
    border-color: var(--shop-accent);
    box-shadow: 0 0 15px rgba(255, 51, 0, 0.3);
    transform: translateY(-50%) scale(1.1);
}

@keyframes arrow-pulse-glow {
    0% { box-shadow: 0 0 0px transparent; border-color: rgba(255, 255, 255, 0.1); }
    5% { box-shadow: 0 0 20px var(--shop-accent); border-color: var(--shop-accent); }
    100% { box-shadow: 0 0 0px transparent; border-color: rgba(255, 255, 255, 0.1); }
}

.hero-nav-indicator:not(.hidden-indicator) {
    animation: arrow-pulse-glow 3.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
.hero-nav-indicator.hidden-indicator {
    opacity: 0;
    pointer-events: none;
}
.hero-nav-left { left: 20px; }
.hero-nav-right { right: 20px; }

/* --- HERO SWIPE TRACK (MOBILE & DESKTOP) --- */
.hero-swipe-track {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
    cursor: grab;
}
.hero-swipe-track:active {
    cursor: grabbing;
}
.h-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* --- VERTICAL SLIDER CORE --- */
.hero-vertical-slider {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; /* Firefox */
    position: relative;
}
.hero-vertical-slider::-webkit-scrollbar { display: none; }

.v-slide {
    height: 100%;
    width: 100%;
    scroll-snap-align: start;
    flex-shrink: 0;
}

.v-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Scroll Progress Indicator */
.hero-slider-progress {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    border: 1px solid var(--shop-border);
    transition: all 0.3s;
}
.slider-dot.active {
    background: var(--shop-accent);
    border-color: var(--shop-accent);
    transform: scale(1.3);
}

.shop-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.shop-badge-soldout {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--shop-accent);
    color: #fff;
    padding: 8px 15px;
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 2px;
    z-index: 10;
    border: 2px solid var(--shop-border);
}

.shop-card-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-info-pane {
    padding: 60px;
    position: relative;
}

.hero-pagination-container {
    position: absolute;
    top: 30px;
    left: 60px;
    display: flex;
    gap: 5px;
}

.hero-page-dash {
    width: 30px;
    height: 4px;
    background: rgba(0,0,0,0.2);
    transition: background 0.3s;
}

.hero-page-dash.active {
    background: var(--shop-text-main);
}

.hero-text-content {
    margin-top: 20px;
}

.shop-card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 24px;
    margin: 0;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -1px;
    transition: opacity 0.4s ease;
}

/* EFFET PIXEL REVEAL PREMIUM */
.pixel-reveal {
    animation: pixel-decryption 0.8s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    will-change: filter, opacity, transform;
}

@keyframes pixel-decryption {
    0% { 
        filter: url(#pixelate-reveal) blur(20px);
        opacity: 0;
        transform: translateX(-10px);
    }
    30% {
        filter: blur(10px);
        opacity: 0.5;
    }
    60% {
        filter: blur(4px);
        opacity: 0.8;
    }
    100% { 
        filter: blur(0px);
        opacity: 1;
        transform: translateX(0);
    }
}

/* OVERSIZED TYPOGRAPHY EDITORIAL (Ref 3) */
.shop-hero-card .shop-card-title {
    font-size: 5vw;
    line-height: 0.85;
    letter-spacing: -3px;
    color: var(--shop-text-main);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.shop-card-price {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    font-weight: bold;
    color: var(--shop-text-muted);
}

/* --- TACTICAL TAGS & RARITY --- */
.shop-tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 25px;
}
.shop-tag {
    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
}
.shop-tag.tag-stock { background: rgba(0,0,0,0.05); color: var(--shop-text-main); border-color: #ccc; }
.shop-tag.tag-soldout { background: rgba(255,42,42,0.1); color: var(--neon-red); border-color: var(--neon-red); animation: blink 2s infinite; }
.shop-tag.tag-locked { background: rgba(0,0,0,0.1); color: #444; border-color: #aaa; border-style: dashed; }
.shop-tag.tag-sizes { background: transparent; border: 1px dashed #888; color: #666; }

/* NEW PREMIUM RARITY TAGS (ARCHIVE STYLE) */
.rarity-tag {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px 4px 8px;
    border: 1px solid rgba(90, 94, 104, 0.22);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(4px);
    font-family: "Inter", sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border-radius: 2px;
}
.rarity-1 { color: #8B9099; border-color: rgba(139, 144, 153, 0.3); } /* STANDARD */
.rarity-2 { color: #A59A84; border-color: rgba(165, 154, 132, 0.3); } /* LIMITED */
.rarity-3 { color: #70849A; border-color: rgba(112, 132, 154, 0.3); } /* RARE */
.rarity-4 { color: #6E6A8E; border-color: rgba(110, 106, 142, 0.3); } /* ULTRA RARE */
.rarity-5 { 
    color: #521F24; 
    border-color: rgba(82, 31, 36, 0.28); 
    background: linear-gradient(180deg, rgba(82, 31, 36, 0.03), rgba(0, 0, 0, 0.01)); 
} /* SECRET */

/* LIVE COUNTDOWN */
.live-countdown {
    font-family: 'Roboto Mono', monospace;
    letter-spacing: 2px;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
}
.btn-street .live-countdown { font-size: 16px; }
.shop-badge-soldout .live-countdown { font-size: 12px; }

.shop-hero-card .shop-card-price {
    font-size: 24px;
    background: var(--shop-text-main);
    color: var(--shop-surface);
    display: inline-block;
    padding: 5px 15px;
    border-radius: 2px;
}

/* --- HERO STOCK GAUGE --- */
.hero-gauge-container {
    flex: 1;
    border: 1px solid var(--shop-border);
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}
.hero-gauge-header {
    display: flex;
    justify-content: space-between;
    font-family: 'Roboto Mono', monospace;
    font-size: 9px;
    font-weight: 700;
    color: var(--shop-text-muted);
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.hero-gauge-status {
    color: var(--shop-accent);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pulse-dot {
    width: 6px;
    height: 6px;
    background: var(--shop-accent);
    border-radius: 50%;
    animation: blink 2s infinite;
}
.hero-gauge-track {
    flex: 1;
    height: 14px;
    background: repeating-linear-gradient(to right, var(--shop-border) 0, var(--shop-border) 2px, transparent 2px, transparent 4px);
    opacity: 0.2;
    position: relative;
}
.hero-gauge-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: repeating-linear-gradient(to right, var(--shop-accent) 0, var(--shop-accent) 2px, transparent 2px, transparent 4px);
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero-gauge-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 12px;
    font-weight: bold;
    color: var(--shop-accent);
    border: 1px solid var(--shop-accent);
    padding: 2px 8px;
    border-radius: 2px;
    white-space: nowrap;
}

.shop-card-action {
    margin-top: auto;
}

.btn-street {
    width: 100%;
    background: var(--shop-text-main);
    color: var(--shop-surface);
    border: 2px solid var(--shop-text-main);
    padding: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-street:hover {
    background: var(--shop-accent) !important;
    border-color: var(--shop-accent) !important;
    color: #f1f5f9 !important;
}

/* --- SPLIT VIEW MODAL (BERSHKA STYLE) --- */
.shop-focus-overlay {
    position: fixed;
    inset: 0;
    background: var(--shop-bg);
    z-index: 200000;
    display: flex;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.shop-focus-overlay:not(.hidden) {
    opacity: 1;
    pointer-events: auto;
}

.focus-layout {
    display: flex;
    width: 100%;
    height: 100%;
}

.focus-image-zone {
    flex: 2;
    height: 100vh;
    overflow: hidden; /* Blocage du scroll global pour le zoom tactile */
    background: radial-gradient(circle at 50% 25%, var(--shop-backdrop-center) 0%, var(--shop-backdrop-mid) 45%, var(--shop-backdrop-edge) 100%);
    box-shadow: inset 0 0 80px rgba(0,0,0,0.1);
    position: relative;
    cursor: crosshair; 
    /* touch-action: none; supprimé pour autoriser le défilement vertical mobile */
}
.focus-image-zone::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.08'/%3E%3C/svg%3E");
    pointer-events: none;
    mix-blend-mode: overlay;
    z-index: 1;
}

.focus-image-zone.light-backdrop {
    background: radial-gradient(circle at 50% 25%, #ffffff 0%, #e2e8f0 45%, #cbd5e1 100%);
    box-shadow: inset 0 0 80px rgba(0,0,0,0.1);
}

.focus-image-zone.light-backdrop::after {
    opacity: 0.04;
    mix-blend-mode: multiply;
}

.focus-image-draggable {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0; left: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.focus-image-zone img {
    width: 100%;
    min-height: 100vh;
    object-fit: contain; /* Contain pour ne pas couper le vêtement */
    display: block;
    transform-origin: center center;
    transition: transform 0.1s ease-out; 
}

/* Panneau d'achat flottant (Sticky) avec Slide-In */
.focus-checkout-panel {
    flex: 1;
    min-width: 400px;
    max-width: 500px;
    background: var(--shop-surface);
    box-shadow: -20px 0 50px rgba(0,0,0,0.5);
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.shop-focus-overlay:not(.hidden) .focus-checkout-panel {
    transform: translateX(0);
}

.close-focus-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #f0f0f0;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.close-focus-btn:hover {
    background: #e0e0e0;
}

/* UI D'Aide à l'achat */
.scarcity-bar {
    width: 100%;
    height: 4px;
    background: #eee;
    margin-top: 10px;
    border-radius: 2px;
    overflow: hidden;
}

.scarcity-fill {
    height: 100%;
    background: var(--shop-accent);
    width: 15%; /* Remplacé dynamiquement en JS */
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes stock-flash {
    0% { filter: brightness(1); box-shadow: none; }
    50% { filter: brightness(2.5); box-shadow: 0 0 20px var(--shop-accent); }
    100% { filter: brightness(1); box-shadow: none; }
}

.stock-updating {
    animation: stock-flash 0.4s ease-out 2;
}

/* --- PRODUCT SIZE SELECTOR --- */
.size-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    transition: transform 0.2s;
}

.size-btn {
    background: transparent;
    border: 1px solid var(--shop-border);
    color: var(--shop-text-main);
    padding: 12px 15px;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex: 1;
    min-width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.size-btn:hover {
    border-color: var(--shop-text-main);
    background: rgba(0,0,0,0.02);
}

.size-btn.active {
    background: var(--shop-text-main);
    color: var(--shop-surface);
    border-color: var(--shop-text-main);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

/* --- DEPLOYMENT MATRIX (FULLSCREEN CHECKOUT) --- */
.matrix-overlay {
    position: fixed; inset: 0; background: var(--shop-bg); z-index: 300000;
    display: flex; opacity: 1; transition: opacity 0.5s;
}
.matrix-overlay.hidden { opacity: 0; pointer-events: none; }

.matrix-layout {
    display: flex; width: 100%; height: 100%;
    background: var(--shop-bg);
}

/* GAUCHE: MANIFESTE */
.matrix-manifest {
    flex: 1; border-right: 2px solid var(--shop-border);
    display: flex; flex-direction: column; overflow: hidden;
    background: var(--shop-surface);
}
.manifest-header {
    padding: 30px 40px; display: flex; justify-content: space-between; align-items: center;
    border-bottom: 2px solid var(--shop-border);
}
.manifest-tag { font-family: 'Inter', sans-serif; font-weight: 900; color: var(--shop-text-main); font-size: 14px; letter-spacing: 1px; text-transform: uppercase; }
.matrix-close-btn { 
    background: transparent; border: 2px solid var(--shop-border); color: var(--shop-text-main);
    padding: 10px 20px; font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 900; cursor: pointer; transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.matrix-close-btn:hover { background: var(--shop-text-main); color: var(--shop-surface); }

.manifest-visual {
    position: relative; height: 50vh; border-bottom: 2px solid var(--shop-border);
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    background: #f8f9fa;
}
.manifest-visual img { width: 100%; height: 100%; object-fit: cover; opacity: 1; mix-blend-mode: normal; }
.manifest-overlay-data {
    position: absolute; bottom: 0; left: 0; width: 100%; padding: 30px 40px;
    background: linear-gradient(to top, rgba(255,255,255,1), transparent);
}
.manifest-overlay-data h2 { font-family: 'Inter', sans-serif; font-weight: 900; color: var(--shop-text-main); margin: 0 0 5px 0; font-size: 32px; letter-spacing: -1px; text-transform: uppercase; text-shadow: none; }
.manifest-variant { color: var(--shop-text-muted); font-family: 'Roboto Mono', monospace; font-weight: bold; font-size: 14px; }

.manifest-lore { padding: 40px; flex: 1; overflow-y: auto; color: var(--shop-text-main); font-family: 'Inter', sans-serif; font-size: 14px; line-height: 1.6; }
.lore-header { color: var(--shop-text-muted); font-family: 'Roboto Mono', monospace; font-size: 10px; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; font-weight: bold; }

/* DROITE: TERMINAL */
.matrix-terminal {
    flex: 1; display: flex; flex-direction: column; background: var(--shop-bg);
    position: relative;
}
.matrix-terminal::after {
    display: none;
}
.terminal-header {
    padding: 30px 40px; border-bottom: 2px solid var(--shop-border);
    display: flex; align-items: center; gap: 15px; color: var(--shop-text-main); font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 900; letter-spacing: 1px; text-transform: uppercase;
}
.terminal-pulse {
    width: 10px; height: 10px; border-radius: 50%; background: #00c853;
    box-shadow: 0 0 10px rgba(0, 200, 83, 0.5); animation: blink 2s infinite;
}
.stripe-container-tactical {
    flex: 1; overflow-y: auto; padding: 40px; position: relative; z-index: 5;
}

/* --- ANIMATIONS ET ÉTATS INTERACTIFS (CHECKOUT) --- */
.matrix-cart-item:hover {
    background: rgba(0,0,0,0.03);
}
.matrix-cart-item:active {
    background: rgba(0,0,0,0.06);
}

/* --- MIND CONTROL SHARE (GHOST SPIRAL) --- */
.mind-control-overlay {
    position: fixed; inset: 0; z-index: 999999;
    background: rgba(0,0,0,0.95);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}
.mind-control-overlay.active { opacity: 1; pointer-events: auto; }

.mc-spiral {
    width: 250px; height: 250px;
    background: conic-gradient(from 0deg, #fff 0%, #000 10%, #fff 20%, #000 30%, #fff 40%, #000 50%, #fff 60%, #000 70%, #fff 80%, #000 90%, #fff 100%);
    border-radius: 50%;
    animation: mc-spin 3s linear infinite;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 70%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 20%, rgba(0,0,0,0) 70%);
    opacity: 0.6;
    filter: blur(2px);
}
@keyframes mc-spin { 100% { transform: rotate(360deg); } }

.mc-text {
    position: absolute;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 8px;
    text-shadow: 0 0 20px #fff, 0 0 30px #fff;
    text-transform: uppercase;
    z-index: 2;
    animation: mc-pulse 1s infinite alternate;
}
@keyframes mc-pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}

/* ==========================================================================
   MOBILE RESPONSIVE (FULL STREETWEAR OVERRIDE & WEB VITALS)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* OVERLAYS MOBILE SCROLL FIX (MATRIX & FOCUS) */
    .shop-focus-overlay {
        display: block !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* MATRIX CHECKOUT MOBILE OVERRIDES - FLOW FLUIDE */
    .matrix-overlay { 
        display: block !important; /* Casse le flexbox qui verrouillait la hauteur */
        position: fixed;
        inset: 0;
        overflow-y: auto !important; /* Autorise le scroll natif sur tout le body de la matrice */
        -webkit-overflow-scrolling: touch; /* Scroll fluide iOS */
        background: var(--shop-surface);
    }
    .matrix-layout { 
        display: block; /* Annule le flex */
        height: auto; 
        min-height: 100vh; 
    }
    .matrix-manifest { 
        display: block;
        height: auto;
        border-right: none; 
        border-bottom: 2px solid var(--shop-border); 
    }
    .manifest-lore { 
        overflow-y: visible; 
        padding: 0; /* Padding annulé car géré par les éléments internes JS */
        min-height: auto;
    }
    .manifest-visual { 
        height: 45vh; /* Plus grand pour l'interaction tactile */
        min-height: 300px;
    }
    .matrix-terminal { 
        display: block;
        height: auto;
        min-height: 600px; /* Réserve de l'espace pour l'iframe Stripe */
    }
    .stripe-container-tactical { 
        padding: 10px; 
        overflow: visible; 
    }
    
    /* Boutons Google Web Vitals (Touch Targets Minimum 48px) */
    .btn-street, .size-btn, .matrix-close-btn {
        min-height: 48px; 
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .shop-main-container {
        padding: 0 15px 50px 15px;
    }

    .shop-header {
        flex-direction: column;
        gap: 15px;
        padding: 20px 0;
        align-items: flex-start;
    }

    .shop-hero-zone {
        margin-bottom: 30px;
    }

    .shop-hero-card {
        display: flex;
        flex-direction: column-reverse; /* L'image passe au-dessus du texte */
        min-height: auto;
    }

    .hero-info-pane {
        padding: 30px 20px !important;
    }

    .hero-pagination-container {
        top: -15px;
        left: 20px;
        z-index: 20; /* Passe par-dessus l'image */
    }
    
    .hero-page-dash {
        background: rgba(255,255,255,0.5); /* Contraste sur la photo */
        box-shadow: 0 1px 3px rgba(0,0,0,0.5);
    }
    
    .hero-page-dash.active {
        background: var(--shop-accent);
    }

    .hero-text-content {
        margin-top: 0;
    }

    .shop-hero-card .shop-card-title {
        font-size: 11vw;
        line-height: 0.9;
        letter-spacing: -2px;
        margin-bottom: 15px;
    }

    .shop-hero-card .shop-card-image-box {
        height: 55vh;
        border-left: none;
        border-bottom: 2px solid var(--shop-border);
    }

    .shop-grid {
        grid-template-columns: 1fr; /* 1 seule colonne massive */
        gap: 0;
    }

    .shop-card-image-box {
        aspect-ratio: 4/5;
    }

    .btn-street {
        padding: 15px;
        font-size: 12px;
    }

    /* MODAL SPLIT VIEW - TIROIR VERTICAL */
    .focus-layout {
        display: block;
        height: auto;
        min-height: 100vh;
    }

    .focus-image-zone {
        flex: none;
        height: 50vh;
        padding: 20px 0; /* Marge de respiration haut/bas */
        box-sizing: border-box;
        border-bottom: 2px solid var(--shop-border);
    }

    .focus-image-zone img {
        height: 100%;
        max-width: 90%; /* Évite de toucher les bords latéraux */
    }

    .focus-checkout-panel {
        display: block;
        height: auto;
        min-width: 100%;
        max-width: 100%;
        padding: 25px 20px;
        box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
        transform: translateY(100%); /* Slide-up depuis le bas */
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: none;
    }

    .shop-focus-overlay:not(.hidden) .focus-checkout-panel {
        transform: translateY(0);
    }

    .close-focus-btn {
        top: 25px;
        right: 20px;
        width: 35px;
        height: 35px;
        background: #f0f0f0;
    }

    .tactical-c-panel {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        bottom: 15px;
    }
    .tc-actions {
        width: 100%;
        justify-content: stretch;
    }
    .tc-actions .btn-tech {
        flex: 1;
        justify-content: center;
    }
}

/* --- PANNEAU TACTIQUE (RGPD ANTI-ADBLOCK) --- */
.tactical-c-panel {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    background: var(--shop-surface);
    border: 1px solid var(--shop-border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: 400000;
    padding: 30px;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    border-radius: 4px;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.tactical-c-panel.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 20px);
}
.tc-content h3 {
    margin: 0 0 8px 0;
    font-family: 'Orbitron', sans-serif;
    font-size: 14px;
    letter-spacing: 1px;
    color: var(--shop-text-main);
    text-transform: uppercase;
}
.tc-content p {
    margin: 0;
    font-size: 12px;
    color: var(--shop-text-muted);
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
}
.tc-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.tc-actions .btn-tech {
    padding: 12px 20px;
    font-size: 11px;
}
.btn-tech.tc-outline {
    background: transparent;
    color: var(--shop-text-muted);
    border-color: var(--shop-border);
}
.btn-tech.tc-outline:hover {
    color: var(--shop-text-main);
    border-color: var(--shop-text-main);
}

/* ==========================================================================
   THEME CLAIR (SILVER / HIGH VISIBILITY MODE)
   ========================================================================== */
body.theme-light {
    --bg-void: #e2e8f0;
    --bg-graphite: #cbd5e1;
    --bg-panel: rgba(241, 245, 249, 0.95);
    --bg-panel-solid: #f8fafc;
    color: #0f172a;
}

body.theme-light .hq-modal {
    background: #e2e8f0 !important;
    border-color: #94a3b8 !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15) !important;
    color: #0f172a !important;
}

body.theme-light .hq-header {
    background: #cbd5e1 !important;
    border-bottom-color: #94a3b8 !important;
}

body.theme-light .hq-title { color: #0f172a !important; text-shadow: none !important; }
body.theme-light .hq-subtitle { color: #475569 !important; }
body.theme-light .hq-tab { color: #64748b !important; }
body.theme-light .hq-tab:hover { background: rgba(0,0,0,0.05) !important; color: #0f172a !important; }
body.theme-light .hq-tab.active { background: #f8fafc !important; color: #0f172a !important; border-top-color: #0284c7 !important; }
body.theme-light .hq-view { background: #f1f5f9 !important; }
body.theme-light .hq-card { background: #ffffff !important; border-color: #cbd5e1 !important; box-shadow: 0 4px 10px rgba(0,0,0,0.05) !important; }
body.theme-light .card-header { color: #1e293b !important; border-bottom-color: #e2e8f0 !important; }
body.theme-light .kpi-label { color: #64748b !important; }
body.theme-light .kpi-value { color: #0f172a !important; text-shadow: none !important; }
body.theme-light .hq-table-header { color: #475569 !important; border-bottom-color: #cbd5e1 !important; }
body.theme-light .hq-table-row { color: #1e293b !important; border-bottom-color: #e2e8f0 !important; }
body.theme-light .hq-table-row:hover { background: #f8fafc !important; }

body.theme-light .hq-scroll-list [style*="color:#fff"],
body.theme-light .hq-scroll-list [style*="color: #fff"] { color: #0f172a !important; }
body.theme-light .hq-scroll-list [style*="color:#ccc"],
body.theme-light .hq-scroll-list [style*="color: #ccc"] { color: #334155 !important; }
body.theme-light .hq-scroll-list [style*="color:#888"],
body.theme-light .hq-scroll-list [style*="color:#aaa"] { color: #475569 !important; }

body.theme-light .feed-item { background: #ffffff !important; box-shadow: 0 2px 5px rgba(0,0,0,0.05) !important; border: 1px solid #e2e8f0 !important; border-left: 4px solid #0284c7 !important; }
body.theme-light .feed-item:hover { background: #f8fafc !important; }
body.theme-light .sys-status-item { background: #f8fafc !important; border-color: #cbd5e1 !important; color: #0f172a !important; }
body.theme-light .log-row { border-bottom-color: #e2e8f0 !important; color: #334155 !important; }
body.theme-light .log-row:hover { background: #f1f5f9 !important; }

body.theme-light .lcd-container { background: #cbd5e1 !important; border-color: #94a3b8 !important; }
body.theme-light .lcd-screen { background: #f8fafc !important; color: #0f172a !important; text-shadow: none !important; border-color: #94a3b8 !important; box-shadow: inset 0 0 10px rgba(0,0,0,0.05) !important; }
body.theme-light .hq-input, body.theme-light .hq-input-search { background: #ffffff !important; border-color: #cbd5e1 !important; color: #0f172a !important; }
body.theme-light .hq-input:focus, body.theme-light .hq-input-search:focus { border-color: #0284c7 !important; box-shadow: 0 0 5px rgba(2, 132, 199, 0.3) !important; }
body.theme-light .hq-mini-action { background: #f1f5f9 !important; color: #0f172a !important; border-color: #cbd5e1 !important; }
body.theme-light .hq-mini-action:hover { background: #e2e8f0 !important; border-color: #0284c7 !important; }
body.theme-light .burn-ratio-container { background: #cbd5e1 !important; }
body.theme-light .kpi-icon { background: #f1f5f9 !important; }

/* Adaptation des Néons pour la lisibilité sur fond clair */
body.theme-light .kpi-icon.gold, body.theme-light [style*="color:var(--neon-gold)"] { color: #d97706 !important; border-color: #d97706 !important; } 
body.theme-light .kpi-icon.cyan, body.theme-light [style*="color:var(--neon-cyan)"] { color: #0284c7 !important; border-color: #0284c7 !important; } 
body.theme-light .kpi-icon.green, body.theme-light [style*="color:var(--neon-green)"] { color: #059669 !important; border-color: #059669 !important; } 
body.theme-light .kpi-icon.red, body.theme-light [style*="color:var(--neon-red)"] { color: #dc2626 !important; border-color: #dc2626 !important; } 
body.theme-light .cyber-btn { color: #0f172a; border-color: #94a3b8; }
body.theme-light .cyber-btn:hover { background: #cbd5e1; }