/* Global Styles & Variables */
:root {
    --bg-dark: #050505;
    --bg-panel: rgba(20, 20, 20, 0.6);

    /* Default Neon Accents */
    --neon-cyan: #00f3ff;
    --neon-pink: #bc13fe;

    /* Dynamic Theme Variables (Defaults) */
    --neon-accent: var(--neon-cyan);
    --neon-secondary: var(--neon-pink);

    --text-main: #ffffff;
    --text-muted: #a0a0a0;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Dynamic Mouse Variables (Updated by JS) */
    --mouse-x: 0.5;
    --mouse-y: 0.5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-dark);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    width: 100%;
}

/* Scroll Lock Utility */
body.no-scroll {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Background Grid Effect */
.background-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 200vw;
    height: 200vh;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 243, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 243, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: translate(-25%, -25%);
    will-change: transform;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 20%, #000 120%);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth), color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Theme Classes (Applied to Body) */
.theme-blue {
    --neon-cyan: #00f3ff;
    --neon-pink: #bc13fe;
    --neon-accent: var(--neon-cyan);
    --neon-secondary: var(--neon-pink);
}

.theme-green {
    --neon-cyan: #00ff66;
    --neon-pink: #ff00ff;
    --neon-accent: var(--neon-cyan);
    --neon-secondary: var(--neon-pink);
}

.theme-pink {
    --neon-cyan: #ff00ff;
    --neon-pink: #00f3ff;
    --neon-accent: var(--neon-cyan);
    --neon-secondary: var(--neon-pink);
}

.theme-yellow {
    --neon-cyan: #ffe600;
    --neon-pink: #00ff00;
    --neon-accent: var(--neon-cyan);
    --neon-secondary: var(--neon-pink);
}

/* Components */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--neon-cyan);
}

/* Adaptive Logo (masked) */
.logo-container {
    display: block;
    width: 180px;
    height: 75px;

    background: url("images/logo.png") center/contain no-repeat;
    filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.18));
}


.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    position: relative;
    cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
}

.nav-icons {
    display: flex;
    gap: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-muted);
    align-items: center;
}

.nav-icon-item {
    transition: var(--transition-smooth);
}

.nav-icon-item:hover {
    color: var(--neon-cyan);
}

.hamburger {
    display: none;
    cursor: pointer;
    color: var(--neon-cyan);
}

/* Hero */
.hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1) saturate(1.2);
    transform: scale(1.05);
    transition: transform 0.12s linear;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 40px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(4px);
    border-radius: 6px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--text-main);
    text-shadow: 4px 4px 0px var(--neon-pink);
    mix-blend-mode: lighten;
    animation: glitchText 3s infinite alternate;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    color: var(--text-main);
    letter-spacing: 1px;
}

/* Button */
.btn {
    display: inline-block;
    padding: 15px 45px;
    background: transparent;
    color: var(--neon-cyan);
    font-weight: 800;
    text-transform: uppercase;
    border: 1px solid var(--neon-cyan);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.2), inset 0 0 10px rgba(0, 243, 255, 0.1);
    cursor: pointer;
    transition: all 0.22s ease;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:hover {
    background: rgba(0, 243, 255, 0.08);
    box-shadow: 0 0 22px rgba(0, 243, 255, 0.55), inset 0 0 15px rgba(0, 243, 255, 0.25);
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
    border-color: #fff;
}

/* Featured & Products */
.featured {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.8rem;
    text-transform: uppercase;
    color: var(--text-main);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
}

/* Filter Bar (Robust: works even if markup differs) */
.filter-bar {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px solid var(--glass-border);
    background: rgba(10, 10, 10, 0.35);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
}

.filter-btn,
.filter-bar button,
button[data-filter] {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 8px 14px;
    cursor: pointer;
    transition: 0.2s ease;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    font-family: var(--font-main);
    font-weight: 700;
    border-radius: 999px;
    line-height: 1;
}

