/* Aura Global — Premium Enterprise Storefront v3.0 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* ─── FONTS ─── */
  --font-body: 'Outfit', system-ui, -apple-system, sans-serif;
  --font-display: 'Inter', 'Outfit', system-ui, sans-serif;
  /* ─── BACKGROUNDS ─── */
  --bg-base: #060913;
  --bg-surface: rgba(13, 20, 38, 0.6);
  --bg-elevated: rgba(23, 33, 61, 0.7);
  --bg-glass: rgba(10, 16, 32, 0.75);
  /* ─── PRIMARY (Premium Sapphire Blue) ─── */
  --primary: #3b82f6;
  --primary-light: #60a5fa;
  --primary-dark: #1d4ed8;
  --primary-glow: rgba(59, 130, 246, 0.4);
  /* ─── ACCENT (Futuristic Cyan) ─── */
  --accent: #06b6d4;
  --accent-light: #22d3ee;
  --accent-glow: rgba(6, 182, 212, 0.35);
  /* ─── TEXT ─── */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-disabled: #475569;
  /* ─── BORDERS ─── */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  /* ─── GRADIENTS ─── */
  --gradient-primary: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  --gradient-hot: linear-gradient(135deg, #db2777 0%, #f43f5e 100%);
  --gradient-hero: radial-gradient(circle at 50% 0%, #1e3a8a 0%, #060913 100%);
  --gradient-card: linear-gradient(160deg, rgba(37, 99, 235, 0.05) 0%, rgba(6, 182, 212, 0.02) 100%);
  /* ─── SHADOWS ─── */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 36px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 24px 72px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.45);
  /* ─── RADIUS ─── */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-xl: 38px;
  --radius-pill: 9999px;
  /* ─── TRANSITIONS ─── */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  /* ─── STATUS ─── */
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #f43f5e;
  --info: #3b82f6;
  
  /* ─── ALIASES FOR COMPATIBILITY ─── */
  --secondary: #1d4ed8;
  --transition: var(--transition-base);
  --bg-card: var(--bg-surface);
  --gold: #fbbf24;
}

/* ─── THEME LIGHT (Premium Slate Edition) ─── */
.theme-light {
  --bg-base: #f3f4f6;
  --bg-surface: rgba(255, 255, 255, 0.75);
  --bg-elevated: rgba(243, 244, 246, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.85);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-subtle: #64748b;
  --text-disabled: #94a3b8;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --gradient-card: linear-gradient(160deg, rgba(139, 92, 246, 0.02) 0%, rgba(6, 182, 212, 0.01) 100%);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 12px 36px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 72px rgba(15, 23, 42, 0.12);
}

/* ─── THEME DIM (Nordic Sky Edition) ─── */
.theme-dim {
  --bg-base: #0b1120;
  --bg-surface: rgba(21, 30, 52, 0.7);
  --bg-elevated: rgba(30, 41, 73, 0.8);
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --border-color: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.12);
}

/* Base globale */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; }

/* Glassmorphism Header */
header {
    background: rgba(7, 9, 14, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a, .nav-links span {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Badges and Region Info */
.region-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.region-selector {
    display: flex;
    gap: 0.5rem;
}

.region-btn {
    text-decoration: none;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.region-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* Premium Layout Container */
main {
    max-width: 1200px;
    margin: 3.5rem auto;
    padding: 0 2rem;
}

/* ═══ HERO BANNER — ENTERPRISE GRADE ═══ */
.hero-banner {
    background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(168,85,247,0.1) 50%, rgba(6,182,212,0.08) 100%);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-xl);
    padding: 7rem 3rem 6rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Animated ambient orbs */
.hero-banner::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99,102,241,0.18) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
    animation: heroOrb1 8s ease-in-out infinite alternate;
}
.hero-banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(168,85,247,0.15) 0%, transparent 65%);
    z-index: 0;
    pointer-events: none;
    animation: heroOrb2 10s ease-in-out infinite alternate;
}
@keyframes heroOrb1 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(40px, -30px) scale(1.1); }
}
@keyframes heroOrb2 {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(-30px, 20px) scale(1.08); }
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(99,102,241,0.12);
    border: 1px solid rgba(99,102,241,0.25);
    color: var(--primary-light);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}
.hero-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 2s ease infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    letter-spacing: -2px;
    background: linear-gradient(135deg, #ffffff 20%, #c7d2fe 55%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto 2.5rem;
    position: relative;
    z-index: 1;
    line-height: 1.7;
    font-weight: 400;
}

/* Hero stats counters strip */
.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1;
    background: linear-gradient(135deg, #fff 40%, var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 0.25rem;
}
.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

