:root {
    /* Clean Sky Series (Pure Blue & Bright White) */
    --gd-white: #FFFFFF;
    --gd-sky: #00D2FF;
    --gd-sky-rgb: 0, 210, 255;
    --gd-navy: #1A2A44;
    --gd-mist: #F8FAFC;
    --gd-sky-light: rgba(0, 210, 255, 0.1);
    --gd-black: #0A0F16;
    
    --glass-luminous: rgba(255, 255, 255, 0.98);
    --shadow-sky: 0 15px 40px rgba(0, 210, 255, 0.12);
    --sky-glow: 0 0 20px rgba(0, 210, 255, 0.3);
    --theme-close-btn: none;

    /* REFACTOR: Fluid Typography */
    --fs-h1: clamp(1.8rem, 8vw, 4.5rem);
    --fs-h2: clamp(1.5rem, 6vw, 3.5rem);
    --fs-h3: clamp(1.2rem, 5vw, 2.5rem);
    --fs-h4: clamp(1.1rem, 4vw, 1.8rem);
    --fs-body: clamp(0.9rem, 1vw + 0.5rem, 1.1rem);
    --fs-small: 0.85rem;

    /* REFACTOR: Layout Constants */
    --container-max-width: 1400px;
    --container-padding: 4rem;
    --gutter: 1.5rem;
    --gd-gold: #00D2FF; /* Replaced Brown-Gold with vibrant Cyan */
    --gd-gold-rgb: 0, 210, 255;
}

/* ===== DARK MODE VARIABLES ===== */
[data-theme="dark"] {
    --gd-white: #0A121E;
    --gd-mist: #152033;
    --gd-navy: #F8FAFC;
    --gd-black: #04080F;
    --gd-sky-light: rgba(0, 210, 255, 0.08);
    --glass-luminous: rgba(21, 32, 51, 0.95);
    --shadow-sky: 0 15px 40px rgba(0, 0, 0, 0.4);
}

/* ===== DARK MODE: Image Backgrounds Fix ===== */
[data-theme="dark"] .product-luxury-card a.d-block,
[data-theme="dark"] .product-img-wrapper,
[data-theme="dark"] [style*="background: var(--gd-mist)"],
[data-theme="dark"] [style*="background:var(--gd-mist)"],
[data-theme="dark"] [style*="background: #F8FAFC"],
[data-theme="dark"] [style*="background: white"],
[data-theme="dark"] [style*="background: #fff"],
[data-theme="dark"] [style*="background:#fff"],
[data-theme="dark"] [style*="background-color: white"],
[data-theme="dark"] [style*="background-color: #fff"] {
    background-color: #1C2E45 !important;
    background: #1C2E45 !important;
}

/* Category Cards Image Background */
[data-theme="dark"] .category-card,
[data-theme="dark"] .category-img-wrapper,
[data-theme="dark"] .swiper-slide .overflow-hidden {
    background: #1C2E45 !important;
}

/* Product Cards in Shop */
[data-theme="dark"] .product-luxury-card {
    background: #0F1E30 !important;
    border-color: rgba(0, 210, 255, 0.08) !important;
}

[data-theme="dark"] .product-luxury-card a.d-block {
    background: #1C2E45 !important;
    border-bottom-color: rgba(0, 210, 255, 0.06) !important;
}

/* Generic cards with white/mist background */
[data-theme="dark"] .card,
[data-theme="dark"] .depth-card {
    background: #0F1E30 !important;
    border-color: rgba(255,255,255,0.06) !important;
}

