/* ==========================================================================
   BLACK SEA & GTA 6 & LIGHT THEMES - STYLESHEET
   Inspired by Black Water & GTA VI Vice City Aesthetics
   ========================================================================== */

/* --- CSS Variables & Themes --- */
:root {
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Plus Jakarta Sans', var(--font-sans);
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-full: 9999px;
}

/* 1. Theme: Black Sea (Dark Aquatic - Default) */
body[data-theme="blacksea"] {
    --bg-base: #060a11;
    --bg-surface: #0b121e;
    --bg-surface-elevated: #111a2b;
    --bg-glass: rgba(11, 18, 30, 0.85);
    --bg-glass-card: rgba(16, 26, 43, 0.78);
    --bg-input: rgba(16, 26, 43, 0.95);
    --bg-hover: rgba(56, 189, 248, 0.1);

    --border-subtle: rgba(56, 189, 248, 0.14);
    --border-medium: rgba(56, 189, 248, 0.26);
    --border-highlight: rgba(0, 245, 160, 0.45);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-inverse: #060a11;

    --accent-primary: #00f5a0; /* Emerald PIX */
    --accent-primary-hover: #00d98e;
    --accent-secondary: #00c8ff; /* Electric Cyan */
    --accent-gradient: linear-gradient(135deg, #00c8ff 0%, #00f5a0 100%);
    --accent-glow: 0 0 25px rgba(0, 245, 160, 0.25);

    --pix-color: #00e6a8;
    --danger-color: #ff3366;
    --warning-color: #f59e0b;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.45);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.65);
    --shadow-card: 0 8px 28px -6px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--border-subtle);

    --body-bg-image: radial-gradient(circle at 50% 0%, rgba(0, 200, 255, 0.08) 0%, transparent 60%),
                     radial-gradient(circle at 100% 50%, rgba(0, 245, 160, 0.04) 0%, transparent 50%);
}

/* 2. Theme: GTA 6 (Vice City Twilight Sunset) */
body[data-theme="gta6"] {
    --bg-base: #1c0c28;
    --bg-surface: #140820;
    --bg-surface-elevated: #240d35;
    --bg-glass: rgba(20, 8, 32, 0.88);
    --bg-glass-card: rgba(18, 10, 26, 0.84);
    --bg-input: rgba(26, 12, 40, 0.95);
    --bg-hover: rgba(255, 19, 125, 0.16);

    --border-subtle: rgba(255, 19, 125, 0.28);
    --border-medium: rgba(255, 19, 125, 0.48);
    --border-highlight: #00f0ff;

    --text-primary: #ffffff;
    --text-secondary: #f3e8ff;
    --text-muted: #d8b4fe;
    --text-inverse: #0a0512;

    --accent-primary: #ff137d; /* Neon Vice Pink / Magenta */
    --accent-primary-hover: #ff2a8b;
    --accent-secondary: #00f0ff; /* Electric Vice Cyan */
    --accent-gradient: linear-gradient(135deg, #ff137d 0%, #a855f7 50%, #00f0ff 100%);
    --accent-glow: 0 0 25px rgba(0, 240, 255, 0.5);

    --pix-color: #00f0ff;
    --danger-color: #ff0055;
    --warning-color: #ffaa00;

    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.7);
    --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.85);
    --shadow-card: 0 10px 32px -4px rgba(0, 0, 0, 0.75), 0 0 0 1px var(--border-subtle);

    --body-bg-image: linear-gradient(180deg, 
        #2c1a4d 0%, 
        #452c6c 14%, 
        #70387b 30%, 
        #a64478 48%, 
        #d65b75 66%, 
        #f17f63 80%, 
        #fa9f58 92%, 
        #fdbd58 100%
    );
}

/* 3. Theme: Light (Clean Modern) */
body[data-theme="light"] {
    --bg-base: #f8fafc;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #f1f5f9;
    --bg-glass: rgba(255, 255, 255, 0.92);
    --bg-glass-card: rgba(255, 255, 255, 0.96);
    --bg-input: #f8fafc;
    --bg-hover: rgba(14, 165, 233, 0.1);

    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-highlight: #0ea5e9;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-inverse: #ffffff;

    --accent-primary: #0ea5e9; /* Sky Blue */
    --accent-primary-hover: #0284c7;
    --accent-secondary: #10b981; /* Emerald */
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #10b981 100%);
    --accent-glow: 0 4px 20px rgba(14, 165, 233, 0.2);

    --pix-color: #059669;
    --danger-color: #ef4444;
    --warning-color: #d97706;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
    --shadow-card: 0 4px 20px -2px rgba(0, 0, 0, 0.06), 0 0 0 1px var(--border-subtle);

    --body-bg-image: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    background-image: var(--body-bg-image);
    background-attachment: fixed;
    background-size: 100% 100%;
    color: var(--text-primary);
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

.app-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select {
    font-family: inherit;
    outline: none;
}

/* --- Layout Container --- */
.app-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content-wrap {
    flex: 1;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 24px 24px 60px;
}

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--bg-glass);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-normal);
}

.header-inner {
    max-width: 1440px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

/* Brand */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    text-decoration: none;
}

.brand-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    object-fit: cover;
    border: 2px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-fast);
}

.brand:hover .brand-avatar {
    transform: scale(1.05);
}

.brand-title-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.brand-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.verified-badge {
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.verified-badge-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    background: #38bdf8;
    color: #000;
    border-radius: 50%;
    font-size: 10px;
    font-weight: 900;
}

/* Current Store Badge in Header */
.header-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.header-store-badge:hover {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
}

.header-store-badge.adult-badge {
    border-color: rgba(255, 51, 102, 0.4);
    color: #ff3366;
    background: rgba(255, 51, 102, 0.1);
}

/* Global Search Input (Reference 1 style) */
.header-search {
    flex: 1;
    max-width: 480px;
    margin: 0 16px;
}

.header-search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    transition: all var(--transition-fast);
}

.header-search-box:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 2px var(--border-highlight);
}

.header-search-box svg {
    color: var(--text-muted);
    flex-shrink: 0;
    margin-right: 10px;
}

.header-search-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.header-search-input::placeholder {
    color: var(--text-muted);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Theme Selector */
.theme-selector {
    position: relative;
}

.theme-button {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.theme-button:hover {
    border-color: var(--border-medium);
    background: var(--bg-hover);
}

.theme-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 6px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    gap: 4px;
    min-width: 190px;
    z-index: 150;
    backdrop-filter: blur(12px);
}

.theme-dropdown.open {
    display: flex;
    animation: fadeInDown var(--transition-fast);
}

.theme-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    text-align: left;
    transition: all var(--transition-fast);
}

.theme-option:hover, .theme-option.active {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.theme-option.active {
    font-weight: 700;
    color: var(--accent-primary);
}

/* Header Action Buttons */
.action-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
    position: relative;
}

.action-icon-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
    background: var(--bg-hover);
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

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

.cart-badge {
    background: var(--accent-primary);
    color: var(--text-inverse);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.login-btn {
    padding: 7px 18px;
    border-radius: var(--radius-full);
    background: var(--text-primary);
    color: var(--text-inverse);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.login-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* --- VIEW 1: STORE SHOWCASE (VITRINE PRINCIPAL) --- */
.showcase-view {
    display: flex;
    flex-direction: column;
    gap: 36px;
    animation: fadeIn var(--transition-normal);
}

.showcase-hero {
    text-align: center;
    max-width: 760px;
    margin: 20px auto 10px;
}

.showcase-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--accent-primary);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 14px;
}

.showcase-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.showcase-hero h1 span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.showcase-hero p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto;
}

/* Stores Grid (2 servers) */
.stores-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 10px;
}

.store-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-normal);
    position: relative;
    cursor: pointer;
}

.store-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-highlight);
    box-shadow: var(--shadow-lg), var(--accent-glow);
}

.store-card-banner {
    height: 190px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #090e17;
}

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

.store-card:hover .store-card-banner img {
    transform: scale(1.04);
}

.store-card-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, var(--bg-surface) 100%);
}

.store-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    z-index: 2;
}

.badge-main {
    background: rgba(0, 245, 160, 0.15);
    color: #00f5a0;
    border: 1px solid rgba(0, 245, 160, 0.3);
}

.badge-adult {
    background: rgba(255, 51, 102, 0.25);
    color: #ff3366;
    border: 1px solid rgba(255, 51, 102, 0.45);
}

.store-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    margin-top: -36px;
    z-index: 3;
}

.store-avatar-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 14px;
}

.store-avatar {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
    border: 3px solid var(--bg-surface);
    box-shadow: var(--shadow-md);
    background: var(--bg-surface-elevated);
    object-fit: cover;
}

.store-count-pill {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-surface-elevated);
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-subtle);
}

.store-card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.store-card-niche {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--accent-primary);
    margin-bottom: 10px;
}

.store-card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 18px;
    flex: 1;
}

.store-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 22px;
}

.store-tag-item {
    font-size: 0.75rem;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
}

.store-cta-btn {
    width: 100%;
    padding: 13px 20px;
    border-radius: var(--radius-lg);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.store-card:hover .store-cta-btn {
    background: var(--text-primary);
    color: var(--text-inverse);
    border-color: transparent;
}

/* Unique Store Card Visual Identity - BLACK SEA (Dark Aquatic / Digital Gaming) */
.store-card.store-card-blacksea {
    background: linear-gradient(180deg, rgba(8, 18, 32, 0.94) 0%, rgba(4, 10, 20, 0.97) 100%);
    border: 1px solid rgba(0, 200, 255, 0.25);
    box-shadow: 0 10px 32px -4px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(0, 200, 255, 0.08);
}

.store-card.store-card-blacksea:hover {
    transform: translateY(-6px);
    border-color: #00f5a0;
    box-shadow: 0 18px 46px -4px rgba(0, 0, 0, 0.75), 0 0 32px rgba(0, 245, 160, 0.28);
}

.store-card.store-card-blacksea .store-card-banner {
    background: #040c18;
}

.store-card.store-card-blacksea .store-card-banner-overlay {
    background: linear-gradient(to bottom, rgba(4, 10, 20, 0.1) 0%, rgba(4, 10, 20, 0.85) 75%, rgba(4, 10, 20, 1) 100%);
}

.store-card.store-card-blacksea .store-avatar {
    border-color: #08172c;
    box-shadow: 0 0 18px rgba(0, 200, 255, 0.35);
}

.store-card.store-card-blacksea .store-card-title {
    background: linear-gradient(135deg, #ffffff 40%, #00e5ff 75%, #00f5a0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.store-card.store-card-blacksea .store-card-niche {
    color: #00f5a0;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.store-card.store-card-blacksea .store-count-pill {
    background: rgba(0, 200, 255, 0.1);
    border-color: rgba(0, 200, 255, 0.3);
    color: #38bdf8;
}

.store-card.store-card-blacksea .store-tag-item {
    background: rgba(10, 24, 44, 0.75);
    border-color: rgba(56, 189, 248, 0.22);
    color: #94a3b8;
}

.store-card.store-card-blacksea .store-cta-btn,
.store-cta-btn.store-cta-btn-blacksea {
    background: linear-gradient(135deg, #00c8ff 0%, #00f5a0 100%);
    color: #030812;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 18px rgba(0, 245, 160, 0.32);
}

.store-card.store-card-blacksea:hover .store-cta-btn,
.store-card.store-card-blacksea:hover .store-cta-btn-blacksea {
    box-shadow: 0 8px 28px rgba(0, 245, 160, 0.55);
    transform: translateY(-2px);
    filter: brightness(1.08);
    color: #030812;
}

/* Unique Store Card Visual Identity - HOT HUB ADVANCED (Hot / Fire / Neon VIP) */
.store-card.store-card-hothub {
    background: linear-gradient(180deg, rgba(28, 6, 24, 0.94) 0%, rgba(16, 3, 14, 0.97) 100%);
    border: 1px solid rgba(255, 19, 125, 0.35);
    box-shadow: 0 10px 32px -4px rgba(0, 0, 0, 0.72), 0 0 0 1px rgba(255, 19, 125, 0.12);
}

.store-card.store-card-hothub:hover {
    transform: translateY(-6px);
    border-color: #ff137d;
    box-shadow: 0 18px 46px -4px rgba(0, 0, 0, 0.82), 0 0 36px rgba(255, 19, 125, 0.4);
}

.store-card.store-card-hothub .store-card-banner {
    background: #140210;
}

.store-card.store-card-hothub .store-card-banner-overlay {
    background: linear-gradient(to bottom, rgba(16, 3, 14, 0.1) 0%, rgba(16, 3, 14, 0.85) 75%, rgba(16, 3, 14, 1) 100%);
}

.store-card.store-card-hothub .store-avatar {
    border-color: #280822;
    box-shadow: 0 0 20px rgba(255, 19, 125, 0.4);
}

.store-card.store-card-hothub .store-card-title {
    background: linear-gradient(135deg, #ffffff 30%, #ff137d 75%, #ff758c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.store-card.store-card-hothub .store-card-niche {
    color: #ff3366;
    font-weight: 700;
    text-shadow: 0 0 14px rgba(255, 51, 102, 0.35);
}

.store-card.store-card-hothub .store-count-pill {
    background: rgba(255, 19, 125, 0.14);
    border-color: rgba(255, 19, 125, 0.4);
    color: #ff758c;
    font-weight: 700;
}

.store-card.store-card-hothub .store-tag-item {
    background: rgba(42, 10, 36, 0.75);
    border-color: rgba(255, 19, 125, 0.28);
    color: #f3e8ff;
}

.store-card.store-card-hothub .store-card-badge.badge-adult {
    background: linear-gradient(135deg, #ff0055 0%, #ff137d 100%);
    color: #ffffff;
    font-weight: 800;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: 0 0 16px rgba(255, 0, 85, 0.6);
    letter-spacing: 0.5px;
}

.store-card.store-card-hothub .store-cta-btn,
.store-cta-btn.store-cta-btn-hothub {
    background: linear-gradient(135deg, #ff0055 0%, #ff137d 50%, #c026d3 100%);
    color: #ffffff;
    font-weight: 800;
    border: none;
    box-shadow: 0 4px 22px rgba(255, 19, 125, 0.45);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.store-card.store-card-hothub:hover .store-cta-btn,
.store-card.store-card-hothub:hover .store-cta-btn-hothub {
    box-shadow: 0 8px 32px rgba(255, 19, 125, 0.72);
    transform: translateY(-2px);
    filter: brightness(1.1);
    color: #ffffff;
}

/* --- VIEW 2: STORE CATALOG --- */
.catalog-view {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeIn var(--transition-normal);
}

/* Store Navigation Subheader */
.store-subbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.store-subbar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.store-subbar-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    object-fit: cover;
}

.store-subbar-info {
    display: flex;
    flex-direction: column;
}

.store-subbar-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.store-subbar-meta {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.store-subbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.back-to-stores-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
}

.back-to-stores-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
}

/* Category Filter Top Bar (Reference Image 2 Style) */
.catalog-filter-bar,
.category-filter-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow: visible;
}

.category-pills-wrap {
    position: relative;
    width: 100%;
    overflow: visible;
    padding: 10px 0;
}

.category-trigger-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 10px 18px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.category-trigger-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.category-trigger-btn-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-trigger-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 8px 16px;
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.category-trigger-btn:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.category-clear-btn {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all var(--transition-fast);
}

.category-clear-btn:hover {
    color: var(--text-primary);
    border-color: var(--danger-color);
}

/* Horizontal Category Pills Carousel */
.category-pills-carousel {
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 22px 28px 28px 22px;
    margin: -14px -18px -20px -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    mask-image: linear-gradient(to right, black 0%, black calc(100% - 50px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 0%, black calc(100% - 50px), transparent 100%);
}

.category-pills-carousel::-webkit-scrollbar {
    display: none;
}

.category-pills-carousel::after {
    content: '';
    display: block;
    flex-shrink: 0;
    width: 75px;
    height: 1px;
}

.category-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    overflow: visible;
}

.category-pill:hover {
    border-color: var(--border-medium);
    color: var(--text-primary);
    background: var(--bg-hover);
}

.category-pill.active {
    background: var(--text-primary);
    color: var(--text-inverse);
    border-color: var(--text-primary);
}

.category-pill-thumb {
    width: 22px;
    height: 22px;
    border-radius: var(--radius-full);
    object-fit: cover;
    background: var(--bg-surface-elevated);
}

/* Category Filter Popup / Overlay Modal (Reference Image 2) */
.category-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 200;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding: 30px 20px;
    overflow-y: auto;
}

.category-modal-overlay.open {
    display: flex;
    animation: fadeIn var(--transition-fast);
}

.category-modal {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 1100px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: scaleUp var(--transition-normal);
}

.category-modal-head {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--bg-surface-elevated);
}

.category-modal-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.category-modal-header-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

.category-modal-search {
    flex: 1;
    max-width: 480px;
    display: flex;
    align-items: center;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 7px 16px;
}

.category-modal-search input {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 0.88rem;
    color: var(--text-primary);
}

.category-modal-search svg {
    color: var(--text-muted);
}

.category-modal-close {
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition-fast);
    font-size: 14px;
}

.category-modal-close:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.category-modal-body {
    padding: 24px;
    max-height: 75vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.modal-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 8px;
}

.modal-section-title span:first-child {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-section-view-all {
    font-size: 0.78rem;
    font-weight: 700;
    color: #38bdf8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.modal-section-view-all:hover {
    text-decoration: underline;
}

.category-grid-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px 14px;
}

.category-grid-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.category-grid-item:hover {
    background: var(--bg-hover);
    border-color: var(--border-medium);
    transform: translateX(2px);
}

.category-grid-item.active {
    border-color: var(--accent-primary);
    background: var(--bg-hover);
}

/* Circular thumbnail as in User Reference Image 2 */
.category-grid-item-thumb {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    object-fit: cover;
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.category-grid-item-info {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    flex: 1;
}

.category-grid-item-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Reference Image 2: Blue pill badge like POPULAR */
.badge-popular {
    font-size: 0.62rem;
    font-weight: 800;
    color: #ffffff;
    background: #0284c7;
    padding: 1px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    flex-shrink: 0;
}

/* Catalog Toolbar & Heading */
.catalog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.catalog-title-wrap h2 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--text-primary);
}

.catalog-title-wrap p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Products Grid (Reference Image 1 Style) */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.product-category-group {
    grid-column: 1 / -1;
    display: grid;
    min-width: 0;
    gap: 13px;
}

.product-category-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    margin: 0;
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: .96rem;
    font-weight: 800;
    line-height: 1.3;
}

.product-category-heading::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, var(--border-highlight), transparent);
}

.product-category-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

@media (max-width: 1300px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .product-category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .category-grid-layout { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .product-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .stores-grid { grid-template-columns: 1fr; }
    .category-grid-layout { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .product-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
    .category-grid-layout { grid-template-columns: 1fr; }
    .header-search { display: none; }
}

@media (max-width: 480px) {
    .products-grid { grid-template-columns: 1fr; }
    .product-category-grid { grid-template-columns: 1fr; }
}

/* Product Card Component (Reference Image 1 Style) */
.product-card {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
    cursor: pointer;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
}

.product-card:hover {
    transform: translateY(-5px) translateZ(0);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md), var(--accent-glow);
}

.product-banner-wrap,
.product-card-thumb-wrap,
.product-card-image-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    background: var(--bg-surface-elevated, #080d14);
    flex-shrink: 0;
    contain: paint;
    transform: translateZ(0);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.product-banner,
.product-card-image,
.product-card-thumb {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1) translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform var(--transition-normal);
}

.product-card:hover .product-banner,
.product-card:hover .product-card-image,
.product-card:hover .product-card-thumb {
    transform: scale(1.05) translateZ(0);
}

/* Badges: Adult badge anchored to top-left, Ranking badge anchored to top-right to prevent collision (F6, R3) */
.product-card-badge,
.product-card-badge-adult {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    padding: 3px 8px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2;
    background: var(--danger-color, #ff3366);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    line-height: 1.2;
}

.product-rank-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--font-heading);
    letter-spacing: 0.02em;
    z-index: 3;
    background: linear-gradient(135deg, #ffd700, #ffae00);
    color: #1a1200;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 10px rgba(255, 215, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.product-card-meta {
    height: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.product-delivery-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2.5px 8px;
    border-radius: var(--radius-full);
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.2;
    background: rgba(10, 14, 22, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 215, 0, 0.4);
    color: #f8fafc;
    letter-spacing: 0.01em;
    user-select: none;
    white-space: nowrap;
    max-width: 100%;
}

.product-delivery-badge .delivery-icon {
    flex-shrink: 0;
    display: inline-flex;
}

.delivery-automatic .delivery-icon-auto {
    color: #00f5a0;
    filter: drop-shadow(0 0 3px rgba(0, 245, 160, 0.6));
}

.delivery-approval .delivery-icon-approval {
    color: #fbbf24;
    filter: drop-shadow(0 0 3px rgba(251, 191, 36, 0.4));
}

.delivery-manual .delivery-icon-manual {
    color: #94a3b8;
}

.product-card-content {
    position: relative;
    z-index: 1;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 2.8em;
    max-height: 2.8em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.product-price-block {
    margin-top: auto;
    margin-bottom: 12px;
}

.product-old-price {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-bottom: 2px;
    min-height: 1.15em;
    line-height: 1.15;
}

.product-old-price.is-empty {
    text-decoration: none;
    visibility: hidden;
}

.product-main-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.product-pix-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
}

.product-sales-count {
    min-height: 1em;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: .7rem;
    font-weight: 650;
    line-height: 1em;
}

.product-sales-count.is-empty { visibility: hidden; }

.pix-icon-svg {
    color: var(--pix-color);
    display: inline-flex;
    flex-shrink: 0;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.btn-details {
    width: 100%;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    transition: all var(--transition-fast);
}

.product-card:hover .btn-details {
    background: var(--text-primary);
    color: var(--text-inverse);
    border-color: transparent;
}

/* --- Legendary Gold Card (#1 to #10) - Default Black Sea (F7, R3) --- */
.product-card.product-card-legendary {
    border: 1.5px solid rgba(245, 197, 24, 0.65);
    background: linear-gradient(160deg, rgba(28, 24, 14, 0.92), rgba(16, 26, 43, 0.86));
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 20px rgba(234, 179, 8, 0.24);
    animation: legendaryGlowBlackSea 4s ease-in-out infinite alternate;
}

.product-card.product-card-legendary:hover {
    border-color: rgba(255, 215, 0, 0.9);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7), 0 0 30px rgba(255, 215, 0, 0.42);
    transform: translateY(-5px) translateZ(0);
}

.product-card.product-card-legendary .product-delivery-badge {
    background: rgba(10, 14, 22, 0.85);
    border: 1px solid rgba(255, 215, 0, 0.45);
    color: #ffffff;
}

@keyframes legendaryGlowBlackSea {
    0% {
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 14px rgba(234, 179, 8, 0.18);
    }
    100% {
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.6), 0 0 26px rgba(234, 179, 8, 0.32);
    }
}

/* Empty State */
.catalog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
}

.catalog-empty svg {
    color: var(--text-muted);
    margin-bottom: 14px;
}

.catalog-empty h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.catalog-empty p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- VIEW 3: PRODUCT DETAIL VIEW --- */
/* Match Black Sea's 78% panel fill in every available local theme. */
body.cards-experiment[data-theme] #viewProductDetail :is(.detail-main-layout,.detail-description-box,.product-community) {
    background:color-mix(in srgb,var(--bg-surface) 78%,transparent);
    background:rgb(from var(--bg-glass-card) r g b / .78);
}
body.cards-experiment[data-theme] #viewProductDetail .detail-main-layout { -webkit-backdrop-filter:blur(14px); }
body.cards-experiment[data-theme] #viewProductDetail .detail-description-box { -webkit-backdrop-filter:blur(12px); }
.product-detail-view {
    display: flex;
    flex-direction: column;
    gap: 24px;
    animation: fadeIn var(--transition-normal);
}

.detail-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.back-btn:hover {
    border-color: var(--border-medium);
    background: var(--bg-hover);
    transform: translateX(-2px);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.breadcrumbs span {
    color: var(--text-primary);
    font-weight: 500;
}

.detail-main-layout {
    display: grid;
    grid-template-columns: minmax(280px, 440px) 1fr;
    gap: 36px;
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 32px;
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
    align-items: start;
}

@media (max-width: 900px) {
    .detail-main-layout { grid-template-columns: 1fr; padding: 20px; }
}

.detail-image-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.detail-hero-image-wrap,
.product-detail-image-wrap,
.product-detail-img-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-surface-elevated, #080d14);
    border: 1px solid var(--border-subtle);
    position: relative;
    cursor: zoom-in;
    box-shadow: var(--shadow-md);
}

.detail-hero-image,
.product-detail-img,
.product-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-slow);
}

.detail-hero-image-wrap:hover .detail-hero-image,
.product-detail-image-wrap:hover .product-detail-img,
.product-detail-img-wrap:hover .product-detail-image {
    transform: scale(1.04);
}

.detail-zoom-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.detail-info-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.detail-meta-tags {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.status-tag {
    color: #00f5a0;
    border-color: rgba(0, 245, 160, 0.3);
    background: rgba(0, 245, 160, 0.1);
}

.adult-tag {
    color: #ff3366;
    border-color: rgba(255, 51, 102, 0.35);
    background: rgba(255, 51, 102, 0.15);
}

/* Detail indicators share a surface and baseline, with the catalog's delivery icons. */
.cards-experiment #viewProductDetail .detail-meta-tags { align-items:stretch; gap:8px; }
.cards-experiment #viewProductDetail .detail-meta-tags>.detail-tag {
    display:inline-flex; align-items:center; gap:8px; min-width:0; max-width:100%; min-height:40px;
    padding:6px 10px; border:1px solid var(--border-subtle); border-radius:var(--radius-full);
    background:color-mix(in srgb,var(--bg-surface-elevated) 65%,transparent);
    box-shadow:none;
    color:var(--text-primary); font-size:12px; font-weight:600; line-height:1.4;
}
.cards-experiment #viewProductDetail .detail-tag-label { min-width:0; overflow-wrap:anywhere; }
.cards-experiment #viewProductDetail :is(.detail-tag-icon,.detail-delivery-tag .delivery-seal-icon) {
    display:grid; place-items:center; flex:0 0 26px; width:26px; height:26px; border-radius:50%;
}
.cards-experiment #viewProductDetail .detail-tag-icon {
    background:color-mix(in srgb,var(--accent-secondary) 12%,transparent); color:var(--accent-secondary);
}
.cards-experiment #viewProductDetail .detail-tag-icon svg {
    display:block; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:1.7;
    stroke-linecap:round; stroke-linejoin:round;
}
.cards-experiment #viewProductDetail .detail-delivery-tag .delivery-seal {
    display:inline-flex; align-items:center; min-width:0; max-width:100%;
    gap:8px; min-height:40px; padding:6px 10px; border:1px solid transparent; border-radius:var(--radius-full);
    box-shadow:none; font:inherit; pointer-events:none;
}
.cards-experiment #viewProductDetail .detail-meta-tags>.detail-delivery-tag {
    padding:0; border:0; background:none; box-shadow:none;
}
.cards-experiment #viewProductDetail .detail-delivery-tag .delivery-seal-icon svg { width:15px; height:15px; }
.cards-experiment #viewProductDetail .detail-delivery-tag .delivery-seal-manual .delivery-seal-icon svg { width:90%; height:90%; }
.cards-experiment #viewProductDetail .detail-delivery-tag .delivery-seal-text { overflow-wrap:anywhere; }
.cards-experiment #viewProductDetail .detail-meta-tags>.status-tag { color:var(--text-secondary); }
.cards-experiment #viewProductDetail .detail-meta-tags>.adult-tag {
    border-color:color-mix(in srgb,var(--danger-color) 35%,var(--border-subtle)); color:var(--danger-color);
}
.cards-experiment #viewProductDetail .adult-tag .detail-tag-icon { color:inherit; background:color-mix(in srgb,var(--danger-color) 10%,transparent); }
@media(max-width:600px) {
    .cards-experiment #viewProductDetail .detail-meta-tags { gap:6px; }
    .cards-experiment #viewProductDetail .detail-meta-tags>.detail-tag { padding:6px 8px; font-size:11px; gap:6px; }
    .cards-experiment #viewProductDetail .detail-delivery-tag .delivery-seal { gap:6px; padding:6px 8px; }
    .cards-experiment #viewProductDetail .detail-meta-tags>.detail-delivery-tag { padding:0; }
}

.detail-title {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-primary);
}

.detail-price-box {
    padding: 18px;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-old-price {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

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

.detail-pix-price {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 900;
    color: var(--accent-primary);
}

.detail-discount-badge {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.4);
    font-size: 0.78rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: var(--radius-full);
}

.detail-pix-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Detail Action Buttons (Disabled Visual Mode per Prompt) */
.detail-cta-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 6px;
}

.btn-buy-disabled {
    width: 100%;
    padding: 14px 20px;
    border-radius: var(--radius-md);
    background: var(--accent-primary);
    color: var(--text-inverse);
    font-weight: 800;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.75;
    cursor: not-allowed;
    border: none;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
}

.btn-buy-disabled:hover {
    opacity: 0.85;
}

.badge-soon {
    font-size: 0.7rem;
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-inverse);
    padding: 2px 8px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    font-weight: 800;
}

.btn-cart-disabled {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px dashed var(--border-medium);
    color: var(--text-secondary);
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: not-allowed;
    transition: all var(--transition-fast);
}

.btn-cart-disabled:hover {
    color: var(--text-primary);
    border-color: var(--border-highlight);
}

.detail-perks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 8px;
}

@media (max-width: 600px) {
    .detail-perks { grid-template-columns: 1fr; }
}

.perk-item {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.82rem;
}

.perk-item svg {
    color: var(--accent-primary);
    margin-bottom: 2px;
}

.perk-item strong {
    color: var(--text-primary);
}

.perk-item span {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.detail-description-box {
    background: var(--bg-glass-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 28px;
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-card);
}

.detail-description-box h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.detail-description-box p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    white-space: pre-line;
}

.detail-related-section {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 10px;
}

.related-head h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
}

.related-head p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- FOOTER --- */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-subtle);
    padding: 40px 24px 24px;
    margin-top: auto;
}

.footer-inner {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.88rem;
    max-width: 380px;
    line-height: 1.5;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.footer-links-col a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color var(--transition-fast);
}

.footer-links-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    max-width: 1440px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* --- MODALS --- */

/* Age Verification Modal (+18 Prompt) */
.age-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.age-modal-overlay.open {
    display: flex;
    animation: fadeIn var(--transition-fast);
}

.age-modal {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    padding: 32px 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scaleUp var(--transition-normal);
}

.age-modal-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-full);
    border: 3px solid #ff3366;
    background: rgba(255, 51, 102, 0.15);
    color: #ff3366;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    margin-bottom: 18px;
}

.age-modal h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.age-modal p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.age-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.btn-age-confirm {
    width: 100%;
    padding: 12px;
    border-radius: var(--radius-md);
    background: #ff3366;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all var(--transition-fast);
}

.btn-age-confirm:hover {
    background: #e61e53;
    transform: translateY(-1px);
}

.btn-age-cancel {
    width: 100%;
    padding: 11px;
    border-radius: var(--radius-md);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.btn-age-cancel:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
}

/* Admin / Settings Modal */
.admin-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    z-index: 250;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.admin-modal-overlay.open {
    display: flex;
    animation: fadeIn var(--transition-fast);
}

.admin-modal {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 580px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: scaleUp var(--transition-normal);
}

.admin-modal-head {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface-elevated);
}

.admin-modal-head h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.admin-modal-body {
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-height: 70vh;
}

.admin-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.admin-form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
}

.admin-form-group small {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.admin-select, .admin-input {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.admin-select:focus, .admin-input:focus {
    border-color: var(--accent-primary);
}

.admin-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 18px 24px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-surface-elevated);
}

.btn-primary {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    background: var(--accent-primary);
    color: var(--text-inverse);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.btn-primary:hover {
    opacity: 0.92;
    transform: translateY(-1px);
}

/* Lightbox Modal (Enlarged Image Preview) */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(14px);
    z-index: 350;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-overlay.open {
    display: flex;
    animation: fadeIn var(--transition-fast);
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: scaleUp var(--transition-normal);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-close {
    position: absolute;
    top: -46px;
    right: 0;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.lightbox-caption {
    margin-top: 14px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    text-align: center;
}

/* Floating Discord Widget (Reference Image 1) */
.floating-discord-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    border-radius: var(--radius-full);
    background: #5865F2;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(88, 101, 242, 0.4);
    z-index: 90;
    transition: all var(--transition-normal);
}

.floating-discord-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 30px rgba(88, 101, 242, 0.6);
}

/* --- Keyframe Animations --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

/* --- BRILHO ANIMADO SUTIL DENTRO DO BOTÃO DOS PRODUTOS --- */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-buy-btn {
    position: relative;
    overflow: hidden;
}

.product-buy-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: buttonShine 4s infinite;
}

@keyframes buttonShine {
    0% { left: -100%; }
    20% { left: 200%; }
    100% { left: 200%; }
}
.catalog-filter-bar {
    overflow-x: hidden !important;
    overflow-y: visible !important;
}
.category-pills-wrap {
    overflow-x: visible !important;
    overflow-y: visible !important;
}

/* FIX SUBPIXEL GLITCH ON STORE CARD HOVER */
.store-card {
    isolation: isolate;
    transform: translateZ(0);
}
.store-card-banner {
    margin-bottom: -1px;
}