/* ═══ PRODUCT GRID & CARDS — ENTERPRISE GRADE ═══ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
}

/* Section heading style for catalogue sections */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-heading h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.5px;
}
.section-heading h2 span {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-heading a {
    color: var(--primary-light);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: var(--transition-fast);
}
.section-heading a:hover { color: #fff; }

.card {
    background: linear-gradient(160deg, rgba(20,25,40,0.9) 0%, rgba(10,13,22,0.95) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(99,102,241,0.35);
    box-shadow: 0 24px 50px rgba(99,102,241,0.12), 0 8px 20px rgba(0,0,0,0.4);
}

/* Wishlist heart button overlay */
.card-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 36px;
    height: 36px;
    background: rgba(6,8,16,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
    font-size: 1rem;
    color: var(--text-muted);
}
.card:hover .card-wishlist {
    opacity: 1;
    transform: scale(1);
}
.card-wishlist:hover, .card-wishlist.active {
    background: rgba(239,68,68,0.15);
    border-color: rgba(239,68,68,0.35);
    color: #f87171;
}
.card-wishlist.active { opacity: 1; transform: scale(1); }

/* Product badge overlays */
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.3rem 0.6rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.card-badge.badge-new {
    background: rgba(99,102,241,0.9);
    color: #fff;
    box-shadow: 0 2px 8px rgba(99,102,241,0.4);
}
.card-badge.badge-hot {
    background: rgba(239,68,68,0.9);
    color: #fff;
    box-shadow: 0 2px 8px rgba(239,68,68,0.4);
}
.card-badge.badge-sale {
    background: rgba(245,158,11,0.9);
    color: #000;
    box-shadow: 0 2px 8px rgba(245,158,11,0.4);
}
.card-badge.badge-limited {
    background: rgba(168,85,247,0.9);
    color: #fff;
    box-shadow: 0 2px 8px rgba(168,85,247,0.4);
}

.card-img-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

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

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

/* Hover quick-view overlay on card image */
.card-img-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6,8,20,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.card:hover .card-img-overlay {
    opacity: 1;
}
.card-quick-view-btn {
    background: rgba(255,255,255,0.95);
    color: #0a0d16;
    border: none;
    padding: 0.6rem 1.25rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transform: translateY(8px);
    transition: var(--transition);
    letter-spacing: 0.3px;
}
.card:hover .card-quick-view-btn {
    transform: translateY(0);
}

/* Star rating row */
.card-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.5rem;
}
.card-stars {
    display: flex;
    gap: 1px;
    font-size: 0.75rem;
    color: var(--gold);
}
.card-review-count {
    font-size: 0.75rem;
    color: var(--text-subtle);
    font-weight: 500;
}

.card-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text-main);
    transition: var(--transition);
}

.card:hover .card-title {
    color: #fff;
}

.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price {
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
}

.stock-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    font-weight: 600;
}

.stock-tag.in-stock {
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

.stock-tag.out-stock {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

/* Premium Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 1.8rem;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: none;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.55);
    transform: translateY(-3px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3.5rem;
    margin-top: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .detail-layout {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
}

.detail-img-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 1rem;
    backdrop-filter: blur(10px);
    position: sticky;
    top: 100px;
}

@media (max-width: 1024px) {
    .detail-img-card {
        position: relative !important;
        top: 0 !important;
        z-index: 1 !important;
    }
}

.detail-img-card img {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-info h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.detail-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

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

.warehouse-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
}

.warehouse-card.active {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-input {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

/* Admin importer styles */
.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.toast {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.toast.error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ═══ FOOTER — ENTERPRISE 4-COLUMN LAYOUT ═══ */
footer {
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 6rem;
    position: relative;
}
footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.4), rgba(168,85,247,0.4), transparent);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 4rem;
    border-bottom: 1px solid var(--border-color);
}
.footer-brand-desc {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin: 1rem 0 1.5rem;
    max-width: 280px;
}
.footer-social {
    display: flex;
    gap: 0.75rem;
}
.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    text-decoration: none;
    transition: var(--transition);
    color: var(--text-muted);
}
.footer-social a:hover {
    background: rgba(99,102,241,0.12);
    border-color: rgba(99,102,241,0.3);
    color: var(--primary-light);
    transform: translateY(-3px);
}
.footer-col-title {
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-main);
    margin-bottom: 1.25rem;
}
.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-links a:hover {
    color: var(--text-main);
    transform: translateX(3px);
}
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.footer-payments {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}
.payment-badge {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

/* Floating cart — compact icon-only button */
.floating-cart-btn {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 24px rgba(99,102,241,0.5);
    z-index: 500;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}
.floating-cart-btn:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 32px rgba(99,102,241,0.65);
}
.floating-cart-btn .floating-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
    line-height: 1;
}

/* Keep old class as alias if used anywhere else */
.floating-cart-bubble {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    box-shadow: 0 6px 24px rgba(99,102,241,0.5);
    z-index: 500;
    text-decoration: none;
    transition: var(--transition);
}
.floating-cart-bubble:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 10px 32px rgba(99,102,241,0.65);
}
.floating-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-dark);
}

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

/* Social Proof Toast Popup Widget */
.social-proof-toast {
    position: fixed;
    bottom: 145px;
    left: 25px;
    background: rgba(13, 17, 24, 0.85);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.25rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    max-width: 320px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    transition: var(--transition);
}

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