/* Any white bg-white or bg-light utility */
[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-light,
[data-theme="dark"] .bg-mist {
    background-color: #1C2E45 !important;
}

/* ===== product-img-bg class (light & dark) ===== */
.product-img-bg {
    background: var(--gd-mist);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    display: block;
}

[data-theme="dark"] .product-img-bg {
    background: #1A2E44 !important;
    border-bottom-color: rgba(0, 210, 255, 0.05) !important;
}

/* Shop page product image section bg */
.product-img-bg {
    background: transparent !important;
    display: block;
    text-decoration: none !important;
}

.product-img-bg img {
    mix-blend-mode: normal !important;
    filter: none !important;
}

[data-theme="dark"] .product-img-bg {
    background: transparent !important;
}

.banner-image-side {
    background: transparent !important;
}

.banner-image-side img {
    mix-blend-mode: normal !important;
    filter: none !important;
}

[data-theme="dark"] .banner-image-side {
    background: transparent !important;
}

/* Category Cards Transparency */
.category-slider-card {
    background: transparent !important;
}

.cat-main-img {
    mix-blend-mode: normal !important;
    filter: none !important;
}

/* Hero & section backgrounds */
[data-theme="dark"] .hero-section,
[data-theme="dark"] .section-bg {
    background: var(--gd-white) !important;
}

/* Text & muted colors in dark */
[data-theme="dark"] body {
    background-color: var(--gd-white);
    color: var(--gd-navy);
}

[data-theme="dark"] .text-muted {
    color: rgba(248, 250, 252, 0.5) !important;
}

[data-theme="dark"] p,
[data-theme="dark"] span,
[data-theme="dark"] li {
    color: inherit;
}


@media (max-width: 991.98px) {
    :root {
        --container-padding: 1rem;
        --gutter: 1rem;
    }
}

/* REFACTOR: Modern CSS Reset & Normalize */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

a, a:hover, a:focus, a:active {
    text-decoration: none !important;
}

i, .fas, .far, .fab {
    text-decoration: none !important;
    display: inline-block;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', 'Cairo', sans-serif;
    line-height: 1.6;
    color: var(--gd-navy);
    background-color: var(--gd-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* REFACTOR: Custom Native Grid System */
.g-container, .header-container {
    max-width: var(--container-max-width);
    margin-inline: auto;
    padding-inline: var(--container-padding);
}

.g-row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: calc(var(--gutter) / -1);
}

.g-col {
    flex: 1 0 0%;
    padding-inline: var(--gutter);
}

/* Utility Grid Classes (Mobile First) */
[class*="g-col-"] {
    padding-inline: var(--gutter);
}

.g-col-12 { flex: 0 0 100%; width: 100%; }

@media (min-width: 481px) {
    .g-col-sm-6 { flex: 0 0 50%; width: 50%; }
}

@media (min-width: 769px) {
    .g-col-md-6 { flex: 0 0 50%; width: 50%; }
    .g-col-md-4 { flex: 0 0 33.333%; width: 33.333%; }
    .g-col-md-3 { flex: 0 0 25%; width: 25%; }
}

@media (min-width: 1025px) {
    .g-col-lg-6 { flex: 0 0 50%; width: 50%; }
    .g-col-lg-5 { flex: 0 0 41.666%; width: 41.666%; }
    .g-col-lg-4 { flex: 0 0 33.333%; width: 33.333%; }
    .g-col-lg-3 { flex: 0 0 25%; width: 25%; }
}

/* REFACTOR: Logic Utilities */
.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.w-100 { width: 100% !important; }
.h-100 { height: 100% !important; }
.gap-1 { gap: 0.5rem !important; }
.gap-2 { gap: 1rem !important; }
.gap-3 { gap: 1.5rem !important; }
.sticky-top { position: sticky; top: 0; z-index: 1020; }

[data-theme="dark"] {
    --gd-white: #0A121E;
    --gd-mist: #152033;
    --gd-navy: #F0F8FF;
    --gd-black: #04080F;
    --gd-sky-light: rgba(0, 210, 255, 0.1);

    --glass-luminous: rgba(21, 32, 51, 0.95);
    --shadow-sky: 0 25px 60px rgba(0, 0, 0, 0.4);
    --sky-glow: 0 0 30px rgba(0, 210, 255, 0.4);
    --theme-close-btn: invert(1);
}

/* Essential Utility Overrides for Dark Mode */
[data-theme="dark"] .text-dark,
[data-theme="dark"] .text-black,
[data-theme="dark"] .text-navy,
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6 {
    color: var(--gd-navy) !important;
}

[data-theme="dark"] .text-muted {
    color: var(--gd-navy) !important;
    opacity: 0.6 !important;
}

[data-theme="dark"] .bg-white,
[data-theme="dark"] .bg-light {
    background-color: var(--gd-white) !important;
}

[data-theme="dark"] .border,
[data-theme="dark"] .border-bottom,
[data-theme="dark"] .border-top {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .card,
[data-theme="dark"] .modal-content {
    background-color: var(--gd-mist) !important;
    color: var(--gd-navy) !important;
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea,
[data-theme="dark"] .form-control {
    background-color: var(--gd-mist) !important;
    color: var(--gd-navy) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Global Table Dark Mode Fix */
[data-theme="dark"] .table {
    --bs-table-bg: transparent !important;
    --bs-table-color: var(--gd-navy) !important;
    color: var(--gd-navy) !important;
}

[data-theme="dark"] .table tr,
[data-theme="dark"] .table td,
[data-theme="dark"] .table th {
    background-color: transparent !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--gd-navy) !important;
}

[data-theme="dark"] .table thead th {
    color: var(--gd-sky) !important;
}

[data-theme="dark"] select option {
    background-color: var(--gd-mist) !important;
    color: var(--gd-navy) !important;
}

[data-theme="dark"] .form-label {
    color: var(--gd-navy) !important;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Hide Number Spinners Globally */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
    display: none !important;
}

input[type=number] {
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

html,
body {
    overflow-x: hidden !important;
    /* Prevent ANY horizontal page jiggle */
    max-width: 100%;
}

/* Force Dropdown Menus to escape clipping */
.dropdown-menu {
    position: absolute !important;
    overflow: visible !important;
    z-index: 9999 !important;
}

body {
    font-family: 'Montserrat', 'Cairo', sans-serif;
    color: var(--gd-navy);
    background-color: var(--gd-white);
    letter-spacing: 0.5px;
}

img {
    max-width: 100%;
    height: auto;
}

.container,
.container-fluid {
    max-width: 100vw;
}

h1 {
    font-size: var(--fs-h1);
    line-height: 1.1;
}

h2 {
    font-size: var(--fs-h2);
}

h3 {
    font-size: var(--fs-h3);
}

h4 {
    font-size: var(--fs-h4);
}

h1,
h2,
h3,
h4,
.brand-title {
    font-family: 'Amiri', serif;
    font-weight: 700;
}

/* 3D Visual Effects (Sky Joy Style) */
.depth-card {
    background: var(--gd-white);
    border: 1px solid rgba(0, 210, 255, 0.15);
    box-shadow: 0 10px 30px rgba(26, 42, 68, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.depth-card:hover {
    box-shadow: 0 30px 60px rgba(0, 210, 255, 0.15);
    border-color: var(--gd-sky) !important;
    transform: translateY(-8px);
}

.premium-3d-card {
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    background: var(--gd-white) !important;
}

/* Modern Vibrant House Logo */
.vibrant-brand-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: transform 0.3s ease;
}

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

.logo-top-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: -5px;
}

/* Absolute Identity Symmetry Logo */
.vibrant-brand-logo {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: none !important;
}

.vibrant-brand-logo:hover {
    transform: scale(1.05) translateY(-2px);
}

.logo-svg-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    /* High-End "Sky Halo" tailored for pure white backgrounds */
    filter: drop-shadow(0 0 1px rgba(0, 210, 255, 0.4)) drop-shadow(0 10px 20px rgba(26, 42, 68, 0.1));
    overflow: visible !important;
}

.logo-footer-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 5px;
    color: var(--gd-sky);
    text-transform: uppercase;
    margin-top: 5px;
}

/* Vibrant Clean Sky Elements */
.text-gold,
.text-sky,
.text-navy {
    color: var(--gd-navy) !important;
}

.text-gold,
.text-sky {
    color: var(--gd-sky) !important;
}

.bg-gold,
.bg-sky {
    background: var(--gd-sky) !important;
    color: var(--gd-white) !important;
}

.border-gold,
.border-sky {
    border-color: var(--gd-sky) !important;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gd-sky) 0%, #0099CC 100%);
    color: var(--gd-white) !important;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-gold:hover {
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.45);
    transform: translateY(-3px);
    filter: brightness(1.1);
}

.btn-sky {
    background: linear-gradient(135deg, var(--gd-sky) 0%, #0099CC 100%);
    color: var(--gd-white) !important;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-sky:hover {
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.45);
    transform: translateY(-3px);
    filter: brightness(1.1);
}

/* Top Bar */
.top-bar {
    background-color: var(--gd-black);
    color: #FFFFFF;
    font-size: 0.8rem;
    padding: 10px 0;
    font-weight: 600;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 1;
}

/* Unified Premium Navbar */
.navbar {
    background: var(--glass-luminous) !important;
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--gd-mist);
    z-index: 1100;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(26, 42, 68, 0.03);
}

.nav-link {
    color: var(--gd-navy) !important;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    opacity: 0.85;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gd-sky) !important;
    opacity: 1;
    transform: none;
    font-weight: 700;
}

.navbar-brand {
    margin: 0 !important;
    padding: 0;
}

.navbar-brand img {
    max-height: 55px;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 0.8rem 0;
    }

    .navbar-brand img {
        max-height: 45px;
    }

    .navbar-brand {
        min-width: 110px !important;
    }

    .icon-circle-btn {
        width: 34px;
        height: 34px;
    }

    .icon-circle-btn i {
        font-size: 0.95rem;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(5px);
        z-index: 1050;
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
    }

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

@media (max-width: 480px) {
    .navbar-brand img {
        max-height: 38px;
    }

    .navbar-brand {
        min-width: 90px !important;
    }

    .nav-link.icon-circle-btn {
        margin: 0 4px;
    }
}

/* Clean Sky Footer Styles */
.footer-link {
    color: var(--gd-navy);
    text-decoration: none;
    display: block;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: 0.3s;
    opacity: 0.8;
}

.footer-link:hover {
    color: var(--gd-sky) !important;
    transform: translateX(-5px);
    opacity: 1;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--gd-white);
    color: var(--gd-navy);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 210, 255, 0.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-decoration: none !important;
}