/* Fix for seamless marquee math */
.category-pills-carousel.game-marquee {
    gap: 0 !important;
}
.category-pills-carousel.game-marquee .category-pill {
    margin-right: 14px;
}

/* Update animation target to .btn-details */
.btn-details {
    position: relative;
    overflow: hidden;
}

.btn-details::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: buttonShine 4s infinite;
}

.store-cta-btn {
    position: relative;
    overflow: hidden;
}

.store-cta-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transform: skewX(-20deg);
    animation: buttonShine 4s infinite 1s; /* delayed slightly */
}

/* Storefront remake: familiar panel layout, refined glow and restrained motion. */
.header-search { display: none; }
body.has-store .header-search { display: block; }
body:not(.has-store) .floating-discord-btn { display: none; }
body[data-theme="blacksea"] { --body-bg-image: none; }

.showcase-view { gap: 18px; }
.showcase-hero { margin: 16px auto 2px; }
.showcase-tag {
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-muted);
    font-size: .72rem;
    letter-spacing: .14em;
}
.showcase-hero h1 {
    font-size: clamp(2.15rem, 4vw, 3.55rem);
    letter-spacing: -.055em;
}
.showcase-hero h1 span {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--accent-secondary);
}
.showcase-hero p { font-size: .96rem; }
.stores-grid { gap: 20px; margin-top: 0; }

body[data-theme] .store-card.showcase-panel {
    --panel-accent: #5be0eb;
    --panel-line: rgba(73, 196, 212, .42);
    --panel-glow: rgba(25, 185, 213, .14);
    --panel-text: #d9faff;
    min-height: 425px;
    border: 1px solid var(--panel-line) !important;
    border-radius: 20px;
    background: #101a27 !important;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .23), 0 0 20px var(--panel-glow) !important;
    transform: none;
    isolation: isolate;
    transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
body[data-theme] .store-card.store-card-hothub.showcase-panel {
    --panel-accent: #ff6baa;
    --panel-line: rgba(235, 79, 149, .45);
    --panel-glow: rgba(231, 57, 139, .15);
    --panel-text: #ffe3f0;
    background: #211422 !important;
}
body[data-theme] .store-card.showcase-panel:hover,
body[data-theme] .store-card.showcase-panel:focus-within {
    transform: translateY(-3px);
    border-color: var(--panel-accent) !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .28), 0 0 26px var(--panel-glow) !important;
}

/* A slow highlight travels along the fine outer border. */
.showcase-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
    padding: 1px;
    pointer-events: none;
    background: linear-gradient(115deg, transparent 17%, var(--panel-accent) 35%, transparent 54%);
    background-size: 260% 260%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: .36;
    animation: panel-border-drift 13s ease-in-out infinite alternate;
}
@keyframes panel-border-drift {
    from { background-position: 0% 30%; }
    to { background-position: 100% 70%; }
}

.panel-cover {
    position: relative;
    height: 142px;
    flex-shrink: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 82% 36%, rgba(37, 174, 198, .18), transparent 35%),
        linear-gradient(145deg, #092a38 0%, #071624 70%);
    border-bottom: 1px solid rgba(92, 190, 209, .16);
}
.store-card-hothub .panel-cover {
    background:
        radial-gradient(circle at 82% 38%, rgba(232, 68, 144, .2), transparent 37%),
        linear-gradient(145deg, #331125 0%, #180c1b 72%);
    border-bottom-color: rgba(232, 80, 148, .17);
}
.panel-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: linear-gradient(90deg, transparent 20%, #000);
    pointer-events: none;
}
.panel-cover::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    right: 3%;
    top: 18px;
    border: 1px solid var(--panel-line);
    border-radius: 50%;
    opacity: .43;
    box-shadow: 0 0 0 34px rgba(80, 180, 200, .035), 0 0 0 76px rgba(80, 180, 200, .025);
    pointer-events: none;
}
.store-card-hothub .panel-cover::after {
    box-shadow: 0 0 0 34px rgba(235, 90, 150, .04), 0 0 0 76px rgba(235, 90, 150, .025);
}
.panel-cover-top {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 24px;
}
.panel-index {
    color: #a2bdc7;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .13em;
}
.panel-badge {
    padding: 5px 10px;
    color: var(--panel-text);
    border: 1px solid var(--panel-line);
    border-radius: 999px;
    background: rgba(5, 17, 27, .5);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .07em;
    white-space: nowrap;
}
.store-card-hothub .panel-badge { background: rgba(36, 8, 28, .5); }
.panel-cover-copy {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: -12px 28px 0;
}
.panel-wordmark {
    max-width: 100%;
    color: #e7fbff;
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.7vw, 2.35rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -.035em;
    text-shadow: 0 0 20px rgba(54, 205, 229, .13);
}
.store-card-hothub .panel-wordmark {
    color: #ffdeed;
    text-shadow: 0 0 20px rgba(255, 91, 163, .14);
}
.panel-cover-caption {
    color: #8db8c4;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .11em;
}
.store-card-hothub .panel-cover-caption { color: #d395b4; }

.panel-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 0 24px 22px;
}
.panel-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: -29px;
    margin-bottom: 15px;
}
.panel-avatar {
    width: 62px;
    height: 62px;
    border: 3px solid #101a27;
    border-radius: 15px;
    background: #101a27;
    object-fit: cover;
    box-shadow: 0 2px 14px rgba(0, 0, 0, .3), 0 0 0 1px var(--panel-line);
}
.store-card-hothub .panel-avatar { border-color: #211422; background: #211422; }
.panel-count {
    padding: 5px 11px;
    border: 1px solid var(--panel-line);
    border-radius: 999px;
    background: rgba(14, 39, 53, .75);
    color: var(--panel-text);
    font-size: .72rem;
    font-weight: 700;
    white-space: nowrap;
}
.store-card-hothub .panel-count { background: rgba(48, 19, 39, .8); }
.panel-title {
    color: #f7fafc;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.025em;
}
.panel-niche {
    margin-top: 4px;
    color: var(--panel-accent);
    font-size: .86rem;
    font-weight: 700;
}
.panel-description {
    margin-top: 12px;
    color: #9eafbd;
    font-size: .86rem;
    line-height: 1.5;
}
.store-card-hothub .panel-description { color: #b9a2b3; }
.panel-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 15px 0 18px;
}
.panel-tag {
    padding: 4px 8px;
    border: 1px solid rgba(124, 160, 180, .28);
    border-radius: 6px;
    color: #a9bdc9;
    font-size: .7rem;
    line-height: 1.2;
}
.store-card-hothub .panel-tag {
    border-color: rgba(204, 118, 162, .28);
    color: #cbb3c2;
}
.panel-cta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    margin-top: auto;
    padding: 11px 20px;
    border: 1px solid var(--panel-accent);
    border-radius: 999px;
    background: rgba(5, 20, 29, .86);
    color: #f4fdff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 0 14px var(--panel-glow);
    font-size: .9rem;
    font-weight: 750;
    transition: background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.store-card-hothub .panel-cta { background: rgba(27, 9, 24, .9); color: #fff4fa; }
.panel-cta:hover,
.panel-cta:focus-visible {
    background: rgba(18, 59, 70, .9);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09), 0 0 22px var(--panel-glow);
    transform: translateY(-1px);
    outline: none;
}
.store-card-hothub .panel-cta:hover,
.store-card-hothub .panel-cta:focus-visible { background: rgba(69, 21, 53, .9); }
.panel-cta-arrow { font-size: 1.2rem; line-height: 1; }

.detail-catalog-note {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.5;
}
#detailDiscordBtn {
    background: var(--accent-primary);
    color: var(--text-inverse);
    border: 0;
    box-shadow: none;
}
.category-pills-wrap { overflow: hidden !important; }

@media (max-width: 768px) {
    .content-wrap { padding: 20px 16px 48px; }
    .header-inner { padding: 10px 16px; flex-wrap: wrap; gap: 8px; }
    .brand-title { font-size: 1rem; }
    .brand-avatar { width: 34px; height: 34px; }
    .header-store-badge { display: none !important; }
    .header-actions { margin-left: auto; gap: 6px; }
    .theme-button { padding: 7px 9px; }
    .theme-button #themeActiveLabel { display: none; }
    .header-search { display: none; }
    body.has-store .header-search { display: block; order: 3; flex: 0 0 100%; max-width: none; }
    .showcase-hero { margin: 24px auto 0; }
    .showcase-hero p { font-size: .9rem; }
    .stores-grid { grid-template-columns: 1fr; gap: 16px; }
    body[data-theme] .store-card.showcase-panel { min-height: 480px; }
    .panel-cover { height: 160px; }
    .panel-cover-top { padding: 16px 18px; }
    .panel-cover-copy { margin: 10px 20px 0; }
    .panel-wordmark { font-size: clamp(1.55rem, 6vw, 2rem); }
    .panel-content { padding: 0 18px 18px; }
    .panel-description { font-size: .83rem; }
    .category-pills-carousel { overflow-y: hidden; padding-bottom: 18px; margin-bottom: -10px; }
}
@media (max-width: 400px) {
    .brand-title-wrap .verified-badge { display: none; }
    .panel-index { font-size: .6rem; }
    .panel-badge { font-size: .6rem; padding: 4px 7px; }
    .panel-cover-caption { font-size: .58rem; }
}
@media (prefers-reduced-motion: reduce) {
    .showcase-panel::before { animation: none; }
    body[data-theme] .store-card.showcase-panel,
    .panel-cta { transition: none; }
}

