:root {
    /* V2 Color Palette - Ultra Modern Dark Theme */
    --bg-color: #020617; /* slate-950 */
    --bg-color-soft: #0f172a; /* slate-900 */
    --card-bg: #0f172a;
    --card-hover: #1e293b; /* slate-800 */
    
    --primary-blue: #3b82f6; /* blue-500 */
    --light-blue: #60a5fa; /* blue-400 */
    --neon-cyan: #06b6d4; /* cyan-500 */
    --accent-purple: #8b5cf6;
    
    --text-main: #f8fafc; /* slate-50 */
    --text-muted: #94a3b8; /* slate-400 */
    
    --gradient-primary: linear-gradient(135deg, var(--primary-blue), var(--neon-cyan));
    --gradient-hover: linear-gradient(135deg, var(--light-blue), #22d3ee);
    --gradient-surface: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, rgba(15, 23, 42, 0.5) 100%);
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(6, 182, 212, 0.3);
    
    --glass-bg: rgba(2, 6, 23, 0.7);
    --glass-border: 1px solid rgba(255, 255, 255, 0.05);
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.05) 0%, transparent 25%);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main {
    flex: 1;
}

/* ========================================================================= */
/* TYPOGRAPHY & UTILS                                                        */
/* ========================================================================= */
.text-cyan {
    color: var(--neon-cyan);
}

/* ========================================================================= */
/* HEADER & BANNER                                                           */
/* ========================================================================= */

.top-banner {
    background-color: var(--primary-blue);
    background: var(--gradient-primary);
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
}

.banner-items {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 35px;
    color: white;
}

.banner-items span {
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-shop-now {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    backdrop-filter: blur(5px);
    transition: background 0.3s;
    border: 1px solid rgba(255,255,255,0.3);
}

.btn-shop-now:hover {
    background: rgba(255, 255, 255, 0.3);
}

header {
    background-color: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: var(--glass-border);
    padding: 20px 0;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo-img {
    height: 40px;
    width: 40px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
    object-fit: cover;
}

.logo span {
    background: var(--text-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: background 0.3s;
}

.logo:hover span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--text-main);
}

.main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 -2px 10px var(--neon-cyan);
}

.header-icons {
    display: flex;
    gap: 15px;
    position: relative;
}

.icon-btn {
    color: var(--text-main);
    font-size: 18px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    border: var(--glass-border);
    transition: all 0.3s;
    position: relative;
}

.icon-btn:hover {
    background: var(--card-hover);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--gradient-primary);
    color: white;
    font-size: 10px;
    font-weight: 800;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    border: 2px solid var(--bg-color);
}

/* ========================================================================= */
/* MAIN SHOP PAGE                                                            */
/* ========================================================================= */

main {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.page-title {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 5px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
}

/* Custom Sort Dropdown */
.custom-sort-dropdown {
    position: relative;
    width: 220px;
    font-size: 15px;
    font-weight: 500;
    user-select: none;
    z-index: 50;
}

.sort-selected {
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.08);
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
}

.sort-selected:hover {
    border-color: rgba(255,255,255,0.2);
}