.filter-btn:hover,
.filter-bar button:hover,
button[data-filter]:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.18);
}

.filter-btn.active,
.filter-bar button.active,
button[data-filter].active {
    border-color: var(--neon-accent);
    color: #0b0b0b;
    background: var(--neon-accent);
    box-shadow: 0 0 18px rgba(0, 243, 255, 0.28);
}

/* Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    perspective: 1000px;
}

.product-card {
    background: var(--bg-panel);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 15px;
    transition: transform 0.12s ease-out, box-shadow 0.25s ease, border-color 0.25s ease;
    transform-style: preserve-3d;
    position: relative;
    border-radius: 10px;
    cursor: pointer;
}

.product-card:hover {
    border-color: var(--neon-secondary);
    box-shadow: 0 0 26px rgba(188, 19, 254, 0.16);
}

.product-image-container {
    background-color: transparent;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transform: translateZ(18px);
    border-radius: 10px;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease, filter 0.55s ease, opacity 0.18s ease;
    filter: grayscale(0.2) contrast(1.08);
    opacity: 1;
    will-change: transform, opacity;
}

.product-card:hover .product-image-container img {
    transform: scale(1.04);
    filter: grayscale(0) contrast(1.15);
}

.product-info {
    text-align: center;
    transform: translateZ(26px);
}

.product-title {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 700;
    color: var(--text-main);
}

.product-price {
    font-size: 1.05rem;
    color: var(--neon-cyan);
    margin-bottom: 10px;
    text-shadow: 0 0 6px rgba(0, 243, 255, 0.35);
    font-weight: 700;
}

/* Product color swatches */
.product-colors {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    z-index: 5;
    position: relative;
    pointer-events: auto;
}

.color-swatch {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.28);
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.color-swatch:hover {
    transform: scale(1.12);
    border-color: #fff;
}

.color-swatch.active {
    transform: scale(1.12);
    border-color: var(--neon-accent);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.35);
}

/* Footer */
footer {
    background: rgba(5, 5, 5, 0.9);
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 60px 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.footer-logo {
    font-size: 24px;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--text-main);
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

/* Overlay */
#overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

#overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Drawer Common */
.drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 450px;
    height: 100vh;
    background: rgba(10, 10, 10, 0.95);
    border-left: 1px solid var(--neon-cyan);
    box-shadow: -10px 0 30px rgba(0, 243, 255, 0.1);
    z-index: 2001;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.drawer.active {
    transform: translateX(0);
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 20px;
    flex-shrink: 0;
}

.drawer-title {
    font-size: 1.3rem;
    text-transform: uppercase;
    color: var(--neon-cyan);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.35);
    font-weight: 900;
    letter-spacing: 1px;
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
    transition: 0.2s ease;
}

.close-btn:hover {
    color: var(--neon-pink);
    transform: rotate(90deg);
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) var(--bg-dark);
}

.drawer-content::-webkit-scrollbar {
    width: 6px;
}

.drawer-content::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

.drawer-content::-webkit-scrollbar-thumb {
    background-color: var(--neon-cyan);
    border-radius: 3px;
}

/* --- Drawer Gallery (NEW) --- */
.drawer-gallery {
    margin-bottom: 16px;
}

.gallery-main {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
}

.drawer-product-img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 10px;
    opacity: 1;
    transition: opacity 0.16s ease;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    transition: 0.18s ease;
    font-size: 26px;
    line-height: 1;
    z-index: 2;
}

.gallery-nav-btn:hover {
    border-color: var(--neon-accent);
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.22);
    color: var(--neon-accent);
}

.gallery-nav-btn.prev {
    left: 12px;
}

.gallery-nav-btn.next {
    right: 12px;
}

.gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
}

.gallery-thumb {
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    transition: 0.18s ease;
    min-width: 64px;
    height: 64px;
    overflow: hidden;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-thumb:hover {
    border-color: var(--neon-cyan);
}

.gallery-thumb.active {
    border-color: var(--neon-accent);
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.18);
}