/* Luminous storefront: cyan/emerald and pink/violet identities. */
@property --panel-orbit {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
body[data-theme] .store-card.showcase-panel {
    --panel-accent: #00edbc;
    --panel-line: rgba(0, 211, 241, .55);
    --panel-glow: rgba(0, 210, 204, .25);
    --panel-fill: linear-gradient(105deg, #00c6ee 0%, #00ebad 100%);
    border-radius: 22px;
    background: linear-gradient(155deg, #142131, #0a131e 80%) !important;
    box-shadow: 0 14px 35px #0005, 0 0 26px var(--panel-glow), inset 0 0 22px #00d6e007 !important;
}
body[data-theme] .store-card.store-card-hothub.showcase-panel {
    --panel-accent: #ff3b92;
    --panel-line: rgba(255, 16, 124, .65);
    --panel-glow: rgba(245, 17, 124, .26);
    --panel-fill: linear-gradient(105deg, #ff005d 0%, #ff168d 50%, #d925e3 100%);
    background: linear-gradient(155deg, #291426, #160d1a 80%) !important;
}
body[data-theme] .store-card.showcase-panel:hover,
body[data-theme] .store-card.showcase-panel:focus-within {
    box-shadow: 0 20px 40px #0006, 0 0 38px var(--panel-glow), inset 0 0 24px var(--panel-glow) !important;
}
.showcase-panel::before {
    background: conic-gradient(from var(--panel-orbit), transparent 0deg 65deg, var(--panel-accent) 95deg, #ffffffc9 102deg, transparent 125deg 245deg, var(--panel-accent) 280deg, transparent 310deg);
    background-size: 100% 100%;
    opacity: .85;
    animation: panel-orbit 10s linear infinite;
}
.store-card-hothub.showcase-panel::before { animation-delay: -5s; }
@keyframes panel-orbit { to { --panel-orbit: 360deg; } }
.panel-cover {
    background: radial-gradient(ellipse at 10% 0%, #00516990, transparent 66%), linear-gradient(140deg, #071b2a, #060d18);
    border-bottom-color: #1da2b030;
}
.store-card-hothub .panel-cover {
    background: radial-gradient(ellipse at 95% 0%, #a20d5355, transparent 66%), linear-gradient(140deg, #26091f, #100816);
    border-bottom-color: #e2308835;
}
.panel-cover::before {
    background-image: radial-gradient(circle, #9eeeff32 .7px, transparent 1px);
    background-size: 12px 12px;
    mask-image: linear-gradient(#000a, transparent);
}
.panel-cover::after, .store-card-hothub .panel-cover::after {
    width: 95%; height: 150%; top: -80%; right: -25%;
    border: 0; border-radius: 50%; box-shadow: none;
    background: radial-gradient(ellipse, var(--panel-glow), transparent 65%);
    opacity: .9; filter: blur(12px);
    animation: panel-aurora 9s ease-in-out infinite alternate;
}
@keyframes panel-aurora { to { transform: translate(-38%, 45%) scale(1.2); opacity: .55; } }
.panel-wordmark, .store-card-hothub .panel-wordmark {
    background: var(--panel-fill);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px var(--panel-glow));
    text-shadow: none;
    letter-spacing: .015em;
}
.panel-badge { color: #27ffd1; background: #00c9a51b; box-shadow: 0 0 14px #00d5b51c; }
.store-card-hothub .panel-badge {
    background: linear-gradient(110deg, #ec005d, #ff1886);
    color: white; border-color: #ff6fa9;
    box-shadow: 0 0 18px #ff08775c;
}
.panel-avatar { box-shadow: 0 0 0 1px var(--panel-line), 0 0 20px var(--panel-glow); }
.panel-tag { border-radius: 999px; background: #07152265; }
.store-card-hothub .panel-tag { background: #250d2165; }
.panel-count { color: #45e5f5; }
.store-card-hothub .panel-count { color: #ff77ac; }
.panel-cta, .store-card-hothub .panel-cta,
.panel-cta:hover, .panel-cta:focus-visible,
.store-card-hothub .panel-cta:hover, .store-card-hothub .panel-cta:focus-visible {
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #ffffff20;
    background: var(--panel-fill);
    color: #031923;
    font-weight: 800;
    box-shadow: 0 0 23px var(--panel-glow), inset 0 1px 0 #ffffff40;
}
.store-card-hothub .panel-cta,
.store-card-hothub .panel-cta:hover,
.store-card-hothub .panel-cta:focus-visible { color: #fff; }
.panel-cta:focus-visible { outline: 2px solid white; outline-offset: 4px; }
.panel-cta::after {
    content: ''; position: absolute; inset: -40% auto -40% -65%; width: 35%;
    background: linear-gradient(90deg, transparent, #ffffff65, transparent);
    transform: skewX(-22deg); pointer-events: none;
    animation: panel-button-sheen 7s ease-in-out infinite;
}
.store-card-hothub .panel-cta::after { animation-delay: 2s; }
@keyframes panel-button-sheen {
    0%, 68% { left: -65%; }
    90%, 100% { left: 135%; }
}
.panel-cta-arrow { transition: transform .2s ease; }
.panel-cta:hover .panel-cta-arrow { transform: translateX(4px); }
.panel-particles { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.panel-particles i {
    position: absolute; width: 3px; height: 3px; border-radius: 50%;
    background: var(--panel-accent); box-shadow: 0 0 7px var(--panel-accent);
    left: 69%; top: 75%; opacity: 0;
    animation: panel-particle-rise 9s ease-in-out infinite;
}
.panel-particles i:nth-child(2) { left: 84%; top: 55%; animation-delay: -2s; }
.panel-particles i:nth-child(3) { left: 51%; top: 90%; animation-delay: -5s; }
.panel-particles i:nth-child(4) { left: 94%; top: 85%; animation-delay: -7s; }
.panel-particles i:nth-child(5) { left: 36%; top: 45%; animation-delay: -3s; width: 2px; height: 2px; }
.panel-particles i:nth-child(6) { left: 76%; top: 95%; animation-delay: -6s; width: 2px; height: 2px; }
@keyframes panel-particle-rise {
    0%, 100% { opacity: 0; transform: translateY(10px); }
    30% { opacity: .6; }
    75% { opacity: .15; transform: translateY(-55px); }
}
@media (max-width: 768px) {
    .panel-wordmark { letter-spacing: -.025em; }
    .panel-cover::after { filter: none; }
}
@media (prefers-reduced-motion: reduce) {
    .showcase-panel::before, .panel-cover::after,
    .panel-particles i, .panel-cta::after { animation: none; }
    .panel-cta::after { display: none; }
    .panel-cta-arrow { transition: none; }
}

/* Ambient light stays behind the interface and never receives clicks. */
.theme-atmosphere { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; display: none; }
body[data-theme="blacksea"] .theme-atmosphere,
body[data-theme="gta6"] .theme-atmosphere { display: block; }
.theme-atmosphere span { position: absolute; bottom: -18%; width: 65%; height: 100%; border-radius: 50%; filter: blur(40px); opacity: .6; transform-origin: bottom; animation: atmosphere-rise 15s ease-in-out infinite alternate; }
.theme-atmosphere span:nth-child(1) { left: -20%; background: radial-gradient(ellipse at 50% 90%, #00c9db48, transparent 65%); }
.theme-atmosphere span:nth-child(2) { right: -20%; background: radial-gradient(ellipse at 50% 90%, #007bff38, transparent 65%); animation-delay: -7s; }
.theme-atmosphere span:nth-child(3) { left: 25%; width: 50%; background: radial-gradient(ellipse at 50% 100%, #248cd530, transparent 60%); animation-delay: -11s; }
@keyframes atmosphere-rise { from { transform: translateY(8%) scaleX(.85); opacity: .45; } to { transform: translateY(-20%) scaleX(1.15); opacity: .95; } }

/* Vice City Afterglow: sunset accents over a deep plum night. */
body[data-theme="gta6"] {
    --bg-base: #100e20;
    --bg-surface: #19152d;
    --bg-surface-elevated: #241d3b;
    --bg-glass: rgba(19, 15, 34, .94);
    --bg-glass-card: #1c1730;
    --bg-input: #171329;
    --bg-hover: #f995c014;
    --border-subtle: #ba91da30;
    --border-medium: #d09bec59;
    --border-highlight: #ff9cbf;
    --text-primary: #fff5f7;
    --text-secondary: #c8b9d4;
    --text-muted: #a99bbb;
    --text-inverse: #24122d;
    --accent-primary: #ffa3bd;
    --accent-primary-hover: #ffc0cf;
    --accent-secondary: #7fe3e0;
    --accent-gradient: linear-gradient(110deg, #ffb395, #ff83b8 55%, #b99cff);
    --accent-glow: 0 0 24px #ef83b923;
    --pix-color: #9be8df;
    --danger-color: #ff719c;
    --shadow-card: 0 10px 28px #09051240;
    --body-bg-image: radial-gradient(ellipse at 50% 0%, #72376245, transparent 55%), linear-gradient(165deg, #181329, #100e20 60%, #22142c);
}
body[data-theme="gta6"] .theme-atmosphere span:nth-child(1) { background: radial-gradient(ellipse at 50% 90%, #ff906b45, transparent 65%); }
body[data-theme="gta6"] .theme-atmosphere span:nth-child(2) { background: radial-gradient(ellipse at 50% 90%, #ed5cbb48, transparent 65%); }
body[data-theme="gta6"] .theme-atmosphere span:nth-child(3) { background: radial-gradient(ellipse at 50% 90%, #7050df40, transparent 65%); }
body[data-theme="gta6"] .theme-atmosphere::after {
    content: ''; position: absolute; bottom: -30px; left: -25%; width: 150%; height: 190px;
    background: repeating-linear-gradient(0deg, #e5a0dc0d 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, #e5a0dc0d 0 1px, transparent 1px 90px);
    transform: perspective(250px) rotateX(48deg); transform-origin: bottom;
    mask-image: linear-gradient(transparent, #0008);
}
body[data-theme="gta6"] .header { border-bottom-color: #ffb5c52b; box-shadow: 0 3px 28px #09051235; }
body[data-theme="gta6"] .header::after { content: ''; position: absolute; bottom: -1px; left: 15%; width: 70%; height: 1px; background: linear-gradient(90deg, transparent, #ffadab95, #bb92f990, transparent); }
body[data-theme="gta6"] .showcase-tag { color: #efb7d3; }
body[data-theme="gta6"] .showcase-hero h1 span { background: var(--accent-gradient); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
body[data-theme="gta6"] .store-card.showcase-panel {
    --panel-accent: #9ee7e0;
    --panel-line: #95ded95e;
    --panel-glow: #7ddedc20;
    --panel-fill: linear-gradient(110deg, #88e5d9, #a9d8ed 55%, #b9b2f5);
    background: linear-gradient(155deg, #24233d, #171a2d) !important;
}
body[data-theme="gta6"] .store-card.store-card-hothub.showcase-panel {
    --panel-accent: #ffa0bd;
    --panel-line: #ff9bb96b;
    --panel-glow: #ef8aad25;
    --panel-fill: linear-gradient(110deg, #ffb795, #ff94b5 55%, #cd9df2);
    background: linear-gradient(155deg, #33213b, #21172e) !important;
}
body[data-theme="gta6"] .panel-cover { background: radial-gradient(ellipse at 90% 0%, #8d84c948, transparent 70%), linear-gradient(125deg, #233b49, #202239); }
body[data-theme="gta6"] .store-card-hothub .panel-cover { background: radial-gradient(ellipse at 90% 0%, #ee946446, transparent 65%), linear-gradient(125deg, #532f4c, #30203c); }
body[data-theme="gta6"] .panel-badge { background: #242339b0; color: #d9fff7; box-shadow: 0 0 14px var(--panel-glow); }
body[data-theme="gta6"] .store-card-hothub .panel-badge { background: #ffafbb; color: #431e38; border-color: #ffd3d8; }
body[data-theme="gta6"] .panel-cta,
body[data-theme="gta6"] .store-card-hothub .panel-cta { color: #241b34; }
body[data-theme="gta6"] .panel-count { background: #27273c; color: #aff3e9; }
body[data-theme="gta6"] .store-card-hothub .panel-count { background: #382239; color: #ffc4d4; }
body[data-theme="gta6"] .panel-description { color: #c6bfd4; }
body[data-theme="gta6"] .panel-avatar { border-color: #27243b; }
body[data-theme="gta6"] .product-card { background: linear-gradient(150deg, #292039, #19172c); border: 1px solid #bc93da38; box-shadow: var(--shadow-card); }
body[data-theme="gta6"] .product-card:hover { border-color: #ffacca95; box-shadow: 0 16px 30px #09051250, 0 0 20px #f695ba1a; transform: translateY(-4px); }
body[data-theme="gta6"] .product-card-content { background: transparent; }
body[data-theme="gta6"] .product-card.product-card-legendary {
    background: linear-gradient(150deg, #332135, #1e182e);
    border: 1.5px solid rgba(255, 198, 88, 0.65);
    box-shadow: 0 10px 30px #09051260, 0 0 20px rgba(255, 190, 70, 0.22);
    animation: legendaryGlowGta6 4s ease-in-out infinite alternate;
}
body[data-theme="gta6"] .product-card.product-card-legendary:hover {
    border-color: #ffd27d;
    box-shadow: 0 16px 34px #09051270, 0 0 30px rgba(255, 198, 88, 0.45);
}
body[data-theme="gta6"] .product-rank-badge {
    background: linear-gradient(135deg, #ffe17d, #ff9eb5);
    color: #24122d;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4), 0 0 12px rgba(255, 174, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.4);
}
body[data-theme="gta6"] .product-card.product-card-legendary .product-delivery-badge {
    background: rgba(16, 14, 32, 0.88);
    border: 1px solid rgba(255, 198, 88, 0.45);
    color: #ffffff;
}
@keyframes legendaryGlowGta6 {
    0% {
        box-shadow: 0 10px 30px #09051260, 0 0 14px rgba(255, 190, 70, 0.18);
    }
    100% {
        box-shadow: 0 10px 30px #09051260, 0 0 26px rgba(255, 190, 70, 0.34);
    }
}
body[data-theme="gta6"] .product-main-price,
body[data-theme="gta6"] .detail-pix-price { color: #a4efe0; text-shadow: none; }
body[data-theme="gta6"] .product-pix-sub { color: #b8abca; }
body[data-theme="gta6"] .btn-details,
body[data-theme="gta6"] #detailDiscordBtn,
body[data-theme="gta6"] .btn-primary,
body[data-theme="gta6"] .btn-age-confirm { background: var(--accent-gradient); color: #2d1735; border: 1px solid #ffb8d055; box-shadow: 0 4px 14px #fa92b51a; font-weight: 800; text-shadow: none; }
body[data-theme="gta6"] .btn-details:hover,
body[data-theme="gta6"] #detailDiscordBtn:hover { filter: brightness(1.08); box-shadow: 0 4px 20px #fa92b535; }
body[data-theme="gta6"] .btn-details::after { animation-duration: 10s; opacity: .5; }
body[data-theme="gta6"] .category-pill.active { background: #f6a8c4; color: #301d3c; border-color: #ffcedf; box-shadow: 0 0 13px #ff9abd20; }
body[data-theme="gta6"] .category-pill:hover { border-color: #f3b1da; }
body[data-theme="gta6"] .category-grid-item.active { background: #51334f; border-color: #ffacca; }
body[data-theme="gta6"] .store-subbar,
body[data-theme="gta6"] .detail-price-box,
body[data-theme="gta6"] .detail-description-box { background: linear-gradient(120deg, #2b203b, #201a32); border: 1px solid #d2a4dd35; box-shadow: none; }
body[data-theme="gta6"] .category-modal,
body[data-theme="gta6"] .age-modal,
body[data-theme="gta6"] .theme-dropdown { background: #20182f; border-color: #d99cc75e; box-shadow: 0 25px 75px #08040fcc; }
body[data-theme="gta6"] .category-modal-head { background: #291e3b; }
body[data-theme="gta6"] .age-modal-icon { background: #f898bc14; color: #ffafcb; border-color: #f6a1c34d; }
body[data-theme="gta6"] .btn-age-cancel { color: #d7c8e1; border-color: #b895d04a; }
body[data-theme="gta6"] .footer { background: #100e20dc; border-top: 1px solid #e3a4cf28; }
body[data-theme="gta6"] .footer-links-col a { color: #bca9ce; }
body[data-theme="gta6"] .footer-links-col a:hover { color: #ffc3d2; }
body[data-theme="gta6"] .floating-discord-btn { background: linear-gradient(145deg, #9869d7, #d275b5); box-shadow: 0 5px 24px #c574b433; }
@media (max-width: 768px) {
    .theme-atmosphere span { width: 100%; height: 75%; }
    .theme-atmosphere span:nth-child(3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .theme-atmosphere span { animation: none; opacity: .6; }
    body[data-theme="gta6"] .btn-details::after { animation: none; display: none; }
}

/* Rotating product discovery below the category filter. */
.catalog-discovery { margin: 20px 0 26px; }
.catalog-discovery[hidden] { display: none; }
.catalog-discovery-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 13px; }
.catalog-discovery-kicker { color: var(--accent-secondary); font-size: .66rem; font-weight: 800; letter-spacing: .15em; }
.catalog-discovery-head h2 { color: var(--text-primary); font-family: var(--font-heading); font-size: 1.15rem; line-height: 1.2; margin-top: 3px; }
.catalog-discovery-controls { display: flex; align-items: center; gap: 8px; }
.catalog-discovery-status { color: var(--text-muted); font-size: .76rem; white-space: nowrap; margin-right: 4px; }
.catalog-discovery-arrow {
    display: grid; place-items: center; width: 33px; height: 33px; border-radius: 10px;
    background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle);
    color: var(--text-secondary); font-size: 1.2rem; line-height: 1; transition: background .2s, border-color .2s, color .2s;
}
.catalog-discovery-arrow:hover:not(:disabled), .catalog-discovery-arrow:focus-visible { background: var(--bg-hover); border-color: var(--border-highlight); color: var(--text-primary); }
.catalog-discovery-arrow:disabled { opacity: .35; cursor: default; }
.catalog-discovery-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.discovery-card {
    display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 100px;
    padding: 11px; border-radius: 16px; text-align: left;
    background: var(--bg-glass-card); border: 1px solid var(--border-subtle);
    color: var(--text-primary); box-shadow: var(--shadow-sm);
    animation: discovery-enter .35s ease both;
    transition: border-color .2s, background .2s, transform .2s, box-shadow .2s;
}
.discovery-card:hover, .discovery-card:focus-visible {
    background: var(--bg-surface-elevated); border-color: var(--border-highlight);
    box-shadow: var(--shadow-md); transform: translateY(-2px); outline: none;
}
.discovery-card-image { width: 72px; height: 72px; flex: 0 0 72px; object-fit: cover; border-radius: 11px; background: var(--bg-surface-elevated); }
.discovery-card-info { display: flex; flex-direction: column; justify-content: center; min-width: 0; gap: 3px; }
.discovery-card-category { color: var(--text-muted); font-size: .68rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.discovery-card-name { color: var(--text-primary); font-size: .88rem; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.discovery-card-price { color: var(--pix-color); font-size: .88rem; font-weight: 800; }
.discovery-card-sales { color: var(--text-muted); font-size: .66rem; font-weight: 650; line-height: 1.1; }
@keyframes discovery-enter { from { opacity: .35; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.catalog-discovery-bestsellers-heading {
    grid-column: 1 / -1;
    color: var(--accent-secondary);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.2;
    text-align: center;
    animation: discovery-enter .35s ease both;
}
body[data-theme="gta6"] .discovery-card { background: linear-gradient(135deg, #292039, #211a34); border-color: #bc93da38; }
body[data-theme="gta6"] .discovery-card:hover, body[data-theme="gta6"] .discovery-card:focus-visible { border-color: #ffacca95; box-shadow: 0 8px 26px #ef8aad24; }
body[data-theme="gta6"] .discovery-card-price { color: #a4efe0; }
@media (max-width: 960px) {
    .catalog-discovery-items { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .catalog-discovery-items.is-bestsellers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .catalog-discovery { margin: 18px 0 25px; }
    .catalog-discovery-head h2 { font-size: 1rem; }
    .catalog-discovery-items { grid-template-columns: 1fr; }
    .catalog-discovery-items.is-bestsellers { grid-template-columns: 1fr; }
    .discovery-card { min-height: 90px; }
}
@media (prefers-reduced-motion: reduce) {
    .discovery-card { animation: none; transition: none; }
    .catalog-discovery-bestsellers-heading { animation: none; }
}

/* A missing bot image is shown honestly, without borrowing another game's art. */
.product-media-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
    width: 100%; height: 100%; min-height: 100%; padding: 14px;
    background: linear-gradient(145deg, var(--bg-surface-elevated), var(--bg-surface));
    color: var(--text-muted); text-align: center; font-size: .78rem; font-weight: 600;
}
.product-media-placeholder svg { width: 34px; height: 34px; opacity: .65; }
.product-media-placeholder.compact { width: 72px; height: 72px; min-height: 72px; flex: 0 0 72px; padding: 8px; border-radius: 11px; }
.product-media-placeholder.compact svg { width: 27px; height: 27px; }
.category-grid-item .product-media-placeholder.compact { width: 28px; height: 28px; min-height: 28px; flex-basis: 28px; padding: 4px; border-radius: 50%; }
.category-grid-item .product-media-placeholder.compact svg { width: 18px; height: 18px; }
.detail-hero-image-wrap .product-media-placeholder { position: absolute; inset: 0; }

/* Give catalog buttons the same slow, gentle sweep as the showcase CTAs. */
body[data-theme] .btn-details::after {
    inset: -40% auto -40% -65%; width: 35%; height: auto;
    background: linear-gradient(90deg, transparent, #ffffff65, transparent);
    transform: skewX(-22deg); pointer-events: none;
    animation: panel-button-sheen 7s ease-in-out infinite; opacity: .6;
}
@media (prefers-reduced-motion: reduce) { body[data-theme] .btn-details::after { animation: none; display: none; } }

/* Obsidiana: a quiet dark theme with crisp edges and almost no glow. */
body[data-theme="obsidian"] {
    --bg-base: #0b0d11;
    --bg-surface: #11151b;
    --bg-surface-elevated: #1b212a;
    --bg-glass: rgba(11, 13, 17, .96);
    --bg-glass-card: #141920;
    --bg-input: #171c24;
    --bg-hover: #d3dce70d;
    --border-subtle: #b5c1cf26;
    --border-medium: #b5c1cf4d;
    --border-highlight: #b6c6d3;
    --text-primary: #edf1f5;
    --text-secondary: #abb5c0;
    --text-muted: #8995a2;
    --text-inverse: #111820;
    --accent-primary: #b8c6d2;
    --accent-primary-hover: #d5dfe6;
    --accent-secondary: #9eafbd;
    --accent-gradient: linear-gradient(110deg, #c2ced8, #a9b9c8);
    --accent-glow: none;
    --pix-color: #c5d1dc;
    --danger-color: #d9a4b0;
    --shadow-sm: 0 2px 8px #0003;
    --shadow-md: 0 8px 20px #0004;
    --shadow-lg: 0 18px 45px #0008;
    --shadow-card: 0 6px 18px #0003;
    --body-bg-image: linear-gradient(155deg, #101318, #0b0d11 62%, #101219);
}
body[data-theme="obsidian"] .header { box-shadow: none; }
body[data-theme="obsidian"] .showcase-hero h1 span { color: #ad98e5; background: none; -webkit-text-fill-color: currentColor; }
body[data-theme="obsidian"] .showcase-tag { color: #9eafbd; }
body[data-theme="obsidian"] .store-card.showcase-panel {
    --panel-accent: #c0cfdb; --panel-line: #b5c1cf36; --panel-glow: transparent;
    --panel-fill: linear-gradient(110deg, #c9d4df, #aebdcc);
    background: #151b23 !important; box-shadow: 0 6px 20px #0003 !important;
    border-color: #b5c1cf36;
}
body[data-theme="obsidian"] .store-card.store-card-hothub.showcase-panel {
    --panel-accent: #d3bdc9; --panel-line: #c5abb938;
    --panel-fill: linear-gradient(110deg, #dacbd3, #bdaeba);
    background: #1b1920 !important;
}
body[data-theme="obsidian"] .store-card.showcase-panel:hover,
body[data-theme="obsidian"] .store-card.showcase-panel:focus-within { box-shadow: 0 9px 26px #0005 !important; }
body[data-theme="obsidian"] .showcase-panel::before,
body[data-theme="obsidian"] .panel-cover::after,
body[data-theme="obsidian"] .panel-particles,
body[data-theme="obsidian"] .panel-cta::after { display: none; animation: none; }
body[data-theme="obsidian"] .panel-cover { background: linear-gradient(125deg, #1c2933, #151b23); border-bottom-color: #b5c1cf20; }
body[data-theme="obsidian"] .store-card-hothub .panel-cover { background: linear-gradient(125deg, #2a222b, #1b1920); border-bottom-color: #c5abb920; }
body[data-theme="obsidian"] .panel-cover::before { opacity: .18; }
body[data-theme="obsidian"] .panel-wordmark { filter: none; }
body[data-theme="obsidian"] .panel-badge { background: #232d37; color: #d7e1e8; border-color: #b5c1cf38; box-shadow: none; }
body[data-theme="obsidian"] .store-card-hothub .panel-badge { background: #342b35; color: #ead9e2; border-color: #c5abb938; }
body[data-theme="obsidian"] .panel-avatar { box-shadow: 0 0 0 1px var(--panel-line); }
body[data-theme="obsidian"] .panel-count { background: #202933; color: #cfdae3; }
body[data-theme="obsidian"] .store-card-hothub .panel-count { background: #302731; color: #e5d2dc; }
body[data-theme="obsidian"] .panel-tag,
body[data-theme="obsidian"] .store-card-hothub .panel-tag { background: #ffffff08; }
body[data-theme="obsidian"] .panel-cta,
body[data-theme="obsidian"] .store-card-hothub .panel-cta,
body[data-theme="obsidian"] .store-card-hothub .panel-cta:hover {
    background: var(--panel-fill); color: #17202a; box-shadow: none; border-color: #ffffff22;
}
body[data-theme="obsidian"] .product-card,
body[data-theme="obsidian"] .discovery-card { background: #151a21; box-shadow: 0 4px 14px #0003; }
body[data-theme="obsidian"] .product-card:hover,
body[data-theme="obsidian"] .discovery-card:hover { border-color: #9eafbd80; box-shadow: 0 6px 18px #0004; transform: translateY(-2px); }
body[data-theme="obsidian"] .btn-details,
body[data-theme="obsidian"] #detailDiscordBtn,
body[data-theme="obsidian"] .btn-primary,
body[data-theme="obsidian"] .btn-age-confirm { background: #b8c6d2; color: #111820; border-color: #b8c6d2; box-shadow: none; text-shadow: none; }
body[data-theme="obsidian"] .btn-details::after { display: none; animation: none; }
body[data-theme="obsidian"] .product-card:hover .btn-details { background: #d5dfe6; color: #111820; }
body[data-theme="obsidian"] .category-pill.active { background: #b8c6d2; color: #111820; }
body[data-theme="obsidian"] .store-subbar,
body[data-theme="obsidian"] .detail-price-box,
body[data-theme="obsidian"] .detail-description-box { background: #171c24; box-shadow: none; }
body[data-theme="obsidian"] .category-modal,
body[data-theme="obsidian"] .age-modal,
body[data-theme="obsidian"] .theme-dropdown { background: #171c24; border-color: #b5c1cf36; }
body[data-theme="obsidian"] .category-modal-head { background: #1b212a; }
body[data-theme="obsidian"] .footer { background: #0b0d11; border-top: 1px solid #b5c1cf22; }
body[data-theme="obsidian"] .floating-discord-btn { background: #485767; box-shadow: 0 4px 15px #0005; }
body[data-theme="obsidian"] .badge-popular { background: #3e4e5d; color: #e4ebf1; }
body[data-theme="obsidian"] .product-card-badge,
body[data-theme="obsidian"] .product-card-badge-adult { background: #4d414b !important; color: #eadde4 !important; border-color: rgba(234, 221, 228, 0.15) !important; }
/* Obsidiana Theme Attenuation for Legendary Cards (F8, R3) */
body[data-theme="obsidian"] .product-card.product-card-legendary {
    border: 1px solid rgba(168, 142, 84, 0.45);
    background: #171b23;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45), 0 0 6px rgba(168, 142, 84, 0.1);
    animation: none;
}
body[data-theme="obsidian"] .product-card.product-card-legendary:hover {
    border-color: rgba(168, 142, 84, 0.65);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 8px rgba(168, 142, 84, 0.12);
    transform: translateY(-2px);
}
body[data-theme="obsidian"] .product-rank-badge {
    background: linear-gradient(135deg, #a88e54, #735d33);
    color: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(168, 142, 84, 0.45);
}
body[data-theme="obsidian"] .product-delivery-badge {
    background: rgba(10, 13, 18, 0.88);
    border: 1px solid rgba(181, 193, 207, 0.18);
    color: #edf1f5;
}
body[data-theme="obsidian"] .product-card.product-card-legendary .product-delivery-badge {
    background: rgba(10, 13, 18, 0.92);
    border: 1px solid rgba(168, 142, 84, 0.4);
    color: #ffffff;
}
body[data-theme="obsidian"] .delivery-automatic .delivery-icon-auto {
    color: #7ee7c4;
    filter: none;
}
body[data-theme="obsidian"] .status-tag { color: #c5d1dc; border-color: #b5c1cf38; background: #b5c1cf12; }
body[data-theme="obsidian"] .verified-badge-sm,
body[data-theme="obsidian"] .verified-badge { filter: grayscale(.6); }

/* Light showcase: airy cards with the same two store identities. */
body[data-theme="light"] .store-card.showcase-panel {
    --panel-accent: #008eaa;
    --panel-line: #84cdd9;
    --panel-glow: #10b8cc20;
    --panel-fill: linear-gradient(105deg, #10c6e0, #08d9ad);
    background: linear-gradient(155deg, #fff, #f4fbfc 85%) !important;
    box-shadow: 0 12px 28px #16436417, 0 0 22px var(--panel-glow) !important;
}
body[data-theme="light"] .store-card.store-card-hothub.showcase-panel {
    --panel-accent: #d73883;
    --panel-line: #edafd0;
    --panel-glow: #ed5c9f1f;
    --panel-fill: linear-gradient(105deg, #ff176e, #e436c2);
    background: linear-gradient(155deg, #fff, #fff5fa 85%) !important;
}
body[data-theme="light"] .store-card.showcase-panel:hover,
body[data-theme="light"] .store-card.showcase-panel:focus-within {
    box-shadow: 0 16px 34px #16436421, 0 0 28px var(--panel-glow) !important;
}
body[data-theme="light"] .panel-cover {
    background: radial-gradient(ellipse at 80% 0%, #88e9eb99, transparent 60%), linear-gradient(135deg, #e6faff, #cdeef3);
    border-bottom-color: #6dc4d966;
}
body[data-theme="light"] .store-card-hothub .panel-cover {
    background: radial-gradient(ellipse at 80% 0%, #ffc3e1a8, transparent 60%), linear-gradient(135deg, #fff0f7, #f8d9e9);
    border-bottom-color: #e6a4c766;
}
body[data-theme="light"] .panel-cover::before { opacity: .32; }
body[data-theme="light"] .panel-cover::after { opacity: .4; }
body[data-theme="light"] .panel-index { color: #557688; }
body[data-theme="light"] .store-card-hothub .panel-index { color: #856379; }
body[data-theme="light"] .panel-badge {
    color: #006d78;
    background: #ffffffb8;
    box-shadow: 0 2px 10px #24677912;
}
body[data-theme="light"] .store-card-hothub .panel-badge {
    color: #ac236b;
    background: #ffffffb8;
    border-color: #e7a8c8;
    box-shadow: 0 2px 10px #a12d6612;
}
body[data-theme="light"] .panel-wordmark {
    --panel-fill: linear-gradient(105deg, #087eaa, #00a989);
    filter: none;
}
body[data-theme="light"] .store-card-hothub .panel-wordmark {
    --panel-fill: linear-gradient(105deg, #bf205d, #9b35ad);
}
body[data-theme="light"] .panel-cover-caption { color: #4f7988; }
body[data-theme="light"] .store-card-hothub .panel-cover-caption { color: #925a7c; }
body[data-theme="light"] .panel-avatar {
    border-color: #fff;
    background: #fff;
    box-shadow: 0 3px 12px #23485a26, 0 0 0 1px var(--panel-line);
}
body[data-theme="light"] .store-card-hothub .panel-avatar { border-color: #fff; background: #fff; }
body[data-theme="light"] .panel-count {
    color: #077792;
    background: #effaff;
}
body[data-theme="light"] .store-card-hothub .panel-count {
    color: #ba3377;
    background: #fff0f7;
}
body[data-theme="light"] .panel-title { color: #142b3b; }
body[data-theme="light"] .panel-niche { color: #008774; }
body[data-theme="light"] .store-card-hothub .panel-niche { color: #c52e73; }
body[data-theme="light"] .panel-description,
body[data-theme="light"] .store-card-hothub .panel-description { color: #526779; }
body[data-theme="light"] .panel-tag {
    color: #4c697b;
    background: #edf8fa;
    border-color: #b7dce4;
}
body[data-theme="light"] .store-card-hothub .panel-tag {
    color: #805971;
    background: #fff0f7;
    border-color: #eed0df;
}
body[data-theme="light"] .panel-cta,
body[data-theme="light"] .panel-cta:hover,
body[data-theme="light"] .panel-cta:focus-visible {
    color: #06313a;
    box-shadow: 0 6px 18px #00babb24, inset 0 1px 0 #ffffff80;
}
body[data-theme="light"] .store-card-hothub .panel-cta,
body[data-theme="light"] .store-card-hothub .panel-cta:hover,
body[data-theme="light"] .store-card-hothub .panel-cta:focus-visible {
    color: #fff;
    box-shadow: 0 6px 18px #db3d912b, inset 0 1px 0 #ffffff65;
}

/* Claro (Light) Theme Legendary Card Styling (F7, R3) */
body[data-theme="light"] .product-card.product-card-legendary {
    border: 1.5px solid rgba(217, 155, 24, 0.65);
    background: linear-gradient(155deg, #fffdf2, #fbf7e8);
    box-shadow: 0 6px 20px rgba(202, 138, 4, 0.14), 0 0 14px rgba(245, 197, 24, 0.16);
    animation: legendaryGlowLight 4s ease-in-out infinite alternate;
}
body[data-theme="light"] .product-card.product-card-legendary:hover {
    border-color: #d97706;
    box-shadow: 0 10px 28px rgba(202, 138, 4, 0.22), 0 0 24px rgba(245, 197, 24, 0.32);
}
body[data-theme="light"] .product-rank-badge {
    background: linear-gradient(135deg, #ffd000, #f59e0b);
    color: #3d2300;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15), 0 0 8px rgba(245, 158, 11, 0.3);
    border: 1px solid rgba(255, 215, 0, 0.6);
}
body[data-theme="light"] .product-delivery-badge {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(15, 23, 42, 0.2);
    color: #ffffff;
}
body[data-theme="light"] .product-card.product-card-legendary .product-delivery-badge {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(217, 155, 24, 0.5);
    color: #ffffff;
}
@keyframes legendaryGlowLight {
    0% {
        box-shadow: 0 6px 20px rgba(202, 138, 4, 0.12), 0 0 12px rgba(245, 197, 24, 0.14);
    }
    100% {
        box-shadow: 0 6px 20px rgba(202, 138, 4, 0.18), 0 0 22px rgba(245, 197, 24, 0.26);
    }
}

/* Checkout keeps the active store theme and stays separate from product details. */
body.checkout-open { overflow: hidden; }
.checkout-account-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 230px;
    padding: 7px 10px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: var(--bg-surface-elevated);
    color: var(--text-secondary);
    font-size: .72rem;
    white-space: nowrap;
    appearance: none;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}
.checkout-account-menu {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
}
.checkout-account-status:hover,
.checkout-account-status[aria-expanded="true"] {
    border-color: var(--border-medium);
    background: var(--bg-hover);
    color: var(--text-primary);
}
.checkout-account-status:focus-visible,
.checkout-account-logout:focus-visible {
    outline: 2px solid var(--border-highlight);
    outline-offset: 3px;
}
.checkout-account-chevron {
    width: 12px;
    height: 12px;
    flex: 0 0 auto;
    opacity: .75;
    transition: transform var(--transition-fast);
}
.checkout-account-status[aria-expanded="true"] .checkout-account-chevron { transform: rotate(180deg); }
.checkout-account-popover {
    position: absolute;
    z-index: 1800;
    top: calc(100% + 9px);
    right: 0;
    min-width: 174px;
    padding: 5px;
    border: 1px solid var(--border-medium);
    border-radius: 14px;
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    box-shadow: var(--shadow-lg, 0 12px 28px #0005);
    transform-origin: top right;
    animation: checkout-account-popover-in 150ms ease-out both;
}
.checkout-account-popover::before {
    content: '';
    position: absolute;
    top: -5px;
    right: 17px;
    width: 9px;
    height: 9px;
    border-top: 1px solid var(--border-medium);
    border-left: 1px solid var(--border-medium);
    background: var(--bg-surface-elevated);
    transform: rotate(45deg);
}
.checkout-account-logout {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 10px 11px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: var(--text-primary);
    font: inherit;
    font-size: .8rem;
    font-weight: 750;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--transition-fast), color var(--transition-fast), opacity var(--transition-fast);
}
.checkout-account-logout svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    opacity: .82;
}
.checkout-account-logout:hover:not(:disabled) {
    background: var(--bg-hover);
    color: var(--accent-primary);
}
.checkout-account-logout:disabled { opacity: .72; cursor: wait; }
@keyframes checkout-account-popover-in {
    from { opacity: 0; transform: translateY(-3px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.checkout-account-status strong {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-primary);
}
.checkout-account-dot {
    width: 7px;
    height: 7px;
    flex: none;
    border-radius: 50%;
    background: var(--accent-secondary);
    box-shadow: 0 0 0 3px var(--bg-hover);
}
@media (max-width: 620px) {
    .checkout-account-status { padding: 7px 9px; }
    .checkout-account-label, .checkout-account-status strong { display: none; }
    .checkout-account-status::after { content: 'Conectado'; }
}
.checkout-header-btn {
    padding: 9px 14px;
    border: 1px solid var(--border-medium);
    border-radius: 999px;
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    font: inherit;
    font-size: .78rem;
    font-weight: 750;
    cursor: pointer;
}
.checkout-buy-btn {
    width: 100%;
    min-height: 48px;
    margin-bottom: 10px;
    border: 1px solid var(--border-highlight);
    border-radius: 12px;
    background: var(--accent-gradient);
    color: var(--text-inverse);
    box-shadow: var(--accent-glow);
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}
.checkout-buy-btn:hover, .checkout-primary:hover { transform: translateY(-2px); filter: brightness(1.06); }
body.checkout-available #detailDiscordBtn {
    background: var(--bg-surface) !important;
    color: var(--text-secondary) !important;
    border: 1px solid var(--border-medium) !important;
    box-shadow: none !important;
}
.checkout-overlay {
    position: fixed;
    z-index: 3000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: #020711ba;
    backdrop-filter: blur(9px);
}
.checkout-dialog {
    width: min(100%, 500px);
    max-height: min(90vh, 900px);
    overflow: auto;
    border: 1px solid var(--border-medium);
    border-radius: 22px;
    background: var(--bg-surface-elevated);
    color: var(--text-primary);
    box-shadow: 0 25px 75px #0007, var(--accent-glow);
}
.checkout-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
}
.checkout-topline button {
    border: 0;
    background: none;
    color: var(--text-secondary);
    font-size: 1.7rem;
    cursor: pointer;
}
.checkout-back {
    min-height: 34px;
    padding: 5px 11px;
    border: 1px solid var(--border-medium);
    border-radius: 9px;
    background: var(--bg-hover);
    color: var(--accent-primary);
    font: inherit;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .01em;
    cursor: pointer;
    transition: border-color .2s ease, background .2s ease;
}
.checkout-back[hidden] { display: none; }
.checkout-back:hover, .checkout-back:focus-visible {
    border-color: var(--accent-primary);
    outline: none;
}
.checkout-back span { margin-right: 5px; font-size: 1rem; }
.checkout-heading { padding: 25px 26px 16px; }
.checkout-step { color: var(--accent-primary); font-size: .72rem; font-weight: 850; letter-spacing: .12em; }
.checkout-heading h2 { margin: 8px 0 4px; font-family: var(--font-heading); font-size: 1.75rem; }
.checkout-heading p { margin: 0; color: var(--text-secondary); line-height: 1.4; }
#checkoutFormArea, #checkoutOrderArea { padding: 0 26px 26px; }
.checkout-list-area { padding: 0 26px 26px; }
.checkout-list-items { display: grid; gap: 10px; margin: 16px 0; }
.checkout-list-item {
    display: grid;
    gap: 5px;
    width: 100%;
    padding: 15px;
    text-align: left;
    color: var(--text-primary);
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
}
.checkout-list-item:hover, .checkout-list-item:focus-visible {
    border-color: var(--accent-primary);
}
.checkout-list-item span { color: var(--text-secondary); font-size: .82rem; }
.checkout-delivery {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid var(--accent-primary);
    border-radius: 12px;
    background: var(--bg-hover);
}
.checkout-delivery h3 { margin: 0 0 14px; font-size: 1rem; }
.checkout-delivery section { display: grid; gap: 8px; margin-top: 12px; }
.checkout-delivery pre {
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    margin: 0;
    padding: 12px;
    color: var(--text-primary);
    background: var(--bg-primary);
    border-radius: 8px;
    user-select: text;
}
.checkout-summary, .checkout-order-summary {
    display: flex; justify-content: space-between; gap: 12px; align-items: center;
    margin: 6px 0 20px; padding: 16px;
    border: 1px solid var(--border-subtle); border-radius: 13px;
    background: var(--bg-surface); color: var(--text-secondary);
}
.checkout-summary strong, .checkout-order-summary strong { color: var(--accent-primary); font-size: 1.16rem; }
.checkout-price-breakdown {
    display: grid;
    gap: 10px;
    margin: 6px 0 20px;
    padding: 15px 16px;
    border: 1px solid var(--border-subtle);
    border-radius: 13px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: .85rem;
}
.checkout-price-breakdown > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.checkout-dialog { --coupon-savings:var(--pix-color); }
body[data-theme="light"] .checkout-dialog { --coupon-savings:#047857; }
.checkout-coupon { margin-top:18px; padding:14px; border:1px solid var(--border-subtle); border-radius:14px; background:var(--bg-surface); }
.checkout-coupon > label { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; color:var(--text-primary); font-size:12px; font-weight:650; }
.checkout-coupon > label span { color:var(--text-muted); font-size:10px; font-weight:400; }
.checkout-coupon-controls { display:flex; flex-wrap:wrap; gap:8px; }
.checkout-coupon-controls input { flex:1 1 150px; min-width:0; min-height:40px; padding:10px 12px; border:1px solid var(--border-subtle); border-radius:10px; background:var(--bg-surface-elevated); color:var(--text-primary); font:inherit; font-size:12px; text-transform:uppercase; letter-spacing:.03em; }
.checkout-coupon-controls button { min-height:40px; padding:0 14px; border:1px solid var(--border-subtle); border-radius:10px; background:var(--bg-surface-elevated); color:var(--text-primary); font:inherit; font-size:12px; font-weight:600; cursor:pointer; }
.checkout-coupon-controls button:hover { border-color:var(--pix-color); }
.checkout-coupon-controls :disabled { opacity:.6; cursor:default; }
.checkout-coupon p { margin:9px 0 0; color:var(--text-muted); font-size:11px; line-height:1.5; }
.checkout-coupon p[data-state="success"] { color:var(--coupon-savings); }
.checkout-coupon p[data-state="error"] { color:var(--danger-color); }
.checkout-coupon p[data-state="warning"] { color:var(--text-primary); }
.checkout-price-breakdown .checkout-discount { color:var(--coupon-savings); }
.checkout-price-breakdown .checkout-discount strong { color:inherit; }
.checkout-order-coupon { padding:10px 12px; border:1px solid var(--border-subtle); border-radius:10px; color:var(--coupon-savings); font-size:12px; line-height:1.5; }
.checkout-price-breakdown strong { color: var(--text-primary); white-space: nowrap; }
.checkout-price-breakdown .checkout-price-total {
    margin-top: 3px;
    padding-top: 11px;
    border-top: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-weight: 800;
}
.checkout-price-total strong { color: var(--accent-primary); font-size: 1.17rem; }
.checkout-field { display: grid; gap: 8px; margin: 16px 0; color: var(--text-secondary); font-size: .82rem; font-weight: 700; }
.checkout-field input, .checkout-field textarea {
    width: 100%; padding: 12px 14px; border: 1px solid var(--border-medium);
    border-radius: 10px; outline: none; background: var(--bg-input);
    color: var(--text-primary); font: inherit; font-size: .9rem;
}
.checkout-field input:focus, .checkout-field textarea:focus { border-color: var(--accent-primary); box-shadow: 0 0 0 3px var(--bg-hover); }
.checkout-consent { display: flex; align-items: flex-start; gap: 9px; margin: 18px 0; color: var(--text-secondary); font-size: .8rem; line-height: 1.4; }
.checkout-consent input { flex: 0 0 auto; margin-top: 2px; accent-color: var(--accent-primary); }
.checkout-info { color: var(--text-muted); font-size: .77rem; line-height: 1.5; }
.checkout-error { padding: 12px; border: 1px solid #e6687890; border-radius: 9px; background: #e6687817; color: var(--text-primary); font-size: .82rem; }
.checkout-error a { color: var(--accent-primary); font-weight: 800; }
.checkout-primary {
    width: 100%; min-height: 48px; margin-top: 12px; padding: 10px 14px;
    border: 0; border-radius: 12px; background: var(--accent-gradient);
    color: var(--text-inverse); font: inherit; font-weight: 850; cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}
.checkout-primary:disabled { opacity: .65; cursor: wait; }
.checkout-order-status { margin: 12px 0 18px; padding: 12px 14px; border-radius: 10px; background: var(--bg-hover); color: var(--accent-primary); font-weight: 750; }
.checkout-qr { display: block; width: 185px; height: 185px; margin: 18px auto; padding: 8px; border-radius: 12px; background: #fff; object-fit: contain; }
.checkout-order-actions { display: flex; flex-wrap: wrap; gap: 9px; margin: 15px 0 20px; }
.checkout-order-actions button, .checkout-order-actions a {
    padding: 10px 12px; border: 1px solid var(--border-medium); border-radius: 9px;
    background: var(--bg-surface); color: var(--text-primary);
    font: inherit; font-size: .79rem; font-weight: 750; text-decoration: none; cursor: pointer;
}
body[data-theme="light"] .checkout-overlay { background: #1726378c; }
body[data-theme="obsidian"] .checkout-dialog { box-shadow: 0 25px 75px #0008; }
@media (max-width: 600px) {
    .checkout-overlay { padding: 10px; }
    .checkout-dialog { max-height: 94vh; border-radius: 16px; }
    .checkout-heading { padding: 22px 18px 12px; }
    #checkoutFormArea, #checkoutOrderArea, .checkout-list-area { padding: 0 18px 20px; }
    .checkout-topline { padding: 12px 18px; }
    .checkout-header-btn { padding: 8px 10px; font-size: .71rem; }
}
@media (prefers-reduced-motion: reduce) {
    .checkout-buy-btn, .checkout-primary { transition: none; }
    .checkout-account-status, .checkout-account-chevron, .checkout-account-logout { transition: none; }
    .checkout-account-popover { animation: none; }
    .product-card,
    .product-card.product-card-legendary,
    .product-card:hover,
    .product-card.product-card-legendary:hover {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    .product-card.product-card-legendary {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45) !important;
    }
    .product-card.product-card-legendary:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55) !important;
        transform: none !important;
    }
    .product-card-legendary::before,
    .product-card-legendary::after {
        animation: none !important;
        display: none !important;
    }
    .product-rank-badge {
        animation: none !important;
        transition: none !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
    }
    .delivery-icon-auto {
        filter: none !important;
        animation: none !important;
    }
}


/* Sales podium: brushed metal surfaces, with the actual product media intact. */
body[data-theme] .product-card.product-podium {
    --medal-line: #deb950;
    --medal-glow: #eac25830;
    --medal-ink: #352506;
    --medal-muted: #62501f;
    --medal-surface: linear-gradient(125deg, #b58a30 0%, #f1d77e 24%, #fff0b0 43%, #e1bc59 64%, #bb923c 100%);
    --medal-button: #30230e;
    --medal-button-text: #fff1bd;
    isolation: isolate;
    border: 1px solid var(--medal-line);
    background: var(--medal-surface);
    box-shadow: 0 10px 28px #0005, 0 0 18px var(--medal-glow);
    animation: none;
}
body[data-theme] .product-card.product-podium-2 {
    --medal-line: #bccbd9;
    --medal-glow: #c3d9f024;
    --medal-ink: #202d3c;
    --medal-muted: #46566b;
    --medal-surface: linear-gradient(125deg, #8493a8 0%, #d3dce7 24%, #f3f6fc 43%, #b4c2d2 67%, #8c9bb0 100%);
    --medal-button: #253244;
    --medal-button-text: #f0f6ff;
}
body[data-theme] .product-card.product-podium-3 {
    --medal-surface: var(--bg-glass-card);
    --medal-line: #b99a50;
    --medal-glow: #e5be5120;
    background: var(--medal-surface);
}
body[data-theme] .product-card.product-podium:hover {
    border-color: var(--medal-line);
    box-shadow: 0 14px 30px #0005, 0 0 22px var(--medal-glow);
    transform: translateY(-3px);
}
body[data-theme] .product-podium::after {
    content: ''; position: absolute; inset: 0; border-radius: inherit;
    pointer-events: none; z-index: 4;
    border: 1px solid transparent;
    background: linear-gradient(120deg, transparent 20%, #fff8cfb0 47%, transparent 72%) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: .22;
    animation: podium-edge 7s ease-in-out infinite;
}
body[data-theme] .product-card.product-podium-2::after { background: linear-gradient(120deg, transparent 20%, #ffffffc0 47%, transparent 72%) border-box; animation-delay: -3s; }
body[data-theme] .product-podium-3::after { animation-duration: 10s; }
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) .product-card-content {
    background: linear-gradient(115deg, #fff5 0%, transparent 22%, #fff2 46%, transparent 65%);
}
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) .product-card-content::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(110deg, transparent 30%, #fff7 49%, transparent 68%);
    opacity: 0; transform: translateX(-110%);
    animation: podium-sheen 12s ease-in-out infinite;
}
body[data-theme] .product-podium-2 .product-card-content::before { animation-delay: -5s; }
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) .product-banner-wrap {
    background: repeating-linear-gradient(125deg, #fff1 0 1px, transparent 1px 18px), var(--medal-surface);
    border-bottom-color: #513b2726;
}
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) .product-media-placeholder { background: transparent; color: var(--medal-muted); }
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) :is(.product-title, .product-main-price) { color: var(--medal-ink); text-shadow: none; }
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) :is(.product-old-price, .product-pix-sub, .pix-icon-svg) { color: var(--medal-muted); }
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) .btn-details {
    background: var(--medal-button); color: var(--medal-button-text);
    border: 1px solid #ffffff30; box-shadow: 0 3px 9px #0002;
}
body[data-theme] .product-podium .product-rank-badge {
    background: #33260e; color: #ffe8a1; border: 1px solid #ebca76;
    box-shadow: 0 3px 10px #0003; min-width: 34px;
}
body[data-theme] .product-podium-2 .product-rank-badge { background: #263448; color: #eef6ff; border-color: #e1ebf6; }

/* Gold lightning remains distinct even against a gold card. */
body[data-theme] .product-card .delivery-automatic {
    background: #17170f; border-color: #b391435e; color: #fff4d4;
    padding: 3px 7px 3px 4px; gap: 5px;
}
body[data-theme] .product-card .delivery-automatic .delivery-icon-auto {
    width: 20px; height: 20px; padding: 3px; border-radius: 6px;
    background: linear-gradient(135deg, #ffe697, #d7a83a);
    color: #382703; filter: none;
    box-shadow: 0 0 0 1px #ffda7240, 0 0 8px #edc45430;
    animation: lightning-gold 5s ease-in-out infinite;
}
.product-card .product-card-meta { height: 30px; }
@keyframes podium-edge { 0%, 100% { opacity: .18; } 50% { opacity: .75; } }
@keyframes podium-sheen { 0%, 65% { opacity: 0; transform: translateX(-110%); } 70% { opacity: .28; } 90%, 100% { opacity: 0; transform: translateX(110%); } }
@keyframes lightning-gold { 0%, 100% { box-shadow: 0 0 0 1px #ffda7240, 0 0 5px #edc45420; } 50% { box-shadow: 0 0 0 1px #ffda7270, 0 0 11px #edc45465; } }

body[data-theme="light"] .product-card.product-podium { box-shadow: 0 6px 18px #58442120; }
body[data-theme="gta6"] .product-card.product-podium-1 { --medal-surface: linear-gradient(125deg, #bc8948, #f4d793 28%, #fff0be 45%, #d5aa66 74%, #c19563); }

/* Obsidian uses matte, tinted surfaces with no continuous effects. */
body[data-theme="obsidian"] .product-card.product-podium-1 {
    --medal-surface: linear-gradient(145deg, #2e2a20, #20221f);
    --medal-line: #a38c57; --medal-ink: #edddb4; --medal-muted: #b7ad94;
    --medal-button: #3b3527; --medal-button-text: #ecdfbd;
}
body[data-theme="obsidian"] .product-card.product-podium-2 {
    --medal-surface: linear-gradient(145deg, #2a3038, #1e242c);
    --medal-line: #8593a6; --medal-ink: #e0e7ef; --medal-muted: #abb8c7;
    --medal-button: #343e4d; --medal-button-text: #e5ebf2;
}
body[data-theme="obsidian"] .product-card.product-podium-3 { --medal-line: #746441; }
body[data-theme="obsidian"] .product-card.product-podium,
body[data-theme="obsidian"] .product-card.product-podium:hover { box-shadow: 0 5px 14px #0002 !important; }
body[data-theme="obsidian"] .product-podium::after,
body[data-theme="obsidian"] .product-podium .product-card-content::before { display: none; animation: none; }
body[data-theme="obsidian"] .product-podium:is(.product-podium-1, .product-podium-2) .product-card-content { background: transparent; }
body[data-theme="obsidian"] .product-podium:is(.product-podium-1, .product-podium-2) .product-banner-wrap { background: var(--medal-surface); }
body[data-theme="obsidian"] .product-card .delivery-automatic .delivery-icon-auto { animation: none; box-shadow: none; background: #c5aa65; }
@media (max-width: 480px) {
    body[data-theme] .product-card .delivery-automatic { gap: 3px; padding-right: 5px; }
    body[data-theme] .product-card .delivery-automatic .delivery-icon-auto { width: 18px; height: 18px; padding: 2px; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-theme] .product-podium::after,
    body[data-theme] .product-podium .product-card-content::before { animation: none; display: none; }
    body[data-theme] .product-card .delivery-automatic .delivery-icon-auto { animation: none; box-shadow: none; }
}

/* A narrow highlight travels around the gold and silver podium frames. */
@property --podium-orbit {
    syntax: '<angle>';
    inherits: false;
    initial-value: 0deg;
}
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2)::after {
    --orbit-tint: #f7ce65;
    --orbit-tip: #fff9dc;
    border-width: 2px;
    background: conic-gradient(from var(--podium-orbit), transparent 0deg 235deg, var(--orbit-tint) 278deg, var(--orbit-tip) 294deg, transparent 316deg) border-box;
    opacity: .85;
    animation: podium-border-orbit 11s linear infinite;
}
body[data-theme] .product-card.product-podium-2::after {
    --orbit-tint: #c9dced;
    --orbit-tip: #ffffff;
    animation-delay: -5.5s;
}
@keyframes podium-border-orbit { to { --podium-orbit: 360deg; } }
/* Square artwork keeps its composition, including lettering near the edges. */
body[data-theme] .product-card:hover :is(.product-banner, .product-card-image, .product-card-thumb) {
    transform: none;
}
body[data-theme] .product-card:hover { transform: translateY(-3px); }
body[data-theme="light"] .product-podium:is(.product-podium-1, .product-podium-2)::after { opacity: .65; }
body[data-theme="obsidian"] .product-podium:is(.product-podium-1, .product-podium-2)::after { display: none; animation: none; }
@media (hover: none) {
    body[data-theme] .product-card:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2)::after { display: none; animation: none; }
    body[data-theme] .product-card:hover { transform: none; }
}

/* The three delivery modes share one badge shape, with distinct icon colors. */
body[data-theme] .product-card .product-delivery-badge {
    background: #171c25;
    border-color: #65778d70;
    color: #f3f6fb;
    padding: 3px 7px 3px 4px;
    gap: 5px;
}
body[data-theme] .product-card .product-delivery-badge .delivery-icon {
    width: 20px;
    height: 20px;
    padding: 3px;
    border-radius: 6px;
    filter: none;
}
body[data-theme] .product-card .delivery-automatic {
    background: #17170f;
    border-color: #b391435e;
    color: #fff4d4;
}
body[data-theme] .product-card .delivery-approval {
    background: #171b2a;
    border-color: #9290d77a;
    color: #eceaff;
}
body[data-theme] .product-card .delivery-approval .delivery-icon-approval {
    background: linear-gradient(135deg, #d6d0ff, #988ed6);
    color: #26214a;
    box-shadow: 0 0 0 1px #d8cfff35, 0 0 8px #9e93ee24;
}
body[data-theme] .product-card .delivery-manual {
    background: #17232a;
    border-color: #83bbcc70;
    color: #e5f8fc;
}
body[data-theme] .product-card .delivery-manual .delivery-icon-manual {
    background: linear-gradient(135deg, #c9ebee, #7eb4c3);
    color: #183340;
    box-shadow: 0 0 0 1px #c1edf035, 0 0 8px #79c5d624;
}
body[data-theme="obsidian"] .product-card :is(.delivery-approval, .delivery-manual) .delivery-icon {
    box-shadow: none;
}
@media (max-width: 480px) {
    body[data-theme] .product-card .product-delivery-badge { gap: 3px; padding-right: 5px; }
    body[data-theme] .product-card .product-delivery-badge .delivery-icon { width: 18px; height: 18px; padding: 2px; }
}

/* The compact discovery cards mirror the gold, silver, and outlined podium. */
body[data-theme] .discovery-card.discovery-podium {
    --discovery-line: #d8b455;
    --discovery-surface: linear-gradient(125deg, #bd9744, #f3d984 37%, #fff0b5 53%, #d3aa50);
    --discovery-ink: #352506;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-color: var(--discovery-line);
    background: var(--discovery-surface);
    box-shadow: 0 5px 18px #e9bf4c26;
}
body[data-theme] .discovery-card.discovery-podium-2 {
    --discovery-line: #b9c8d8;
    --discovery-surface: linear-gradient(125deg, #8c9caf, #d9e2ed 38%, #f4f7fb 54%, #aebed0);
    --discovery-ink: #202d3c;
    box-shadow: 0 5px 18px #cbd8e625;
}
body[data-theme] .discovery-card.discovery-podium-3 {
    --discovery-line: #b99a50;
    --discovery-surface: var(--bg-glass-card);
    --discovery-ink: var(--text-primary);
    box-shadow: 0 0 12px #e5be511c;
}
body[data-theme] .discovery-card.discovery-podium:is(:hover, :focus-visible) {
    border-color: var(--discovery-line);
    box-shadow: 0 8px 22px #0003, 0 0 16px #e5be5130;
}
body[data-theme] .discovery-podium:is(.discovery-podium-1, .discovery-podium-2)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    border: 2px solid transparent;
    border-radius: inherit;
    background: conic-gradient(from var(--podium-orbit), transparent 0deg 235deg, #fff9dc 288deg, transparent 316deg) border-box;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    animation: podium-border-orbit 11s linear infinite;
    opacity: .75;
}
body[data-theme] .discovery-podium-2::after { animation-delay: -5.5s; }
body[data-theme] .discovery-podium:is(.discovery-podium-1, .discovery-podium-2) :is(.discovery-card-name, .discovery-card-price) {
    color: var(--discovery-ink);
}
body[data-theme] .discovery-podium:is(.discovery-podium-1, .discovery-podium-2) :is(.discovery-card-category, .discovery-card-old-price) {
    color: #594c34;
}
body[data-theme] .discovery-podium-2 :is(.discovery-card-category, .discovery-card-old-price) { color: #46566b; }
.discovery-card .discovery-rank-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 2;
    min-width: 27px;
    padding: 3px 5px;
    border: 1px solid #ebca76;
    border-radius: 7px;
    background: #33260e;
    color: #ffe8a1;
    font-size: .66rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}
.discovery-podium-2 .discovery-rank-badge { background: #263448; color: #eef6ff; border-color: #e1ebf6; }
.discovery-card-pricing { display: grid; grid-template-columns: max-content max-content; align-items: baseline; column-gap: 6px; row-gap: 1px; min-width: 0; }
.discovery-card-old-price { color: var(--text-muted); font-size: .72rem; white-space: nowrap; }
.discovery-card-old-price { grid-column: 1 / -1; }
.discovery-card-discount, .product-sale-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    padding: 1px 5px;
    background: #186653;
    color: #fff;
    font-size: .63rem;
    font-weight: 800;
    line-height: 1.3;
    white-space: nowrap;
}
.product-price-block.has-promotion .product-main-price { color: #48e0ae; flex-wrap: wrap; }
.product-price-block.has-promotion .product-sale-badge { font-family: var(--font-body); }
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) .product-price-block.has-promotion .product-main-price { color: var(--medal-ink); }
body[data-theme] .discovery-podium:is(.discovery-podium-1, .discovery-podium-2) :is(.discovery-card-discount, .product-sale-badge),
body[data-theme] .product-podium:is(.product-podium-1, .product-podium-2) .product-sale-badge { background: #304a39; color: #fff; }
body[data-theme="obsidian"] .discovery-card.discovery-podium-1 {
    --discovery-surface: linear-gradient(145deg, #2e2a20, #20221f);
    --discovery-line: #a38c57;
}
body[data-theme="obsidian"] .discovery-card.discovery-podium-2 {
    --discovery-surface: linear-gradient(145deg, #2a3038, #1e242c);
    --discovery-line: #8593a6;
}
body[data-theme="obsidian"] .discovery-card.discovery-podium-3 { --discovery-line: #746441; }
body[data-theme="obsidian"] .discovery-podium:is(.discovery-podium-1, .discovery-podium-2) :is(.discovery-card-name, .discovery-card-price) { color: #ecdfbd; }
body[data-theme="obsidian"] .discovery-podium-2 :is(.discovery-card-name, .discovery-card-price) { color: #e0e7ef; }
body[data-theme="obsidian"] .discovery-podium:is(.discovery-podium-1, .discovery-podium-2) :is(.discovery-card-category, .discovery-card-old-price) { color: #b7ad94; }
body[data-theme="obsidian"] .discovery-podium-2 :is(.discovery-card-category, .discovery-card-old-price) { color: #abb8c7; }
body[data-theme="obsidian"] .discovery-card.discovery-podium,
body[data-theme="obsidian"] .discovery-card.discovery-podium:hover { box-shadow: 0 5px 14px #0002; }
body[data-theme="obsidian"] .discovery-podium::after { display: none; animation: none; }
body[data-theme="light"] .product-price-block.has-promotion .product-main-price { color: #086b4d; }
body[data-theme="gta6"] .product-price-block.has-promotion .product-main-price { color: #9ff3de; }
@media (prefers-reduced-motion: reduce) {
    body[data-theme] .discovery-podium::after { display: none; animation: none; }
}

/* Price color belongs to the theme, regardless of store or promotion status. */
body[data-theme="blacksea"] { --catalog-card-price: #00e6a8; }
body[data-theme="gta6"] { --catalog-card-price: #a4efe0; }
body[data-theme="light"] { --catalog-card-price: #086b4d; }
body[data-theme="obsidian"] { --catalog-card-price: #48e0ae; }
body[data-theme] .product-card:not(.product-podium-1):not(.product-podium-2) .product-main-price,
body[data-theme] .catalog-discovery .discovery-card:not(.discovery-podium-1):not(.discovery-podium-2) .discovery-card-price {
    color: var(--catalog-card-price);
}
/* Obsidian's matte podium also keeps the same price color. */
body[data-theme="obsidian"] .product-card.product-podium .product-main-price,
body[data-theme="obsidian"] .catalog-discovery .discovery-card.discovery-podium .discovery-card-price {
    color: var(--catalog-card-price);
}

/* Category lists stay compact until shoppers choose to expand them. */
.product-category-grid:not(.is-expanded) > .product-card:nth-child(n + 11) {
    display: none;
}

.product-category-toggle {
    justify-self: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-full);
    background: var(--bg-surface-elevated);
    background: color-mix(in srgb, var(--bg-surface-elevated) 90%, transparent);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    font-size: .82rem;
    font-weight: 750;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), box-shadow var(--transition-fast), transform var(--transition-fast);
}

.product-category-toggle-count {
    color: var(--text-secondary);
    font-size: .78rem;
    font-weight: 650;
}

.product-category-toggle-icon {
    width: 15px;
    height: 15px;
    flex: 0 0 auto;
    transition: transform var(--transition-fast);
}

.product-category-toggle:hover {
    border-color: var(--border-highlight);
    color: var(--accent-primary);
    transform: translateY(-1px);
}

.product-category-toggle:focus-visible {
    outline: 2px solid var(--border-highlight);
    outline-offset: 3px;
}

.product-category-toggle[aria-expanded="true"] .product-category-toggle-icon {
    transform: rotate(180deg);
}

.product-category-toggle[aria-expanded="true"] {
    position: sticky;
    bottom: max(40px, env(safe-area-inset-bottom));
    min-height: 44px;
    z-index: 9;
}

@media (prefers-reduced-motion: reduce) {
    .product-category-toggle,
    .product-category-toggle-icon {
        transition: none;
    }

    .product-category-toggle:hover {
        transform: none;
    }
}

/* GTA 6 keeps its Vice City gradient on card hover; only the hovered CTA brightens. */
body[data-theme="gta6"] .product-card .btn-details {
    transition: filter var(--transition-fast), box-shadow var(--transition-fast);
}

body[data-theme="gta6"] .product-card:hover .btn-details {
    background: var(--accent-gradient);
    color: #2d1735;
    border-color: #ffb8d055;
    box-shadow: 0 4px 14px #fa92b51a;
}

body[data-theme="gta6"] .product-card .btn-details:hover {
    filter: brightness(1.06);
    box-shadow: 0 4px 20px #fa92b535;
}

@media (prefers-reduced-motion: reduce) {
    body[data-theme="gta6"] .product-card .btn-details {
        transition: none;
    }
}

/* Age label sits in the information row, leaving the square artwork unobstructed. */
.product-card .product-card-meta { gap: 6px; min-width: 0; }
.product-card .product-card-meta .product-card-badge-adult {
    position: static;
    inset: auto;
    z-index: auto;
    flex: 0 0 auto;
    margin-left: auto;
    padding: 3px 7px;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.product-card .product-card-meta .product-delivery-badge { min-width: 0; }
.product-card .product-card-meta .product-delivery-badge > span { overflow: hidden; text-overflow: ellipsis; }

/* Product cover studio: bounded layers, transform/opacity animations only. */
.cv-cover.cv-cover { position:relative; isolation:isolate; overflow:hidden;
    background:var(--cv-color); background-image:linear-gradient(145deg,rgba(7,10,24,.18),rgba(7,10,24,.82)); }
.cv-cover > img { position:relative; z-index:2; background:transparent; }
.cv-cover > .product-media-placeholder { position:relative; z-index:2; }
.cv-layer { position:absolute; pointer-events:none; inset:0; overflow:hidden; border-radius:inherit; z-index:1; }
.cv-aurora { inset:-25%; opacity:.72;
    background:radial-gradient(ellipse at 30% 30%,rgba(255,255,255,.42),transparent 38%),
    radial-gradient(ellipse at 70% 70%,rgba(var(--cv-rgb),.95),transparent 48%);
    animation:cv-aurora 12s ease-in-out infinite alternate; }
.cv-particles i { position:absolute; left:18%; bottom:-5%; width:3px; height:3px; border-radius:50%;
    background:color-mix(in srgb,var(--cv-color),white 68%); opacity:0;
    box-shadow:0 0 10px rgba(var(--cv-rgb),.9); animation:cv-rise 10s linear infinite; }
.cv-particles i:nth-child(2) { left:38%; animation-delay:-3s; animation-duration:13s; width:2px; height:2px; }
.cv-particles i:nth-child(3) { left:63%; animation-delay:-7s; }
.cv-particles i:nth-child(4) { left:82%; animation-delay:-5s; animation-duration:12s; }
.cv-particles i:nth-child(5) { left:48%; animation-delay:-9s; animation-duration:15s; width:2px; height:2px; }
.cv-particles i:nth-child(6) { left:9%; animation-delay:-2s; animation-duration:14s; }
.cv-border { z-index:3; border:1px solid color-mix(in srgb,var(--cv-color),white 48%);
    box-shadow:inset 0 0 22px rgba(var(--cv-rgb),.5),inset 0 0 3px rgba(255,255,255,.45);
    animation:cv-breathe 5s ease-in-out infinite alternate; }
.cv-cover .cv-layer,.cv-cover .cv-layer i { animation-play-state:paused; }
.cv-cover.cv-running .cv-layer,.cv-cover.cv-running .cv-layer i { animation-play-state:running; }
@keyframes cv-aurora { from { transform:translate(-7%,-4%) rotate(-8deg); opacity:.5; }
    to { transform:translate(8%,6%) rotate(12deg); opacity:.85; } }
@keyframes cv-rise { 0% { transform:translate3d(0,0,0); opacity:0; } 20% { opacity:.8; }
    85% { opacity:.3; } 100% { transform:translate3d(18px,-420px,0); opacity:0; } }
@keyframes cv-breathe { from { opacity:.45; } to { opacity:.95; } }
@media (prefers-reduced-motion:reduce) { .cv-cover .cv-layer,.cv-cover .cv-layer i { animation:none !important; }
    .cv-particles i { bottom:25%; opacity:.4; } .cv-particles i:nth-child(even) { bottom:70%; } }

.cv-media-mini { flex:0 0 72px; width:72px; height:72px; border-radius:11px; overflow:hidden; }
.cv-media-mini > img { display:block; width:100%; height:100%; object-fit:contain; }
.cv-cover > .product-banner,.cv-cover > .detail-hero-image { object-fit:contain; }
.cv-cover > .product-rank-badge,.cv-cover > .detail-zoom-overlay { z-index:4; }
.cv-lightbox-media { display:contents; } .cv-lightbox-media.cv-cover { display:block; border-radius:var(--radius-lg); max-width:90vw; } .cv-lightbox-media.cv-cover > img { display:block; box-shadow:none; }

/* Interactive product image zoom, without continuous JS animation. */
body.has-product-lightbox { overflow:hidden; }
.lightbox-overlay .lightbox-content { max-width:94vw; max-height:96vh; }
.lightbox-viewport { width:min(86vw,900px); height:min(68vh,720px); display:grid; place-items:center;
    overflow:hidden; border-radius:16px; background:rgba(8,13,24,.8); touch-action:none; user-select:none; }
.lightbox-viewport:focus-visible { outline:2px solid #88aff2; outline-offset:3px; }
.lightbox-viewport .cv-lightbox-media { display:block; position:relative; max-width:100%; max-height:100%;
    border-radius:inherit; transform-origin:center; overflow:hidden; }
.lightbox-viewport .lightbox-img { display:block; width:auto; height:auto; max-width:min(86vw,900px);
    max-height:min(68vh,720px); margin:0; pointer-events:none; }
.lightbox-viewport.is-zoomed { cursor:grab; }
.lightbox-viewport.is-dragging { cursor:grabbing; }
.lightbox-overlay .lightbox-close { top:8px; right:8px; z-index:5; background:rgba(9,15,28,.86); border:1px solid #687890; }
.lightbox-zoom-toolbar { display:flex; align-items:center; justify-content:center; gap:10px; margin-top:12px;
    padding:6px 10px; border:1px solid #4b596b; border-radius:14px; background:#111b2a; }
.lightbox-zoom-toolbar button { min-width:40px; min-height:40px; padding:6px 12px; border:1px solid #51647e;
    border-radius:9px; background:#23344e; color:#edf4ff; font-size:17px; cursor:pointer; }
.lightbox-zoom-toolbar button:last-child { font-size:13px; }
.lightbox-zoom-toolbar button:hover:not(:disabled) { background:#365078; border-color:#9cbdef; }
.lightbox-zoom-toolbar button:disabled { opacity:.4; cursor:default; }
.lightbox-zoom-toolbar button:focus-visible { outline:2px solid #a2c5fc; outline-offset:2px; }
.lightbox-zoom-toolbar output { min-width:52px; text-align:center; color:#e8f1ff; font-size:13px; font-variant-numeric:tabular-nums; }
.lightbox-zoom-help { color:#aebcd0; font-size:12px; margin:8px 0 0; text-align:center; }
.lightbox-overlay .lightbox-caption { margin-top:8px; max-width:86vw; font-size:15px; max-height:40px; overflow:auto; }
@media(max-width:600px) { .lightbox-overlay { padding:12px; } .lightbox-zoom-help { max-width:330px; font-size:11px; }
    .lightbox-viewport { width:92vw; height:62vh; } .lightbox-viewport .lightbox-img { max-width:92vw; max-height:62vh; } }
.lightbox-viewport .lightbox-img { width:100%; height:100%; max-width:100%; max-height:100%; }

/* Store folders, cart and community use the same tokens in all four themes. */
.site-primary-btn, .site-secondary-btn, .site-add-cart-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    min-height: 44px; padding: 11px 17px; border-radius: var(--radius-md);
    border: 1px solid var(--border-medium); background: var(--bg-surface-elevated);
    color: var(--text-primary); font: 700 .84rem var(--font-sans); cursor: pointer;
    transition: transform var(--transition-normal), border-color var(--transition-normal), background var(--transition-normal);
}
.site-primary-btn { background: var(--accent-gradient); border-color: transparent; color: var(--text-inverse); }
.site-primary-btn:hover, .site-secondary-btn:hover, .site-add-cart-btn:hover { transform: translateY(-1px); border-color: var(--accent-secondary); }
.site-primary-btn:disabled, .site-add-cart-btn:disabled { cursor: default; opacity: .55; transform: none; }
.site-secondary-btn:focus-visible,.site-primary-btn:focus-visible,.site-add-cart-btn:focus-visible,.site-cart-header-btn:focus-visible,.detail-gallery-thumb:focus-visible{
    outline: 2px solid var(--accent-secondary); outline-offset: 3px;
}














.site-cart-header-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 42px; border: 1px solid var(--border-medium);
    border-radius: var(--radius-full); padding: 9px 12px; background: var(--bg-surface); color: var(--text-primary);
    font: 700 .75rem var(--font-sans); cursor: pointer; flex-shrink: 0;
}
.site-cart-header-btn svg { width: 18px; height: 18px; color: var(--accent-secondary); }
.site-cart-header-btn strong { display: grid; place-items: center; min-width: 20px; height: 20px; border-radius: 20px; background: var(--accent-gradient); color: var(--text-inverse); font-size: .66rem; }
.detail-shopping-actions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; width: 100%; }
.detail-shopping-actions .checkout-buy-btn { width: 100%; margin: 0; }
.site-add-cart-btn { width: 100%; background: var(--bg-hover); border-color: var(--border-medium); }
.site-add-cart-btn svg { width: 21px; height: 21px; flex-shrink: 0; }
.site-shopping-notice {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 11000;
    max-width: min(92vw, 480px); border: 1px solid var(--border-highlight); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md); padding: 14px 20px; background: var(--bg-surface-elevated);
    color: var(--text-primary); font-size: .82rem; line-height: 1.5; animation: shopping-notice-in .22s ease both;
}
.site-shopping-notice.is-error { border-color: var(--danger-color); }
@keyframes shopping-notice-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.site-cart-mote { position: fixed; width: 13px; height: 13px; z-index: 11001; border-radius: 50%; background: var(--accent-secondary); box-shadow: 0 0 14px var(--accent-secondary); pointer-events: none; }
.site-cart-items { display: grid; gap: 10px; margin: 16px 0; }
.site-cart-item { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); background: var(--bg-surface); }
.site-cart-item-info { min-width: 0; display: grid; gap: 6px; }
.site-cart-item-info strong { font-size: .9rem; overflow-wrap: anywhere; }
.site-cart-item-info span { font-size: .72rem; color: var(--text-secondary); }
.site-cart-item-controls { display: grid; gap: 6px; flex-shrink: 0; justify-items: center; }
.site-cart-item-controls input { width: 64px; min-height: 40px; padding: 8px 5px 8px 10px; border: 1px solid var(--border-medium); border-radius: 9px; background: var(--bg-input); color: var(--text-primary); font: 700 .9rem var(--font-sans); }
.site-cart-remove { padding: 4px 3px; font: 600 .65rem var(--font-sans); color: var(--text-secondary); border: 0; background: none; cursor: pointer; }
.site-cart-remove:hover { color: var(--danger-color); }
.site-cart-empty { text-align: center; padding: 26px 16px; }
.site-cart-empty h3 { font-size: 1.1rem; margin-bottom: 10px; }
.site-cart-empty p { color: var(--text-secondary); font-size: .85rem; }
.checkout-order-items { display: grid; gap: 8px; margin: 14px 0; color: var(--text-secondary); font-size: .82rem; }
.checkout-delivery-controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.checkout-delivery-controls button { padding: 9px 12px; border-radius: 9px; border: 1px solid var(--border-medium); background: var(--bg-surface); color: var(--text-primary); cursor: pointer; font: 600 .75rem var(--font-sans); }
.checkout-delivery pre { overflow-wrap: anywhere; white-space: pre-wrap; }

.site-account-picker { padding: 17px; border: 1px solid var(--border-medium); border-radius: var(--radius-md); background: var(--bg-surface-elevated); margin-bottom: 15px; }
.site-account-label { display: grid; gap: 10px; color: var(--text-primary); font-size: .9rem; font-weight: 700; }
.site-account-label input, .site-account-label select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid var(--border-medium); border-radius: 10px; padding: 11px; color: var(--text-primary); background: var(--bg-input); font: 500 .8rem var(--font-sans); }
.site-account-label select option { background: var(--bg-surface); color: var(--text-primary); }
.site-account-label input:focus, .site-account-label select:focus { border-color: var(--accent-secondary); outline: 2px solid var(--bg-hover); outline-offset: 2px; }
.site-account-caption { margin-top: 10px; font-size: .75rem; line-height: 1.6; color: var(--text-secondary); }
.site-account-back { display:inline-flex; align-items:center; margin-top:10px; padding:8px 12px; min-height:36px; border:1px solid var(--border-medium); border-radius:10px; background:var(--bg-input); color:var(--text-primary); font:600 .8rem var(--font-sans); cursor:pointer; }
.site-account-back:hover { background:var(--bg-hover); }
.site-account-back:focus-visible { outline:2px solid var(--accent-secondary); outline-offset:2px; }
.detail-stock-summary { display: flex; flex-wrap: wrap; gap: 12px; color: var(--text-secondary); font-size: .78rem; margin-bottom: 15px; }
.detail-stock-summary span:first-child { color: var(--accent-secondary); }
.detail-stock-summary span + span { padding-left: 12px; border-left: 1px solid var(--border-medium); }
.detail-gallery { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 14px; }
.detail-gallery-thumb { width: 65px; height: 65px; padding: 0; border: 1px solid var(--border-medium); border-radius: 10px; background: var(--bg-surface-elevated); overflow: hidden; cursor: zoom-in; }
.detail-gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.detail-gallery-thumb:hover { border-color: var(--accent-secondary); }

.product-community { padding: clamp(20px, 3vw, 32px); margin: 28px 0; background: var(--bg-glass-card); border: 1px solid var(--border-subtle); border-radius: var(--radius-xl); }
.community-heading { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--border-subtle); }
.community-heading h3 { font: 800 1.3rem var(--font-heading); }
.community-rating-summary { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; }
.community-rating-summary > strong { font: 800 1.8rem var(--font-heading); }
.community-stars, .community-review-stars { color: var(--warning-color); letter-spacing: .12em; font-size: .9rem; }
.community-rating-count { grid-column: 1 / -1; text-align: right; color: var(--text-muted); font-size: .7rem; }
.community-questions, .community-reviews { padding-top: 25px; }
.community-questions h4, .community-reviews h4 { margin-bottom: 8px; font-size: 1rem; }
.community-hint { color: var(--text-secondary); font-size: .77rem; line-height: 1.7; margin-bottom: 16px; }
.community-question-form, .community-reply-form form, .community-review-form form { display: grid; gap: 10px; justify-items: start; margin: 14px 0; }
.product-community textarea, .product-community select { width: 100%; border: 1px solid var(--border-medium); border-radius: 12px; padding: 13px; background: var(--bg-input); color: var(--text-primary); font: 400 .85rem var(--font-sans); resize: vertical; line-height: 1.65; }
.product-community textarea:focus, .product-community select:focus { outline: 2px solid var(--bg-hover); border-color: var(--accent-secondary); }
.community-review-form select { max-width: 190px; }
.community-status { color: var(--text-secondary); font-size: .78rem; margin: 14px 0; }
.community-status:empty { margin: 0; }
.community-status.is-error { color: var(--danger-color); }
.community-status.is-success { color: var(--accent-primary); }
.community-thread { border: 1px solid var(--border-subtle); border-radius: 14px; padding: 17px; margin: 13px 0; background: var(--bg-surface); }
.community-entry { margin: 12px 0; }
.community-entry-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .75rem; }
.community-entry-meta time { margin-left: auto; color: var(--text-muted); font-size: .65rem; }
.community-customer-name { color: var(--text-secondary); }
.community-staff-name { color: #e3b956; }
body[data-theme="light"] .community-staff-name { color: #97600b; }
.community-staff-badge { font-size: .6rem; font-weight: 700; padding: 2px 6px; border: 1px solid #e3b95655; border-radius: 5px; color: #e3b956; }
body[data-theme="light"] .community-staff-badge { color: #97600b; }
.community-staff-entry { margin: 16px 0 0 14px; padding: 13px 15px; border-left: 2px solid #e3b95677; background: var(--bg-surface-elevated); border-radius: 0 10px 10px 0; }
.community-message { margin-top: 8px; font-size: .84rem; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.7; }
.community-waiting { display: inline-block; font-size: .68rem; color: var(--text-muted); margin-top: 5px; }
.community-empty { padding: 20px 0; color: var(--text-muted); font-size: .8rem; }
.community-reviews { margin-top: 22px; border-top: 1px solid var(--border-subtle); }
.community-reviews > .community-entry { padding: 16px 0; border-bottom: 1px solid var(--border-subtle); }
.community-reply-form summary, .community-review-form summary { cursor: pointer; color: var(--accent-secondary); font-size: .78rem; padding: 11px 0; }

@media (max-width: 1000px) {
    .header-inner { flex-wrap: wrap; gap: 10px; }
    .header-search { order: 3; flex-basis: 100%; max-width: none; }
    .header-actions { margin-left: auto; }
    .detail-shopping-actions { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {









    .site-cart-header-btn > span { display: none; }
    .site-cart-header-btn { padding: 9px; gap: 5px; }
    .checkout-account-status .checkout-account-label { display: none; }
    .checkout-account-status { max-width: 124px; }
    .checkout-account-status strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; }
    .brand { grid-column: 1; }
    .header-actions { grid-column: 1 / -1; margin: 0; width: 100%; gap: 6px; flex-wrap: nowrap; justify-content: space-between; }
    .header-actions #supportBtn { display: inline-flex; width: 32px; height: 32px; flex-shrink: 0; }
    body.has-store .header-search { grid-column: 1 / -1; margin: 0; width: 100%; }
    .detail-nav-bar { align-items: flex-start; flex-direction: column; gap: 12px; }
    .breadcrumbs { font-size: .65rem; flex-wrap: wrap; }
    .community-heading { align-items: flex-start; flex-direction: column; gap: 14px; }
    .community-rating-count { text-align: left; }
    .site-cart-item { padding: 12px; gap: 10px; }
}
@media (prefers-reduced-motion: reduce) {
.site-primary-btn,.site-secondary-btn,.site-add-cart-btn{ transition: none; }
.site-primary-btn:hover,.site-secondary-btn:hover,.site-add-cart-btn:hover{ transform: none; }
    .site-shopping-notice { animation: none; }
    .site-cart-mote { display: none; }
}

.community-staff-name.staff-adm { animation: staff-name-glow 4.5s ease-in-out infinite; }
.community-staff-name.staff-mod { color: var(--staff-color,var(--accent-secondary)); }
@keyframes staff-name-glow { 0%,100% { text-shadow: 0 0 2px #e3b95620; } 50% { text-shadow: 0 0 12px #e3b95670,0 0 24px #e3b95620; } }
.community-edit-btn { display: inline-grid; place-items: center; width: 32px; height: 32px; border: 1px solid var(--border-subtle); border-radius: 9px; background: transparent; color: var(--text-secondary); cursor: pointer; margin-left: auto; }
.community-edit-btn:hover { color: var(--accent-primary); background: var(--bg-hover); }
.community-edit-btn svg { width: 17px; height: 17px; }
.community-inline-editor { width: 100%; margin-top: 10px; }
.community-inline-editor textarea { width: 100%; }
.community-inline-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 8px; }
.site-add-cart-btn svg { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
#supportBtn { position: relative; }
.site-support-badge { position: absolute; top: -5px; right: -5px; display: grid; place-items: center; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 50px; background: #cf344f; color: #fff; border: 2px solid var(--bg-surface); font-size: .6rem; font-weight: 800; }
#supportBtn.has-unread { color: var(--accent-primary); animation: support-arrival 5s ease-in-out infinite; }
@keyframes support-arrival { 0%,16%,100% { transform: translateY(0); box-shadow: 0 0 0 transparent; } 5% { transform: translateY(-3px); box-shadow: 0 0 16px color-mix(in srgb,var(--accent-primary) 30%,transparent); } 10% { transform: translateY(0); } 13% { transform: translateY(-1px); } 55% { box-shadow: 0 0 10px color-mix(in srgb,var(--accent-primary) 20%,transparent); } }
.site-support-dialog { position: fixed; left: auto; right: 20px; top: var(--site-header-bottom,110px); margin: 0; padding: 0; width: min(440px,calc(100vw - 32px)); max-height: calc(100dvh - var(--site-header-bottom,110px) - 20px); overflow: hidden; color: var(--text-primary); border: 1px solid var(--border-medium); border-radius: 20px; background: var(--bg-surface); box-shadow: var(--shadow-xl,0 20px 70px #0007); font-family: var(--font-sans); }
.site-support-dialog[open] { display: flex; flex-direction: column; }
.site-support-dialog::backdrop { background: #07122355; backdrop-filter: blur(3px); }
.site-support-heading { display: flex; justify-content: space-between; align-items: flex-start; padding: 20px 20px 12px; border-bottom: 1px solid var(--border-subtle); }
.site-support-heading h2 { font-size: 1.2rem; margin: 5px 0 0; }
.support-kicker { color: var(--accent-primary); letter-spacing: .12em; font-size: .62rem; font-weight: 800; }
.site-support-close { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; border: 1px solid var(--border-subtle); background: var(--bg-surface-elevated); color: var(--text-primary); font-size: 1.4rem; cursor: pointer; }
.site-support-store { display: flex; align-items: center; gap: 12px; margin: 12px 20px 0; color: var(--text-secondary); font-size: .8rem; }
.site-support-store select { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 9px; border: 1px solid var(--border-medium); background: var(--bg-input); color: var(--text-primary); font: inherit; }
.site-support-dialog > .community-status { margin: 8px 20px; font-size: .75rem; min-height: 0; }
.site-support-messages { min-height: 120px; max-height: 48vh; overflow-y: auto; overscroll-behavior: contain; padding: 12px 20px; display: flex; flex-direction: column; gap: 12px; scrollbar-width: thin; }
.site-support-message { width: 93%; padding: 12px; border-radius: 12px; border: 1px solid var(--border-subtle); background: var(--bg-surface-elevated); flex: 0 0 auto; }
.site-support-message.is-customer { margin-left: auto; background: var(--bg-hover); }
.site-support-message.is-staff { border-left: 2px solid #e3b95688; }
.site-support-message .community-entry-meta { flex-wrap: wrap; gap: 6px; }
.site-support-message .community-entry-meta time { font-size: .59rem; }
.site-support-message .community-message { margin: 8px 0 0; font-size: .82rem; line-height: 1.55; }
.site-support-product { display: block; color: var(--text-muted); font-size: .66rem; margin-top: 6px; }
.site-support-form { flex-shrink: 0; display: grid; gap: 9px; padding: 14px 20px 18px; border-top: 1px solid var(--border-subtle); }
.site-support-form textarea { width: 100%; min-height: 78px; max-height: 160px; resize: vertical; font: inherit; font-size: .82rem; padding: 12px; border: 1px solid var(--border-medium); border-radius: 10px; background: var(--bg-input); color: var(--text-primary); }
.site-support-form textarea:focus-visible { outline: 2px solid var(--accent-primary); outline-offset: 2px; }
.site-support-arrivals { margin: 0 20px 6px; font-size: .75rem; }
.site-support-form .community-hint { font-size: .66rem; margin: 0; }
.site-support-context { display: flex; align-items: center; gap: 8px; font-size: .7rem; color: var(--text-secondary); }
.site-support-context span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-support-context .community-edit-btn { width: 25px; height: 25px; flex-shrink: 0; }
.site-motion-paused #supportBtn { animation-play-state: paused; }
@media(max-width:600px) { .site-support-dialog { top: 12px; right: 12px; width: calc(100vw - 24px); max-height: calc(100dvh - 24px); } .site-support-messages { max-height: 45dvh; } }
@media(prefers-reduced-motion:reduce) { #supportBtn.has-unread,.community-staff-name.staff-adm { animation: none; } }

.site-support-badge[hidden],.site-support-arrivals[hidden],.site-support-store[hidden],.site-support-form[hidden],.site-support-context[hidden],.community-edit-btn[hidden] { display: none !important; }

.support-store-toggle:focus-visible,.support-store-option:focus-visible{ outline:2px solid var(--accent-secondary); outline-offset:2px; }

.support-store-picker { position:relative; flex:1; min-width:0; }
.site-support-store .support-store-native { display:none; }
.support-store-toggle { width:100%; display:flex; align-items:center; justify-content:space-between; gap:12px; border:1px solid var(--border-medium); border-radius:11px; padding:11px 13px; background:var(--bg-input); color:var(--text-primary); font:600 .8rem var(--font-sans); cursor:pointer; text-align:left; }
.support-store-toggle::after { content:''; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); transition:transform .18s ease; flex-shrink:0; }
.support-store-toggle[aria-expanded=true]::after { transform:rotate(225deg); }
.support-store-menu { position:absolute; z-index:5; top:calc(100% + 7px); left:0; right:0; max-height:220px; overflow:auto; padding:6px; border:1px solid var(--border-medium); border-radius:12px; background:var(--bg-surface-elevated); box-shadow:var(--shadow-lg); animation:store-menu-in .16s ease-out; }
.support-store-option { display:block; width:100%; padding:11px; border:0; border-radius:8px; background:transparent; color:var(--text-primary); font:inherit; text-align:left; cursor:pointer; }
.support-store-option:hover,.support-store-option:focus,.support-store-option[aria-selected=true] { background:var(--bg-hover); color:var(--accent-secondary); }
@keyframes store-menu-in { from { opacity:0; transform:translateY(-5px); } to { opacity:1; transform:translateY(0); } }
@media(max-width:720px) {
 }
@media(prefers-reduced-motion:reduce) { .support-store-menu { animation:none; } .support-store-toggle::after { transition:none; } }

/* Account selection keeps complete words, prices and availability separate. */
.site-account-picker { position:relative; padding:0; border:0; background:transparent; }
.site-account-trigger { width:100%; display:flex; align-items:center; gap:14px; padding:13px 15px; min-height:48px; border:1px solid var(--border-medium); border-radius:12px; background:var(--bg-input); color:var(--text-primary); font:600 .9rem var(--font-sans); text-align:left; cursor:pointer; }
.site-account-trigger>.site-account-name { flex:1; }
.site-account-name { display:block; min-width:0; white-space:normal; word-break:normal; overflow-wrap:normal; hyphens:none; line-height:1.5; overflow-x:auto; }
.site-account-price { flex-shrink:0; white-space:nowrap; color:var(--accent-secondary); font-weight:800; font-variant-numeric:tabular-nums; }
.site-account-chevron { flex-shrink:0; width:7px; height:7px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:rotate(45deg); transition:transform .18s ease; }
.site-account-trigger[aria-expanded=true] .site-account-chevron { transform:rotate(225deg); }
.site-account-menu { position:absolute; top:calc(100% + 7px); left:0; right:0; z-index:45; padding:12px; border:1px solid var(--border-medium); border-radius:14px; background:var(--bg-surface-elevated); box-shadow:var(--shadow-lg); animation:store-menu-in .16s ease-out; }
.site-account-search { width:100%; padding:11px 12px; border:1px solid var(--border-medium); border-radius:10px; background:var(--bg-input); color:var(--text-primary); font:inherit; }
.site-account-result-count { display:block; padding:8px 3px; color:var(--text-muted); font-size:.72rem; }
.site-account-options { max-height:min(340px,45vh); overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
.site-account-option { width:100%; display:flex; align-items:center; gap:16px; padding:13px 10px; border:1px solid transparent; border-radius:10px; background:transparent; color:var(--text-primary); font:500 .86rem var(--font-sans); text-align:left; cursor:pointer; }
.site-account-info { min-width:0; flex:1; }
.site-account-stock { display:block; margin-top:4px; color:var(--text-secondary); font-size:.72rem; }
.site-account-option:hover,.site-account-option[aria-selected=true] { background:var(--bg-hover); border-color:var(--border-subtle); }
.site-account-option:disabled { opacity:.55; cursor:default; }
.site-account-trigger:focus-visible,.site-account-option:focus-visible,.site-account-search:focus-visible { outline:2px solid var(--accent-secondary); outline-offset:2px; }
.site-account-empty { padding:20px 10px; color:var(--text-secondary); font-size:.85rem; }

@media(max-width:720px) {
 .site-account-trigger { flex-wrap:wrap; } .site-account-trigger>.site-account-name { flex-basis:70%; } .site-account-option { gap:10px; padding:12px 6px; } }
@media(prefers-reduced-motion:reduce) { .site-account-menu { animation:none; } .site-account-chevron { transition:none; } }

.site-account-control { position:relative; min-width:0; }
.detail-main-layout:has(.site-account-menu:not([hidden])) { position:relative; z-index:50; }


.site-account-control { max-width:500px; }
.site-account-menu { width:100%; }
@media(max-width:720px) { .site-account-control { max-width:100%; } }

/* Eclipse: neutral near-black surfaces with clear text and no decorative glow. */
body[data-theme=eclipse] {
 --bg-base:#000; --bg-surface:#050505; --bg-surface-elevated:#0c0c0d; --bg-glass:#030303; --bg-glass-card:#070708; --bg-input:#080809; --bg-hover:#171719;
 --border-subtle:#29292d; --border-medium:#45454b; --border-highlight:#777780;
 --text-primary:#d4d4da; --text-secondary:#aaaaaf; --text-muted:#909096; --text-inverse:#d4d4da;
 --accent-primary:#aaaab4; --accent-primary-hover:#c0c0c8; --accent-secondary:#b4bccb; --accent-gradient:linear-gradient(135deg,#19191c,#252529); --accent-glow:none;
 --pix-color:#abb7ad; --danger-color:#df8292; --warning-color:#bdae86;
 --shadow-sm:none; --shadow-md:none; --shadow-lg:0 12px 32px #000; --shadow-card:0 0 0 1px #29292d; --body-bg-image:none; --catalog-card-price:#b4bccb;
 color-scheme:dark;
}
body[data-theme=eclipse] :is(.product-podium::after,.discovery-podium::after) { display:none; }
body[data-theme=eclipse] :is(.product-card,.discovery-card,.detail-main-layout,.site-primary-btn,.site-add-cart-btn,.product-podium,.discovery-podium) { box-shadow:none!important; }
body[data-theme=eclipse] :is(.product-card-content,.product-banner-wrap) { background:var(--bg-surface); }
body[data-theme=eclipse] :is(.product-card-content::before,.product-podium::before,.discovery-podium::before) { display:none; }
body[data-theme=eclipse] :is(.delivery-icon,.community-staff-name.staff-adm) { animation:none; box-shadow:none; }
body[data-theme=eclipse] .site-primary-btn { border-color:var(--border-medium); }
body[data-theme=eclipse] :is(.product-main-price,.discovery-card-price,.price-pix) { color:var(--accent-secondary); }

body[data-theme=eclipse] .store-card.showcase-panel,body[data-theme=eclipse] .store-card.store-card-hothub.showcase-panel { --panel-accent:#aaaab4; --panel-line:#45454b; --panel-glow:transparent; --panel-fill:linear-gradient(110deg,#19191c,#252529); background:#070708!important; box-shadow:none!important; border-color:#45454b; }
body[data-theme=eclipse] :is(.showcase-panel::before,.panel-cover::before,.panel-cover::after,.panel-particles,.panel-cta::after,.btn-details::after,.product-card-legendary::before,.product-card-legendary::after) { display:none; animation:none; }
body[data-theme=eclipse] :is(.panel-cover,.store-card-hothub .panel-cover,.store-subbar,.detail-price-box,.detail-description-box) { background:#0c0c0d; box-shadow:none; }
body[data-theme=eclipse] :is(.panel-cta,.store-card-hothub .panel-cta,.btn-details,.btn-primary,.btn-age-confirm) { background:var(--accent-gradient); color:var(--text-primary); box-shadow:none; text-shadow:none; border-color:#45454b; }
body[data-theme=eclipse] :is(.panel-badge,.panel-count,.panel-tag,.badge-popular) { background:#171719; color:var(--text-secondary); border-color:#45454b; box-shadow:none; }
body[data-theme=eclipse] .showcase-hero h1 span { color:var(--text-primary); background:none; -webkit-text-fill-color:currentColor; }
body[data-theme=eclipse] .detail-pix-price { color:var(--accent-secondary); }

body[data-theme=eclipse] .panel-wordmark { color:var(--text-primary); background:none; -webkit-text-fill-color:currentColor; filter:none; text-shadow:none; }

/* Category explorer shares the five theme palettes and keeps full names readable. */
.category-trigger-bar { padding:12px 15px; gap:15px; border-radius:16px; background:var(--bg-surface); backdrop-filter:none; }
.category-filter-icon { width:34px; height:34px; display:grid; place-items:center; flex-shrink:0; border-radius:10px; background:var(--bg-hover); color:var(--accent-secondary); }
.category-filter-icon svg { width:21px; height:21px; }
.category-trigger-label { gap:10px; color:var(--text-primary); }
.category-trigger-btn-wrap { min-width:0; }
.category-trigger-btn { min-width:0; min-height:42px; border-radius:11px; gap:12px; padding:10px 13px; font:500 .84rem var(--font-sans); color:var(--text-secondary); cursor:pointer; }
.category-trigger-btn>span { white-space:normal; text-align:left; }
.category-trigger-btn>svg { flex-shrink:0; transition:transform .18s ease; }
.category-trigger-btn[aria-expanded=true]>svg { transform:rotate(180deg); }
.category-trigger-btn:focus-visible,.category-clear-btn:focus-visible,.category-grid-item:focus-visible,.modal-section-view-all:focus-visible,.category-modal-close:focus-visible { outline:2px solid var(--accent-secondary); outline-offset:2px; }
.category-modal-overlay { width:100%; max-width:none; height:100%; max-height:none; margin:0; border:0; color:var(--text-primary); align-items:center; padding:24px; background:rgba(0,0,0,.55); backdrop-filter:blur(5px); }
.category-modal-overlay::backdrop { background:transparent; }
.category-modal { max-width:920px; max-height:calc(100dvh - 48px); border-radius:20px; background:var(--bg-surface); animation:category-explorer-in .18s ease-out; }
.category-modal-head { padding:21px 22px 16px; background:var(--bg-surface); border:0; }
.category-modal-identity { min-width:0; display:flex; align-items:center; gap:12px; }
.category-modal-identity h2 { font:800 1.12rem var(--font-heading); color:var(--text-primary); }
.category-modal-identity p { font-size:.78rem; color:var(--text-secondary); margin-top:4px; }
.category-modal-identity .category-filter-icon { width:42px; height:42px; border-radius:13px; }
.category-modal-close { width:36px; height:36px; border-radius:11px; flex-shrink:0; cursor:pointer; }
.category-modal>.category-modal-search { flex:none; max-width:none; gap:10px; margin:0 22px 16px; padding:11px 13px; border-radius:12px; border-color:var(--border-medium); }
.category-modal-search:focus-within { border-color:var(--accent-secondary); box-shadow:0 0 0 2px var(--bg-hover); }
.category-modal-search input { outline:none; min-width:0; font:500 .84rem var(--font-sans); }
.category-modal-body { padding:4px 22px 20px; flex:1; min-height:0; max-height:none; gap:24px; overscroll-behavior:contain; scrollbar-width:thin; }
.modal-section-title { margin-bottom:12px; padding-bottom:9px; }
.modal-section-title h3 { color:var(--text-primary); font:700 .9rem var(--font-heading); }
.modal-section-view-all { background:transparent; border:0; padding:5px; color:var(--accent-secondary); font:600 .73rem var(--font-sans); text-transform:none; letter-spacing:0; cursor:pointer; }
.category-grid-layout { grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.category-grid-item { min-width:0; min-height:70px; padding:13px 11px; align-items:center; font:inherit; text-align:left; background:var(--bg-surface-elevated); }
.category-grid-item:hover { transform:translateY(-1px); }
.category-grid-item-info { flex-direction:column; align-items:flex-start; gap:5px; min-width:0; overflow:visible; }
.category-grid-item-name { white-space:normal; overflow-wrap:normal; word-break:normal; hyphens:none; text-overflow:clip; overflow-x:auto; max-width:100%; font-size:.8rem; line-height:1.4; }
.category-choice-icon { width:30px; height:30px; flex-shrink:0; display:grid; place-items:center; color:var(--accent-secondary); }
.category-choice-icon svg { width:21px; height:21px; }
.category-choice-count { color:var(--text-muted); font-size:.69rem; line-height:1.4; }
.category-selected-check { color:var(--accent-secondary); flex-shrink:0; }
.category-grid-item-thumb { width:38px; height:38px; border-radius:10px; }
.category-grid-item .product-media-placeholder { width:38px; height:38px; min-width:38px; min-height:38px; border-radius:10px; flex-shrink:0; }
.category-filter-results { flex:none; padding:11px 22px; border-top:1px solid var(--border-subtle); color:var(--text-muted); font-size:.72rem; background:var(--bg-surface); }
.category-filter-empty { text-align:center; padding:38px 16px; }
.category-filter-empty strong { color:var(--text-primary); font-size:.9rem; }
.category-filter-empty p { margin-top:9px; color:var(--text-secondary); font-size:.8rem; overflow-wrap:anywhere; }
body[data-theme] .category-modal .badge-popular { display:inline-flex; align-items:center; gap:4px; padding:3px 7px; border:1px solid color-mix(in srgb,var(--accent-secondary) 35%,transparent); border-radius:999px; color:var(--text-primary); background:color-mix(in srgb,var(--accent-secondary) 12%,var(--bg-surface)); font-size:.59rem; font-weight:700; text-transform:none; letter-spacing:0; }
body[data-theme=light] .category-modal .badge-popular { color:#075b47; background:#e5f5ed; border-color:#a7d5bf; }
body[data-theme=eclipse] .category-modal .badge-popular { color:var(--text-secondary); background:#171719; border-color:var(--border-medium); }
body[data-theme] .category-modal-head { background:var(--bg-surface); }
@keyframes category-explorer-in { from { opacity:0; transform:translateY(8px) scale(.985); } to { opacity:1; transform:translateY(0) scale(1); } }
@media(max-width:720px) { .category-trigger-bar { flex-wrap:wrap; gap:8px; padding:12px; } .category-trigger-label { font-size:.82rem; } .category-trigger-btn-wrap { flex-basis:100%; } .category-modal-overlay { padding:12px; } .category-modal { max-height:calc(100dvh - 24px); border-radius:16px; } .category-modal-head { padding:16px; } .category-modal-identity h2 { font-size:1rem; } .category-modal-identity p { font-size:.72rem; } .category-modal>.category-modal-search { margin:0 16px 14px; } .category-modal-body { padding:0 16px 16px; } .category-grid-layout { grid-template-columns:repeat(2,minmax(0,1fr)); } .category-grid-item { gap:8px; padding:10px; } .category-choice-icon { width:22px; } }
@media(max-width:480px) { .category-grid-layout { grid-template-columns:minmax(0,1fr); } }
@media(prefers-reduced-motion:reduce) { .category-modal,.category-modal-overlay.open { animation:none; } .category-grid-item,.category-trigger-btn>svg { transition:none; } }

/* Eclipse keeps its black surfaces; configured product effects remain available. */
body[data-theme=eclipse] { --pix-color:#48e0ae; --catalog-card-price:#48e0ae; }
body[data-theme=eclipse] .product-card .product-main-price,body[data-theme=eclipse] .catalog-discovery .discovery-card .discovery-card-price,
body[data-theme=eclipse] :is(.detail-pix-price,.site-account-price,.checkout-price-total strong) { color:#48e0ae; }
body[data-theme=eclipse] :is(.checkout-buy-btn,.checkout-primary,.site-primary-btn) { background:linear-gradient(135deg,#13bd83,#21d899); color:#03180f; border:1px solid #22ca91; box-shadow:none; }
body[data-theme=eclipse] .site-add-cart-btn { color:#72e9bd; background:#0b241a; border-color:#2b9068; }
body[data-theme=eclipse] .site-add-cart-btn:hover { background:#103523; border-color:#48e0ae; }

body[data-theme=eclipse] .product-card.product-podium:is(.product-podium-1,.product-podium-2) .product-main-price,
body[data-theme=eclipse] .catalog-discovery .discovery-card.discovery-podium:is(.discovery-podium-1,.discovery-podium-2) .discovery-card-price { color:#48e0ae; }
/* Reference structure: real catalog and existing theme tokens. */
html{scrollbar-gutter:stable}
.header{position:sticky;top:0;border-bottom:1px solid var(--border-subtle);background:var(--bg-glass);backdrop-filter:blur(16px)}
.header-inner{gap:20px}.header-store-badge{display:none!important}.header-search{flex:1;max-width:560px;margin:auto}.header-search-box{border-radius:14px;height:44px}
.header-actions{gap:9px}.header-actions button{min-height:40px;border-radius:12px}.header-actions button svg{width:18px;height:18px;flex-shrink:0}
#headerOrdersBtn{order:0;display:inline-flex;align-items:center;gap:8px}#headerLoginBtn,.checkout-account-menu{order:1}#headerCartBtn{order:2}.theme-selector{order:3}#supportBtn{order:4}
#headerLoginBtn{background:linear-gradient(135deg,#5865f2,#4752c4);color:white;border-color:#6974f3;display:flex;gap:7px;align-items:center}#headerLoginBtn svg{fill:currentColor}
.store-subbar{position:relative;border-radius:22px;padding:22px 26px;background:var(--bg-surface);border:1px solid var(--border-subtle);gap:20px}
body[data-theme=blacksea] .store-subbar{background:radial-gradient(60% 140% at 0 0,#00c8ff1c,transparent 70%),linear-gradient(145deg,#0f2234,#0a1624)}
.store-subbar::before{content:"";position:absolute;left:0;top:20px;bottom:20px;width:3px;background:var(--accent-gradient);border-radius:3px}.store-subbar-name{font-size:22px}.store-subbar-icon{width:54px;height:54px;border-radius:16px}.store-subbar-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.store-social-links{display:flex;align-items:center;justify-content:center;gap:9px;flex-wrap:wrap}.store-social-link{display:flex;align-items:center;gap:8px;color:var(--text-secondary);font-size:12px;font-weight:700;border:1px solid var(--border-subtle);border-radius:12px;padding:7px 10px;background:var(--bg-surface-elevated);transition:transform .2s,border-color .2s}
.store-social-link img,.store-social-initial{width:28px;height:28px;object-fit:contain;border-radius:7px;display:grid;place-items:center}.store-social-link:hover{transform:translateY(-2px);border-color:var(--accent-secondary);color:var(--text-primary)}.footer-social-links{margin:0 auto 24px}






























.folder-category-filters{display:flex;align-items:center;gap:16px;padding:12px 16px;border:1px solid var(--border-subtle);border-radius:16px;background:var(--bg-surface);position:sticky;top:var(--site-header-bottom,92px);z-index:20;max-width:100%}.folder-category-name{font-size:13px;flex-shrink:0}.folder-category-chips{display:flex;gap:8px;min-width:0;overflow-x:auto;scrollbar-width:none;touch-action:pan-x;cursor:grab;padding:3px}
.folder-category-chip{display:inline-flex;align-items:center;gap:7px;flex-shrink:0;white-space:nowrap;padding:8px 13px;border:1px solid var(--border-subtle);background:var(--bg-surface-elevated);border-radius:999px;color:var(--text-secondary);font-size:12px;font-weight:700}.folder-category-chip b{font-size:10px;opacity:.7}.folder-category-chip[aria-pressed=true]{background:color-mix(in srgb,var(--accent-secondary) 12%,var(--bg-surface));border-color:var(--accent-secondary);color:var(--text-primary)}.is-dragging{cursor:grabbing!important;user-select:none}
:is(#viewCatalog,#viewProductDetail) .product-category-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:18px}:is(#viewCatalog,#viewProductDetail) .product-category-group{margin-bottom:30px}.product-category-heading{padding-bottom:12px;border-bottom:1px solid var(--border-subtle)}
:is(#viewCatalog,#viewProductDetail) .product-card{border-radius:17px;border-color:var(--border-subtle)}body[data-theme=blacksea] :is(#viewCatalog,#viewProductDetail) .product-card{background:linear-gradient(155deg,#102638,#0b192a);border-color:#214457}
:is(#viewCatalog,#viewProductDetail) .product-card-content{padding:13px 14px 12px;gap:8px}:is(#viewCatalog,#viewProductDetail) .product-title{margin:0;min-height:0;max-height:none;display:block;overflow:visible;word-break:normal;overflow-wrap:break-word;-webkit-line-clamp:unset;font-size:14px;line-height:1.3;font-weight:800}
:is(#viewCatalog,#viewProductDetail) .product-price-block{display:flex;flex-wrap:wrap;align-items:center;gap:5px 10px;position:relative}:is(#viewCatalog,#viewProductDetail) .product-main-price{font-size:21px;color:var(--pix-color);font-weight:800;order:2}:is(#viewCatalog,#viewProductDetail) .product-main-price small{display:block;font-size:10px;font-weight:500;color:var(--text-muted)}
:is(#viewCatalog,#viewProductDetail) .product-old-price{width:100%;margin:0;font-size:10px;order:1}:is(#viewCatalog,#viewProductDetail) .product-old-price.is-empty{display:none}:is(#viewCatalog,#viewProductDetail) .product-pix-sub{margin-left:auto;order:3;padding:3px 7px;background:var(--bg-hover);border-radius:10px}:is(#viewCatalog,#viewProductDetail) .product-pix-sub>span{display:none}:is(#viewCatalog,#viewProductDetail) .product-sales-count{display:none}:is(#viewCatalog,#viewProductDetail) .product-actions{display:none}:is(#viewCatalog,#viewProductDetail) .product-card-meta{position:static;order:4;margin:3px 0 0;min-height:22px;display:flex;flex-wrap:wrap;gap:5px}
:is(#viewCatalog,#viewProductDetail) .product-delivery-badge{position:static;font-size:9px;padding:3px 6px}.product-quick-cart{position:absolute;z-index:7;right:9px;bottom:9px;width:33px;height:33px;border-radius:11px;color:var(--text-primary);background:color-mix(in srgb,var(--bg-surface) 86%,transparent);border:1px solid var(--border-medium);backdrop-filter:blur(8px);opacity:0;transform:translateY(5px);transition:opacity .2s,transform .2s}.product-quick-cart svg{width:16px;height:16px}.product-card:hover .product-quick-cart,.product-card:focus-within .product-quick-cart{opacity:1;transform:none}
#catalogDiscoveryItems .discovery-card{display:grid;grid-template-columns:92px minmax(0,1fr);align-items:stretch;padding:0;gap:0;min-height:92px;border-radius:18px;overflow:hidden}.reference-discovery-cover{position:relative;min-width:0;min-height:92px;overflow:hidden;background:var(--bg-surface-elevated)}.reference-discovery-cover>.discovery-card-image,.reference-discovery-cover>.cv-media-mini{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;aspect-ratio:auto;border-radius:0}.reference-discovery-cover .discovery-card-image{width:100%;height:100%;object-fit:cover;border-radius:0}.reference-discovery-cover>.product-media-placeholder{height:100%;min-height:92px;margin:0}.discovery-card-info{padding:10px 12px;min-width:0;align-self:center}.discovery-card-category{font-size:9px}.discovery-card-name{font-size:12px}.discovery-card-price{font-size:17px;color:var(--pix-color)}
.detail-hero-image-wrap{touch-action:pan-y}.detail-zoom-overlay{width:42px;height:42px;min-width:0!important;padding:10px!important;bottom:14px;right:14px;left:auto!important;border-radius:50%!important}.detail-zoom-overlay svg{width:20px;height:20px}.gallery-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:9;width:35px;height:42px;border-radius:13px;color:var(--text-primary);background:color-mix(in srgb,var(--bg-base) 80%,transparent);border:1px solid var(--border-medium);font-size:25px;backdrop-filter:blur(8px)}.gallery-prev{left:12px}.gallery-next{right:12px}.detail-gallery-thumb[aria-pressed=true]{border-color:var(--accent-secondary);box-shadow:0 0 0 1px var(--accent-secondary)}
.checkout-overlay[data-view=cart],.checkout-overlay[data-view=orders],.checkout-overlay[data-view=order]{align-items:stretch;justify-content:flex-end;padding:0}.checkout-overlay[data-view] .checkout-dialog{width:min(460px,100%);max-height:100dvh;height:100dvh;margin:0;border-radius:0;display:flex;flex-direction:column;padding:22px;overflow-y:auto;border:0;border-left:1px solid var(--border-subtle);background:var(--bg-surface);animation:none}
.checkout-overlay[data-view=quick] .checkout-dialog{width:min(460px,calc(100% - 32px));height:auto;max-height:calc(100dvh - 32px);border:1px solid var(--border-subtle);border-radius:24px;margin:auto;animation:none}.checkout-overlay[data-view=quick]{padding:16px;align-items:center;justify-content:center}
.checkout-topline{gap:12px}.checkout-topline>span{font-size:10px}#checkoutCloseBtn{margin-left:auto;min-width:34px}.checkout-heading{margin-bottom:20px}.checkout-heading h2{font-size:23px}.checkout-heading .checkout-step{display:none}.checkout-heading p{font-size:12px;color:var(--text-muted)}
.site-cart-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:14px;border:1px solid var(--border-subtle);border-radius:16px;background:var(--bg-surface-elevated);align-items:start}.site-cart-thumb{width:64px;height:64px;border-radius:12px;object-fit:cover;background:var(--bg-hover)}.site-cart-item-info{min-width:0}.site-cart-item-info strong{font-size:13px;line-height:1.4;overflow-wrap:break-word;word-break:normal}.site-cart-item-info>span{font-size:11px;color:var(--text-muted)}.site-cart-item-controls{grid-column:2;display:flex;align-items:center;gap:7px;flex-wrap:wrap}.site-cart-item-controls input{width:45px;padding:5px;text-align:center}.site-cart-item-controls button{min-width:27px;border-radius:8px;padding:4px 7px;color:var(--text-secondary);border:1px solid var(--border-subtle);background:var(--bg-surface)}.site-cart-remove{margin-left:auto!important}.site-cart-line-total{color:var(--pix-color);font-size:14px;font-weight:800}.site-cart-empty{padding:48px 12px;text-align:center}.site-cart-empty svg{width:40px;height:40px;color:var(--text-muted);margin:0 auto 18px}.checkout-price-breakdown{border-top:1px solid var(--border-subtle);padding-top:20px;margin-top:20px}.checkout-price-total strong{color:var(--pix-color)}.checkout-field input{border-radius:12px}.checkout-primary{border-radius:12px;min-height:46px}.checkout-secondary{width:100%;margin-top:10px;padding:12px;border:1px solid var(--border-subtle);border-radius:12px;background:none;color:var(--text-secondary)}
.checkout-list-item{display:flex;flex-direction:column;align-items:stretch;gap:9px;text-align:left;border:1px solid var(--border-subtle);border-radius:16px;padding:16px;background:var(--bg-surface-elevated)}.checkout-list-item strong{font-size:13px;overflow-wrap:break-word}.checkout-list-item span{font-size:12px}.checkout-list-item small{color:var(--text-muted);font-size:11px}.checkout-list-item::after{content:'Ver detalhes e entrega →';font-size:11px;color:var(--accent-secondary)}.checkout-order-summary{border:1px solid var(--border-subtle);padding:13px;border-radius:13px}.checkout-delivery section{border:1px solid var(--border-subtle);border-radius:14px;padding:14px;margin-bottom:12px}.checkout-delivery-controls{display:flex;gap:7px;flex-wrap:wrap}.checkout-delivery pre{white-space:pre-wrap;overflow-wrap:anywhere}.site-shopping-notice{max-width:calc(100vw - 32px);display:flex;align-items:center;gap:12px}.site-shopping-notice button{border:0;background:none;font-weight:800;color:var(--accent-secondary)}
@keyframes reference-drawer{from{transform:translateX(100%)}to{transform:translateX(0)}}@keyframes reference-modal{from{opacity:0;transform:translateY(12px) scale(.98)}to{opacity:1;transform:none}}
@media(min-width:721px) and (max-width:1150px){:is(#viewCatalog,#viewProductDetail) .product-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.header-inner{gap:10px}.header-actions button:not(.action-icon-btn) span,#themeActiveLabel{display:none}.header-actions button{width:40px;padding:8px;justify-content:center}#headerLoginBtn{font-size:0}.checkout-account-label,#headerAccountName{display:none}}
@media(max-width:900px){:is(#viewCatalog,#viewProductDetail) .product-category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.store-subbar-actions{gap:8px}.store-social-name{display:none}}
@media(max-width:720px){
 .header-inner{display:flex;flex-wrap:wrap;padding:12px 16px;gap:10px;align-items:center}.brand{flex:1;min-width:0;gap:7px}.brand-avatar{width:36px;height:36px}.brand-title{font-size:16px}.header-actions{gap:5px}.header-actions button{width:33px;height:38px;min-height:38px;padding:7px;justify-content:center}.header-actions button>span,#headerAccountName,.checkout-account-label{display:none}.header-search{order:3;width:100%;max-width:none;flex:0 0 100%}.header-search-box{height:40px}#headerLoginBtn{font-size:0}#themeActiveLabel{display:none}#headerOrdersBtn span{display:none}









 .folder-category-filters{top:calc(var(--site-header-bottom,112px) + 94px);padding:10px;gap:8px;flex-wrap:wrap}.folder-category-name{width:100%}.folder-category-chips{width:100%}.store-subbar{padding:18px;flex-wrap:wrap}.store-subbar-name{font-size:18px}.store-subbar-actions{width:100%;justify-content:space-between}.store-subbar-icon{width:44px;height:44px}.store-subbar-left{gap:12px;min-width:0}.store-subbar-meta{font-size:11px}
 :is(#viewCatalog,#viewProductDetail) .product-category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}:is(#viewCatalog,#viewProductDetail) .product-card-content{padding:11px 10px}:is(#viewCatalog,#viewProductDetail) .product-title{font-size:12px}:is(#viewCatalog,#viewProductDetail) .product-main-price{font-size:19px}:is(#viewCatalog,#viewProductDetail) .product-delivery-badge{font-size:8px}.product-quick-cart{opacity:1;transform:none;width:29px;height:29px}.discovery-card-info{padding:8px 11px}#catalogDiscoveryItems .discovery-card{grid-template-columns:84px minmax(0,1fr);min-height:84px}.reference-discovery-cover{min-height:84px}.checkout-overlay[data-view] .checkout-dialog{padding:18px}.site-cart-item{grid-template-columns:54px minmax(0,1fr);padding:12px;gap:10px}.site-cart-thumb{width:54px;height:54px}.store-social-link{padding:6px}.footer-social-links .store-social-name{display:inline}
}
@media(max-width:360px){.brand-title{font-size:14px}.header-actions{gap:3px}.header-actions button{width:29px;padding:5px}.header-inner{padding-inline:12px}
.checkout-account-status{max-width:29px}:is(#viewCatalog,#viewProductDetail) .product-main-price{font-size:17px}}
@media(prefers-reduced-motion:reduce){
.checkout-overlay[data-view] .checkout-dialog{animation:none!important;transition:none!important}.store-social-link:hover{transform:none}}
[hidden]{display:none!important}

/* Catalog surfaces share the theme; medals remain on covers and rank badges. */
body[data-theme="blacksea"] { --catalog-info-surface:linear-gradient(135deg,#112b3b 0%,#0d1d2b 54%,#091322 100%); --category-marker:linear-gradient(90deg,#00c8ff,#00e6a8); }
body[data-theme="gta6"] { --catalog-info-surface:linear-gradient(135deg,#35243f 0%,#261e35 54%,#1b192d 100%); --category-marker:linear-gradient(90deg,#d796ff,#ffacca); }
body[data-theme="light"] { --catalog-info-surface:linear-gradient(135deg,#ffffff 0%,#f1f9fc 48%,#e5f1f6 100%); --category-marker:linear-gradient(90deg,#008eaa,#00a778); }
body[data-theme="obsidian"] { --catalog-info-surface:linear-gradient(135deg,#222d37 0%,#1a222c 54%,#121921 100%); --category-marker:linear-gradient(90deg,#8aaabd,#53bba0); }
body[data-theme="eclipse"] { --catalog-info-surface:linear-gradient(135deg,#09120e 0%,#050907 54%,#030504 100%); --category-marker:linear-gradient(90deg,#277b5c,#48b487); }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-card-content,
body[data-theme] #catalogDiscoveryItems .discovery-card,
body[data-theme] #catalogDiscoveryItems .discovery-card-info { background:var(--catalog-info-surface); }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-card-content::before,
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-card.product-podium::before { content:none; display:none; animation:none; }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-title,
body[data-theme] #catalogDiscoveryItems .discovery-card-name { color:var(--text-primary); text-shadow:none; }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-main-price,
body[data-theme] #catalogDiscoveryItems .discovery-card-price { color:var(--catalog-card-price,var(--pix-color)); }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) :is(.product-old-price,.product-pix-sub,.pix-icon-svg),
body[data-theme] #catalogDiscoveryItems :is(.discovery-card-category,.discovery-card-old-price,.discovery-card-sales) { color:var(--text-muted); }
body[data-theme] #catalogDiscoveryItems .discovery-card-info { align-self:stretch; grid-template-columns:minmax(0,1fr); justify-content:start; padding-right:34px; }
body[data-theme] #catalogDiscoveryItems .discovery-podium .reference-discovery-cover { background:var(--discovery-surface); }
body[data-theme] #catalogDiscoveryItems .reference-discovery-cover .product-media-placeholder { position:absolute; inset:0; width:100%; height:100%; min-height:0; margin:0; border-radius:0; padding:0; display:flex; align-items:center; justify-content:center; background:transparent; }
body[data-theme] #catalogDiscoveryItems .discovery-podium-1 .product-media-placeholder { color:#62501f; }
body[data-theme] #catalogDiscoveryItems .discovery-podium-2 .product-media-placeholder { color:#46566b; }
body[data-theme="obsidian"] #catalogDiscoveryItems .discovery-podium-1 .product-media-placeholder,
body[data-theme="eclipse"] #catalogDiscoveryItems .discovery-podium-1 .product-media-placeholder { color:#b7ad94; }
body[data-theme="obsidian"] #catalogDiscoveryItems .discovery-podium-2 .product-media-placeholder,
body[data-theme="eclipse"] #catalogDiscoveryItems .discovery-podium-2 .product-media-placeholder { color:#abb8c7; }
.reference-discovery-cover .product-media-placeholder svg { flex:none; width:27px; height:27px; }

/* Podium keeps the previous metal finish and information hierarchy at this grid size. */
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-card.product-podium { border-color:var(--medal-line); }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-podium:is(.product-podium-1,.product-podium-2) .product-card-content { background:var(--medal-surface); }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-podium:is(.product-podium-1,.product-podium-2) :is(.product-title,.product-main-price) { color:var(--medal-ink); }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-podium:is(.product-podium-1,.product-podium-2) :is(.product-old-price,.product-pix-sub,.pix-icon-svg,.product-sales-count) { color:var(--medal-muted); }
body[data-theme] #catalogDiscoveryItems .discovery-podium:is(.discovery-podium-1,.discovery-podium-2),
body[data-theme] #catalogDiscoveryItems .discovery-podium:is(.discovery-podium-1,.discovery-podium-2) .discovery-card-info { background:var(--discovery-surface); }
body[data-theme] #catalogDiscoveryItems .discovery-podium:is(.discovery-podium-1,.discovery-podium-2) :is(.discovery-card-name,.discovery-card-price) { color:var(--discovery-ink); }
body[data-theme] #catalogDiscoveryItems .discovery-podium-1 :is(.discovery-card-category,.discovery-card-old-price,.discovery-card-sales) { color:#62501f; }
body[data-theme] #catalogDiscoveryItems .discovery-podium-2 :is(.discovery-card-category,.discovery-card-old-price,.discovery-card-sales) { color:#46566b; }
body[data-theme="obsidian"] #catalogDiscoveryItems .discovery-podium-1 { --discovery-ink:#ecdfbd; }
body[data-theme="obsidian"] #catalogDiscoveryItems .discovery-podium-2 { --discovery-ink:#e0e7ef; }
body[data-theme="obsidian"] #catalogDiscoveryItems .discovery-podium-1 :is(.discovery-card-category,.discovery-card-old-price,.discovery-card-sales) { color:#b7ad94; }
body[data-theme="obsidian"] #catalogDiscoveryItems .discovery-podium-2 :is(.discovery-card-category,.discovery-card-old-price,.discovery-card-sales) { color:#abb8c7; }
body[data-theme="eclipse"] .product-card.product-podium-1 { --medal-surface:linear-gradient(135deg,#1b170b,#0c0b07); --medal-ink:#d9c78e; --medal-muted:#ab9b72; --medal-button:#241e0e; --medal-button-text:#e4d5a9; }
body[data-theme="eclipse"] .product-card.product-podium-2 { --medal-surface:linear-gradient(135deg,#171d22,#090c11); --medal-ink:#c3ceda; --medal-muted:#8e9dad; --medal-button:#1d2530; --medal-button-text:#c3ceda; }
body[data-theme="eclipse"] .discovery-card.discovery-podium-1 { --discovery-surface:linear-gradient(135deg,#1b170b,#0c0b07); --discovery-ink:#d9c78e; }
body[data-theme="eclipse"] .discovery-card.discovery-podium-2 { --discovery-surface:linear-gradient(135deg,#171d22,#090c11); --discovery-ink:#c3ceda; }
body[data-theme="eclipse"] #catalogDiscoveryItems .discovery-podium-1 :is(.discovery-card-category,.discovery-card-old-price,.discovery-card-sales) { color:#ab9b72; }
body[data-theme="eclipse"] #catalogDiscoveryItems .discovery-podium-2 :is(.discovery-card-category,.discovery-card-old-price,.discovery-card-sales) { color:#8e9dad; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-card-meta { order:-1; margin:0; min-height:24px; height:auto; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-price-block { display:flex; flex-direction:column; align-items:flex-start; gap:3px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-pix-sub { display:flex; margin:0; padding:0; background:none; border-radius:0; font-size:10px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-pix-sub>span { display:inline; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-sales-count:not(.is-empty) { display:block; order:4; margin:0; font-size:10px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-actions { display:flex; margin-top:auto; padding-top:4px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .btn-details { width:100%; min-height:34px; padding:7px 10px; border-radius:10px; font-size:12px; line-height:1.25; }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-podium:is(.product-podium-1,.product-podium-2) .btn-details { background:var(--medal-button); color:var(--medal-button-text); border-color:#ffffff30; text-shadow:none; }
body[data-theme] :is(#productsGrid,#relatedProductsGrid) .product-podium .btn-details::after { content:none; display:none; animation:none; }

/* Category rule from the structural reference: full line + short theme accent. */
:is(#productsGrid,#relatedProductsGrid) .product-category-group { gap:16px; margin-top:40px; margin-bottom:0; }
:is(#productsGrid,#relatedProductsGrid) .product-category-group:first-child { margin-top:8px; }
:is(#productsGrid,#relatedProductsGrid) .product-category-heading { position:relative; display:block; padding:0 0 12px; margin:0; font-size:1.05rem; font-weight:800; letter-spacing:-.01em; line-height:1.3; border-bottom:1px solid var(--border-subtle); }
:is(#productsGrid,#relatedProductsGrid) .product-category-heading::before { content:none; }
:is(#productsGrid,#relatedProductsGrid) .product-category-heading::after { content:""; display:block; position:absolute; left:0; bottom:-1px; width:64px; height:2px; border-radius:2px; background:var(--category-marker); }

/* Fix the drawer to the viewport, independent of its current content. */
.checkout-overlay { width:100vw; }
.checkout-overlay:is([data-view="cart"],[data-view="orders"],[data-view="order"]) { display:flex; align-items:stretch; justify-content:flex-end; padding:0; overflow:hidden; }
.checkout-overlay:is([data-view="cart"],[data-view="orders"],[data-view="order"]) .checkout-dialog { position:absolute; inset:0 0 0 auto; flex:none; width:min(460px,100%); height:100%; max-height:none; min-height:0; margin:0; border-radius:0; overflow-y:auto; overflow-anchor:none; overscroll-behavior:contain; scrollbar-gutter:stable; animation:none; }
.checkout-overlay.is-opening:is([data-view="cart"],[data-view="orders"],[data-view="order"]) .checkout-dialog { animation:reference-drawer .28s ease-out; }
.checkout-overlay[data-view="quick"] .checkout-dialog { animation:none; overflow-anchor:none; scrollbar-gutter:stable; }
.checkout-overlay.is-opening[data-view="quick"] .checkout-dialog { animation:reference-modal .25s ease-out; }
.checkout-topline { flex:none; min-height:64px; }
.checkout-dialog :is(.checkout-heading,#checkoutFormArea,#checkoutOrderArea,.checkout-list-area) { flex-shrink:0; }
.checkout-price-breakdown strong { font-variant-numeric:tabular-nums; }
#checkoutListStatus { min-height:2.7em; }
.discord-symbol { width:20px; height:20px; flex:none; fill:currentColor; }
#headerAccountStatus .discord-symbol { color:#fff; }
body[data-theme="light"] #headerAccountStatus .discord-symbol { color:#5865f2; }
@media(max-width:720px) { :is(#productsGrid,#relatedProductsGrid) .product-category-group { margin-top:30px; } }
@media(prefers-reduced-motion:reduce) { .checkout-overlay.is-opening[data-view] .checkout-dialog { animation:none; } }

/* Equal catalog card dimensions, regardless of sales rank or cover effects. */
:is(#viewCatalog,#viewProductDetail) .product-category-grid { align-items:start; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card-content { flex:none; height:170px; box-sizing:border-box; padding:10px 12px; gap:4px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-title { min-height:36.4px; max-height:36.4px; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-price-block { margin:0; min-height:26px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card-meta { min-height:20px; margin-top:auto; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-card-meta { min-height:20px; margin:0; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-price-block { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:1px 4px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-old-price { grid-column:1/-1; order:0; line-height:11px; min-height:11px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-main-price { grid-column:1/-1; order:1; font-size:20px; line-height:24px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-pix-sub { grid-column:1; order:2; gap:3px; font-size:9px; line-height:11px; min-height:11px; white-space:nowrap; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .pix-icon-svg { width:10px; height:10px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-sales-count:not(.is-empty) { grid-column:2; order:2; font-size:9px; line-height:11px; align-self:center; white-space:nowrap; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-actions { padding:0; margin-top:auto; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .btn-details { min-height:26px; padding:5px 8px; font-size:11px; line-height:14px; border-radius:9px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.cv-exterior-host .product-banner-wrap { width:100%; margin:0; border-radius:16px 16px 0 0; }
@media(max-width:720px) {
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card-content { padding:10px 9px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-title { min-height:31.2px; max-height:31.2px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-main-price { font-size:19px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-podium .product-pix-sub>span { display:none; }
}

/* Prototype reference: identical compact geometry for every catalog rank. */
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card { min-width:0; border-width:1px; border-radius:17px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-banner-wrap { flex:none; width:100%; aspect-ratio:1; margin:0; border-bottom:0; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:36.4px 20px 35.2px; align-content:space-between; height:122px; min-height:122px; padding:13px 14px 12px; gap:0; flex:none; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-title { grid-row:1; order:0; margin:0; height:36.4px; min-height:36.4px; max-height:36.4px; font-size:14px; line-height:18.2px; font-weight:800; letter-spacing:-.035em; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; overflow-wrap:anywhere; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-price-block { grid-row:3; order:0; position:relative; display:flex; flex-direction:row; flex-wrap:nowrap; align-items:flex-end; justify-content:space-between; height:35.2px; min-height:35.2px; margin:0; gap:4px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price { position:relative; order:0; display:flex; align-items:baseline; flex-wrap:nowrap; gap:4px; min-width:0; font-size:21px; line-height:25.2px; font-weight:800; letter-spacing:-.025em; white-space:nowrap; font-variant-numeric:tabular-nums; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price small { position:absolute; bottom:100%; left:0; font-size:9px; line-height:10px; white-space:nowrap; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-old-price { position:absolute; top:0; left:0; width:auto; height:10px; min-height:10px; margin:0; font-size:9px; line-height:10px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-old-price.is-empty { display:none; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-pix-sub { display:flex; order:0; flex:none; align-items:center; justify-content:center; width:27px; height:20px; min-height:20px; margin:0 0 2px; padding:0; border-radius:999px; background:var(--bg-hover); }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-pix-sub>span { display:none; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .pix-icon-svg { width:13px; height:13px; color:var(--pix-color); }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sales-count,
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sales-count:not(.is-empty),
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-actions { display:none; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-meta { grid-row:2; order:0; display:flex; flex-wrap:nowrap; align-items:center; height:20px; min-height:20px; margin:0; gap:4px; min-width:0; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge { max-width:100%; min-width:0; font-size:9px; line-height:12px; padding:2px 6px 2px 3px; gap:4px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge .delivery-icon { width:18px; height:18px; padding:3px; flex:none; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge>span { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sale-badge { font-size:9px; line-height:12px; padding:1px 3px; flex:none; }
@media(max-width:720px) {
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { padding:10px 10px 12px; grid-template-rows:31.2px 20px 35.2px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-title { height:31.2px; min-height:31.2px; max-height:31.2px; font-size:12px; line-height:15.6px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price { font-size:18px; line-height:25.2px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge { font-size:8px; }
}
@media(max-width:350px) { :is(#viewCatalog,#viewProductDetail) .product-category-grid { grid-template-columns:minmax(0,1fr); } }
/* Readable pricing: original value and discount above a full-size current price. */
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { height:144px; min-height:144px; padding:12px 14px; grid-template-rows:36.4px 22px 50px; align-content:space-between; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-meta { height:22px; min-height:22px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-price-block { display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:16px 30px; align-content:space-between; align-items:center; gap:0 6px; height:50px; min-height:50px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-old-price { position:static; grid-column:1; grid-row:1; height:auto; min-height:0; width:auto; font-size:12px; line-height:16px; white-space:nowrap; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price { grid-column:1; grid-row:2; align-self:end; font-size:24px; line-height:30px; letter-spacing:-.025em; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price small { bottom:100%; font-size:11px; line-height:16px; font-weight:600; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sale-badge { grid-column:2; grid-row:1; justify-self:end; font:800 12px/16px var(--font-sans); padding:1px 5px; border-radius:5px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-pix-sub { grid-column:2; grid-row:2; align-self:center; margin:0; }
@media(max-width:720px) {
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { padding:12px 10px; grid-template-rows:31.2px 22px 50px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price { font-size:22px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge { font-size:9px; }
}
/* Supplied reference: adaptive name, delivery chip, auxiliary row and footer action. */
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-category-grid { align-items:stretch; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { display:flex; flex-direction:column; height:181px; min-height:181px; padding:14px; gap:10px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-title { height:58px; min-height:58px; max-height:58px; margin:0; display:flex; align-items:center; flex:none; overflow:hidden; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-title>span { width:100%; font-size:22px; line-height:1.2; font-weight:800; letter-spacing:-.01em; overflow-wrap:anywhere; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-meta { height:28px; min-height:28px; flex:none; margin:0; gap:6px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge { gap:6px; padding:4px 10px 4px 5px; font-size:11.5px; font-weight:800; line-height:18px; border-radius:999px; white-space:nowrap; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge .delivery-icon { width:18px; height:18px; padding:3px; border-radius:50%; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-price-block { margin-top:auto; display:grid; grid-template-columns:minmax(0,1fr) auto; grid-template-rows:auto; align-items:end; gap:10px; height:46.4px; min-height:46.4px; flex:none; }
.reference-card-value { min-width:0; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-aux { display:flex; align-items:center; gap:6px; height:18px; margin-bottom:2px; font-size:12px; color:var(--text-muted); white-space:nowrap; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-old-price { position:static; width:auto; height:auto; min-height:0; margin:0; font-size:12px; line-height:18px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sale-badge { font:800 11px/14px var(--font-sans); padding:2px 6px; border-radius:6px; background:#0f4a3b; color:#6df5cb; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sales-count { display:block; margin:0; min-height:0; font-size:12px; line-height:18px; font-weight:500; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price { display:block; font-size:24px; line-height:1.1; font-weight:800; letter-spacing:-.01em; white-space:nowrap; font-variant-numeric:tabular-nums; overflow:hidden; text-overflow:ellipsis; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price small { position:static; display:inline; font-size:11px; font-weight:600; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-quick-cart { position:static; width:38px; height:38px; border-radius:11px; display:grid; place-items:center; opacity:1; transform:none; background:var(--bg-hover); color:var(--pix-color); border:1px solid var(--border-medium); padding:0; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-quick-cart svg { width:18px; height:18px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-quick-cart:focus-visible { outline:2px solid var(--pix-color); outline-offset:2px; }
@media(max-width:720px) {
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { padding:14px 10px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge { padding-right:5px; gap:4px; font-size:9px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-price-block { gap:6px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-main-price { font-size:22px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-aux { gap:4px; font-size:11px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-old-price { font-size:11px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sale-badge { padding:2px 4px; font-size:10px; }
}
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sales-count:not(.is-empty) { display:block; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-value .product-main-price { line-height:26.4px; }

:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-aux .product-old-price { order:0; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-aux .product-sale-badge { order:1; }

/* Preserve the previous card size while retaining the reference information order. */
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { height:144px; min-height:144px; padding:10px 14px; gap:6px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-title { height:40px; min-height:40px; max-height:40px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-meta { height:22px; min-height:22px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge { padding:2px 6px 2px 3px; font-size:10px; line-height:16px; gap:4px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge .delivery-icon { width:16px; height:16px; padding:2px; }
@media(max-width:720px) {
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { padding:10px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge { font-size:9px; padding-right:5px; }
}
/* Title ceiling measured from GOD OF WAR : RAGNAROK; clearer sales and delivery icons. */
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-title>span { font-size:16.5px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sales-count,
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sales-count:not(.is-empty) { font-size:14px; line-height:18px; font-weight:600; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-meta { height:24px; min-height:24px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-delivery-badge .delivery-icon { width:18px; height:18px; padding:2px; }
/* Discreet theme control: retain current-theme icon and accessible label. */
.header-actions .theme-selector { flex:none; }
.header-actions #themeToggleBtn { display:inline-flex; align-items:center; justify-content:center; flex:none; width:38px; height:38px; min-width:38px; min-height:38px; padding:0; gap:0; border-radius:12px; }
.header-actions #themeToggleBtn #themeActiveLabel,
.header-actions #themeToggleBtn>svg { display:none; }
.header-actions #themeToggleBtn #themeActiveIcon { display:inline-flex; align-items:center; justify-content:center; font-size:18px; line-height:1; }
@media(max-width:720px) {
 .header-actions #themeToggleBtn { width:32px; height:32px; min-width:32px; min-height:32px; border-radius:10px; }
 .header-actions #themeToggleBtn #themeActiveIcon { font-size:16px; }
}
/* Related products use the same responsive card columns as the catalog. */
#relatedProductsGrid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:18px; align-items:stretch; }
@media(max-width:1150px) { #relatedProductsGrid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:900px) { #relatedProductsGrid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:720px) { #relatedProductsGrid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; } }
@media(max-width:350px) { #relatedProductsGrid { grid-template-columns:minmax(0,1fr); } }
/* Ranking reference: appearance layers only; existing card dimensions stay intact. */
@property --ranking-visual-angle { syntax:'<angle>'; inherits:false; initial-value:0deg; }
@keyframes ranking-visual-spin { to { --ranking-visual-angle:360deg; } }
@keyframes ranking-visual-sweep { 0%,45% { background-position:150% 0; } 85%,100% { background-position:-60% 0; } }
@keyframes ranking-visual-twinkle { 0%,70%,100% { opacity:0; rotate:0deg; } 85% { opacity:1; rotate:45deg; } }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) {
 --ranking-ring:#6b4a0f,#ffe9a0,#c8962c,#fff7d6,#8a5f12,#f6d777,#6b4a0f;
 --ranking-g1:#fff3c4; --ranking-g3:#d9a93c; --ranking-g4:#a8751a;
 --ranking-metal:linear-gradient(135deg,#fff3c4 0%,#f0cf6a 22%,#d9a93c 48%,#f3d98a 64%,#a8751a 100%);
 --ranking-brush:repeating-linear-gradient(90deg,#ffffff0d 0 1px,transparent 1px 3px);
 --ranking-ink:#2a1f08; --ranking-muted:#6b5420; --ranking-sold:#4a3a14;
 --ranking-hi:#fff5c8bf; --ranking-lo:#5a3c0540; --ranking-edge:#ffebaa8c;
 --ranking-cover:radial-gradient(circle at 50% 45%,#2a2417,#000 70%);
 --ranking-button:linear-gradient(#2b2312,#120e07); --ranking-aura:#f0cf6a59;
 border-color:var(--ranking-g3); background:var(--ranking-metal);
 box-shadow:0 0 22px var(--ranking-aura),0 8px 24px #0006!important;
}
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium-2,.discovery-card.discovery-podium-2) {
 --ranking-ring:#5d6672,#ffffff,#9aa4b0,#f4f7fa,#6b7480,#d7dde4,#5d6672;
 --ranking-g1:#ffffff; --ranking-g3:#b4bcc7; --ranking-g4:#7f8895;
 --ranking-metal:linear-gradient(135deg,#ffffff 0%,#e6ebf1 22%,#b4bcc7 48%,#eef1f5 64%,#7f8895 100%);
 --ranking-brush:repeating-linear-gradient(90deg,#ffffff12 0 1px,transparent 1px 3px);
 --ranking-ink:#1b2128; --ranking-muted:#4d5764; --ranking-sold:#2f3842;
 --ranking-hi:#ffffffcc; --ranking-lo:#28324140; --ranking-edge:#ebf0f799;
 --ranking-cover:radial-gradient(circle at 50% 45%,#232830,#000 70%);
 --ranking-button:linear-gradient(#262c34,#0f1317); --ranking-aura:#dce4ee47;
}
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium-3,.discovery-card.discovery-podium-3) {
 --ranking-ring:#8a5f12,#f6d777,#c8962c,#ffe9a0,#8a5f12,#f6d777,#8a5f12;
 --ranking-g1:#f6e3a0; --ranking-g3:#d9a93c; --ranking-g4:#a8751a;
 --ranking-metal:radial-gradient(ellipse at 50% 0%,#1d180d,#100d08 70%);
 --ranking-brush:linear-gradient(transparent,transparent);
 --ranking-ink:#f3e3b0; --ranking-muted:#a58a45; --ranking-sold:#c9ad62;
 --ranking-hi:transparent; --ranking-lo:transparent; --ranking-edge:#f6d77780;
 --ranking-aura:#f0cf6a29;
}
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .product-card-content {
 background:var(--ranking-brush),var(--ranking-metal); box-shadow:inset 0 1px 0 var(--ranking-hi),inset 0 -2px 6px var(--ranking-lo);
}
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) :is(.product-title,.product-main-price) { color:var(--ranking-ink); text-shadow:0 1px 0 var(--ranking-hi); }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .product-old-price { color:var(--ranking-muted); }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .product-sales-count { color:var(--ranking-sold); }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .product-banner-wrap { background:var(--ranking-cover); box-shadow:inset 0 -1px 0 var(--ranking-edge); }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .product-media-placeholder { background:transparent; color:var(--ranking-g3); }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .product-delivery-badge { background:var(--ranking-button); color:var(--ranking-g1); border-color:var(--ranking-edge); box-shadow:0 2px 6px #0005; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .delivery-icon { background:linear-gradient(135deg,var(--ranking-g1),var(--ranking-g3)); color:var(--ranking-ink); filter:none; box-shadow:none; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .product-quick-cart { color:var(--ranking-g1); border-color:var(--ranking-edge); background:var(--ranking-button); box-shadow:0 6px 14px -6px #000b,inset 0 1px 0 #ffffff1f; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium) .product-rank-badge { width:38px; height:38px; padding:0; border-radius:50%; color:var(--ranking-g1); background:linear-gradient(#17130a,#17130a) padding-box,conic-gradient(from 20deg,var(--ranking-ring)) border-box; border:2px solid transparent; box-shadow:0 0 14px var(--ranking-aura),inset 0 0 8px var(--ranking-aura); }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium-2,.discovery-card.discovery-podium-2) .product-rank-badge { background:linear-gradient(#12161b,#12161b) padding-box,conic-gradient(from 20deg,var(--ranking-ring)) border-box; }
.ranking-visual-ring { position:absolute; inset:0; border-radius:inherit; padding:1.5px; background:conic-gradient(from var(--ranking-visual-angle),var(--ranking-ring)); mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0); mask-composite:exclude; pointer-events:none; z-index:8; animation:ranking-visual-spin 6s linear infinite; }
.ranking-visual-sheen { position:absolute; inset:0; pointer-events:none; z-index:5; background:linear-gradient(115deg,transparent 35%,#ffffff73 48%,transparent 56%); background-size:260% 100%; background-position:150% 0; mix-blend-mode:soft-light; animation:ranking-visual-sweep 5.5s ease-in-out infinite; }
.ranking-visual-sparkle { position:absolute; width:12px; height:12px; background:#fff; opacity:0; pointer-events:none; z-index:4; clip-path:polygon(50% 0,60% 40%,100% 50%,60% 60%,50% 100%,40% 60%,0 50%,40% 40%); animation:ranking-visual-twinkle 3.2s ease-in-out infinite; }
.ranking-sparkle-1 { top:16%; left:14%; }
.ranking-sparkle-2 { top:62%; left:80%; animation-delay:1.1s; scale:.7; }
.ranking-sparkle-3 { top:34%; left:58%; animation-delay:2.1s; scale:.5; }
@media(prefers-reduced-motion:reduce) { .ranking-visual-ring,.ranking-visual-sheen,.ranking-visual-sparkle { animation:none; } .ranking-visual-sheen { display:none; } .ranking-visual-sparkle { opacity:.8; } }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium,.discovery-card.discovery-podium)::after { display:none!important; content:none; }

/* Discovery ranking shares the medal palette without changing its horizontal layout. */
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-podium,
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-podium .discovery-card-info { background:var(--ranking-brush),var(--ranking-metal); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-podium :is(.discovery-card-name,.discovery-card-price) { color:var(--ranking-ink); text-shadow:0 1px 0 var(--ranking-hi); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-podium :is(.discovery-card-category,.discovery-card-old-price) { color:var(--ranking-muted); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-podium .discovery-card-sales { color:var(--ranking-sold); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-podium .reference-discovery-cover { background:var(--ranking-cover); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-podium .product-media-placeholder { color:var(--ranking-g3); background:transparent; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-podium .discovery-rank-badge { color:var(--ranking-g1); background:var(--ranking-button); border:1px solid var(--ranking-edge); box-shadow:0 0 8px var(--ranking-aura); }

/* Quiet themes retain ranking identity using subdued surfaces and static borders. */
body:is([data-theme=obsidian],[data-theme=eclipse]) :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-podium,.discovery-podium) {
 --ranking-metal:linear-gradient(135deg,#29251c,#191b1b); --ranking-brush:linear-gradient(transparent,transparent);
 --ranking-ink:#ecdfbd; --ranking-muted:#b7ad94; --ranking-sold:#c6b88f;
 --ranking-hi:transparent; --ranking-lo:transparent; --ranking-aura:transparent;
 --ranking-cover:radial-gradient(circle at 50% 45%,#202018,#0b1013 75%);
 --ranking-g3:#ac9256; --ranking-edge:#ac925666;
 box-shadow:none!important;
}
body:is([data-theme=obsidian],[data-theme=eclipse]) :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-podium-2,.discovery-podium-2) {
 --ranking-metal:linear-gradient(135deg,#272e35,#171e25); --ranking-ink:#e0e7ef;
 --ranking-muted:#abb8c7; --ranking-sold:#c0cad6; --ranking-g3:#8996a6; --ranking-edge:#8996a666;
 --ranking-cover:radial-gradient(circle at 50% 45%,#222a32,#0b1013 75%);
}
body:is([data-theme=obsidian],[data-theme=eclipse]) :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-podium-3,.discovery-podium-3) {
 --ranking-metal:linear-gradient(135deg,#181b1d,#101518); --ranking-ink:#dfd2ab;
}
body[data-theme=eclipse] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-podium,.discovery-podium) { --ranking-metal:linear-gradient(135deg,#100f0b,#050604); --ranking-cover:radial-gradient(circle at 50% 45%,#11110d,#000 75%); }
body[data-theme=eclipse] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-podium-2,.discovery-podium-2) { --ranking-metal:linear-gradient(135deg,#101419,#040506); --ranking-cover:radial-gradient(circle at 50% 45%,#11151a,#000 75%); }
body:is([data-theme=obsidian],[data-theme=eclipse]) .ranking-visual-ring { animation:none; opacity:.65; }
body:is([data-theme=obsidian],[data-theme=eclipse]) :is(.ranking-visual-sheen,.ranking-visual-sparkle) { display:none; }
body[data-theme=light] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-podium,.discovery-podium) { --ranking-aura:transparent; box-shadow:0 2px 8px #00000014!important; }
body[data-theme=light] .ranking-visual-sheen { opacity:.45; }
body[data-theme=light] .ranking-visual-sparkle { display:none; }
body[data-theme=light] .ranking-visual-ring { animation-duration:10s; }
/* Delivery type keeps its own identity inside the medal palette. */
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.product-podium .delivery-approval {
 background:linear-gradient(#25223a,#151324); border-color:#a99be27a; color:#eceaff;
}
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.product-podium .delivery-approval .delivery-icon {
 background:linear-gradient(135deg,#d6d0ff,#988ed6); color:#26214a; filter:none; box-shadow:none;
}

/* Eclipse's winner is fully golden; ranks two and three retain subdued surfaces. */
body[data-theme=eclipse] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid,#catalogDiscoveryItems) :is(.product-card.product-podium-1,.discovery-card.discovery-podium-1) {
 --ranking-ring:#6b4a0f,#ffe9a0,#c8962c,#fff7d6,#8a5f12,#f6d777,#6b4a0f;
 --ranking-g1:#fff3c4; --ranking-g3:#d9a93c; --ranking-g4:#a8751a;
 --ranking-metal:linear-gradient(135deg,#fff3c4 0%,#f0cf6a 22%,#d9a93c 48%,#f3d98a 64%,#a8751a 100%);
 --ranking-brush:repeating-linear-gradient(90deg,#ffffff0d 0 1px,transparent 1px 3px);
 --ranking-ink:#2a1f08; --ranking-muted:#6b5420; --ranking-sold:#4a3a14;
 --ranking-hi:#fff5c8bf; --ranking-lo:#5a3c0540; --ranking-edge:#ffebaa8c;
 --ranking-cover:radial-gradient(circle at 50% 45%,#2a2417,#000 70%);
 --ranking-button:linear-gradient(#2b2312,#120e07); --ranking-aura:#f0cf6a59;
 box-shadow:0 0 22px var(--ranking-aura),0 8px 24px #0006!important;
}
body[data-theme=eclipse] :is(.product-podium-1,.discovery-podium-1) .ranking-visual-ring { animation:ranking-visual-spin 6s linear infinite; opacity:1; }
body[data-theme=eclipse] :is(.product-podium-1,.discovery-podium-1) .ranking-visual-sheen { display:block; animation:ranking-visual-sweep 5.5s ease-in-out infinite; }
body[data-theme=eclipse] :is(.product-podium-1,.discovery-podium-1) .ranking-visual-sparkle { display:block; }
@media(prefers-reduced-motion:reduce) {
 body[data-theme=eclipse] :is(.product-podium-1,.discovery-podium-1) :is(.ranking-visual-ring,.ranking-visual-sheen,.ranking-visual-sparkle) { animation:none; }
 body[data-theme=eclipse] :is(.product-podium-1,.discovery-podium-1) .ranking-visual-sheen { display:none; }
}
/* Brilho ascendente: reference halo, shared by the storefront and panel preview. */
.cv-exterior-host { position:relative; isolation:isolate; overflow:visible; }
.cv-exterior-layer { position:absolute; inset:calc(-1 * var(--cv-ext-gutter,64px)); pointer-events:none; z-index:-2; overflow:hidden;
    mask-image:linear-gradient(to right,transparent,#000 min(22px,var(--cv-ext-gutter,64px)),#000 calc(100% - min(22px,var(--cv-ext-gutter,64px))),transparent),linear-gradient(to bottom,transparent,#000 min(22px,var(--cv-ext-gutter,64px)),#000 calc(100% - min(22px,var(--cv-ext-gutter,64px))),transparent); mask-composite:intersect; }
.cv-exterior-glow { position:absolute; left:var(--cv-ext-left); top:var(--cv-ext-top); width:var(--cv-ext-width); height:var(--cv-ext-height); border-radius:var(--cv-ext-radius,22px); }
.cv-exterior-ascending-glow .cv-exterior-glow::before,
.cv-exterior-ascending-glow .cv-exterior-glow::after { content:''; position:absolute; pointer-events:none;
    background:radial-gradient(110% 55% at 50% 100%,var(--cv-ext-start),transparent 72%),linear-gradient(to top,var(--cv-ext-end),transparent 82%);
    transition:opacity .45s ease,filter .45s ease; }
.cv-exterior-ascending-glow .cv-exterior-glow::before { inset:calc(-1 * var(--cv-ext-spread,22px)); border-radius:calc(var(--cv-ext-radius,22px) + var(--cv-ext-rounding,14px)); filter:blur(var(--cv-ext-blur,38px)); opacity:var(--cv-ext-opacity,.55);
    animation:cv-ascending-breathe 5s ease-in-out infinite; animation-play-state:paused; }
.cv-exterior-ascending-glow .cv-exterior-glow::after { inset:calc(-1 * var(--cv-ext-near-spread,4px)); border-radius:calc(var(--cv-ext-radius,22px) + var(--cv-ext-near-spread,4px)); filter:blur(var(--cv-ext-near-blur,11px)); opacity:var(--cv-ext-near-opacity,.85); }
.cv-exterior-host.cv-running .cv-exterior-glow::before { animation-play-state:running; }
.cv-exterior-host:hover .cv-exterior-glow::before { opacity:var(--cv-ext-hover-opacity,.85); filter:blur(var(--cv-ext-hover-blur,44px)); }
.cv-exterior-host:hover .cv-exterior-glow::after { opacity:var(--cv-ext-near-hover-opacity,1); }
.cv-exterior-surface { position:absolute; inset:0; border-radius:inherit; background:inherit; pointer-events:none; z-index:-1; }
.cv-exterior-outline { position:absolute; left:calc(var(--cv-ext-left) - var(--cv-ext-gutter)); top:calc(var(--cv-ext-top) - var(--cv-ext-gutter));
    width:var(--cv-ext-width); height:var(--cv-ext-height); border-radius:var(--cv-ext-radius,22px); padding:1.5px; z-index:3; pointer-events:none;
    background:linear-gradient(to top,color-mix(in srgb,var(--cv-ext-start),white 45%),color-mix(in srgb,var(--cv-ext-end),white 25%) 45%,color-mix(in srgb,var(--cv-ext-end) 25%,transparent));
    -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude; }
@keyframes cv-ascending-breathe { 50% { opacity:var(--cv-ext-breathe-opacity,.8); transform:scale(1.015); } }
@media(prefers-reduced-motion:reduce) { .cv-exterior-host .cv-exterior-glow::before { animation:none; } }
body.effects-off .cv-exterior-host .cv-exterior-glow::before { animation:none; }
#catalogDiscoveryItems .discovery-card.cv-exterior-host { overflow:visible; }
.discovery-card.cv-exterior-host .reference-discovery-cover { border-top-left-radius:inherit; border-bottom-left-radius:inherit; }
.discovery-card.cv-exterior-host .discovery-card-info { border-top-right-radius:inherit; border-bottom-right-radius:inherit; overflow:hidden; }
/* Keep catalog light inside the spacing reserved for each card. */
.product-card.cv-exterior-host {
    --cv-ext-spread:5px; --cv-ext-rounding:5px; --cv-ext-blur:8px; --cv-ext-opacity:.34;
    --cv-ext-breathe-opacity:.48; --cv-ext-hover-opacity:.48; --cv-ext-hover-blur:9px;
    --cv-ext-near-spread:1px; --cv-ext-near-blur:3px; --cv-ext-near-opacity:.55; --cv-ext-near-hover-opacity:.65;
}
.discovery-card.cv-exterior-host {
    --cv-ext-spread:3px; --cv-ext-rounding:3px; --cv-ext-blur:5px; --cv-ext-opacity:.24;
    --cv-ext-breathe-opacity:.34; --cv-ext-hover-opacity:.34; --cv-ext-hover-blur:6px;
    --cv-ext-near-spread:1px; --cv-ext-near-blur:2px; --cv-ext-near-opacity:.42; --cv-ext-near-hover-opacity:.52;
}
.product-card.cv-exterior-host > .product-card-content {
    border-bottom-left-radius:calc(var(--cv-ext-radius,17px) - 1px);
    border-bottom-right-radius:calc(var(--cv-ext-radius,17px) - 1px);
    overflow:hidden;
}

/* Equal 144px information panels: title, delivery, sales, then pricing. */
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:40px 24px 60px; height:144px; min-height:144px; padding:6px 14px; gap:4px; align-content:start; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-footer { min-width:0; display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:18px 42px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-footer>.product-sales-count { grid-column:1; grid-row:1; order:0; display:block; margin:0; font-size:14px; line-height:18px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-footer>.product-price-block { grid-column:1; grid-row:2; height:42px; min-height:42px; margin:0; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-aux { height:14px; margin-bottom:1.6px; gap:4px; line-height:14px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-aux .product-old-price { min-width:0; overflow:hidden; text-overflow:ellipsis; font-size:11px; line-height:14px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-sale-badge { flex:none; font-size:10px; line-height:12px; padding:1px 4px; }
.floating-discord-btn { bottom:max(20px,env(safe-area-inset-bottom)); right:max(20px,env(safe-area-inset-right)); z-index:90; touch-action:manipulation; }
.floating-discord-btn[hidden] { display:none!important; }
.floating-discord-btn .discord-symbol { width:27px; height:23px; }
.floating-discord-btn img { width:100%; height:100%; object-fit:contain; border-radius:inherit; }
.floating-discord-btn:focus-visible { outline:2px solid var(--text-primary); outline-offset:4px; }

@media(max-width:720px) {
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .product-card-content { padding:6px 10px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card .reference-card-aux .product-old-price { font-size:10px; }
 .floating-discord-btn { width:46px; height:46px; bottom:max(14px,env(safe-area-inset-bottom)); right:max(14px,env(safe-area-inset-right)); }
}
@media(prefers-reduced-motion:reduce) { .floating-discord-btn { transition:none; } .floating-discord-btn:hover { transform:none; } }

body:not(.has-store) #floatingDiscordLink { display:flex; }





/* Keep the selection marker aligned with the icon, including its hover movement. */
@media(min-width:721px) {



}
@media(max-width:720px) {

}

/* The marker and icon share motion timing, including reduced-motion preferences. */
@media(prefers-reduced-motion:reduce) {
 }

/* Stable discovery geometry, including promotions, names and sales. */
#catalogDiscoveryItems { grid-template-columns:repeat(4,minmax(0,1fr)); grid-auto-rows:108px; }
#catalogDiscoveryItems .discovery-card { height:108px; min-height:108px; grid-template-columns:106px minmax(0,1fr); box-sizing:border-box; }
#catalogDiscoveryItems .reference-discovery-cover { min-height:0; }
#catalogDiscoveryItems .discovery-card-info { display:grid; grid-template-rows:10px 30px 12px 30px; gap:2px; padding:8px 10px; align-self:center; box-sizing:border-box; }
#catalogDiscoveryItems .discovery-card-category { line-height:10px; }
#catalogDiscoveryItems .discovery-card-name { line-height:15px; }
#catalogDiscoveryItems .discovery-card-pricing { grid-template-columns:minmax(0,max-content) max-content; grid-template-rows:10px 20px; gap:0 5px; align-items:center; }
#catalogDiscoveryItems .discovery-card-old-price { grid-row:1; grid-column:1; line-height:10px; font-size:9px; }
#catalogDiscoveryItems .discovery-card-price { grid-row:2; grid-column:1 / -1; line-height:20px; white-space:nowrap; }
#catalogDiscoveryItems .discovery-card-discount { grid-row:1; grid-column:2; padding:1px 4px; font-size:9px; line-height:10px; }
#catalogDiscoveryItems .discovery-card-sales { grid-row:3; line-height:12px; font-size:10px; }
@media(max-width:1200px) { #catalogDiscoveryItems { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:640px) { #catalogDiscoveryItems { grid-template-columns:1fr; } }



@media(max-width:720px) {
 }
@media(prefers-reduced-motion:reduce) {

 }


@media(max-width:640px) { .catalog-discovery-head { flex-direction:column; align-items:stretch; gap:8px; } .catalog-discovery-controls { justify-content:flex-end; } .catalog-discovery-status { min-width:90px; text-align:right; } }
@media(prefers-reduced-motion:reduce) {

 }

#catalogDiscoveryItems .reference-discovery-cover { width:106px; height:106px; aspect-ratio:1; align-self:center; }
#catalogDiscoveryItems .discovery-card-from { grid-row:1; grid-column:1 / -1; font-size:9px; line-height:10px; color:var(--text-muted); }

/* Regular discovery prices use the full price area; promotional prices keep their layout. */
#catalogDiscoveryItems .discovery-card:not(.has-promotion) .discovery-card-price { font-size:22px; line-height:30px; grid-row:1 / -1; align-self:end; }
#catalogDiscoveryItems .discovery-card:not(.has-promotion):has(.discovery-card-from) .discovery-card-price { grid-row:2; font-size:20px; line-height:20px; }

/* Empty sales counters retain card alignment without showing a zero. */
:is(#productsGrid,#relatedProductsGrid) .product-card .product-sales-count.is-empty { display:block; visibility:hidden; min-height:18px; line-height:18px; }

/* Fixed outer geometry with information tracks sized to actual content. */
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card { --card-title-height:20px; --card-sales-height:0px; --card-price-size:32px; --card-price-height:38px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card.card-name-multiline { --card-title-height:40px; --card-price-size:30px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card.card-has-sales { --card-sales-height:18px; --card-price-size:30px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card.card-name-multiline.card-has-sales { --card-price-size:28px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card.card-has-starting-price { --card-price-size:24px!important; --card-price-height:42px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card.card-has-promotion { --card-price-size:24px!important; --card-price-height:42px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-card-content { grid-template-rows:var(--card-title-height) 24px auto; align-content:space-between; height:144px; min-height:144px; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-title { height:var(--card-title-height); min-height:var(--card-title-height); max-height:var(--card-title-height); }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-footer { grid-template-rows:var(--card-sales-height) var(--card-price-height); }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-footer>.product-sales-count.is-empty { display:none; min-height:0; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-footer>.product-price-block { height:100%; min-height:0; align-items:end; align-content:end; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-value .product-main-price { font-size:var(--card-price-size); line-height:1.1; }
:is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card:not(.card-has-promotion):not(.card-has-starting-price) .reference-card-aux { display:none; }
@media(max-width:720px) {
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card { --card-price-size:28px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card:is(.card-name-multiline,.card-has-sales) { --card-price-size:26px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card.card-name-multiline.card-has-sales,
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card.card-has-starting-price { --card-price-size:24px; }
 :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card.card-has-promotion { --card-price-size:22px!important; }
}

/* Card controls are separate semantic siblings; decorative effects stay intact. */
.product-card-refactored > .product-card-content { z-index:auto; }
.product-card-refactored > .product-card-open { position:absolute; inset:0; z-index:6; border-radius:inherit; }
.product-card-refactored > .product-card-open:focus-visible { outline:2px solid var(--pix-color); outline-offset:-4px; }
#catalogDiscoveryItems .discovery-card-discount { justify-self:start; align-self:center; width:max-content; }
body[data-theme] #catalogDiscoveryItems .discovery-card:not(.discovery-podium) .discovery-card-info { padding-right:10px; }

#catalogDiscoveryItems .discovery-card:not(.has-promotion) .discovery-card-pricing { grid-template-columns:minmax(0,1fr); }

/* Organized discovery cards keep their outer geometry and shared cover effects. */
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized,
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-info {
 background:var(--catalog-info-surface); color:var(--text-primary); text-align:left;
}
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-info {
 display:flex; flex-direction:column; justify-content:space-between; gap:2px; align-self:stretch;
 padding:6px 10px; min-width:0; min-height:0; grid-template-rows:none;
}
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-top { display:flex; flex-direction:column; gap:2px; min-width:0; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-meta { display:flex; align-items:center; gap:4px; min-width:0; height:12px; flex-shrink:0; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-category { flex:1; min-width:0; font-size:9px; line-height:12px; color:var(--text-secondary); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-delivery { display:inline-flex; flex:none; width:12px; height:12px; color:var(--text-secondary); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-delivery-icon { width:12px; height:12px; display:block; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-delivery-approval,
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-delivery-accounts { color:#c1afff; }
body[data-theme=light] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-delivery-approval,
body[data-theme=light] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-delivery-accounts { color:#6d4caf; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-name { font-size:13px; line-height:15px; max-height:30px; min-width:0; color:var(--text-primary); text-shadow:none; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized :is(.discovery-card-discount,.discovery-card-adult) { position:static; flex:none; width:max-content; font-size:9px; line-height:10px; padding:1px 4px; border:0; border-radius:5px; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-discount { background:#186653; color:#fff; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-adult { background:#5a2f08; color:#ffd0a1; font-weight:800; }
body[data-theme=light] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-adult { background:#ffe3c7; color:#7a3b00; }
body[data-theme=obsidian] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-adult { background:#4d414b; color:#eadde4; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-pricing { display:flex; flex-direction:column; align-items:stretch; gap:2px; width:100%; min-width:0; flex-shrink:0; grid-template-rows:none; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-secondary { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:baseline; gap:0 5px; min-width:0; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized :is(.discovery-card-old-price,.discovery-card-from,.discovery-card-sales) { position:static; margin:0; font-size:10px; line-height:12px; white-space:nowrap; color:var(--text-secondary); text-shadow:none; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-card-price { display:block; width:100%; min-width:0; font-size:22px; line-height:26px; font-variant-numeric:tabular-nums; white-space:nowrap; color:var(--catalog-card-price,var(--pix-color)); text-shadow:none; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized.discovery-secondary-wrapped .discovery-card-price { font-size:20px; line-height:22px; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized:not(.has-promotion):not(.has-sales-count):not(.has-starting-price) .discovery-card-price { font-size:24px; line-height:30px; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized.has-unavailable-price .discovery-card-price { white-space:normal; font-size:12px; line-height:15px; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized.discovery-podium { border-color:var(--ranking-g3); box-shadow:none!important; }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized .discovery-rank-badge { top:5px; left:5px; right:auto; z-index:6; font-size:10px; line-height:12px; padding:2px 5px; min-width:0; border-radius:6px; color:var(--ranking-g1); background:var(--ranking-button); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized:focus-visible { outline:2px solid var(--text-secondary); outline-offset:3px; }

/* Restore podium materials without changing discovery information geometry. */
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized.discovery-podium .discovery-card-info { background:var(--ranking-brush),var(--ranking-metal); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized.discovery-podium :is(.discovery-card-name,.discovery-card-price,.discovery-card-delivery) { color:var(--ranking-ink); }
body[data-theme] #catalogDiscoveryItems .discovery-card.discovery-organized.discovery-podium :is(.discovery-card-category,.discovery-card-old-price,.discovery-card-from,.discovery-card-sales) { color:var(--ranking-sold); }
@media(min-width:1201px) { #catalogDiscoveryItems.is-bestsellers { grid-template-columns:repeat(3,minmax(0,1fr)); width:calc((100% - 36px) * .75 + 24px); margin-inline:auto; } }
.delivery-icon-tile { display:contents; }
/* Uniform catalogue tracks: 40 + 22 + 54 + 8 gaps + 20 padding = 144. */
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-card-content { display:grid; grid-template-columns:minmax(0,1fr); grid-template-rows:40px 22px 54px; align-content:start; gap:4px; height:144px; min-height:144px; padding:10px 12px; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-title { height:40px; min-height:40px; max-height:40px; align-items:flex-start; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-card-meta { display:flex; align-items:center; gap:4px; height:22px; min-height:22px; min-width:0; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-delivery-badge { display:inline-flex; align-items:center; justify-content:flex-start; box-sizing:border-box; height:22px; min-height:22px; max-width:100%; min-width:0; padding:2px 6px 2px 2px; gap:4px; font-size:10px; line-height:16px; border-radius:999px; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .delivery-icon-tile { display:inline-flex; align-items:center; justify-content:center; flex:0 0 16px; width:16px; height:16px; padding:0; border-radius:50%; background:currentColor; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-delivery-badge .delivery-icon { display:block; box-sizing:border-box; flex:0 0 12px; width:12px; height:12px; min-width:12px; min-height:12px; margin:0; padding:0; border:0; border-radius:0; background:none; color:#19212b; filter:none; box-shadow:none; animation:none; transform:none; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-footer { display:flex; flex-direction:column; justify-content:flex-end; align-self:stretch; min-width:0; height:54px; gap:2px; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-sales-count:not(.is-empty) { height:12px; min-height:12px; font-size:11px; line-height:12px; margin:0; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-footer > .product-price-block { display:grid; grid-template-columns:minmax(0,1fr) 32px; gap:6px; align-items:end; flex:none; height:auto; min-height:0; margin:0; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-value { min-width:0; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-aux { display:flex; align-items:center; height:12px; min-height:0; gap:4px; margin:0 0 2px; font-size:10px; line-height:12px; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card:not(.card-has-promotion):not(.card-has-starting-price) .reference-card-aux { display:none; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-aux :is(.product-old-price,small,.product-sale-badge) { font-size:10px; line-height:12px; margin:0; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-aux .product-sale-badge { padding:0 4px; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .reference-card-value .product-main-price { display:block; width:100%; margin:0; font-size:30px; line-height:36px; font-variant-numeric:tabular-nums; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card:is(.card-has-promotion,.card-has-starting-price) .reference-card-value .product-main-price { font-size:24px; line-height:26px; }
body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-quick-cart { width:32px; height:32px; min-width:32px; padding:0; align-self:end; }
@media(max-width:480px) { body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-card-content { padding-inline:8px; } body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-delivery-badge { font-size:9px; gap:3px; padding-right:4px; } }

body[data-theme] :is(#viewCatalog,#viewProductDetail) :is(#productsGrid,#relatedProductsGrid) .product-card.adaptive-catalog-card .product-sales-count:not(.is-empty) { text-align:left; align-self:stretch; }
@media(min-width:721px) { .catalog-discovery.showing-bestsellers .catalog-discovery-head { position:relative; justify-content:center; } .catalog-discovery.showing-bestsellers .catalog-discovery-head > :first-child { text-align:center; } .catalog-discovery.showing-bestsellers .catalog-discovery-controls { position:absolute; right:0; bottom:0; } }


/* Product effect studio. Decorative layers never change card geometry. */
@property --cv-beam-angle { syntax:"<angle>"; inherits:false; initial-value:0deg; }
.cv-exterior-host .cv-exterior-outline { opacity:var(--cv-ext-strength,1); }
.cv-exterior-ascending-glow .cv-exterior-glow { opacity:var(--cv-ext-strength,1); }
.cv-exterior-ascending-glow .cv-exterior-glow::before { animation-duration:var(--cv-ext-duration,5s); }
.cv-fx-beam .cv-exterior-outline {
    background:conic-gradient(from var(--cv-beam-angle,0deg),transparent 0 62%,var(--cv-ext-end) 82%,var(--cv-ext-start) 92%,transparent);
    animation:cv-beam-spin var(--cv-ext-duration,5s) linear infinite; animation-play-state:paused;
    filter:drop-shadow(0 0 2px var(--cv-ext-start));
}
.cv-fx-beam.cv-running .cv-exterior-outline { animation-play-state:running; }
:is(.product-podium,.discovery-podium).cv-fx-beam .cv-exterior-outline {
    --cv-rank-color:var(--medal-line,var(--discovery-line,#deb950));
    background:conic-gradient(from var(--cv-beam-angle,0deg),transparent 0 60%,var(--cv-rank-color) 80%,color-mix(in srgb,var(--cv-rank-color),white 65%) 92%,transparent);
    filter:drop-shadow(0 0 2px var(--cv-rank-color));
}
.cv-fx-background { z-index:1; overflow:hidden; border-radius:inherit; opacity:calc(var(--cv-fx-strength,1)*var(--cv-theme-strength,1)); }
.cv-fx-background > i { display:block; position:absolute; inset:0; pointer-events:none; }
.cv-fx-spotlight .cv-fx-background { opacity:calc(.2*var(--cv-fx-strength,1)*var(--cv-theme-strength,1)); transition:opacity .2s; mix-blend-mode:screen; }
.cv-fx-spotlight:is(:hover,:focus-within) .cv-fx-background { opacity:calc(.7*var(--cv-fx-strength,1)*var(--cv-theme-strength,1)); }
.cv-fx-spotlight .cv-fx-background > i { background:radial-gradient(circle at var(--cv-fx-x,50%) var(--cv-fx-y,50%),var(--cv-fx-a),color-mix(in srgb,var(--cv-fx-b) 25%,transparent) 28%,transparent 65%); }
.cv-fx-aurora .cv-fx-background { opacity:calc(.46*var(--cv-fx-strength,1)*var(--cv-theme-strength,1)); mix-blend-mode:screen; }
.cv-fx-aurora .cv-fx-background > i { inset:-20%; filter:blur(12px); background:radial-gradient(ellipse at 20% 20%,var(--cv-fx-a),transparent 52%),radial-gradient(ellipse at 80% 70%,var(--cv-fx-b),transparent 56%); animation:cv-fx-aurora-shift var(--cv-fx-duration,12s) ease-in-out infinite alternate; animation-play-state:paused; }
.cv-fx-aurora.cv-running .cv-fx-background > i { animation-play-state:running; }
@keyframes cv-beam-spin { to { --cv-beam-angle:360deg; } }
@keyframes cv-fx-aurora-shift { from { transform:translate(-7%,-5%) rotate(-6deg); } to { transform:translate(8%,6%) rotate(8deg); } }
body[data-theme="obsidian"] :is(.cv-fx-spotlight,.cv-fx-aurora) { --cv-theme-strength:.45; }
body[data-theme="obsidian"] .cv-fx-beam .cv-exterior-outline { opacity:calc(.55*var(--cv-ext-strength,1)); filter:none; animation:none; }
body[data-theme="obsidian"] .cv-fx-background > i { animation:none; }
@media(prefers-reduced-motion:reduce), (pointer:coarse) {
    .cv-fx-beam .cv-exterior-outline,.cv-fx-aurora .cv-fx-background > i { animation:none!important; }
    .cv-fx-background { transition:none; }
}


/* Same two synchronized conic layers as the reference: sharp edge and diffuse halo. */
.cv-exterior-beam .cv-exterior-glow::before {
    content:''; position:absolute; inset:-3px; border-radius:calc(var(--cv-ext-radius,22px) + 3px);
    background:conic-gradient(from var(--cv-beam-angle,0deg),transparent 0 62%,var(--cv-ext-end) 82%,var(--cv-ext-start) 92%,transparent);
    filter:blur(10px); opacity:calc(.75*var(--cv-ext-strength,1));
    animation:cv-beam-spin var(--cv-ext-duration,5s) linear infinite; animation-play-state:paused;
}
.cv-fx-beam.cv-running .cv-exterior-glow::before { animation-play-state:running; }
.cv-fx-beam:hover .cv-exterior-glow::before { opacity:calc(.75*var(--cv-ext-strength,1)); filter:blur(10px); }
:is(.product-card,.discovery-card) .cv-exterior-beam .cv-exterior-glow::before { inset:-2px; filter:blur(8px); }
:is(.product-podium,.discovery-podium) .cv-exterior-beam .cv-exterior-glow::before {
    background:conic-gradient(from var(--cv-beam-angle,0deg),transparent 0 62%,var(--medal-line,var(--discovery-line,#deb950)) 82%,#fff5 92%,transparent);
}
body[data-theme="obsidian"] .cv-exterior-beam .cv-exterior-glow::before { display:none; }
@media(prefers-reduced-motion:reduce), (pointer:coarse) { .cv-exterior-beam .cv-exterior-glow::before { animation:none!important; } }

/* Shopping refresh: generous desktop layout, compact mobile flow. */
.checkout-overlay:is([data-view="cart"],[data-view="orders"],[data-view="order"]) .checkout-dialog { width:min(880px,100%); padding:22px 26px; }
.checkout-overlay[data-view="quick"] .checkout-dialog { width:min(580px,calc(100% - 32px)); }
.checkout-topline { padding:0 0 14px; min-height:54px; letter-spacing:normal; }
.checkout-store-brand { display:flex; align-items:center; gap:10px; color:var(--text-primary); }
.checkout-store-mark { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; color:var(--accent-secondary); background:var(--bg-hover); font-size:11px; letter-spacing:.04em; }
#checkoutStoreName { font-size:12px; font-weight:650; }
#checkoutBackBtn { font-size:12px; padding:8px 10px; color:var(--text-secondary); }
.checkout-shopping-nav { display:flex; gap:6px; padding:14px 0 16px; border-bottom:1px solid var(--border-subtle); }
.checkout-shopping-nav button,.checkout-order-filters button { border:0; border-radius:9px; background:transparent; color:var(--text-secondary); padding:10px 13px; font:inherit; font-size:12px; cursor:pointer; transition:background .18s ease,color .18s ease; }
.checkout-shopping-nav button[aria-pressed="true"],.checkout-order-filters button[aria-pressed="true"] { background:var(--bg-hover); color:var(--text-primary); }
.checkout-overlay[data-view="quick"] .checkout-shopping-nav { display:none; }
.checkout-heading { padding:22px 0 0; margin-bottom:22px; }
.checkout-heading h2 { margin:0 0 6px; font-size:25px; font-weight:650; }
.checkout-heading p { color:var(--text-secondary); font-size:13px; }
#checkoutContent { min-width:0; }
#checkoutFormArea { display:grid; grid-template-columns:minmax(0,1fr) minmax(290px,.85fr); gap:22px; padding:0 0 24px; align-items:start; }
.checkout-overlay[data-view="quick"] #checkoutFormArea { grid-template-columns:1fr; }
.checkout-cart-products { min-width:0; }
.site-cart-items { margin:0; gap:12px; }
.site-cart-item { grid-template-columns:54px minmax(0,1fr); padding:14px; border-radius:14px; gap:10px 12px; overflow:hidden; }
.site-cart-thumb { width:54px; height:64px; border-radius:9px; }
.site-cart-item-info strong { font-size:14px; font-weight:650; }
.site-cart-item-info>span { font-size:12px; color:var(--text-secondary); }
.site-cart-line-total { font-size:15px; font-weight:650; font-variant-numeric:tabular-nums; }
.site-cart-item-controls input { min-height:32px; font-weight:500; -moz-appearance:textfield; }
.site-cart-item-controls input::-webkit-inner-spin-button,.site-cart-item-controls input::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.site-cart-item-controls button { min-height:32px; min-width:32px; transition:background .16s ease,border-color .16s ease; }
.site-cart-item-controls button:not(:disabled):hover { background:var(--bg-hover); border-color:var(--accent-secondary); }
#checkoutCartStatus { font-size:12px; color:var(--text-secondary); margin:15px 2px; }
.checkout-purchase-summary { position:sticky; top:12px; min-width:0; border:1px solid var(--border-subtle); border-radius:16px; padding:18px; background:var(--bg-surface-elevated); }
.checkout-purchase-summary h3 { margin:0 0 16px; font-size:15px; font-weight:650; }
.checkout-purchase-summary .checkout-coupon { margin:0; padding:0; border:0; background:transparent; }
.checkout-purchase-summary .checkout-price-breakdown { border:0; border-top:1px solid var(--border-subtle); border-radius:0; margin:18px 0; padding:17px 0 0; background:transparent; gap:11px; font-size:13px; }
.checkout-price-total strong { font-size:20px; font-weight:650; }
.checkout-purchase-summary .checkout-field { font-size:12px; font-weight:500; }
.checkout-purchase-summary .checkout-info { font-size:12px; color:var(--text-secondary); }
.checkout-purchase-summary .checkout-primary { font-weight:650; }
.checkout-purchase-summary[aria-busy="true"] .checkout-price-breakdown { opacity:.6; }
.checkout-price-breakdown { transition:opacity .15s ease; }
#checkoutOrderArea,.checkout-list-area { padding:0 0 24px; }
#checkoutOrderArea { max-width:640px; margin:auto; }
.checkout-order-filters { display:flex; gap:4px; flex-wrap:wrap; margin-bottom:12px; }
.checkout-order-filters button { padding:8px 11px; }
#checkoutListStatus { min-height:0; margin:0 0 16px; color:var(--text-secondary); font-size:12px; }
.checkout-list-items { gap:14px; margin:0 0 16px; }
.checkout-list-item { display:grid; gap:14px; padding:18px; border-radius:16px; transition:border-color .2s ease,background .2s ease,transform .2s ease; }
.checkout-list-item::after { content:none; }
.checkout-list-item:hover { transform:translateY(-2px); }
.checkout-list-item .checkout-list-meta { display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; }
.checkout-list-item .checkout-list-meta span { font-size:12px; color:var(--text-secondary); }
.checkout-list-item .checkout-list-body { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:12px; }
.checkout-list-item .checkout-list-mark { display:grid; place-items:center; min-height:50px; border-radius:9px; background:var(--bg-hover); color:var(--accent-secondary); font-size:12px; font-weight:600; }
.checkout-list-item .checkout-list-product { display:grid; gap:4px; min-width:0; }
.checkout-list-item .checkout-list-title { color:var(--text-primary); font-size:15px; font-weight:650; overflow-wrap:anywhere; }
.checkout-list-item .checkout-list-quantity { color:var(--text-secondary); font-size:12px; }
.checkout-list-item .checkout-list-total { color:var(--text-primary); font-size:16px; font-weight:650; font-variant-numeric:tabular-nums; white-space:nowrap; }
.checkout-list-item .checkout-list-statuses { display:flex; gap:8px; flex-wrap:wrap; }
.checkout-list-item .checkout-state { padding:5px 9px; border-radius:7px; font-size:12px; background:var(--bg-hover); color:var(--text-secondary); }
.checkout-list-item .checkout-state.is-success { color:var(--coupon-savings); }
.checkout-list-item .checkout-state.is-pending { color:var(--warning-color); }
.checkout-list-item .checkout-list-action { justify-self:end; padding:9px 12px; border-radius:9px; border:1px solid var(--border-subtle); color:var(--text-primary); font-size:12px; font-weight:600; }
.checkout-list-item .checkout-list-action.is-payment { background:var(--accent-gradient); color:var(--text-inverse); border-color:transparent; }
.checkout-order-progress { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; padding:0; margin:20px 0; list-style:none; }
.checkout-order-progress li { position:relative; padding-top:15px; color:var(--text-secondary); font-size:12px; }
.checkout-order-progress li::before { content:''; position:absolute; left:0; right:0; top:0; height:4px; border-radius:3px; background:var(--bg-hover); transition:background .2s ease; }
.checkout-order-progress li[data-state="done"]::before { background:var(--coupon-savings); }
.checkout-order-progress li[data-state="current"]::before { background:var(--accent-secondary); }
.checkout-order-progress li[data-state="stopped"]::before { background:var(--warning-color); }
.checkout-overlay.is-opening:is([data-view="cart"],[data-view="orders"],[data-view="order"]) .checkout-dialog { animation:reference-drawer .36s cubic-bezier(.22,1,.36,1); }
.checkout-overlay.is-opening[data-view="quick"] .checkout-dialog { animation:reference-modal .3s cubic-bezier(.22,1,.36,1); }
.checkout-overlay.is-closing { pointer-events:none; }
body.checkout-open .floating-discord-btn { visibility:hidden; pointer-events:none; }
body.checkout-open .site-shopping-notice { top:max(12px,env(safe-area-inset-top)); bottom:auto; pointer-events:none; }
body.checkout-open .site-shopping-notice button { pointer-events:auto; }
@media(max-width:760px) {
    .checkout-overlay:is([data-view="cart"],[data-view="orders"],[data-view="order"]) .checkout-dialog { padding:18px; }
    #checkoutFormArea { grid-template-columns:1fr; gap:16px; }
    .checkout-purchase-summary { position:static; padding:16px; }
    .checkout-heading h2 { font-size:23px; }
}
@media(max-width:420px) {
    .checkout-overlay:is([data-view="cart"],[data-view="orders"],[data-view="order"]) .checkout-dialog { padding:14px; }
    .checkout-list-item { padding:14px; }
    .checkout-list-item .checkout-list-body { grid-template-columns:40px minmax(0,1fr); gap:8px 10px; }
    .checkout-list-item .checkout-list-total { grid-column:2; }
    .checkout-order-progress { gap:7px; }
    .checkout-order-progress li { font-size:11px; }
}
@media(pointer:coarse) {
    .checkout-shopping-nav button,.checkout-order-filters button,.site-cart-item-controls button { min-height:44px; }
    .site-cart-item-controls button { min-width:38px; }
    .checkout-coupon-controls input,.checkout-field input { font-size:16px; }
    .checkout-list-item:hover { transform:none; }
}
@media(prefers-reduced-motion:reduce) {
    .checkout-dialog *, .checkout-overlay { animation:none!important; transition:none!important; }
}
.cv-cover > .cv-border { z-index:1; }


/* Keep a single public store centered in the showcase. */
.stores-grid:has(> .store-card:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 580px; margin-left: auto; margin-right: auto; }

/* Experimental storefront. This file is isolated from the published version. */
body.vitrine-experiment { background-image:var(--body-bg-image); }
.vitrine-experiment #viewShowcase,.vitrine-experiment #headerStoreBadge { display:none!important; }
.vitrine-experiment .header { background:var(--bg-base); border-bottom:1px solid var(--border-subtle); box-shadow:none; backdrop-filter:none; }
.vitrine-experiment .header-inner { display:grid; grid-template-columns:44px minmax(180px,1fr) auto; align-items:center; gap:28px; padding:15px 30px; max-width:1560px; min-height:74px; margin:auto; }
.vitrine-experiment .brand { width:44px; min-width:44px; height:42px; padding:0; border:0; background:none; color:var(--text-primary); display:grid; place-items:center; }
.vitrine-experiment .brand::before { content:none; }
.vitrine-experiment .brand-avatar { display:block; width:40px; height:40px; border:1px solid var(--border-medium); box-shadow:none; }
.vitrine-experiment .brand-title-wrap { display:none; }
.vitrine-experiment .header-search { display:block; order:unset; width:100%; max-width:620px; margin:0; flex:initial; }
.vitrine-experiment .header-search-box { height:42px; border:1px solid var(--border-subtle); border-radius:10px; background:var(--bg-surface-elevated); box-shadow:none; }
.vitrine-experiment .header-search-box:focus-within { box-shadow:none; border-color:var(--text-secondary); }
.vitrine-experiment .header-search-input { font-size:13px; }
.vitrine-experiment .header-actions { display:flex; grid-column:auto; justify-content:flex-end; gap:9px; width:auto; margin:0; }
.vitrine-experiment .header-actions>button,.vitrine-experiment .checkout-account-status { display:inline-flex; align-items:center; gap:7px; width:auto; min-height:38px; padding:8px 11px; border:0; border-radius:9px; background:transparent; box-shadow:none; color:var(--text-secondary); font:500 12px/1.4 var(--font-sans); }
.vitrine-experiment .header-actions>button>span { display:inline; }
.vitrine-experiment #headerLoginBtn { border:1px solid var(--border-subtle); font-size:12px; background:transparent; color:var(--text-primary); }
.vitrine-experiment .checkout-account-label { display:none; }
.vitrine-experiment #headerAccountName { display:inline; font-size:12px; font-weight:500; max-width:100px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.vitrine-experiment #headerCartBtn { background:var(--bg-surface-elevated); color:var(--text-primary); }
.vitrine-experiment #headerCartCount { background:var(--bg-hover); color:var(--text-primary); min-width:20px; height:20px; display:grid; place-items:center; font-size:11px; }
.vitrine-experiment .header-actions #themeToggleBtn,.vitrine-experiment .header-actions #supportBtn { width:36px; min-width:36px; height:38px; padding:8px; background:transparent; border:0; box-shadow:none; }
.vitrine-experiment #themeActiveIcon { font-size:16px; filter:grayscale(.6); }
.vitrine-experiment .header-actions button:hover { background:var(--bg-hover); color:var(--text-primary); transform:none; box-shadow:none; }
.vitrine-experiment .catalog-view { gap:0; }
.vitrine-experiment .catalog-hero {
    position:relative; isolation:isolate; overflow:hidden; box-sizing:border-box;
    display:grid; grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr); align-items:center;
    gap:clamp(28px,3.3vw,56px); min-height:clamp(480px,60svh,720px);
    padding:34px clamp(22px,2.2vw,36px) 38px; margin:18px 0 32px;
    border:1px solid var(--border-subtle); border-radius:24px; background:var(--bg-surface); color:var(--text-primary);
}
.vitrine-experiment[data-theme="blacksea"] .catalog-hero {
    --hero-scene-image:url('./vitrine-beach.png?v=2');
    --text-primary:#f7faff; --text-secondary:#d0dfec; --text-muted:#b5c8d8;
    --bg-surface-elevated:#0b1724; --bg-hover:rgba(234,244,255,.1); --bg-glass:rgba(4,12,21,.54);
    --border-subtle:rgba(234,244,255,.16); --border-medium:rgba(234,244,255,.3);
    background:#071018; border-color:rgba(234,244,255,.12);
}
.vitrine-experiment[data-theme="blacksea"] .catalog-hero::before {
    content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
    background-image:linear-gradient(90deg,rgba(4,12,21,.93) 0%,rgba(4,12,21,.8) 35%,rgba(4,12,21,.58) 68%,rgba(4,12,21,.62) 100%),linear-gradient(180deg,rgba(4,12,21,.22) 0%,rgba(4,12,21,.12) 42%,rgba(4,12,21,.94) 100%),var(--hero-scene-image);
    background-size:cover; background-position:center; background-repeat:no-repeat;
}
.vitrine-experiment[data-theme="gta6"] .catalog-hero {
    --hero-scene-image:url('./vitrine-gta6.png?v=2');
    --text-primary:#fff5fa; --text-secondary:#ead7e9; --text-muted:#d9bfd8;
    --bg-surface-elevated:#211429; --bg-hover:rgba(255,218,245,.1); --bg-glass:rgba(15,8,23,.6);
    --border-subtle:rgba(255,211,241,.18); --border-medium:rgba(255,211,241,.32);
    background:#170d21;
}
.vitrine-experiment[data-theme="gta6"] .catalog-hero::before {
    content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
    background-image:linear-gradient(90deg,rgba(14,7,23,.93) 0%,rgba(14,7,23,.8) 35%,rgba(14,7,23,.58) 68%,rgba(14,7,23,.62) 100%),linear-gradient(180deg,rgba(14,7,23,.22) 0%,rgba(14,7,23,.12) 42%,rgba(14,7,23,.94) 100%),var(--hero-scene-image);
    background-size:cover; background-position:center; background-repeat:no-repeat;
}
@supports(background-image:image-set(url('./vitrine-beach.webp') type('image/webp'))) {
    .vitrine-experiment[data-theme="blacksea"] .catalog-hero { --hero-scene-image:image-set(url('./vitrine-beach.webp?v=1') type('image/webp'),url('./vitrine-beach.png?v=2') type('image/png')); }
    .vitrine-experiment[data-theme="gta6"] .catalog-hero { --hero-scene-image:image-set(url('./vitrine-gta6.webp?v=1') type('image/webp'),url('./vitrine-gta6.png?v=2') type('image/png')); }
}
.vitrine-experiment[data-theme="eclipse"] .catalog-hero {
    --text-primary:#f1f2f4; --text-secondary:#d0d3d9; --text-muted:#bec2ca;
    --bg-surface-elevated:#101114; --bg-hover:rgba(230,232,237,.08); --bg-glass:rgba(7,8,10,.72);
    --border-subtle:rgba(211,214,223,.16); --border-medium:rgba(211,214,223,.28);
    background:rgba(3,3,5,.12);
    -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px);
}
.vitrine-experiment .catalog-hero> * { position:relative; z-index:1; }
.vitrine-experiment .catalog-hero-left { display:flex; flex-direction:column; justify-content:center; gap:32px; min-width:0; }
.vitrine-experiment .hero-eyebrow { font-size:10px; font-weight:500; letter-spacing:.16em; color:var(--text-secondary); }
.vitrine-experiment #currentStoreName { margin:0 0 16px; font:600 clamp(38px,4vw,66px)/1.03 var(--font-heading); letter-spacing:-.055em; text-transform:uppercase; color:var(--text-primary); }
.vitrine-experiment .hero-welcome { margin:0 0 10px; font-size:18px; line-height:1.45; color:var(--text-primary); }
.vitrine-experiment .hero-description { margin:0; max-width:44ch; font-size:14px; line-height:1.75; color:var(--text-secondary); }
/* Navigation restores the catalog position explicitly; avoid a second browser adjustment. */
.vitrine-experiment #viewCatalog { overflow-anchor:none; }
.vitrine-experiment .hero-socials { margin-top:18px; display:flex; justify-content:flex-start; gap:16px; flex-wrap:wrap; }
.vitrine-experiment .hero-socials .store-social-link { background:none; border:0; padding:0; min-height:28px; border-radius:0; color:var(--text-secondary); font-size:12px; box-shadow:none; }
.vitrine-experiment .hero-socials .store-social-name { display:inline; }
.vitrine-experiment .hero-socials .store-social-link:hover { transform:none; color:var(--text-primary); }
.vitrine-experiment .hero-socials svg { width:15px; height:15px; }
.vitrine-experiment .hero-contact-bar {
    display:flex; align-items:center; flex-wrap:wrap; gap:4px; width:fit-content; max-width:100%;
    margin-top:18px; padding:5px; border:1px solid var(--border-medium); border-radius:14px;
    background:color-mix(in srgb,var(--bg-surface) 42%,transparent);
    backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
}
.vitrine-experiment .hero-contact-bar .hero-socials { margin:0; gap:4px; min-width:0; }
.vitrine-experiment .hero-contact-bar .hero-socials[hidden] { display:none!important; }
.vitrine-experiment .hero-contact-bar .store-social-link,
.vitrine-experiment .hero-support-btn {
    position:relative; display:inline-flex; align-items:center; justify-content:center; gap:8px;
    min-height:44px; padding:8px 11px; border:0; border-radius:9px;
    background:transparent; color:var(--text-secondary); font:600 12px var(--font-sans);
    text-decoration:none; cursor:pointer; transition:background .2s ease,color .2s ease;
}
.vitrine-experiment .hero-contact-bar .store-social-link:is(:hover,:focus-visible),
.vitrine-experiment .hero-support-btn:is(:hover,:focus-visible) { color:var(--text-primary); background:var(--bg-hover); }
.vitrine-experiment .hero-support-btn:focus-visible { outline:2px solid var(--accent-secondary); outline-offset:2px; }
.vitrine-experiment .hero-contact-bar .store-social-link img { width:22px; height:22px; border-radius:7px; }
.vitrine-experiment .hero-support-btn svg { width:20px; height:20px; flex:none; }
.vitrine-experiment .hero-contact-bar .hero-socials:not([hidden]) + .hero-support-btn::before {
    content:''; position:absolute; left:-3px; top:12px; bottom:12px; width:1px; background:var(--border-medium);
}
.vitrine-experiment .hero-support-btn.has-unread { color:var(--accent-secondary); }
@media(max-width:380px) {
    .vitrine-experiment .hero-contact-bar { width:100%; }
    .vitrine-experiment .hero-contact-bar .hero-socials { flex:1 1 100%; justify-content:center; }
    .vitrine-experiment .hero-support-btn { flex:1 1 100%; }
    .vitrine-experiment .hero-contact-bar .hero-socials:not([hidden]) + .hero-support-btn::before { top:-3px; left:10px; right:10px; bottom:auto; width:auto; height:1px; }
}
.vitrine-experiment .hero-bestsellers-head { display:flex; align-items:center; justify-content:space-between; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.vitrine-experiment .hero-bestsellers-title { display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; }
.vitrine-experiment .hero-bestsellers-head h2 { margin:0; color:var(--text-primary); font-size:15px; font-weight:600; }
.vitrine-experiment .hero-bestsellers-title>span { color:var(--text-secondary); font-size:10px; }
.vitrine-experiment .showcase-bestseller-controls { display:flex; align-items:center; gap:3px; }
.vitrine-experiment .showcase-bestseller-controls[hidden] { display:none; }
.vitrine-experiment .showcase-bestseller-status { font-size:10px; color:var(--text-secondary); font-variant-numeric:tabular-nums; white-space:nowrap; margin-right:3px; }
.vitrine-experiment .showcase-mini-arrow { display:grid; place-items:center; width:28px; height:28px; padding:0; border:1px solid var(--border-subtle); border-radius:50%; background:transparent; color:var(--text-primary); cursor:pointer; }
.vitrine-experiment .showcase-mini-arrow svg { width:14px; height:14px; }
.vitrine-experiment .showcase-mini-arrow:hover { background:var(--bg-hover); }
.vitrine-experiment .hero-bestseller-items { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.vitrine-experiment .showcase-bestseller,.vitrine-experiment .showcase-product { display:flex; flex-direction:column; min-width:0; width:100%; margin:0; padding:0; text-align:left; font:inherit; border:0; border-radius:12px; background:none; color:var(--text-primary); cursor:pointer; }
.vitrine-experiment .showcase-cover { position:relative; display:grid; place-items:center; width:100%; aspect-ratio:1; flex-shrink:0; overflow:hidden; border-radius:12px; background:var(--bg-surface-elevated); transform-origin:center;
    transform:translate3d(0,0,0) scale(1); backface-visibility:hidden; will-change:transform;
    box-shadow:0 10px 24px rgba(0,0,0,0);
    transition:transform .45s cubic-bezier(.4,0,.2,1),box-shadow .45s cubic-bezier(.4,0,.2,1); }
.vitrine-experiment .showcase-cover img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; opacity:0; transition:opacity .45s ease; }
.vitrine-experiment .showcase-cover.is-ready img { opacity:1; }
.vitrine-experiment .showcase-cover.is-loading::after { content:''; width:26px; height:26px; border:1px solid var(--border-medium); border-radius:50%; background:var(--bg-hover); }
.vitrine-experiment .showcase-image-missing { font-size:12px; color:var(--text-secondary); padding:12px; }
.vitrine-experiment .showcase-body { display:flex; flex-direction:column; gap:7px; padding:14px 2px 0; width:100%; min-width:0; }
.vitrine-experiment .showcase-name { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; min-height:44px; color:var(--text-primary); font-size:15px; font-weight:500; line-height:22px; }
.vitrine-experiment .showcase-category { font-size:11px; color:var(--text-secondary); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.vitrine-experiment .showcase-pricing { display:flex; flex-wrap:wrap; align-items:baseline; gap:5px 9px; }
.vitrine-experiment .showcase-price { font-size:22px; font-weight:600; letter-spacing:-.035em; line-height:1.2; color:var(--text-primary); font-variant-numeric:tabular-nums; }
.vitrine-experiment .showcase-old-price,.vitrine-experiment .showcase-price-prefix { font-size:11px; color:var(--text-secondary); }
.vitrine-experiment .showcase-availability { font-size:11px; color:var(--text-secondary); }
.vitrine-experiment .showcase-bestseller .showcase-cover { border-radius:9px; }
.vitrine-experiment .showcase-bestseller .showcase-body { padding-top:10px; gap:7px; }
.vitrine-experiment .showcase-bestseller .showcase-name { min-height:34px; font-size:11px; line-height:17px; }
.vitrine-experiment .showcase-bestseller .showcase-price { font-size:14px; letter-spacing:-.015em; }
.vitrine-experiment .showcase-bestseller .showcase-price-prefix { font-size:10px; }
.vitrine-experiment .showcase-product:hover,.vitrine-experiment .showcase-bestseller:hover { transform:none; }
@media(hover:hover) and (pointer:fine) {
    .vitrine-experiment :is(.showcase-product,.showcase-bestseller):hover .showcase-cover { transform:translate3d(0,0,0) scale(1.018); box-shadow:0 10px 24px rgba(0,0,0,.2); }
}
.vitrine-experiment .showcase-product:focus-visible,.vitrine-experiment .showcase-bestseller:focus-visible { outline:2px solid var(--text-secondary); outline-offset:5px; }
.vitrine-experiment .hero-discovery { margin:0; padding:0; height:auto; max-height:none; border:0; border-radius:0; background:none; box-shadow:none; min-width:0; align-self:center; }
.vitrine-experiment .hero-discovery .catalog-discovery-head { display:flex; align-items:flex-end; justify-content:space-between; gap:14px; flex-wrap:wrap; margin:0 0 22px; padding:0; }
.vitrine-experiment .catalog-discovery-kicker { display:block; font-size:10px; font-weight:500; color:var(--text-secondary); letter-spacing:.14em; margin:0 0 8px; }
.vitrine-experiment .hero-discovery h2 { margin:0; font:500 clamp(20px,1.8vw,27px)/1.2 var(--font-heading); letter-spacing:-.035em; color:var(--text-primary); }
.vitrine-experiment .hero-discovery .catalog-discovery-controls { display:flex; align-items:center; gap:2px; margin:0; padding:5px; border:1px solid var(--border-subtle); border-radius:999px; background:var(--bg-glass); }
.vitrine-experiment #catalogDiscoveryStatus { display:inline-flex; align-items:baseline; justify-content:center; gap:5px; min-width:72px; margin:0; padding:2px 6px; color:var(--text-secondary); font-variant-numeric:tabular-nums; }
.vitrine-experiment .showcase-page-current { font:500 18px/1 var(--font-sans); color:var(--text-primary); letter-spacing:-.035em; }
.vitrine-experiment .showcase-page-divider { color:var(--text-muted); font-size:12px; }
.vitrine-experiment .showcase-page-total { color:var(--text-secondary); font-size:11px; }
.vitrine-experiment .catalog-discovery-arrow { display:grid; place-items:center; width:34px; height:34px; min-width:34px; padding:0; border:0; border-radius:50%; color:var(--text-primary); background:transparent; box-shadow:none; cursor:pointer; transition:background-color .2s,color .2s; }
.vitrine-experiment .catalog-discovery-arrow svg { width:17px; height:17px; }
.vitrine-experiment .catalog-discovery-pause { display:grid; place-items:center; width:32px; height:34px; min-width:32px; padding:0; border:0; border-radius:50%; background:transparent; color:var(--text-secondary); cursor:pointer; transition:background-color .2s,color .2s; }
.vitrine-experiment .catalog-discovery-pause svg { width:16px; height:16px; }
.vitrine-experiment .catalog-discovery-pause .showcase-icon-play { display:none; }
.vitrine-experiment .catalog-discovery-pause[aria-pressed="true"] .showcase-icon-play { display:block; }
.vitrine-experiment .catalog-discovery-pause[aria-pressed="true"] .showcase-icon-pause { display:none; }
.vitrine-experiment .showcase-controls-divider { width:1px; height:16px; margin:0 5px; background:var(--border-subtle); }
.vitrine-experiment :is(.catalog-discovery-arrow,.catalog-discovery-pause):hover { background:var(--bg-hover); color:var(--text-primary); transform:none; box-shadow:none; }
.vitrine-experiment :is(.catalog-discovery-arrow,.catalog-discovery-pause,.showcase-mini-arrow):focus-visible { outline:2px solid var(--text-primary); outline-offset:3px; }
.vitrine-experiment :is(.catalog-discovery-arrow,.showcase-mini-arrow):disabled { opacity:.35; cursor:default; }
.vitrine-experiment #catalogDiscoveryItems { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); grid-auto-rows:auto; height:auto; max-height:none; gap:22px; margin:0; min-width:0; overflow:visible; }
.vitrine-experiment #catalogDiscoveryItems[data-page-size="1"] { grid-template-columns:1fr; }
.vitrine-experiment .hero-discovery-footer { display:flex; gap:20px; justify-content:space-between; align-items:center; margin-top:20px; }
.vitrine-experiment .hero-discovery-footer>span { font-size:11px; color:var(--text-secondary); }
.vitrine-experiment .product-card,.vitrine-experiment .product-card:hover { box-shadow:none!important; filter:none!important; background:var(--bg-surface-elevated); border-color:var(--border-subtle); }
.vitrine-experiment .product-card::before,.vitrine-experiment .product-card::after { display:none!important; }
.vitrine-experiment .product-banner { transform:none!important; filter:none!important; }
.vitrine-experiment :is(.cv-layer,.cv-exterior-layer,.cv-exterior-surface,.cv-exterior-outline,.ranking-visual-ring,.ranking-visual-sheen,.ranking-visual-sparkle) { display:none!important; }
@media(max-width:1100px) {
    .vitrine-experiment .header-inner { gap:16px; padding-inline:22px; }
    .vitrine-experiment .catalog-hero { grid-template-columns:minmax(255px,.9fr) minmax(0,1.1fr); gap:30px; }
    .vitrine-experiment #currentStoreName { font-size:42px; }
    .vitrine-experiment .hero-welcome { font-size:16px; }
    .vitrine-experiment .hero-description { font-size:13px; }
    .vitrine-experiment .hero-discovery .catalog-discovery-head { gap:12px; }
}
@media(max-width:900px) {
    .vitrine-experiment .header-inner { grid-template-columns:44px minmax(0,1fr); gap:10px 18px; padding:10px 20px 12px; }
    .vitrine-experiment .header-actions { grid-column:2; grid-row:1; }
    .vitrine-experiment .header-search { grid-column:1/-1; grid-row:2; max-width:none; }
    .vitrine-experiment .header-search-box { height:38px; }
    .vitrine-experiment .catalog-hero { grid-template-columns:1fr; min-height:0; padding-top:22px; gap:32px; }
    .vitrine-experiment .catalog-hero-left { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:28px; }
    .vitrine-experiment .hero-discovery .showcase-cover { max-height:none; }
}
@media(max-width:600px) {
    .vitrine-experiment .header-inner { padding-inline:16px; }
    .vitrine-experiment .header-actions { gap:4px; }
    .vitrine-experiment .header-actions>button,.vitrine-experiment .checkout-account-status { width:34px; min-width:34px; height:36px; padding:7px; justify-content:center; font-size:0; }
    .vitrine-experiment .header-actions>button>span,.vitrine-experiment #headerAccountName { display:none; }
    .vitrine-experiment #headerLoginBtn { font-size:0; }
    .vitrine-experiment .header-actions #themeToggleBtn,.vitrine-experiment .header-actions #supportBtn { width:32px; min-width:32px; }
    .vitrine-experiment .header-search-input { font-size:16px; }
    .vitrine-experiment .header-actions #headerCartBtn { position:relative; }
    .vitrine-experiment #headerCartCount { position:absolute; right:-3px; top:-4px; min-width:16px; height:16px; font-size:10px; }
    .vitrine-experiment .catalog-hero { gap:32px; padding:24px 18px 28px; margin-bottom:20px; border-radius:20px; }
    .vitrine-experiment[data-theme="blacksea"] .catalog-hero::before { background-position:68% center; background-image:linear-gradient(180deg,rgba(4,12,21,.72) 0%,rgba(4,12,21,.83) 42%,rgba(4,12,21,.62) 65%,rgba(4,12,21,.95) 100%),var(--hero-scene-image); }
    .vitrine-experiment[data-theme="gta6"] .catalog-hero::before { background-position:68% center; background-image:linear-gradient(180deg,rgba(14,7,23,.72) 0%,rgba(14,7,23,.83) 42%,rgba(14,7,23,.62) 65%,rgba(14,7,23,.95) 100%),var(--hero-scene-image); }
    .vitrine-experiment .catalog-hero-left { display:flex; gap:28px; }
    .vitrine-experiment #currentStoreName { font-size:48px; }
    .vitrine-experiment .hero-description { max-width:38ch; }
    .vitrine-experiment .hero-bestseller-items { gap:12px; }
    .vitrine-experiment .hero-bestsellers-title>span { font-size:10px; }
    .vitrine-experiment .hero-discovery .catalog-discovery-head { align-items:flex-end; gap:16px; flex-direction:row; }
    .vitrine-experiment #catalogDiscoveryItems { gap:16px; }
    .vitrine-experiment .showcase-body { padding-top:12px; gap:6px; }
    .vitrine-experiment .showcase-name { font-size:13px; line-height:19px; min-height:38px; }
    .vitrine-experiment .showcase-price { font-size:19px; }
    .vitrine-experiment .showcase-category { font-size:10px; }
}
@media(pointer:coarse) {
    .vitrine-experiment .catalog-discovery-arrow { width:40px; height:40px; }
    .vitrine-experiment .catalog-discovery-pause { height:40px; min-width:40px; }
    .vitrine-experiment .showcase-mini-arrow { min-width:40px; height:40px; }
    .vitrine-experiment .showcase-product:hover,.vitrine-experiment .showcase-bestseller:hover { transform:none; }
}
@media(prefers-reduced-motion:reduce) {
    .vitrine-experiment :is(.showcase-product,.showcase-bestseller,.showcase-cover,.showcase-cover img,.catalog-discovery-arrow,.catalog-discovery-pause) { transition:none; }
    .vitrine-experiment .showcase-cover { transform:none; will-change:auto; }
    .vitrine-experiment :is(.showcase-product,.showcase-bestseller):hover .showcase-cover { transform:none; }
}

/* Site-wide effects preference, controlled from the navigation rail. */
.catalog-load-state{width:100%;max-width:620px;margin:70px auto;padding:32px;text-align:center;border:1px solid var(--border-subtle);border-radius:20px;background:var(--bg-glass);backdrop-filter:blur(12px)}
.catalog-load-state h2{font-size:clamp(1.25rem,3vw,1.7rem);color:var(--text-primary);margin:0 0 12px}
.catalog-load-state p{color:var(--text-secondary);font-size:.9rem;line-height:1.6;margin:0 0 20px}
.catalog-load-state button{min-height:44px}
.catalog-load-state[hidden],.theme-dropdown[hidden]{display:none!important}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.theme-option:focus-visible{outline:2px solid var(--accent-secondary);outline-offset:-3px;background:var(--bg-hover)}









/* Disable decoration without suppressing action feedback and interface transitions. */
body.effects-off :is(.cv-layer,.cv-layer i,.ranking-visual-ring,.ranking-visual-sheen,.ranking-visual-sparkle,.community-staff-name.staff-adm,#supportBtn.has-unread){animation:none!important}
body.effects-off .theme-atmosphere{display:none!important}
@media(max-width:720px){


}

/* A single continuous product surface, with an open purchase column and compact discussion. */
body.cards-experiment[data-theme] #viewProductDetail .detail-surface {
    min-width:0; border:1px solid var(--border-subtle); border-radius:22px;
    background:color-mix(in srgb,var(--bg-surface) 86%,transparent);
    background:rgb(from var(--bg-glass-card) r g b / .86);
}
body.cards-experiment[data-theme] #viewProductDetail :is(.detail-main-layout,.detail-description-box,.product-community) {
    margin:0; border:0; border-radius:0; box-shadow:none; background:none;
    backdrop-filter:none; -webkit-backdrop-filter:none;
}
body.cards-experiment[data-theme] #viewProductDetail .detail-main-layout {
    grid-template-columns:minmax(280px,420px) minmax(0,1fr); grid-template-rows:auto 1fr;
    gap:20px 36px; padding:32px; border-radius:22px 22px 0 0;
    backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
#viewProductDetail .detail-image-col { grid-column:1; grid-row:1 / span 2; min-width:0; gap:8px; }
#viewProductDetail .detail-heading { grid-column:2; grid-row:1; min-width:0; display:flex; flex-direction:column; gap:14px; }
#viewProductDetail .detail-heading .detail-title { margin:0; font-size:clamp(1.6rem,2.3vw,2.25rem); line-height:1.22; letter-spacing:-.035em; overflow-wrap:anywhere; }
#viewProductDetail .detail-title:focus { outline:none; }
#viewProductDetail .detail-info-col { grid-column:2; grid-row:2; min-width:0; gap:14px; }
#viewProductDetail .detail-gallery { margin:0; }
#viewProductDetail .detail-stock-summary { margin:0; gap:10px; font-size:12px; }
body.cards-experiment[data-theme] #viewProductDetail .detail-price-box {
    padding:0; border:0; border-radius:0; background:none; box-shadow:none; gap:4px;
}
#viewProductDetail .detail-pix-price { font-size:clamp(2.25rem,3.1vw,3rem); color:var(--pix-color); line-height:1.12; letter-spacing:-.045em; overflow-wrap:anywhere; }
#viewProductDetail .detail-pix-price-wrap { flex-wrap:wrap; gap:10px; }
#viewProductDetail .detail-old-price { color:var(--text-secondary); font-size:13px; }
#viewProductDetail .detail-discount-badge { font-size:11px; padding:3px 7px; }
#viewProductDetail .detail-pix-text { color:var(--text-secondary); font-size:12px; gap:6px; }
#viewProductDetail .detail-pix-text svg { width:13px; height:13px; }
#viewProductDetail .detail-cta-block { margin:0; gap:10px; }
#viewProductDetail .detail-shopping-actions { grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); gap:10px; }
#viewProductDetail .detail-shopping-actions button { min-width:0; min-height:50px; padding:13px 18px; font-size:15px; border-radius:var(--radius-full); }
#viewProductDetail .detail-shopping-actions .site-add-cart-btn svg { width:19px; height:19px; }
#viewProductDetail .detail-shopping-actions .site-add-cart-btn { background:color-mix(in srgb,var(--bg-surface-elevated) 72%,transparent); border-color:var(--border-medium); color:var(--text-primary); box-shadow:none; }
#viewProductDetail .detail-shopping-actions .site-add-cart-btn:hover { background:var(--bg-hover); border-color:var(--accent-secondary); }
#viewProductDetail .detail-catalog-note { font-size:12px; line-height:1.65; color:var(--text-secondary); margin:0; }
#viewProductDetail .detail-access-note { color:var(--text-primary); font-size:12px; line-height:1.6; border-left:2px solid var(--accent-secondary); padding:0 0 0 10px; }
#viewProductDetail .detail-access-note[hidden] { display:none; }
#viewProductDetail .site-account-picker { background:none; border:0; padding:0; margin:0; }
#viewProductDetail .site-account-caption { margin-top:8px; }
body.cards-experiment[data-theme] #viewProductDetail :is(.detail-description-box,.product-community) {
    padding:26px 32px; border-top:1px solid var(--border-subtle);
}
#viewProductDetail .detail-description-box h3 { font-size:17px; margin-bottom:14px; }
#viewProductDetail .detail-description-box p { font-size:14px; line-height:1.85; max-width:88ch; overflow-wrap:anywhere; }
#viewProductDetail .community-heading { gap:16px; border:0; padding-bottom:16px; align-items:center; flex-direction:row; flex-wrap:wrap; }
#viewProductDetail .community-tabs { display:flex; gap:22px; border-bottom:1px solid var(--border-subtle); padding:0; }
#viewProductDetail .community-tab { position:relative; display:inline-flex; align-items:center; gap:7px; min-height:44px; padding:0 0 12px; border:0; background:none; color:var(--text-secondary); font:600 15px/1.3 var(--font-sans); cursor:pointer; }
#viewProductDetail .community-tab[aria-selected="true"] { color:var(--text-primary); }
#viewProductDetail .community-tab::after { content:''; position:absolute; bottom:-1px; left:0; right:0; height:2px; background:var(--accent-secondary); transform:scaleX(0); transition:transform .18s ease; }
#viewProductDetail .community-tab[aria-selected="true"]::after { transform:scaleX(1); }
#viewProductDetail .community-tab b { font-size:10px; color:var(--text-secondary); background:var(--bg-hover); min-width:19px; padding:2px 5px; border-radius:6px; text-align:center; }
#viewProductDetail .community-rating-summary { display:flex; align-items:center; gap:7px; flex-wrap:wrap; }
#viewProductDetail .community-rating-summary>strong { font-size:18px; }
#viewProductDetail .community-rating-count { font-size:11px; text-align:left; }
#viewProductDetail :is(.community-questions,.community-reviews) { padding:0; margin:0; border:0; }
#viewProductDetail [role="tabpanel"][hidden],#viewProductDetail .community-composer-content[hidden] { display:none!important; }
#viewProductDetail .community-panel-enter { animation:detail-panel-in .18s ease-out; }
#viewProductDetail .community-question-compose { margin:0 0 8px; }
#viewProductDetail .community-compose-toggle { display:inline-flex; align-items:center; gap:7px; min-height:40px; padding:8px 12px; border:1px solid var(--border-medium); background:var(--bg-hover); color:var(--text-primary); border-radius:10px; font:600 12px/1.4 var(--font-sans); cursor:pointer; }
#viewProductDetail .community-compose-toggle:hover { border-color:var(--accent-secondary); }
#viewProductDetail :is(.community-tab,.community-compose-toggle):focus-visible { outline:2px solid var(--accent-secondary); outline-offset:4px; }
#viewProductDetail .community-composer-content { padding-top:12px; }
#viewProductDetail .community-composer-content .community-hint { margin-bottom:10px; }
#viewProductDetail .community-empty { padding:10px 0 0; margin:0; font-size:12px; line-height:1.6; }
#viewProductDetail .community-hint { margin-bottom:10px; }
#viewProductDetail .community-thread { border:0; border-bottom:1px solid var(--border-subtle); border-radius:0; padding:14px 0; margin:0; background:none; }
#viewProductDetail .community-thread:last-child { border-bottom:0; padding-bottom:0; }
#viewProductDetail .detail-related-section { margin-top:10px; padding:0 0 12px; }
.detail-purchase-dock[hidden] { display:none!important; }
.detail-purchase-dock { display:none; }
@keyframes detail-panel-in { from { opacity:0; transform:translateY(4px); } to { opacity:1; transform:none; } }
@media(max-width:1150px) and (min-width:901px) {
    body.cards-experiment[data-theme] #viewProductDetail .detail-main-layout { grid-template-columns:minmax(260px,.85fr) minmax(0,1.15fr); gap:20px 24px; padding:26px; }
    #viewProductDetail .detail-shopping-actions { grid-template-columns:1fr; }
}
@media(max-width:900px) {
    body.cards-experiment[data-theme] #viewProductDetail .detail-main-layout { grid-template-columns:minmax(0,1fr); grid-template-rows:auto; padding:24px; gap:22px; }
    #viewProductDetail .detail-heading { grid-column:1; grid-row:1; }
    #viewProductDetail .detail-heading .detail-title { order:-1; }
    #viewProductDetail .detail-image-col { grid-column:1; grid-row:2; max-width:420px; width:100%; justify-self:center; }
    #viewProductDetail .detail-info-col { grid-column:1; grid-row:3; }
    body.cards-experiment[data-theme] #viewProductDetail :is(.detail-description-box,.product-community) { padding:24px; }
}
@media(max-width:600px) {
    #viewProductDetail { gap:18px; padding-bottom:88px; }
    body.cards-experiment[data-theme] #viewProductDetail .detail-main-layout { padding:20px; gap:20px; }
    body.cards-experiment[data-theme] #viewProductDetail :is(.detail-description-box,.product-community) { padding:22px 20px; }
    #viewProductDetail .detail-shopping-actions { grid-template-columns:1fr; gap:8px; }
    #viewProductDetail .detail-heading .detail-title { font-size:26px; }
    #viewProductDetail .detail-meta-tags>.detail-tag { font-size:10.5px; }
    #viewProductDetail .community-heading { align-items:flex-start; gap:12px; }
    #viewProductDetail .community-tabs { flex:1 1 100%; gap:22px; }
    #viewProductDetail .community-rating-summary { order:2; }
    #viewProductDetail .detail-description-box p { font-size:13px; }
    #viewProductDetail .detail-purchase-dock {
        position:fixed; z-index:85; left:0; right:0; bottom:0; display:flex; align-items:center; justify-content:space-between; gap:12px;
        padding:12px max(16px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));
        background:var(--bg-surface); border-top:1px solid var(--border-medium); box-shadow:0 -8px 28px #0000001a;
        animation:detail-panel-in .18s ease-out;
    }
    .detail-purchase-dock>div { display:flex; flex-direction:column; min-width:0; gap:3px; }
    .detail-dock-caption { font-size:10px; color:var(--text-secondary); }
    #detailDockPrice { font-size:22px; letter-spacing:-.035em; color:var(--pix-color); overflow-wrap:anywhere; }
    #detailDockBuy { flex:0 0 auto; min-height:44px; padding:11px 16px; font-size:14px; border-radius:var(--radius-full); width:auto; margin:0; }
    body:has(#detailPurchaseDock:not([hidden])) .floating-discord-btn { bottom:calc(96px + env(safe-area-inset-bottom)); }
    body:has(#detailPurchaseDock:not([hidden])) .site-shopping-notice { bottom:calc(90px + env(safe-area-inset-bottom)); }
    body:has(#detailPurchaseDock:not([hidden])) .vitrine-preview-label { display:none; }
}
@media(prefers-reduced-motion:reduce) {
    #viewProductDetail .community-tab::after { transition:none; }
    #viewProductDetail :is(.community-panel-enter,.detail-purchase-dock) { animation:none; }
}