.sort-options {
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    width: 100%;
    background: #0d1117;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sort-options.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-option {
    padding: 12px 18px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.sort-option:hover, .sort-option.active {
    background: #1f6feb;
    color: white;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    align-items: stretch;
}

.product-card {
    background: transparent;
    border-radius: 12px;
    border: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    position: relative;
    min-height: 100%;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 12px;
    box-shadow: 0 0 0 0 transparent;
    transition: all 0.4s;
    pointer-events: none;
    z-index: -1;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(6, 182, 212, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(6, 182, 212, 0.05);
}

.product-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: #030712;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border-bottom: none;
}

/* Out of stock — seul ce bandeau est semi-transparent (le reste de la carte reste net) */
.oos-top-badge {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    text-align: center;
    padding: 8px 12px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: rgba(185, 28, 28, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Badges */
.badge {
    position: absolute;
    font-size: 11px;
    font-weight: 800;
    padding: 6px 12px;
    border-radius: 20px;
    color: white;
    z-index: 10;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.badge.sale {
    top: 15px;
    left: 15px;
    background: var(--gradient-primary);
}

.badge.promo {
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff3366, #ff0044);
}

.badge.gift {
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.badge.pack {
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

/* Mock Images */
.mock-img {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('assets/bg-shop.png') center/cover no-repeat, #060b13;
    position: relative;
    transition: transform 0.5s;
    overflow: hidden;
    padding-bottom: 25px;
}

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

.mock-img::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px); */
    background-size: 25px 25px;
    background-position: 0 0;
    z-index: 1;
}

.mock-img::after {
    content: '';
    position: absolute;
    width: 220px; height: 220px;
    background: radial-gradient(circle, rgba(43, 166, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.mock-img h1, .mock-img i {
    font-size: 95px;
    font-weight: 900;
    margin: 0;
    z-index: 2;
    text-shadow: 0 0 30px rgba(43, 166, 255, 0.6);
    font-style: italic;
    color: white;
    transform: translateY(-20px);
}

.mock-img h1 {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mock-img .brand-box {
    position: absolute;
    bottom: 15px;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 15, 25, 0.95);
    border: 1px solid var(--neon-cyan);
    border-radius: 20px;
    padding: 6px 25px;
    text-align: center;
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.4), inset 0 0 10px rgba(6, 182, 212, 0.1);
    min-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    transition: all 0.3s;
}

.mock-img .brand-box span {
    display: block;
    font-size: 15px;
    font-weight: 900;
    color: white;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.mock-img .brand-box small {
    display: block;
    font-size: 10px;
    color: var(--neon-cyan);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 1px;
}



/* Product Info */
.product-info {
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    background-color: transparent;
}

.product-info h3 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
    line-height: 1.4;
    height: 38px; /* Fix strict pour 2 lignes maximum */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.price {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.current-price {
    color: white;
    font-weight: 700;
}

.stars {
    color: #fbbf24;
    font-size: 10px;
    margin-bottom: 12px;
    display: flex;
    gap: 2px;
}

.btn-select {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #d100ff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    width: max-content;
    margin-top: auto;
}

.product-card:hover .btn-select {
    background: #e033ff;
    box-shadow: 0 0 15px rgba(209, 0, 255, 0.4);
}

.product-card:hover .brand-box {
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.6), inset 0 0 10px rgba(6, 182, 212, 0.2);
    border-color: #fff;
}

.btn-select i {
    transition: transform 0.3s;
}

.product-card:hover .btn-select i {
    transform: translateX(4px);
}

/* ========================================================================= */
/* PRODUCT DETAIL PAGE STYLES                                                */
/* ========================================================================= */

.breadcrumb {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.back-link:hover {
    color: var(--text-main);
}

.breadcrumb .separator {
    color: rgba(255,255,255,0.2);
}

.breadcrumb .current {
    color: var(--neon-cyan);
}

.product-detail-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    background: var(--gradient-surface);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
}

/* Left Side: Images */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    background-color: #020617;
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.mock-img-detail {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url('assets/bg-shop.png') center/cover no-repeat, #0f1936;
    position: relative;
    overflow: hidden;
}

.mock-img-detail::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    /* background-image: radial-gradient(rgba(255, 255, 255, 0.05) 2px, transparent 2px); */
    background-size: 30px 30px;
    background-position: 0 0;
    z-index: 1;
}

.mock-img-detail::after {
    content: '';
    position: absolute;
    width: 350px; height: 350px;
    background: radial-gradient(circle, rgba(43, 166, 255, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.mock-img-detail h1, .mock-img-detail i {
    font-size: 150px;
    font-weight: 900;
    margin: 0;
    z-index: 2;
    text-shadow: 0 0 50px rgba(43, 166, 255, 0.6);
    color: white;
    transform: translateY(-40px);
}

.mock-img-detail h1 {
    background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mock-img-detail .brand-box {
    position: absolute;
    bottom: 50px;
    background: rgba(10, 15, 25, 0.95);
    border: 1px solid var(--neon-cyan);
    padding: 15px 50px;
    border-radius: 40px;
    backdrop-filter: blur(15px);
    z-index: 2;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(6, 182, 212, 0.2);
    min-width: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}


.mock-img-detail .brand-box span {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: white;
    letter-spacing: 2px;
    margin-bottom: -5px;
}

.mock-img-detail .brand-box small {
    display: block;
    font-size: 16px;
    color: var(--neon-cyan);
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.thumbnails {
    display: flex;
    gap: 15px;
}

.thumbnail {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    background-color: var(--card-bg);
    border: 2px solid transparent;
    cursor: pointer;
    overflow: hidden;
    opacity: 0.6;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('assets/bg-shop.png') center/cover no-repeat, #1e293b;
}

.thumbnail:hover, .thumbnail.active {
    opacity: 1;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.thumbnail h1 {
    font-size: 40px;
    font-weight: 900;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.thumbnail i {
    font-size: 28px;
    color: white;
}

/* Right Side: Details */
.product-info-detail {
    display: flex;
    flex-direction: column;
}

.product-header-row {
    margin-bottom: 20px;
}

.product-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
    margin-bottom: 10px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #fbbf24;
    font-size: 14px;
}

.product-rating span {
    color: var(--text-muted);
    margin-left: 8px;
    font-weight: 500;
}

.product-price-large {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.product-price-large .current-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-main);
}

.product-price-large .old-price {
    font-size: 20px;
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 500;
}

.discount-pill {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Status Bar */
.status-bar {
    background-color: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: #10b981;
    font-weight: 700;
    font-size: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.product-description {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 30px;
    font-size: 15px;
}

/* Options */
.options-section {
    margin-bottom: 30px;
}

.options-section label {
    display: block;
    font-size: 14px;
    color: var(--text-main);
    font-weight: 600;
    margin-bottom: 10px;
}

.custom-select-wrapper {
    position: relative;
}

.custom-select {
    width: 100%;
    appearance: none;
    background-color: #050505;
    border: 2px solid #8b5cf6;
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-select:focus, .custom-select:hover {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.custom-select option {
    background-color: #ffffff;
    color: #000000;
    padding: 10px;
}

.select-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Actions */
.action-section {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background-color: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    border: none;
    color: var(--text-main);
    width: 45px;
    height: 52px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.qty-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--neon-cyan);
}

.qty-input {
    width: 40px;
    height: 52px;
    background: transparent;
    border: none;
    color: var(--text-main);
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    outline: none;
    -moz-appearance: textfield;
}

.btn-add-cart {
    flex-grow: 1;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
}

.btn-add-cart:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
    filter: brightness(1.1);
}

/* Guarantees */
.guarantees {
    display: flex;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-main);
}

.guarantee-item i {
    font-size: 18px;
}

/* ========================================================================= */
/* FOOTER                                                                    */
/* ========================================================================= */

footer {
    background-color: var(--card-bg);
    border-top: var(--glass-border);
    padding: 60px 0 40px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo img {
    height: 35px;
    border-radius: 8px;
}

.footer-logo h2 {
    font-size: 20px;
    font-weight: 800;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 14px;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 20px;
    transition: all 0.3s;
}

.footer-socials a:hover {
    color: var(--text-main);
    transform: translateY(-3px);
}


/* ========================================================================= */
/* CART SIDEBAR STYLES                                                       */
/* ========================================================================= */

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(8px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: var(--card-bg);
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-color);
}

.cart-header h2 {
    font-size: 22px;
    color: var(--text-main);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.close-cart {
    background: var(--card-hover);
    border: none;
    color: var(--text-main);
    font-size: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
}

.close-cart:hover {
    background: #ef4444;
    transform: rotate(90deg);
}

.cart-items {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.03);
    transition: transform 0.3s;
}

.cart-item:hover {
    transform: translateX(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.cart-item-img {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 900;
    font-size: 30px;
    font-style: italic;
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.3);
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-info h4 {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 6px;
    font-weight: 700;
}

.cart-item-price {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-item-price span {
    color: var(--neon-cyan);
    font-weight: 700;
}

.remove-item {
    background: rgba(239, 68, 68, 0.1);
    border: none;
    color: #ef4444;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.remove-item:hover {
    background: #ef4444;
    color: white;
}

.cart-footer {
    padding: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: var(--bg-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 25px;
}

.cart-total span:last-child {
    font-size: 24px;
    color: var(--neon-cyan);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-checkout {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: transform 0.3s, filter 0.3s;
}

.btn-checkout:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.btn-checkout.paypal {
    background-color: #ffc439;
    color: #003087;
}

.btn-checkout.paypal i {
    color: #0079c1;
    font-size: 20px;
}

.btn-checkout.card {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 5px 15px rgba(6, 182, 212, 0.2);
}

/* ========================================================================= */
/* COUPON & CC FORM STYLES                                                   */
/* ========================================================================= */
.coupon-section {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 25px;
}

#couponCode {
    flex-grow: 1;
    background: #0d1117;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

#couponCode:focus {
    border-color: #8b5cf6;
}

.btn-coupon {
    background: #2a164b;
    color: white;
    border: 1px solid #4a2b7b;
    padding: 0 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-coupon:hover {
    background: #4a2b7b;
}

.cc-input {
    width: 100%;
    padding: 14px 15px;
    background: #0c0814;
    border: 1px solid #2d1b4e;
    border-radius: 8px;
    color: white;
    outline: none;
    font-size: 15px;
    transition: all 0.3s;
}

.cc-input:focus {
    border-color: #8b5cf6;
}

.cc-input-group {
    display: flex;
    background: #0c0814;
    border: 1px solid #2d1b4e;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.cc-input-group:focus-within {
    border-color: #8b5cf6;
}

.cc-input-group input {
    flex: 1;
    padding: 14px 15px;
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 15px;
}

/* ========================================================================= */
/* RESPONSIVE                                                                */
/* ========================================================================= */

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

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .banner-items {
        flex-wrap: wrap;
        gap: 15px;
    }

    .main-nav {
        display: none; /* simple mobile nav hide for now */
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .cart-sidebar {
        width: 100%;
        right: -100%;
    }
}

/* Custom Form Select Elements */
select.login-input, select.form-input {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='18px' height='18px'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
    background-color: rgba(0, 0, 0, 0.3) !important;
}

select.login-input option, select.form-input option {
    background-color: #0f172a;
    color: white;
    padding: 10px;
}

/* ========================================================================= */
/* LOGIN MODAL STYLES                                                        */
/* ========================================================================= */

.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.login-overlay.active {
    opacity: 1;
    visibility: visible;
}

.login-modal {
    background: var(--card-bg);
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.15);
    overflow: hidden;
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    margin: 20px;
}

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

#paymentOverlay {
    align-items: flex-start;
    padding: 12px 10px 20px;
    box-sizing: border-box;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: center;
}

#paymentOverlay .login-modal {
    box-sizing: border-box;
    min-height: 0;
    max-height: min(92svh, 92dvh, calc(100dvh - 24px)) !important;
    margin: 0 auto 12px;
    padding: 16px 14px 18px !important;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

#paymentOverlay .login-modal .close-modal {
    top: 10px;
    right: 10px;
    z-index: 2;
}

#paymentOverlay .login-modal > h2 {
    font-size: 1.05rem !important;
    line-height: 1.25 !important;
    margin-bottom: 10px !important;
    margin-top: 0 !important;
    padding-right: 36px;
}

#paymentOverlay #orderDetails {
    margin-bottom: 10px !important;
}

#paymentOverlay #orderDetails > div {
    padding: 10px 12px !important;
}

#paymentOverlay #orderDetails {
    font-size: 0.9rem;
}

#paymentOverlay #ccForm,
#paymentOverlay #paymentInstructions {
    text-align: left;
}

#paymentOverlay #paymentInstructions {
    padding: 14px 12px 16px !important;
}

#paymentOverlay #paymentInstructions p,
#paymentOverlay #paymentInstructions .form-group {
    margin-bottom: 8px !important;
}

#paymentOverlay #ccForm {
    margin-top: 0;
}

#paymentOverlay #ccForm .form-group {
    margin-bottom: 9px !important;
}

#paymentOverlay #ccForm .form-group > label {
    margin-bottom: 4px;
    font-size: 0.8rem;
}

#paymentOverlay #ccForm .cc-input,
#paymentOverlay #ccForm .cc-input-group input {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 0.9rem;
}

#paymentOverlay #ccForm .cc-input-group {
    min-height: 0;
}

#paymentOverlay #ccForm .cc-input-group > div {
    padding: 10px 10px !important;
}

#paymentOverlay #ccForm > div[style*='display: flex'] {
    margin-bottom: 9px !important;
    gap: 10px !important;
}