/* Urgency & Social widgets details */
.urgency-badge {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* ─── THEME STYLING SYSTEM ─── */
/* Default themes overriding custom variables */
html.theme-light {
    --bg-base: #f3f4f6;
    --bg-surface: #ffffff;
    --bg-elevated: #f8fafc;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --bg-glow: rgba(99, 102, 241, 0.03);
    --text-main: #0f172a;
    --text-muted: #334155;
    --text-subtle: #475569;
    --text-disabled: #94a3b8;
    --border-color: rgba(15, 23, 42, 0.08);
    --border-strong: rgba(15, 23, 42, 0.14);
    --gradient-card: linear-gradient(160deg, rgba(139, 92, 246, 0.02) 0%, rgba(6, 182, 212, 0.01) 100%);
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 36px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 24px 72px rgba(15, 23, 42, 0.1);
}
html.theme-light body {
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.06) 0px, transparent 40%),
        radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.05) 0px, transparent 40%);
    background-color: var(--bg-dark);
    color: var(--text-main);
}
html.theme-light header {
    background: rgba(255, 255, 255, 0.85);
}
html.theme-light header.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05) !important;
    border-bottom-color: rgba(15, 23, 42, 0.06) !important;
}
html.theme-light #search-suggestions {
    background: #ffffff !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06) !important;
}
html.theme-light .logo {
    background: linear-gradient(135deg, #1d4ed8, #0ea5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
html.theme-light .form-input {
    background: #f1f5f9 !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    color: #0f172a !important;
}
html.theme-light .form-input::placeholder {
    color: #94a3b8;
}
html.theme-light .region-badge {
    background: #ffffff !important;
    color: #0f172a !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}
html.theme-light .card {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}
html.theme-light .card:hover {
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    border-color: rgba(99, 102, 241, 0.25);
}
html.theme-light .card-title {
    color: #0f172a !important;
}
html.theme-light .price {
    color: #0f172a !important;
}
html.theme-light .card:hover .card-title {
    color: #4f46e5 !important;
}
html.theme-light .stock-tag {
    background: #f1f5f9;
    border-color: rgba(15, 23, 42, 0.05);
}
html.theme-light .stock-tag.in-stock {
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
}
html.theme-light .hero-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06) 0%, rgba(168, 85, 247, 0.06) 50%, rgba(6, 182, 212, 0.04) 100%);
    border-color: rgba(15, 23, 42, 0.06);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.02);
}
html.theme-light .hero-title {
    background: linear-gradient(135deg, #0f172a 30%, #312e81 70%, #4338ca 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
html.theme-light .social-proof-toast {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
html.theme-light #sp-title {
    color: #0f172a !important;
}
html.theme-light .btn-outline {
    border-color: rgba(15, 23, 42, 0.15);
    color: #0f172a;
}
html.theme-light .btn-outline:hover {
    background: rgba(15, 23, 42, 0.03);
}
html.theme-light .region-btn {
    background: #ffffff;
    color: #0f172a;
}
html.theme-light .region-btn:hover {
    background: #f1f5f9;
}
html.theme-light .region-btn.active {
    background: var(--primary);
    color: #ffffff;
}

/* ═══ LIGHT THEME — NEW PREMIUM COMPONENTS v2.0 ═══ */

/* Value prop cards — white bg, subtle shadow, no dark overlay */
html.theme-light .value-prop-card {
    background: #ffffff;
    border: 1px solid rgba(15,23,42,0.07);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
html.theme-light .value-prop-card:hover {
    border-color: rgba(99,102,241,0.2);
    box-shadow: 0 12px 32px rgba(99,102,241,0.08);
}
html.theme-light .value-prop-icon {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(168,85,247,0.06));
    border-color: rgba(99,102,241,0.12);
}
html.theme-light .value-prop-title {
    color: #0f172a;
}
html.theme-light .value-prop-desc {
    color: #475569;
}

/* Hero banner in light theme */
html.theme-light .hero-eyebrow {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.18);
    color: #4f46e5;
}
html.theme-light .hero-stat-number {
    background: linear-gradient(135deg, #0f172a 40%, #4338ca);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
html.theme-light .hero-stat-label {
    color: #64748b;
}
html.theme-light .hero-stat-divider {
    background: rgba(15,23,42,0.1);
}

/* Section headings */
html.theme-light .section-heading h2 {
    color: #0f172a;
}

/* Card elements in light theme */
html.theme-light .card-img-overlay {
    background: rgba(255,255,255,0.4);
}
html.theme-light .card-quick-view-btn {
    background: rgba(15,23,42,0.9);
    color: #fff;
}
html.theme-light .card-wishlist {
    background: rgba(255,255,255,0.85);
    border-color: rgba(15,23,42,0.08);
    color: #475569;
}
html.theme-light .card-wishlist:hover,
html.theme-light .card-wishlist.active {
    background: rgba(239,68,68,0.08);
    border-color: rgba(239,68,68,0.25);
    color: #dc2626;
}
html.theme-light .card-review-count {
    color: #94a3b8;
}
html.theme-light .card-category {
    color: #4f46e5;
}
html.theme-light .card-price-row {
    border-top-color: rgba(15,23,42,0.06);
}

/* Newsletter in light theme */
html.theme-light .newsletter-section {
    background: linear-gradient(135deg, rgba(99,102,241,0.06) 0%, rgba(168,85,247,0.04) 50%, rgba(6,182,212,0.03) 100%);
    border-color: rgba(99,102,241,0.1);
}
html.theme-light .newsletter-title {
    color: #0f172a;
}
html.theme-light .newsletter-subtitle {
    color: #475569;
}
html.theme-light .newsletter-input {
    background: rgba(15,23,42,0.04);
    border-color: rgba(15,23,42,0.1);
    color: #0f172a;
}
html.theme-light .newsletter-input:focus {
    border-color: var(--primary);
    background: rgba(99,102,241,0.04);
}
html.theme-light .newsletter-input::placeholder {
    color: #94a3b8;
}

/* Brands strip in light theme */
html.theme-light .brands-strip {
    border-color: rgba(15,23,42,0.06);
}
html.theme-light .brands-strip::before {
    background: linear-gradient(90deg, #f8fafc, transparent);
}
html.theme-light .brands-strip::after {
    background: linear-gradient(-90deg, #f8fafc, transparent);
}
html.theme-light .brand-item {
    color: #334155;
}

/* Floating cart in light theme */
html.theme-light .floating-cart-btn .floating-cart-count,
html.theme-light .floating-cart-count {
    border-color: #f8fafc;
}

/* Footer in light theme */
html.theme-light footer {
    border-top-color: rgba(15,23,42,0.08);
    background: #f1f5f9;
}
html.theme-light footer::before {
    background: linear-gradient(90deg, transparent, rgba(99,102,241,0.25), rgba(168,85,247,0.25), transparent);
}
html.theme-light .footer-grid {
    border-bottom-color: rgba(15,23,42,0.08);
}
html.theme-light .footer-brand-desc {
    color: #475569;
}
html.theme-light .footer-col-title {
    color: #0f172a;
}
html.theme-light .footer-links a {
    color: #475569;
}
html.theme-light .footer-links a:hover {
    color: #0f172a;
}
html.theme-light .footer-social a {
    background: rgba(15,23,42,0.04);
    border-color: rgba(15,23,42,0.08);
    color: #475569;
}
html.theme-light .footer-social a:hover {
    background: rgba(99,102,241,0.08);
    border-color: rgba(99,102,241,0.2);
    color: #4f46e5;
}
html.theme-light .payment-badge {
    background: #ffffff;
    border-color: rgba(15,23,42,0.1);
    color: #475569;
}
html.theme-light .footer-bottom p {
    color: #94a3b8;
}

/* Announcement ticker in light theme */
html.theme-light .announcement-ticker {
    background: linear-gradient(90deg, #1d4ed8, #0ea5e9, #0e7490, #0ea5e9, #1d4ed8);
    background-size: 300% 100%;
}

/* Social proof toast in light theme */
html.theme-light .social-proof-toast {
    background: #ffffff;
    border-color: rgba(15,23,42,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}
html.theme-light #sp-title {
    color: #0f172a !important;
}

/* Skeleton loaders in light theme */
html.theme-light .skeleton {
    background: linear-gradient(90deg, rgba(15,23,42,0.04) 25%, rgba(15,23,42,0.08) 50%, rgba(15,23,42,0.04) 75%);
    background-size: 200% 100%;
}
html.theme-light .skeleton-card {
    background: #ffffff;
    border-color: rgba(15,23,42,0.06);
}

/* Cart items in light theme */
html.theme-light .cart-item-row {
    border-bottom-color: rgba(15,23,42,0.06);
}

html.theme-dim {
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --bg-card-solid: #1e293b;
    --bg-glow: rgba(99, 102, 241, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --text-subtle: #64748b;
    --border-color: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255,255,255,0.1);
}
html.theme-dim body {
    background-image: 
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 45%),
        radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.06) 0px, transparent 45%);
    background-color: var(--bg-dark);
    color: var(--text-main);
}
html.theme-dim header {
    background: rgba(15, 23, 42, 0.85);
}
html.theme-dim .card {
    background: linear-gradient(160deg, #1e293b 0%, #0f172a 100%);
    border-color: rgba(255, 255, 255, 0.05);
}
html.theme-dim .hero-banner {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(168, 85, 247, 0.12) 50%, rgba(6, 182, 212, 0.08) 100%);
    border-color: rgba(255, 255, 255, 0.06);
}
html.theme-dim .value-prop-card {
    background: linear-gradient(160deg, rgba(30,41,59,0.9) 0%, rgba(15,23,42,0.95) 100%);
    border-color: rgba(255,255,255,0.05);
}
html.theme-dim .newsletter-section {
    background: linear-gradient(135deg, rgba(99,102,241,0.08) 0%, rgba(168,85,247,0.06) 50%, rgba(6,182,212,0.04) 100%);
    border-color: rgba(99,102,241,0.12);
}
html.theme-dim .brands-strip::before {
    background: linear-gradient(90deg, #0f172a, transparent);
}
html.theme-dim .brands-strip::after {
    background: linear-gradient(-90deg, #0f172a, transparent);
}
html.theme-dim footer {
    background: transparent;
}
html.theme-dim .cart-item-row {
    border-bottom-color: rgba(255,255,255,0.04);
}

/* Theme switcher controls */
.theme-switcher {
    display: flex;
    gap: 6px;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 50px;
}
html.theme-light .theme-switcher {
    background: rgba(0, 0, 0, 0.03);
}

.theme-btn {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}
.theme-btn:hover {
    transform: scale(1.15);
}
.theme-btn.active {
    border-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}
.theme-btn[data-theme="light"] { background: #cbd5e1; }
.theme-btn[data-theme="dim"] { background: #475569; }
.theme-btn[data-theme="dark"] { background: #0f172a; }

/* Grids & Layouts definitions */
.value-props-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.reviews-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: start;
}
.cart-layout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.cart-item-row {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    align-items: center;
    justify-content: space-between;
}
.checkout-layout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: start;
}
.shipping-calc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.5fr;
    gap: 1rem;
    align-items: end;
}
.contact-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
    align-items: start;
}

/* ═══════════════════════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS & CLEANUP — AJOUTÉ LE 20/06/2026
   ═══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    /* 1. Reset Global Margins and Layout */
    body {
        font-size: 15px;
    }
    
    main {
        margin: 1.5rem auto !important;
        padding: 0 1rem !important;
    }
    
    /* 2. Header & Navigation Structure */
    .nav-container {
        flex-direction: column !important;
        gap: 0.8rem !important;
        padding: 1rem !important;
    }
    
    .nav-container form {
        margin: 0.5rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .nav-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 0.8rem !important;
        width: 100% !important;
    }
    
    .nav-links a, .nav-links span {
        font-size: 0.85rem !important;
    }
    
    /* Language and Region dropdown centering */
    #region-dropdown, #lang-dropdown {
        top: 130px !important;
        right: 50% !important;
        transform: translateX(50%) !important;
        width: 90% !important;
        max-width: 320px !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.6) !important;
    }
    
    /* 3. Hero Banner (Niche presentation) */
    .hero-banner {
        padding: 3rem 1.25rem !important;
        margin-bottom: 2rem !important;
        border-radius: 18px !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        letter-spacing: -0.5px !important;
        line-height: 1.25 !important;
        margin-bottom: 1rem !important;
    }
    
    .hero-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 1.5rem !important;
        line-height: 1.5 !important;
    }
    
    /* 4. Products Grid and Card items */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on mobile instead of 1 col */
        gap: 10px !important;
    }
    
    .card {
        border-radius: 16px !important;
    }
    
    .card-img-wrapper {
        height: 150px !important;
    }
    
    .card-content {
        padding: 0.8rem !important;
    }
    
    .card-title {
        font-size: 0.9rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.3 !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        height: 2.6em;
    }
    
    .card-price-row {
        padding-top: 0.6rem !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 4px !important;
    }
    
    .price {
        font-size: 1.15rem !important;
    }
    
    .stock-tag {
        font-size: 0.7rem !important;
        padding: 0.2rem 0.5rem !important;
    }
    
    /* 5. Product Detail Page mobile tweaks */
    .detail-info h1 {
        font-size: 1.7rem !important;
        line-height: 1.2 !important;
    }
    
    .detail-desc {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1.25rem !important;
    }
    
    .warehouses-grid {
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }
    
    /* 6. Footer items vertical stack */
    footer {
        padding: 2rem 0 !important;
        margin-top: 2.5rem !important;
    }
    
    footer > div {
        flex-direction: column !important;
        gap: 0.6rem !important;
        align-items: center !important;
    }
    
    /* 7. Floating UI Elements and widgets */
    .social-proof-toast {
        bottom: 85px !important;
        left: 10px !important;
        right: 10px !important;
        max-width: none !important;
        padding: 0.6rem 1rem !important;
    }
    
    .cart-notif-bubble {
        bottom: 10px !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
        max-width: none !important;
        font-size: 0.8rem !important;
        padding: 0.6rem !important;
    }

    /* 8. Grids & Layouts responsive overrides */
    .value-props-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.25rem !important;
    }
    .reviews-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .cart-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .cart-item-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 1rem !important;
        padding: 1rem 0 !important;
    }
    .cart-item-row > div:nth-child(2) {
        width: 100% !important;
        justify-content: space-between !important;
        padding-top: 0.5rem !important;
        border-top: 1px dashed rgba(255, 255, 255, 0.05) !important;
    }
    .checkout-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .shipping-calc-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .shipping-calc-grid .btn {
        width: 100% !important;
    }
    .contact-layout-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
}