.social-btn:hover {
    background: var(--gd-sky);
    color: white !important;
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
    border-color: transparent;
}

[data-theme="dark"] .social-btn {
    background: var(--gd-mist);
    border-color: rgba(255, 255, 255, 0.05);
}

.text-white-muted {
    color: var(--gd-navy) !important;
    opacity: 0.6;
}

/* ==========================================================================
   REFACTOR: Pure CSS Responsive Navbar (No Frameworks)
   ========================================================================== */

/* --- 1. Mobile-First Base Styles (Default to Small Screens) --- */

/* Main Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

/* Pure Flexbox Row */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4.5rem; /* ~72px for mobile */
}

/* Base Flex Columns (3-Part Logic) */
.header-start, .header-center, .header-end {
    display: flex;
    align-items: center;
}

.header-start {
    flex: 1;
    justify-content: flex-start;
    gap: 1rem; /* Reduced gap on mobile */
}

@media (max-width: 480px) {
    .header-start {
        gap: 0.5rem;
    }
}

.header-center {
    flex: 0 0 auto; /* Forces Logo to strict absolute center regardless of side columns */
    justify-content: center;
}

.header-end {
    flex: 1;
    justify-content: flex-end;
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 2.2rem;
    height: 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-inline-end: 0.5rem;
}

.mobile-toggle-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--gd-navy);
    border-radius: 2px;
    transition: 0.3s ease;
}

/* Hide Desktop Elements on Mobile */
.desktop-navigation,
.lang-switcher-desktop {
    display: none;
}

/* Brand SVG Layout */
.header-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.brand-svg {
    width: 6rem; /* ~96px for tiny/standard mobile screens */
    max-width: 100%;
    height: auto;
    transition: width 0.3s ease;
}

@media (min-width: 480px) {
    .brand-svg {
        width: 7rem; /* ~112px for larger phones/tablets */
    }
}

/* Tool Buttons (Search, Heart, Cart, User, Moon) */
.header-tools {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Tighter gap since icons have 3D circular backgrounds */
}

.tool-btn {
    color: var(--gd-navy);
    font-size: 1.15rem;
    text-decoration: none;
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border: 1px solid rgba(0, 0, 0, 0.02);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    box-shadow: 
        4px 4px 10px rgba(0, 0, 0, 0.05), 
        -4px -4px 10px rgba(255, 255, 255, 0.9);
}

@media (max-width: 480px) {
    .tool-btn {
        width: 2.5rem !important;
        height: 2.5rem !important;
        font-size: 1.1rem !important;
        margin: 0 1px !important;
        overflow: visible !important; /* Prevent clipping of badges/shadows */
    }
    .header-tools {
        gap: 0.3rem;
    }
    .cart-badge {
        width: 16px !important;
        height: 16px !important;
        font-size: 9px !important;
        top: -3px !important;
        right: -3px !important;
    }
}

.tool-btn:hover {
    color: var(--gd-sky);
    transform: translateY(-2px);
    box-shadow: 
        6px 6px 15px rgba(0, 210, 255, 0.15), 
        -4px -4px 10px rgba(255, 255, 255, 0.9);
    background: linear-gradient(145deg, #f8f9fa, #ffffff);
}

[data-theme="dark"] .tool-btn {
    background: linear-gradient(145deg, #152033, #0A121E);
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 
        4px 4px 10px rgba(0, 0, 0, 0.3), 
        -2px -2px 8px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .tool-btn:hover {
    background: var(--gd-sky);
    color: #FFFFFF !important;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

.position-relative {
    position: relative;
}

/* Clean Custom Cart Badge */
.cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    background-color: #EF4444; /* Alert Red */
    border-radius: 20px;
    color: white;
    font-size: 0.65rem;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    z-index: 5;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.mobile-theme-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 210, 255, 0.2);
    background: rgba(0, 210, 255, 0.05);
    color: var(--gd-sky);
    font-weight: 700;
    font-family: 'Montserrat', 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.mobile-theme-btn:active {
    transform: scale(0.98);
    background: rgba(0, 210, 255, 0.1);
}

[data-theme="dark"] .mobile-theme-btn {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.3);
    color: var(--gd-white);
}

[data-theme="dark"] .mobile-theme-btn i {
    color: #FFD700;
}
.cart-badge.hidden {
    display: none;
}
[dir="rtl"] .cart-badge {
    right: auto;
    left: -2px;
}

/* Language Switcher Buttons */
.lang-btn {
    text-decoration: none;
    color: var(--gd-navy);
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    transition: 0.3s;
}
.lang-btn.active, .lang-btn:hover {
    color: var(--gd-sky);
}

/* Custom Accessibility Dropdown */
.user-menu-wrapper {
    position: relative;
}

.user-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.75rem;
    background-color: var(--gd-white);
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 0.5rem;
    min-width: 160px;
    flex-direction: column;
    padding: 0.5rem 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    z-index: 1050;
}
[dir="rtl"] .user-dropdown-menu {
    left: auto;
    right: 0;
}
.user-dropdown-menu.show {
    display: flex;
}

.dropdown-link, .logout-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    color: var(--gd-navy);
    background: none;
    border: none;
    text-align: start;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s ease;
}
.logout-btn { color: #EF4444; }
.dropdown-link:hover, .logout-btn:hover {
    background-color: rgba(0, 0, 0, 0.03);
    color: var(--gd-sky);
}
.dropdown-divider {
    border: 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    margin: 0.5rem 0;
}

/* --- Mobile Drawer Navigation (Side Menu) --- */
.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.drawer-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%; /* Hidden entirely off-screen in RTL */
    width: 100vw; /* Base width handles all screens safely */
    max-width: 22rem; /* Cap off cleanly for tablets/small laptops */
    height: 100vh;
    background-color: var(--gd-black);
    z-index: 2050;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.75rem;
    transition: right 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    box-shadow: -5px 0 35px rgba(0,0,0,0.5);
    overflow-y: auto; /* Allow scrolling inside drawer if viewport is short */
}
[dir="ltr"] .mobile-drawer {
    right: auto;
    left: -100%;
    transition: left 0.4s cubic-bezier(0.7, 0, 0.3, 1);
    box-shadow: 5px 0 35px rgba(0,0,0,0.5);
}