#paymentOverlay .login-modal .btn-primary-large {
    margin-top: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 0.9rem;
}

#paymentOverlay #paymentProcessing {
    max-height: min(80svh, 80dvh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    background: rgba(0,0,0,0.2);
}

.login-tab {
    flex: 1;
    padding: 20px;
    text-align: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
}

.login-tab.active {
    color: white;
    background: var(--card-bg);
    border-bottom: 2px solid var(--accent-purple);
}

.login-content {
    padding: 40px 35px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.login-input {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}

.login-input:focus {
    border-color: var(--accent-purple);
    background: rgba(255,255,255,0.05);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.password-toggle {
    position: absolute;
    right: 15px;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s;
}

.password-toggle:hover {
    color: white;
}

.humanity-check {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
    margin-top: 5px;
}

.humanity-math {
    display: flex;
    align-items: center;
    gap: 10px;
}

.humanity-input {
    width: 60px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    text-align: center;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}
.humanity-input:focus {
    border-color: var(--accent-purple);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-top: 5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-main);
}

.remember-me input {
    accent-color: var(--accent-purple);
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.forgot-pwd {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.forgot-pwd:hover {
    color: var(--text-main);
}

.btn-login {
    background: linear-gradient(135deg, var(--accent-purple), #a855f7);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.4);
    filter: brightness(1.1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--text-muted);
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 10;
}
.close-modal:hover {
    color: white;
}

/* ========================================================================= */
/* HOME PAGE STYLES                                                          */
/* ========================================================================= */
.hero-section {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 20px;
    margin-bottom: 80px;
}
.hero-content {
    flex: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 15px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--neon-cyan);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}
.hero-title {
    font-size: 56px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
}
.hero-subtitle {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 40px;
}
.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
}
.btn-primary-large {
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(6, 182, 212, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}
.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(6, 182, 212, 0.4);
}
.btn-secondary-large {
    background: var(--card-bg);
    color: var(--text-main);
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}
.btn-secondary-large:hover {
    background: var(--card-hover);
    border-color: rgba(255,255,255,0.2);
}
.hero-stats {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat span {
    font-size: 28px;
    font-weight: 800;
}
.stat small {
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}
.hero-image .mock-img-detail {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(6, 182, 212, 0.2);
    border: 1px solid rgba(6, 182, 212, 0.3);
    aspect-ratio: 1/1;
}

.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 80px;
}
.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s;
}
.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
}
.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(6, 182, 212, 0.1);
    color: var(--neon-cyan);
    font-size: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}