/* Drawer product texts */
.drawer-product-name {
    font-size: 1.8rem;
    margin-bottom: 8px;
    line-height: 1.1;
    font-weight: 900;
}

.drawer-product-price {
    font-size: 1.3rem;
    color: var(--neon-pink);
    margin-bottom: 14px;
    font-weight: 800;
}

.drawer-section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-weight: 800;
}

.size-options {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    position: relative;
    flex-wrap: wrap;
}

.size-btn {
    width: 44px;
    height: 42px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.18s ease;
    border-radius: 10px;
    font-weight: 800;
}

.size-btn:hover,
.size-btn.active {
    border-color: var(--neon-cyan);
    background: rgba(0, 243, 255, 0.08);
    box-shadow: 0 0 12px rgba(0, 243, 255, 0.18);
}

/* Color buttons inside drawer */
.color-btn {
    width: auto !important;
    padding: 0 14px;
    border-radius: 999px;
    justify-content: flex-start;
    gap: 8px;
}

.color-dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    display: inline-block;
}

.validation-msg {
    color: var(--neon-pink);
    font-size: 0.82rem;
    margin-bottom: 18px;
    height: 1.2rem;
    opacity: 0;
    transition: opacity 0.25s ease;
    text-shadow: 0 0 10px rgba(188, 19, 254, 0.45);
    background: rgba(188, 19, 254, 0.08);
    padding: 4px 10px;
    border-radius: 8px;
    display: inline-block;
    border: 1px solid rgba(188, 19, 254, 0.18);
    font-weight: 800;
}

.validation-msg.show {
    opacity: 1;
}

.qty-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

.qty-btn {
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: 0.18s ease;
}

.qty-btn:hover {
    border-color: var(--text-main);
}

.drawer-footer {
    padding-top: 18px;
    border-top: 1px solid var(--glass-border);
    flex-shrink: 0;
}

/* Cart specifics */
.cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    animation: slideInRight 0.25s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(14px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cart-item img {
    width: 74px;
    height: 74px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-weight: 900;
    margin-bottom: 6px;
    padding-right: 22px;
}

.cart-item-meta {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-bottom: 6px;
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.cart-item-remove:hover {
    color: #ff3333;
}

.cart-item-price {
    color: var(--neon-cyan);
    font-size: 0.95rem;
    font-weight: 800;
}

.cart-empty-msg {
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(5, 5, 5, 0.95);
    border: 1px solid var(--neon-cyan);
    padding: 15px 22px;
    color: var(--neon-cyan);
    font-weight: 800;
    z-index: 3000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.28s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.18);
    border-radius: 12px;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Search Overlay */
#search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.98);
    z-index: 2002;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--neon-pink);
}

#search-overlay.active {
    transform: translateY(0);
}

.search-input {
    width: 80%;
    max-width: 600px;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-muted);
    font-size: 2rem;
    color: var(--text-main);
    padding: 10px;
    text-align: center;
    outline: none;
}

.search-input:focus {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 20px -10px rgba(0, 243, 255, 0.3);
}

/* Search results */
.search-results-container {
    width: 90%;
    max-width: 1000px;
    margin: 30px auto 0 auto;
    max-height: 60vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-cyan) var(--bg-dark);
}

.search-results-container::-webkit-scrollbar {
    width: 6px;
}

.search-results-container::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-container::-webkit-scrollbar-thumb {
    background-color: var(--neon-cyan);
    border-radius: 3px;
}