.mobile-drawer.visible { right: 0 !important; }
[dir="ltr"] .mobile-drawer.visible { left: 0 !important; }

.drawer-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.drawer-title {
    color: var(--gd-sky);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15rem;
}

.drawer-close-btn {
    background: none;
    border: none;
    color: var(--gd-sky);
    font-size: 1.75rem;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s;
}
.drawer-close-btn:hover {
    transform: rotate(90deg);
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mobile-nav-link {
    display: block;
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.25rem; /* Highly readable font-size */
    font-weight: 600;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.3s;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--gd-sky);
}

.drawer-footer {
    margin-top: auto;
    padding-top: 2.5rem;
}

.lang-switcher-mobile {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.lang-switcher-mobile .lang-btn {
    color: #FFFFFF;
    font-size: 1rem;
}
.lang-switcher-mobile .lang-btn.active {
    color: var(--gd-sky);
}

/* ==========================================================================
   2. Responsive Desktop Breakpoints (Laptops & Large Screens)
   ========================================================================== */
@media (min-width: 992px) {
    /* Hard-Hide Mobile UI Logic on Desktop */
    .mobile-toggle-btn,
    .mobile-drawer,
    .drawer-overlay {
        display: none !important;
    }

    /* Un-Hide Desktop Navigation Elements */
    .desktop-navigation,
    .lang-switcher-desktop {
        display: flex;
        align-items: center;
    }

    /* Desktop Navigation List Layout */
    .nav-list {
        display: flex;
        align-items: center;
        list-style: none;
        gap: 1.25rem; /* Tighter Spacing to fit 4 elements properly */
        margin: 0;
        padding: 0;
        white-space: nowrap; /* Prevent external wrap */
    }

    /* Desktop Links Styling */
    .nav-link {
        color: var(--gd-navy);
        text-decoration: none;
        font-family: inherit;
        font-size: 0.95rem; /* Refined tighter font size */
        font-weight: 700;
        padding: 0.5rem 0;
        border-bottom: 2px solid transparent; /* Underline indicator logic */
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        text-transform: uppercase;
        letter-spacing: 0.05rem;
        white-space: nowrap; /* CRITICAL: Prevent Arabic words from breaking into two lines */
    }

    .nav-link:hover, .nav-link.active {
        color: var(--gd-sky);
        border-bottom-color: var(--gd-sky);
    }
    
    /* Navigation Dropdown Logic (Categories) */
    .nav-item-dropdown {
        position: relative;
    }
    .custom-dropdown-menu {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(15px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 12px;
        min-width: 220px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
        list-style: none;
        padding: 10px 0;
        margin: 0;
        z-index: 1050;
        display: flex;
        flex-direction: column;
    }
    .nav-item-dropdown:hover .custom-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(0);
    }
    .custom-dropdown-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(0,0,0,0.03);
    }
    .custom-dropdown-menu li:last-child {
        border-bottom: none;
    }
    .custom-dropdown-menu li a {
        display: block;
        padding: 12px 20px;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--gd-navy);
        text-decoration: none;
        transition: 0.2s;
    }
    .custom-dropdown-menu li a:hover {
        background: rgba(0, 210, 255, 0.03);
        color: var(--gd-sky);
        padding-inline-start: 25px; /* RTL aware hover indent */
    }

    /* Refined Luxury Scale for Laptops/Desktops */
    .brand-svg {
        width: 8.75rem; /* Strict 140px size to prevent overlap */
    }

    /* Enhance Header Profile Height for Desktop */
    .header-inner {
        height: 5.5rem; /* ~88px */
    }
}
/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.4s ease forwards;
}

/* REFACTOR: Pure CSS/Minimal JS Modal System */
.g-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 2000;
}

.g-modal.show {
    opacity: 1;
    visibility: visible;
}

.g-modal-content {
    background: var(--gd-white);
    width: 90%;
    max-width: 800px;
    padding: 2.5rem;
    border-radius: 0;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gd-sky);
}

.g-modal.show .g-modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gd-navy);
    transition: 0.3s;
}

.close-modal:hover {
    color: var(--gd-sky);
}

/* Precision Language Pill Switcher - Match Screenshot Toggle */
.lang-pill-switcher {
    background: #FFFFFF;
    border-radius: 50px;
    padding: 2px;
    border: 1px solid #E2E8F0;
    display: inline-flex;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.lang-btn {
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    color: var(--gd-navy);
    border: 1px solid rgba(0,0,0,0.1);
    background: transparent;
    line-height: 1.5;
}

.lang-btn.active {
    background: var(--gd-sky);
    color: white !important;
    border-color: var(--gd-sky);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.lang-btn:not(.active):hover {
    color: var(--gd-sky);
    border-color: rgba(0, 210, 255, 0.3);
    background: rgba(0, 210, 255, 0.05);
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: #E2E8F0;
    margin: 0 5px;
}

.badge-dot {
    position: absolute;
    top: -2px;
    right: -4px;
    width: 8px;
    height: 8px;
    background: #ff4757;
    border-radius: 50%;
    border: 2px solid var(--gd-white);
}

.dropdown-menu {
    border-radius: 0;
    border: 1px solid var(--gd-mist);
    margin-top: 15px !important;
    padding: 10px 0;
}

.dropdown-item {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gd-navy);
    padding: 10px 20px;
    transition: 0.3s;
}

.dropdown-item:hover {
    background: var(--gd-mist);
    color: var(--gd-sky);
    padding-inline-start: 25px;
}

.no-caret::after {
    display: none !important;
}

/* Minimalist Luxury Dropdown Styling */
.minimalist-menu-content {
    min-width: 280px;
    border-radius: 15px !important;
    background: var(--glass-luminous) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 8px 0 !important;
}

.minimalist-menu-item {
    transition: all 0.3s ease;
    border-radius: 8px;
    margin: 2px 8px;
    color: var(--gd-navy);
}

.minimalist-menu-item:hover,
.minimalist-menu-item.active {
    background: var(--gd-sky-light) !important;
    color: var(--gd-sky) !important;
    padding-inline-start: 30px !important;
}

.category-bullet {
    width: 6px;
    height: 6px;
    background: var(--gd-gold);
    border-radius: 50%;
    display: inline-block;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.minimalist-menu-item:hover .category-bullet {
    opacity: 1;
    transform: scale(1.5);
    box-shadow: 0 0 10px var(--gd-gold);
}

.minimalist-menu-item i {
    transition: transform 0.3s ease;
}

.minimalist-menu-item:hover i {
    transform: translateX(5px);
}

[dir="rtl"] .minimalist-menu-item:hover i {
    transform: translateX(-5px) rotate(180deg);
}

@media (max-width: 991.98px) {
    .minimalist-menu-content {
        background: transparent !important;
        backdrop-filter: none !important;
        border: none !important;
        box-shadow: none !important;
        padding-inline-start: 15px !important;
    }

    .minimalist-menu-item {
        margin: 0;
        padding-left: 0 !important;
    }
}

/* Fix Line Clamp Warning */
.piece-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gd-navy);
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 4s ease-in-out infinite;
}