.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
}
.feature-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================================================= */
/* REVIEWS & SUPPORT STYLES                                                  */
/* ========================================================================= */
.reviews-page, .support-page {
    max-width: 1600px;
    margin: 50px auto;
    padding: 0 24px;
}
.reviews-header, .support-header {
    text-align: center;
    margin-bottom: 50px;
}
.trust-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: var(--card-bg);
    padding: 20px 40px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    margin-top: 20px;
}
.trust-badge .excellent {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 5px;
}
.trust-badge .stars {
    color: #10b981;
    font-size: 24px;
    margin-bottom: 10px;
}
.trust-badge span:last-child {
    color: var(--text-muted);
    font-size: 14px;
}

/* Avis : 2 max par ligne sur grand écran = cartes plus larges ; pas d’alignement hauteur forcée */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px 22px;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
}
@media (min-width: 700px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.review-card {
    background: var(--gradient-surface);
    padding: 22px 28px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    min-width: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.review-rating {
    color: #fbbf24;
    margin-bottom: 8px;
    font-size: 15px;
}
.review-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.3;
}
.review-text {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 14px;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--border-color);
    padding-top: 14px;
}
.author-avatar {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    font-size: 20px;
}
.author-info {
    display: flex;
    flex-direction: column;
}
.author-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.faq-item {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
}
.faq-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
}
.faq-item p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