.search-result-card {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid var(--glass-border);
    padding: 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.search-result-card:hover {
    border-color: var(--neon-cyan);
    background: rgba(20, 20, 20, 1);
    box-shadow: 0 0 18px rgba(0, 243, 255, 0.10);
}

.search-result-img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    margin-bottom: 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.search-result-title {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 6px;
    font-weight: 800;
}

.search-result-price {
    font-size: 0.85rem;
    color: var(--neon-cyan);
    font-weight: 800;
}

.search-no-results {
    width: 100%;
    text-align: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    margin-top: 20px;
    grid-column: 1 / -1;
}

/* Language Selector Widget */
.lang-widget {
    display: flex;
    gap: 4px;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
    margin-left: 10px;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 900;
    padding: 6px 10px;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 8px;
    text-transform: uppercase;
}

.lang-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.1);
}

.lang-btn.active {
    color: var(--bg-dark);
    background: var(--neon-cyan);
    box-shadow: 0 0 14px rgba(0, 243, 255, 0.35);
}

/* Theme Widget */
.theme-widget {
    position: relative;
    margin-left: 10px;
    display: inline-block;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--neon-cyan);
    padding: 8px 12px;
    font-size: 0.75rem;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-toggle-btn:hover {
    background: rgba(0, 243, 255, 0.1);
    box-shadow: 0 0 16px rgba(0, 243, 255, 0.22);
    border-color: var(--neon-cyan);
}

.theme-palette {
    position: absolute;
    top: 120%;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid var(--glass-border);
    padding: 10px;
    display: flex;
    gap: 10px;
    border-radius: 12px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: 0.2s ease;
    z-index: 1001;
    backdrop-filter: blur(10px);
    width: max-content;
}

.theme-palette.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.theme-option {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: 0.18s ease;
}

.theme-option:hover {
    transform: scale(1.15);
    border-color: #fff;
}

.theme-option[data-color='blue'] {
    background: #00f3ff;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.5);
}

.theme-option[data-color='green'] {
    background: #00ff66;
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.5);
}

.theme-option[data-color='pink'] {
    background: #ff00ff;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

.theme-option[data-color='yellow'] {
    background: #ffe600;
    box-shadow: 0 0 8px rgba(255, 230, 0, 0.5);
}

/* Keyframes */
@keyframes glitchText {
    0% {
        transform: translate(0, 0);
        text-shadow: 4px 4px 0px var(--neon-pink);
    }

    10% {
        transform: translate(-2px, 2px);
        text-shadow: -4px -4px 0px var(--neon-cyan);
    }

    20% {
        transform: translate(2px, -2px);
        text-shadow: 4px -4px 0px var(--neon-pink);
    }

    30% {
        transform: translate(0, 0);
        text-shadow: 4px 4px 0px var(--neon-cyan);
    }

    100% {
        transform: translate(0, 0);
        text-shadow: 4px 4px 0px var(--neon-pink);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .drawer {
        transition: opacity 0.2s !important;
        transform: none !important;
        opacity: 0;
        display: none;
    }

    .drawer.active {
        opacity: 1;
        display: flex;
    }
}

/* Mobile */
.mobile-handle {
    width: 60px;
    height: 6px;
    background: var(--glass-border);
    border-radius: 999px;
    margin: 10px auto 18px;
    flex-shrink: 0;
    display: none;
}

@media (max-width: 768px) {
    .mobile-handle {
        display: block;
    }

    .drawer-header {
        padding-top: 0;
    }

    .drawer {
        width: 100%;
        height: 90vh;
        top: auto;
        bottom: 0;
        transform: translateY(100%);
        border-left: none;
        border-top: 1px solid var(--neon-cyan);
        border-radius: 20px 20px 0 0;
    }

    .drawer.active {
        transform: translateY(0);
    }

    .product-grid {
        perspective: none;
    }

    .product-card {
        transform: none !important;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hamburger {
        display: block;
        font-size: 1.5rem;
        z-index: 1002;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 26px;
        z-index: 1001;
        transform: translateY(-100%);
        transition: transform 0.35s ease;
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.3rem;
    }

    .lang-widget {
        margin-left: 0;
        margin-top: 16px;
        justify-content: center;
        width: 100%;
        background: transparent;
        border: none;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
    }
}