@media (max-width: 480px) {
    .value-props-grid {
        grid-template-columns: 1fr !important;
    }
    .trust-indicators {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════
   PREMIUM PRODUCT DETAIL VIEW COMPONENTS
   ═══════════════════════════════════════════════════════════════════════════ */
/* Gallery Styles */
#media-viewport-container {
    height: 450px;
    transition: border-color 0.3s ease;
}
@media (max-width: 768px) {
    #media-viewport-container {
        height: 350px !important;
    }
}
@media (max-width: 480px) {
    #media-viewport-container {
        height: 280px !important;
    }
}
#media-viewport-container:hover #main-product-img {
    transform: scale(1.03);
}
#main-product-img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.gallery-thumb {
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    border: 2px solid transparent !important;
}
.gallery-thumb:hover {
    transform: translateY(-2px);
}
.gallery-thumb.active-thumb {
    border-color: var(--accent) !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.25);
}

/* Responsive Action Buttons */
.detail-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}
@media (max-width: 480px) {
    .detail-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .detail-actions .btn {
        width: 100% !important;
        text-align: center;
    }
}

/* Global anti-overflow */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Strikethrough compare price */
.price-compare {
    font-size: 1.35rem;
    color: var(--text-muted);
    text-decoration: line-through;
    font-weight: 500;
}
.save-badge {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #f87171;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    letter-spacing: 0.5px;
    display: inline-block;
    vertical-align: middle;
}