.badge-cart {
    background: var(--gd-gold);
    color: var(--gd-black);
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

::placeholder {
    color: var(--gd-navy) !important;
    opacity: 0.5 !important;
}

[data-theme="dark"] ::placeholder {
    color: var(--gd-navy) !important;
    opacity: 0.4 !important;
}

/* Unified Premium Product Card Styles */
.premium-3d-card {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    background: var(--gd-white);
    border-bottom: 3px solid var(--gd-sky) !important;
}

.premium-3d-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
}

.card-image-layer {
    transition: 0.5s ease-in-out;
    overflow: hidden;
    background: var(--gd-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.card-image-layer img {
    transition: 0.5s ease-in-out;
    object-fit: contain !important;
}

.premium-3d-card:hover .card-image-layer img {
    transform: scale(1.05);
}

.product-actions-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    transition: 0.4s ease-in-out;
    z-index: 20;
}

.premium-3d-card:hover .product-actions-overlay {
    opacity: 1;
}

.action-btn {
    width: 45px;
    height: 45px;
    background: var(--gd-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gd-sky);
    text-decoration: none;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
    opacity: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: none;
}

.premium-3d-card:hover .action-btn {
    transform: translateY(0);
    opacity: 1;
}

.premium-3d-card:hover .action-btn:nth-child(1) {
    transition-delay: 0.05s;
}

.premium-3d-card:hover .action-btn:nth-child(2) {
    transition-delay: 0.1s;
}

.premium-3d-card:hover .action-btn:nth-child(3) {
    transition-delay: 0.15s;
}

.action-btn:hover {
    background: var(--gd-sky) !important;
    color: white !important;
    transform: scale(1.1) !important;
}

.card-badge-layer {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 30;
}

.badge-luxury {
    background: var(--gd-sky);
    color: white !important;
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.banner-shop-btn {
    background: var(--gd-black);
    color: var(--gd-gold);
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
}

.banner-shop-btn:hover {
    background: var(--gd-gold);
    color: var(--gd-black);
    transform: translateY(-3px);
}

/* Set Details Redesign (Premium Optimized) */
.piece-premium-card {
    background: var(--gd-white);
    border: 1px solid var(--gd-mist);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-bottom: 2px solid transparent;
}

.piece-premium-card:hover {
    transform: translateY(-5px);
    border-bottom-color: var(--gd-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.piece-img-box {
    width: 100%;
    aspect-ratio: 1/1;
    background: var(--gd-mist);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.piece-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: 0.5s ease;
}

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

.piece-info-box {
    padding: 12px;
    text-align: center;
    background: var(--gd-white);
}

.piece-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gd-navy);
    margin-bottom: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.piece-desc {
    font-size: 0.75rem;
    color: var(--gd-navy);
    opacity: 0.6;
    margin-top: 4px;
    line-height: 1.4;
    display: block;
}

.piece-quantity-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--gd-sky) 0%, #0099CC 100%);
    color: var(--gd-white);
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 210, 255, 0.35);
    z-index: 5;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.piece-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    color: var(--gd-navy);
}

.piece-quantity-badge .piece-num {
    color: var(--gd-white);
}

.branded-add-to-cart-bar {
    background: linear-gradient(135deg, var(--gd-sky) 0%, #0099CC 100%);
    color: var(--gd-white) !important;
    border: none;
    width: 100%;
    padding: 16px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 24px rgba(0, 210, 255, 0.28);
}

.branded-add-to-cart-bar:hover {
    background: linear-gradient(135deg, #33ddff 0%, #00a8d9 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 32px rgba(0, 210, 255, 0.4);
    filter: brightness(1.02);
}

.set-price-large {
    color: #00A8FF;
    font-weight: 800;
    font-size: 2.8rem;
    font-family: 'Montserrat', sans-serif;
    letter-spacing: -1px;
}

.set-title-main {
    font-family: 'Amiri', serif !important;
    font-weight: 800;
    font-size: 2.4rem;
    color: var(--gd-navy);
    line-height: 1.2;
}

/* Lightbox Overlay */
#g-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

#g-lightbox.active {
    display: flex;
    opacity: 1;
}

#g-lightbox img {
    max-width: 90%;
    max-height: 85vh;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#g-lightbox.active img {
    transform: scale(1);
}

#g-lightbox .close-lightbox {
    position: absolute;
    top: 30px;
    right: 30px;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10001;
}

#g-lightbox .close-lightbox:hover {
    color: var(--gd-gold);
    transform: rotate(90deg);
}

.lightbox-trigger {
    cursor: zoom-in;
}

/* Testimonial Slider Styles (Clean Sky Optimized) */
.reviews-section {
    background: var(--gd-mist);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--gd-sky-light);
}

.reviews-swiper {
    padding: 40px 20px !important;
    margin: -40px -20px !important;
}

@media (min-width: 992px) {
    .reviews-swiper .review-card {
        padding: 28px 22px;
    }

    .reviews-swiper .review-comment {
        font-size: 1rem;
    }
}