.contact-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.discord-card {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    padding: 40px;
    border-radius: 16px;
    text-align: center;
}
.discord-card i {
    font-size: 50px;
    margin-bottom: 15px;
}
.discord-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}
.discord-card p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 25px;
    line-height: 1.5;
}
.btn-discord {
    display: inline-block;
    background: white;
    color: #5865F2;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.3s;
}
.btn-discord:hover {
    transform: translateY(-3px);
}
.email-form {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.email-form h3 {
    font-size: 20px;
    margin-bottom: 10px;
}
.form-input {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
    font-family: inherit;
}
.form-input:focus {
    border-color: var(--neon-cyan);
}

.hidden {
    display: none !important;
}

.write-review-section {
    text-align: center;
    margin-bottom: 50px;
}

#reviewForm {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
}

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

@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
        flex-direction: column;
    }
    .hero-stats {
        justify-content: center;
    }
    .features-section {
        grid-template-columns: 1fr;
    }
    .support-content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   SNOW EFFECT
   ========================================== */
.snowflake {
    position: absolute;
    top: -10px;
    width: 4px; 
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: fall linear infinite;
    box-shadow: 0 0 5px white;
    z-index: -1;
}

@keyframes fall {
    0% { transform: translateY(-10px) translateX(0); }
    100% { transform: translateY(105vh) translateX(20px); }
}

.thumbnail img {
    transition: transform 0.3s;
}
.thumbnail:hover img, .thumbnail.active img {
    transform: scale(1.1);
}

.mock-img-detail .brand-box:hover {
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), inset 0 0 30px rgba(6, 182, 212, 0.4);
    border-color: #fff;
}

/* Stock: out of stock — pas d’opacité sur toute la carte (logos bien visibles) */
.product-card.out-of-stock {
    cursor: not-allowed;
    opacity: 1;
    pointer-events: none;
}
.product-card .btn-select.out-of-stock:disabled,
.btn-add-cart:disabled,
.btn-add-cart.out-of-stock {
    opacity: 1;
    cursor: not-allowed;
    background: var(--card-bg) !important;
    color: var(--text-muted) !important;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
}
.product-card .btn-select:disabled {
    pointer-events: none;
}
.product-card.out-of-stock .product-image {
    filter: none;
    opacity: 1;
}


/* In-app alert modal (replaces window.alert) */
.app-alert-overlay {
    z-index: 50000 !important;
}
.app-alert-overlay .app-alert-dialog {
    margin: 0;
    max-height: 90vh;
    overflow: auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(6, 182, 212, 0.12);
    animation: fadeIn 0.25s ease;
}