/* Inventory progress bar */
.inventory-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    overflow: hidden;
    margin-top: 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.02);
}
.inventory-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    border-radius: 50px;
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
    transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Variant Swatches selector */
.swatch-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}
.swatch-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}
.swatch-pill:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.06);
}
.swatch-pill.active {
    border-color: var(--primary) !important;
    background: rgba(99, 102, 241, 0.08) !important;
    color: #fff;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.2);
}

/* Custom Quantity Selector counter */
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}
.qty-btn {
    border: none;
    background: transparent;
    color: var(--text-main);
    width: 44px;
    height: 44px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: var(--transition);
}
.qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}
.qty-input {
    width: 50px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-main);
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    outline: none;
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Accordion tabs */
.accordion-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.25rem 0;
}
.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}
.accordion-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}
.accordion-icon {
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}
.accordion-item.open .accordion-icon {
    transform: rotate(180deg);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin-top 0.3s ease;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}
.accordion-item.open .accordion-content {
    margin-top: 1rem;
}

/* Inline trust elements list */
.trust-indicators {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}
.trust-indicator-card {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}
.trust-indicator-card span {
    display: block;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

/* Constrain images and tables inside product description */
.detail-desc img {
    max-width: 100% !important;
    height: auto !important;
    display: block;
    margin: 1.5rem auto !important;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
.detail-desc * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.detail-desc table {
    width: 100% !important;
    overflow-x: auto;
    display: block;
}

/* Swatch visual thumbnails style (AliExpress variant button style) */
.swatch-pill.swatch-visual {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem !important;
    border-radius: 12px;
}
.swatch-pill.swatch-visual img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* ═══════════════════════════════════════════════════════════════════
   NEW PREMIUM COMPONENTS v2.0
   ═══════════════════════════════════════════════════════════════════ */

/* Animated announcement ticker */
.announcement-ticker {
    background: linear-gradient(90deg, #1d4ed8, #0ea5e9, #0e7490, #0ea5e9, #1d4ed8);
    background-size: 300% 100%;
    animation: tickerGradient 6s linear infinite;
    color: #fff;
    padding: 0.55rem 1rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    overflow: hidden;
    position: relative;
}
@keyframes tickerGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}
.ticker-track {
    display: flex;
    animation: ticker 28s linear infinite;
    white-space: nowrap;
    gap: 4rem;
}
.ticker-track:hover { animation-play-state: paused; }
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

/* Value props (home page feature icons) */
.value-prop-card {
    background: linear-gradient(160deg, rgba(20,25,40,0.85) 0%, rgba(10,13,22,0.9) 100%);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    backdrop-filter: blur(15px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.value-prop-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.value-prop-card:hover::before { opacity: 1; }
.value-prop-card:hover {
    border-color: rgba(99,102,241,0.2);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.3);
}
.value-prop-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, rgba(99,102,241,0.15), rgba(168,85,247,0.1));
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1.25rem;
}
.value-prop-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.value-prop-desc {
    font-size: 0.83rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Newsletter section */
.newsletter-section {
    background: linear-gradient(135deg, rgba(99,102,241,0.1) 0%, rgba(168,85,247,0.08) 50%, rgba(6,182,212,0.06) 100%);
    border: 1px solid rgba(99,102,241,0.15);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin: 5rem 0 3rem;
}
.newsletter-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99,102,241,0.1) 0%, transparent 70%);
    pointer-events: none;
}
.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
}
.newsletter-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.newsletter-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.newsletter-input {
    flex: 1;
    padding: 0.9rem 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition);
}
.newsletter-input:focus {
    border-color: var(--primary);
    background: rgba(99,102,241,0.08);
}
.newsletter-input::placeholder { color: var(--text-subtle); }