.review-card {
    background: var(--gd-white);
    border: 1px solid rgba(0, 210, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(26, 42, 68, 0.04);
}

.review-card:hover {
    border-color: var(--gd-sky);
    box-shadow: 0 20px 50px rgba(0, 210, 255, 0.12);
    transform: translateY(-10px);
}

.review-stars {
    color: var(--gd-sky);
    margin-bottom: 20px;
    font-size: 1.2rem;
    filter: drop-shadow(0 0 5px rgba(0, 210, 255, 0.2));
}

.review-comment {
    font-style: italic;
    color: var(--gd-navy);
    margin-bottom: 25px;
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.9;
}

.review-author {
    font-family: 'Amiri', serif;
    color: var(--gd-navy);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: auto;
}

.review-date {
    font-size: 0.75rem;
    color: var(--gd-navy);
    opacity: 0.5;
    margin-top: 5px;
}

/* Floating Review Button */
.btn-review-trigger {
    background: linear-gradient(135deg, var(--gd-sky) 0%, #0099CC 100%);
    color: var(--gd-white) !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 210, 255, 0.3);
    transition: 0.3s;
    border: none;
}

.btn-review-trigger:hover {
    background: linear-gradient(135deg, #33ddff 0%, #00a8d9 100%);
    color: var(--gd-white) !important;
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 210, 255, 0.45);
}

.btn-review-trigger i {
    color: var(--gd-white) !important;
}

/* Responsive Refinements */
@media (max-width: 991.98px) {
    .navbar {
        padding: 1rem 0;
    }

    .nav-link {
        margin: 10px 0;
        font-size: 0.95rem;
    }

    .navbar-brand img {
        max-height: 45px;
    }

    .footer-logo {
        font-size: 2rem;
    }

    footer {
        padding: 50px 0 30px;
    }
}

@media (max-width: 767.98px) {
    .top-bar {
        font-size: 0.7rem;
    }

    .action-btn {
        width: 40px;
        height: 40px;
    }

    .review-card {
        padding: 25px;
    }

    .set-price-large {
        font-size: 2.2rem;
    }

    .set-title-main {
        font-size: 1.8rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand .h3 {
        font-size: 1rem !important;
    }

    .navbar-brand div {
        height: 18px !important;
        margin: 0 8px !important;
    }

    .btn-review-trigger {
        width: 100%;
        padding: 12px;
    }

    .navbar .nav-link {
        margin: 0 5px;
        padding: 5px !important;
    }

    .navbar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .badge-cart {
        width: 15px;
        height: 15px;
        font-size: 0.6rem;
    }
}

/* Custom Hamburger Toggler (Mobile Only) */
@media (max-width: 991.98px) {
    .custom-toggler {
        width: 30px;
        height: 20px;
        position: relative;
        cursor: pointer;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        z-index: 1500;
    }

    .custom-toggler span {
        display: block;
        height: 2px;
        width: 100%;
        background: var(--gd-gold);
        border-radius: 2px;
        transition: 0.3s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    }

    .custom-toggler.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .custom-toggler.active span:nth-child(2) {
        opacity: 0;
    }

    .custom-toggler.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Ensure toggler is hidden on desktop by default */
.custom-toggler {
    display: none !important;
    visibility: hidden !important;
}

@media (max-width: 991.98px) {
    .custom-toggler {
        display: flex !important;
        visibility: visible !important;
    }
}

/* Premium Mobile Menu Drawer (Clean Sky Refresh) */
@media (max-width: 991.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        bottom: 0;
        right: -320px;
        width: 280px;
        max-width: 80%;
        background: var(--gd-white);
        z-index: 1200;
        display: block !important;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        padding: 30px 20px;
        box-shadow: -15px 0 50px rgba(26, 42, 68, 0.1);
        border-left: 3px solid var(--gd-sky);
        height: 100vh !important;
        height: 100dvh !important;
        overflow-y: auto;
    }

    .navbar-nav .nav-link {
        font-size: 1rem !important;
        font-family: 'Amiri', serif !important;
        margin: 5px 0 !important;
        text-align: right;
        border-bottom: 1px solid var(--gd-mist);
        padding-bottom: 12px !important;
        opacity: 0;
        transform: translateX(20px);
        transition: all 0.4s ease;
        display: block !important;
        color: var(--gd-navy) !important;
        letter-spacing: 0;
    }

    .navbar-collapse.show .nav-link {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(0);
    }

    .navbar-collapse.show .nav-link.active,
    .navbar-collapse.show .nav-link.active-lang,
    .navbar .nav-link.active {
        color: var(--gd-gold) !important;
        font-weight: 700 !important;
    }

    .navbar-collapse.show .nav-link.active,
    .navbar-collapse.show .nav-link.active-lang {
        background: rgba(0, 168, 255, 0.05);
    }

    /* Staggered animation */
    .navbar-collapse.show .nav-item:nth-child(1) .nav-link {
        transition-delay: 0.1s;
    }

    .navbar-collapse.show .nav-item:nth-child(2) .nav-link {
        transition-delay: 0.15s;
    }

    .navbar-collapse.show .nav-item:nth-child(3) .nav-link {
        transition-delay: 0.2s;
    }

    .navbar-collapse.show .nav-item:nth-child(4) .nav-link {
        transition-delay: 0.25s;
    }

    .navbar-collapse.show .nav-item:nth-child(5) .nav-link {
        transition-delay: 0.3s;
    }

    .navbar-collapse.show .nav-item:nth-child(6) .nav-link {
        transition-delay: 0.35s;
    }

    .navbar-collapse.show {
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(8px);
        z-index: 1140;
        display: none;
        opacity: 0;
        transition: opacity 0.4s ease;
    }

    .mobile-menu-overlay.active {
        display: block;
        opacity: 1;
    }
}

/* Prevent potential horizontal overflow from 3D cards */
.premium-3d-card {
    max-width: 100%;
}

@media (max-hover: none) {
    .depth-card:hover {
        transform: none !important;
    }

    .premium-3d-card:hover {
        transform: translateY(-5px) !important;
    }
}

/* Custom Premium Pagination */
.pagination {
    gap: 5px;
}

.page-item .page-link {
    border: none;
    border-radius: 8px;
    color: var(--gd-navy);
    background-color: var(--gd-mist);
    font-weight: 600;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .page-item .page-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--gd-sky);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--gd-sky) 0%, var(--gd-navy) 100%);
    color: var(--gd-white) !important;
    box-shadow: 0 4px 10px rgba(0, 210, 255, 0.3);
}

.page-item .page-link:hover {
    transform: translateY(-2px);
    background-color: var(--gd-sky);
    color: var(--gd-white);
    box-shadow: 0 4px 10px rgba(0, 210, 255, 0.2);
}

[data-theme="dark"] .page-item .page-link:hover {
    background-color: var(--gd-sky);
    color: var(--gd-white) !important;
}

.page-item.disabled .page-link {
    background-color: var(--gd-mist);
    color: #999;
    opacity: 0.5;
    pointer-events: none;
    transform: none;
    box-shadow: none;
}