/* Trending section tag */
.trending-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    color: #f87171;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    animation: pulse 2s infinite;
}

/* Skeleton loader for product cards */
.skeleton {
    animation: shimmer 1.6s infinite linear;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.07) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    border-radius: var(--radius-md);
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-card {
    background: rgba(10,13,22,0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 380px;
}
.skeleton-img { height: 240px; width: 100%; }
.skeleton-content { padding: 1.25rem; }
.skeleton-line { height: 14px; margin-bottom: 10px; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-80 { width: 80%; }
.skeleton-line.w-40 { width: 40%; }

/* Brands marquee strip */
.brands-strip {
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
    overflow: hidden;
    margin: 4rem 0;
    position: relative;
}
.brands-strip::before, .brands-strip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
}
.brands-strip::before {
    left: 0;
    background: linear-gradient(90deg, var(--bg-dark), transparent);
}
.brands-strip::after {
    right: 0;
    background: linear-gradient(-90deg, var(--bg-dark), transparent);
}
.brands-track {
    display: flex;
    gap: 3rem;
    animation: brandScroll 20s linear infinite;
    width: max-content;
    align-items: center;
}
@keyframes brandScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.brand-item {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-subtle);
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity 0.3s;
}
.brand-item:hover { opacity: 0.8; }

/* Floating cart bubble */
.floating-cart-bubble {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border: none;
    padding: 0.85rem 1.4rem;
    border-radius: 50px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(99,102,241,0.45);
    z-index: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.floating-cart-bubble:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(99,102,241,0.6);
}
.floating-cart-count {
    background: #fff;
    color: var(--primary);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cart notification reminder bubble — floats above cart button on LEFT */
.cart-notif-bubble {
    position: fixed;
    bottom: 6rem;
    left: 2rem;
    background: rgba(10,13,22,0.95);
    border: 1px solid rgba(99,102,241,0.3);
    color: var(--text-main);
    padding: 0.65rem 1rem;
    border-radius: 12px;
    font-size: 0.82rem;
    font-weight: 600;
    z-index: 499;
    backdrop-filter: blur(15px);
    display: none;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    max-width: 240px;
    white-space: normal;
    line-height: 1.4;
}
.cart-notif-bubble.show {
    display: block;
    animation: popIn 0.3s cubic-bezier(0.175,0.885,0.32,1.275) forwards;
}

/* Mobile footer grid override */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}
@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .newsletter-form {
        flex-direction: column;
    }
    .newsletter-form .btn {
        width: 100%;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    .hero-stat-divider {
        display: none;
    }
    .hero-title {
        font-size: 2.5rem !important;
        letter-spacing: -1px !important;
    }
}

/* ────────────────────────────────────────────────────────
   AURA GLOBAL — COMPONENT DESIGNS OVERHAUL (v3.0)
   ──────────────────────────────────────────────────────── */

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0.85rem 2rem;
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  border: none; border-radius: var(--radius-pill);
  cursor: pointer; text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-base);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient-primary);
  color: #fff !important;
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 45px rgba(139,92,246,0.5); }
.btn-primary:active { transform: translateY(0) scale(0.98); }
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text-main) !important;
}
.btn-outline:hover {
  background: var(--bg-elevated);
  border-color: var(--primary);
  color: var(--primary-light) !important;
}
.btn-add-cart {
  background: var(--gradient-primary);
  color: #fff; width: 100%; padding: 1rem;
  font-size: 1rem; font-weight: 800;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  animation: glow-pulse 3s ease-in-out infinite;
  border: none; cursor: pointer;
  transition: transform var(--transition-fast);
}
.btn-add-cart:hover { transform: translateY(-2px); }
@keyframes glow-pulse {
  0%,100% { box-shadow: 0 0 20px rgba(139,92,246,0.3); }
  50% { box-shadow: 0 0 45px rgba(139,92,246,0.6); }
}

/* ─── CARDS ─── */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-slow), box-shadow var(--transition-slow), border-color var(--transition-base);
  position: relative;
  display: flex; flex-direction: column;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border-color: var(--border-strong);
}
.card-img-wrapper { position: relative; overflow: hidden; height: 220px; }
.card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--transition-slow);
}
.card:hover .card-img { transform: scale(1.07); }
.card-img-overlay {
  position: absolute; inset: 0;
  background: rgba(8, 12, 20, 0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}
.card:hover .card-img-overlay { opacity: 1; }
.card-quick-view-btn {
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-strong);
  color: #fff; font-weight: 700; font-size: 0.82rem;
  padding: 0.6rem 1.2rem; border-radius: var(--radius-pill);
  cursor: pointer;
  transform: translateY(10px);
  transition: transform var(--transition-base);
}
.card:hover .card-quick-view-btn { transform: translateY(0); }
.card-wishlist {
  position: absolute; top: 12px; right: 12px; z-index: 3;
  background: var(--bg-glass); backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  color: var(--text-muted); font-size: 1.1rem;
  width: 36px; height: 36px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base), color var(--transition-fast), transform var(--transition-fast);
}
.card:hover .card-wishlist { opacity: 1; }
.card-wishlist:hover { color: #ef4444; transform: scale(1.15); }
.card-wishlist.active { opacity: 1; color: #ef4444; }
.card-content { padding: 1.25rem; display: flex; flex-direction: column; flex-grow: 1; gap: 0.5rem; }
.card-category { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.card-title { font-size: 0.92rem; font-weight: 700; color: var(--text-main); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; cursor: pointer; }
.card-title:hover { color: var(--primary-light); }
.card-stars { color: #f59e0b; font-size: 0.8rem; letter-spacing: 1px; }
.card-review-count { font-size: 0.72rem; color: var(--text-subtle); }
.card-rating { display: flex; align-items: center; gap: 0.35rem; }
.card-price-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.price { font-size: 1.2rem; font-weight: 800; color: var(--text-main); font-variant-numeric: tabular-nums; }
.price-old { font-size: 0.88rem; color: var(--text-subtle); text-decoration: line-through; }
.card-badge {
  position: absolute; top: 12px; left: 12px; z-index: 3;
  padding: 0.28rem 0.65rem; border-radius: var(--radius-pill);
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em;
}
.badge-new { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.badge-hot { background: rgba(239,68,68,0.15); color: #ef4444; border: 1px solid rgba(239,68,68,0.3); animation: badge-pulse 2s infinite; }
.badge-sale { background: rgba(245,158,11,0.15); color: #f59e0b; border: 1px solid rgba(245,158,11,0.3); }
.badge-limited { background: rgba(139,92,246,0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
@keyframes badge-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
  50% { box-shadow: 0 0 0 5px rgba(239,68,68,0); }
}

/* ─── FORMULAIRES ─── */
.form-group { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: 1.25rem; }
.form-label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted);
}
.form-input {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.9rem 1.25rem;
  font-family: var(--font-body); font-size: 0.95rem;
  width: 100%;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}
.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.form-input::placeholder { color: var(--text-subtle); }

/* ─── STATUS BADGES ─── */
.stock-tag { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.3rem 0.75rem; border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.stock-tag.in-stock { background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.25); color: #10b981; }
.stock-tag.out-stock { background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.25); color: #ef4444; }
.stock-tag.processing { background: rgba(245,158,11,0.1); border: 1px solid rgba(245,158,11,0.25); color: #f59e0b; }

/* ─── SKELETON ─── */
.skeleton {
  background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-elevated) 50%, var(--bg-surface) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ─── ANIMATIONS & TRANSITIONS ─── */
.fade-in-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-up.visible { opacity: 1; transform: translateY(0); }
.fade-in-up:nth-child(1) { transition-delay: 0.05s; }
.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.15s; }
.fade-in-up:nth-child(4) { transition-delay: 0.2s; }
@keyframes float {
  0%,100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(15px, -20px) scale(1.02); }
  66% { transform: translate(-10px, 10px) scale(0.98); }
}
@keyframes page-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
main { animation: page-fade-in 0.3s ease; }

/* ─── HEADER SCROLLED BLUR ─── */
header {
  position: sticky; top: 0; z-index: 1000;
  transition: background var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}
header.scrolled {
  background: rgba(8, 12, 20, 0.95) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-bottom: 1px solid var(--border-color) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
}

/* ─── HAMBURGER MENU & DRAWER ─── */
#hamburger-btn { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 0.5rem; }
#hamburger-btn span { display: block; width: 22px; height: 2px; background: var(--text-main); border-radius: 2px; transition: transform var(--transition-base); }
#mobile-nav-drawer.open { transform: translateX(0) !important; }

/* ─── SCROLL TO TOP BUTTON ─── */
#scroll-top-btn {
  position: fixed; bottom: 5.5rem; right: 1.5rem; z-index: 999;
  background: var(--bg-elevated); border: 1px solid var(--border-strong);
  color: var(--text-main); width: 42px; height: 42px; border-radius: 50%;
  cursor: pointer; opacity: 0; transform: translateY(10px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow-md);
}
#scroll-top-btn.visible { opacity: 1; transform: translateY(0); }
#scroll-top-btn:hover { background: var(--primary); border-color: transparent; color: #fff; }

/* ─── NEWSLETTER FULL-WIDTH SaaS GRADIENT ─── */
.newsletter-section {
  background: linear-gradient(135deg, rgba(139,92,246,0.08), rgba(6,182,212,0.05));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative; overflow: hidden;
}

/* ─── STICKY CART MOBILE BAR ─── */
#sticky-cart-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 500;
  background: var(--bg-glass); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-color);
  padding: 0.85rem 1.5rem; display: none; align-items: center; justify-content: space-between; gap: 1rem;
  box-shadow: 0 -5px 25px rgba(0,0,0,0.5);
}

/* ─── PARTNERS TICKER SCROLL ─── */
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ─── MOBILE RESPONSIVE LAYOUT (Partie 10) ─── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3, 1fr) !important; }
  .detail-layout { grid-template-columns: 1fr !important; }
}