[data-theme="dark"] .page-item.disabled .page-link {
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.4);
}

.page-item .page-link.prev::after {
    content: '\f104';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

.page-item .page-link.next::after {
    content: '\f105';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
}

[dir="rtl"] .page-item .page-link.prev::after {
    content: '\f105';
}

[dir="rtl"] .page-item .page-link.next::after {
    content: '\f104';
}

.icon-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gd-white);
    color: var(--gd-navy);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--gd-mist);
    padding: 0 !important;
    text-decoration: none;
}

.icon-circle-btn i {
    font-size: 1.1rem;
}

.icon-circle-btn:hover {
    background: linear-gradient(135deg, var(--gd-sky) 0%, #00d2d3 100%);
    color: var(--gd-white) !important;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.3);
}

[data-theme="dark"] .icon-circle-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gd-white);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .icon-circle-btn:hover {
    background: var(--gd-sky);
    box-shadow: 0 5px 15px rgba(0, 210, 255, 0.2);
}

/* Footer Social Buttons */
.social-circle-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gd-white);
    color: var(--gd-navy);
    border: 1.5px solid var(--gd-sky);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none !important;
    box-shadow: 0 4px 10px rgba(0, 210, 255, 0.1);
}

.social-circle-btn:hover {
    background: var(--gd-sky);
    color: var(--gd-white) !important;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 210, 255, 0.4);
    border-color: transparent;
}

[data-theme="dark"] .social-circle-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gd-white);
    border-color: rgba(0, 210, 255, 0.3);
}

[data-theme="dark"] .social-circle-btn:hover {
    background: var(--gd-sky);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3);
}

.dropdown-user-btn::after {
    display: none !important;
    /* Hide default Bootstrap caret */
}

.badge-cart {
    top: -5px !important;
    right: -5px !important;
    left: auto !important;
    transform: scale(0.85);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

[dir="rtl"] .badge-cart {
    left: -5px !important;
    right: auto !important;
}

/* ==========================================================================
   HEADER DARK MODE OVERRIDES
   ========================================================================== */
[data-theme="dark"] .site-header {
    background-color: rgba(15, 23, 42, 0.95); /* Deep slate navy */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .nav-link {
    color: var(--gd-white);
}

[data-theme="dark"] .lang-btn {
    color: var(--gd-white);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: var(--gd-sky);
}

[data-theme="dark"] .lang-btn.active {
    background: var(--gd-sky);
    color: #fff !important;
    border-color: var(--gd-sky);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.5);
}

[data-theme="dark"] .lang-btn:not(.active):hover {
    color: var(--gd-sky);
    border-color: rgba(0, 210, 255, 0.4);
    background: rgba(0, 210, 255, 0.1);
}

/* 3D Tools Neumorphism for Dark Backgrounds */
[data-theme="dark"] .tool-btn {
    color: var(--gd-white);
    background: linear-gradient(145deg, #1e293b, #0f172a);
    border: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 
        5px 5px 12px rgba(0, 0, 0, 0.4), 
        -2px -2px 8px rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .tool-btn:hover {
    color: var(--gd-sky);
    background: linear-gradient(145deg, #25334a, #111a2e);
    box-shadow: 
        6px 6px 15px rgba(0, 0, 0, 0.5), 
        -2px -2px 8px rgba(255, 255, 255, 0.05),
        0 0 10px rgba(0, 210, 255, 0.15);
}

/* Category Dropdown for Dark Mode */
[data-theme="dark"] .custom-dropdown-menu {
    background: rgba(15, 23, 42, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .custom-dropdown-menu li a {
    color: var(--gd-navy);
}

[data-theme="dark"] .custom-dropdown-menu li a:hover {
    background: rgba(0, 210, 255, 0.08);
    color: var(--gd-sky);
}

[data-theme="dark"] .mobile-toggle-btn span {
    background-color: var(--gd-white);
}

[data-theme="dark"] .mobile-drawer {
    background-color: var(--gd-black) !important;
}

[data-theme="dark"] .mobile-nav-link,
[data-theme="dark"] .drawer-title {
    color: var(--gd-navy) !important;
}

/* Logo Contrast for Dark Mode */
[data-theme="dark"] .brand-svg text[fill="#1A2A44"] {
    fill: #F1F5F9; /* Off-white for the main navy text */
}

[data-theme="dark"] .brand-svg path[stroke="#1A2A44"] {
    stroke: #F1F5F9;
}

[data-theme="dark"] .brand-svg rect[fill="#1A2A44"] {
    fill: #F1F5F9;
}

[data-theme="dark"] .brand-svg tspan[fill="#1A2A44"] {
    fill: #F1F5F9;
}

/* Inline Editor Styles */
.inline-editable {
    position: relative;
    cursor: text;
    transition: all 0.3s ease;
    display: inline-block;
    min-width: 10px;
    border: 1px dashed transparent;
    padding: 2px 4px;
    border-radius: 4px;
}
.inline-editable:hover {
    border-color: var(--gd-sky);
    background: rgba(0, 210, 255, 0.05);
}
.inline-editable:focus {
    outline: none !important;
    background: rgba(0, 210, 255, 0.1) !important;
    border-color: var(--gd-sky) !important;
}
.inline-editable::after {
    content: "\f303";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 0.7rem;
    background: var(--gd-sky);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
    z-index: 100;
}
.inline-editable:hover::after {
    opacity: 1;
}
[dir="rtl"] .inline-editable::after {
    right: auto;
    left: -10px;
}

/* Top Announcement Bar */
.top-announcement-bar {
    background: linear-gradient(135deg, var(--gd-sky) 0%, #0099CC 100%);
    color: white;
    font-family: 'Montserrat', sans-serif;
    z-index: 1001;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.top-announcement-bar p {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    padding: 8px 0;
}
.top-announcement-bar i {
    font-size: 0.75rem;
    vertical-align: middle;
}

/* ==========================================================================
   HOMEPAGE RECOVERY STYLES
   ========================================================================== */
/* ==========================================================================
   HOMEPAGE RECOVERY STYLES (PURE LUXURY BANNER)
   ========================================================================== */
.category-slider-card {
    border-radius: 20px;
    display: block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
    background: transparent;
    border: none;
}
.category-slider-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 210, 255, 0.15);
}
.category-slider-card > a {
    display: block;
    width: 100%;
}
.cat-main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.8s ease;
}
.category-slider-card:hover .cat-main-img {
    transform: scale(1.03);
}

/* Elegant Floating Badge for Category Name */
.category-slider-card .overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    bottom: auto;
    left: auto;
    width: auto;
    padding: 0 !important;
    background: transparent;
    display: block;
    z-index: 10;
}
.category-slider-card .overlay > div {
    background: var(--glass-luminous) !important;
    backdrop-filter: blur(10px) !important;
    border: 1px solid var(--gd-sky-light) !important;
    padding: 8px 24px !important;
    border-radius: 50px !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1) !important;
}
.category-slider-card .overlay h3 {
    color: var(--gd-navy) !important;
    text-shadow: none !important;
    font-size: 1rem !important;
    margin-bottom: 0 !important;
    font-family: 'Cairo', sans-serif !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}
.cat-card-btn {
    display: none !important; /* Hide the button to keep the banner clean */
}

/* Luxury Swiper Navigation Buttons */
.category-btn-next, .category-btn-prev {
    background: var(--glass-luminous) !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid var(--gd-sky-light) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1) !important;
    color: var(--gd-navy) !important;
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    transition: all 0.4s ease !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    margin-top: 0 !important;
}
.category-btn-next:hover, .category-btn-prev:hover {
    background: var(--gd-gold) !important;
    color: white !important;
    border-color: var(--gd-gold) !important;
    transform: translateY(-50%) scale(1.1) !important;
    box-shadow: 0 12px 35px rgba(197, 160, 89, 0.4) !important;
}
.category-btn-next::after, .category-btn-prev::after {
    font-size: 1.1rem !important;
    font-weight: 900 !important;
}
.top-categories-swiper {
    padding: 20px 0 40px 0 !important; /* Give space for hover shadow and pagination */
}

/* Homepage Category Banners */
.banner-wrapper {
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.4s;
    background: var(--gd-white);
    overflow: hidden;
}
.banner-wrapper:hover {
    transform: translateY(-5px);
}
.banner-text-side {
    background: var(--gd-white);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.banner-tagline {
    color: var(--gd-navy);
    font-family: 'Amiri', serif;
    font-weight: bold;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}
.banner-shop-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--gd-navy);
    color: var(--gd-white);
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    align-self: flex-start;
}
.banner-wrapper:hover .banner-shop-btn {
    background: var(--gd-sky);
    color: var(--gd-white);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}
.view-all-link {
    color: var(--gd-gold);
    font-weight: bold;
    text-decoration: none;
    font-size: 1.1rem;
    position: relative;
}
.view-all-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gd-gold);
    transition: width 0.3s;
}
.view-all-link:hover::after {
    width: 100%;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 25px;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 25px;
        right: 20px;
        font-size: 24px;
    }
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: #128c7e;
    color: #FFF;
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

.whatsapp-float i {
    margin: 0;
    padding: 0;
}

[dir="rtl"] .whatsapp-float {
    right: auto;
    left: 30px;
}

/* Pulse Animation for WhatsApp */
@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-float {
    animation: whatsapp-pulse 2s infinite;
}

/* ==========================================================================
   ULTIMATE MOBILE FIX (DEFENSIVE CSS)
   ========================================================================== */
@media (max-width: 576px) {
    /* Force everything to stay within viewport */
    html, body {
        overflow-x: hidden !important;
        position: relative;
        max-width: 100%;
    }

    /* Standardize Container Padding */
    .g-container, .container, .container-fluid {
        padding-inline: 12px !important;
        max-width: 100vw !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    /* Prevent huge fonts on mobile */
    h1, .display-1 { font-size: 1.8rem !important; line-height: 1.2 !important; }
    h2 { font-size: 1.5rem !important; }
    h3 { font-size: 1.3rem !important; }
    .lead { font-size: 1rem !important; }
    
    /* Stack all columns and handle gutters */
    .g-row, .row {
        margin-inline: -6px !important;
        row-gap: 1.5rem !important;
    }
    .g-col, [class*="g-col-"], .col, [class*="col-"] {
        padding-inline: 6px !important;
    }

    /* Fixed Hero Spacing & Alignment */
    .hero-section {
        padding-top: 1.5rem !important;
        padding-bottom: 2.5rem !important;
        text-align: center !important;
    }
    
    .hero-section .btn-lg {
        width: 100%;
        padding: 15px !important;
        font-size: 1rem !important;
    }
    
    /* Ensure images don't break layout */
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    /* Better stacking for footer */
    footer .g-row {
        text-align: center !important;
        flex-direction: column !important;
        gap: 2.5rem !important;
    }
    footer .logo-svg-wrapper {
        justify-content: center !important;
        margin-left: 0 !important;
        margin-inline: auto !important;
    }
    
    /* Fix overlap with WhatsApp */
    .site-footer {
        padding-bottom: 80px !important;
    }
    
    /* Fix Badge Overflows */
    .badge {
        white-space: normal !important;
        text-align: center !important;
    }

    .cart-badge {
        position: absolute;
        top: -5px;
        right: -5px;
        background: var(--gd-sky);
        color: white;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 10px;
        font-weight: 700;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        z-index: 10;
    }

    /* Social Buttons Optimization */
    .social-btn, .social-circle-btn, .social-circle-btn i {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.2rem !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
}

/* User Menu Dropdown (Simplified & Robust) */
.user-menu-wrapper {
    position: relative;
    display: inline-block;
}

.user-dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%;
    right: 0 !important;
    left: auto !important;
    min-width: 210px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 999999;
    padding: 10px 0;
    margin-top: 10px;
}

[data-theme="dark"] .user-dropdown-menu {
    background: #152033;
    border-color: rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.user-dropdown-menu.active {
    display: block !important;
}

.dropdown-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--gd-navy) !important;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s;
}

.dropdown-link:hover {
    background: rgba(0, 210, 255, 0.1);
    color: var(--gd-sky) !important;
}

.dropdown-divider {
    height: 1px;
    background: rgba(0,0,0,0.05);
    margin: 8px 0;
}

[data-theme="dark"] .dropdown-divider {
    background: rgba(255,255,255,0.05);
}

.logout-btn {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 20px;
    color: #ff4d4d !important;
    font-weight: 700;
    border: none;
    background: none;
    cursor: pointer;
}

.logout-btn:hover {
    background: rgba(255, 77, 77, 0.05);
}

/* Mobile Dropdown Fix */
@media (max-width: 768px) {
    .user-dropdown-menu {
        right: 0; /* Keep it aligned to the right edge of the button */
        min-width: 180px;
    }
}

html[dir="rtl"] .user-dropdown-menu {
    right: auto !important;
    left: 0 !important;
}

@media (max-width: 768px) {
    html[dir="rtl"] .user-dropdown-menu {
        left: 0 !important;
        right: auto !important;
    }
}