@media (max-width: 768px) {
  .nav-links { display: none !important; }
  #hamburger-btn { display: flex !important; }
  
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.75rem !important; }
  .checkout-layout-grid { grid-template-columns: 1fr !important; }
  .cart-layout-grid { grid-template-columns: 1fr !important; }
  .contact-layout-grid { grid-template-columns: 1fr !important; }
  
  .hero-banner { padding: 4rem 1.5rem 3rem !important; }
  .hero-title { font-size: 2rem !important; }
  .hero-stats { gap: 1.5rem !important; }
  
  .card-img-wrapper { height: 180px !important; }
  .card-wishlist { opacity: 1 !important; } /* Always visible on mobile hover/active states */
  
  /* Sticky cart bar trigger */
  #sticky-cart-bar { display: flex !important; }
  
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 2rem !important; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem !important; }
  .footer-grid { grid-template-columns: 1fr !important; }
  .hero-stats { flex-direction: column !important; gap: 1rem !important; }
  .hero-stat-divider { display: none !important; }
}

/* ─── LIGHT THEME TEXT VISIBILITY CORRECTIONS ─── */
.theme-light h1,
.theme-light h2,
.theme-light h3,
.theme-light h4,
.theme-light h5,
.theme-light p,
.theme-light span,
.theme-light strong,
.theme-light label,
.theme-light .form-label,
.theme-light a {
    color: var(--text-main) !important;
}

/* Exclude buttons and badges from the global color overwrite */
.theme-light .btn-primary,
.theme-light .btn-primary *,
.theme-light .card-badge,
.theme-light .badge-hot,
.theme-light .badge-new,
.theme-light .badge-sale,
.theme-light .badge-limited,
.theme-light .stock-tag {
    color: #ffffff !important;
}

/* Region badges and dropdown buttons styling in light theme */
.theme-light .region-badge,
.theme-light .region-badge *,
.theme-light .region-btn,
.theme-light .region-btn * {
    color: var(--text-main) !important;
}

/* Niche cards responsiveness */
@media (max-width: 768px) {
    .niche-cards-container {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}


/* Additional Mobile Responsive Layout Rules */
@media (max-width: 768px) {
    body {
        overflow-x: hidden !important;
    }
    .nav-container {
        padding: 0.75rem 1rem !important;
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }
    header form[action] {
        max-width: 100% !important;
        margin: 0.5rem 0 !important;
        order: 3 !important;
        width: 100% !important;
    }
    .nav-links {
        gap: 0.75rem !important;
        font-size: 0.82rem !important;
    }
    .detail-container {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .gallery-container {
        position: static !important;
    }
    .detail-actions {
        flex-direction: column !important;
    }
    .btn-add-cart {
        width: 100% !important;
    }
}

/* Fix for product card images */
.card-img-wrapper {
    width: 100%;
    height: 220px;
    overflow: hidden;
    position: relative;
    border-radius: 12px;
}
.card-img-wrapper img, .card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ultimate Universal product card image fix */
.product-card img,
.card img,
.niche-card-item img,
img.card-img,
.universe-product-card img,
[class*='card'] img {
    max-height: 250px !important;
    object-fit: cover !important;
    width: 100% !important;
}

/* Universe Product Card Fix */
.card-image-wrapper {
    position: relative !important;
    width: 100% !important;
    height: 240px !important;
    max-height: 240px !important;
    overflow: hidden !important;
}
.card-image-wrapper a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
.card-image {
    width: 100% !important;
    height: 100% !important;
    max-height: 240px !important;
    object-fit: cover !important;
}
