/* ==========================================================================
   EyeStyle Bangladesh — Ocean Blue + White Clean Modern Theme
   Premium Eyewear Design System v2.0
   ========================================================================== */

/* Fonts loaded in parallel via preconnected link tags in head */
:root {
    /* Brand Colors — Luxury Golden, White & Black (EYEXO Signature) */
    --primary:        #0a0a0d; /* Obsidian Jet Black */
    --primary-dark:   #000000; /* Pure Black */
    --primary-light:  #18181b; /* Charcoal Black */
    --primary-xlight: #fef9c3; /* Champagne Gold Soft */

    --gold:           #d4af37; /* Metallic Royal Gold */
    --gold-light:     #f7df8b; /* Shimmer Light Gold */
    --gold-dark:      #b8972e; /* Burnished Gold */
    --gold-deep:      #927218; /* Deep Bronze Gold */
    --gold-soft:      #fdf8e6; /* Soft Cream Gold */

    --accent:         #d4af37;
    --accent-hover:   #b8972e;
    --accent-glow:    rgba(212, 175, 55, 0.28);

    /* Status */
    --success:  #16a34a;
    --warning:  #d97706;
    --danger:   #dc2626;
    --info:     #d4af37;

    /* Backgrounds */
    --bg-main:      #fbfbfe;
    --bg-card:      #ffffff;
    --bg-surface:   #f8fafc;
    --bg-blue-soft: #fbf9f1;
    --bg-dark:      #0a0a0d;
    --bg-dark-card: #121216;
    --bg-glass:     rgba(255,255,255,0.97);
    --border-glass: rgba(212,175,55,0.25);

    /* Text */
    --text-main:  #09090b;
    --text-muted: #52525b;
    --text-light: #71717a;
    --text-white: #ffffff;
    --text-gold:  #b8972e;
    --text-blue:  #b8972e; /* Alias for compatibility */

    /* Borders */
    --border-color: #e4e4e7;
    --border-gold:  rgba(212, 175, 55, 0.4);
    --border-gold-solid: #d4af37;
    --border-blue:  rgba(212, 175, 55, 0.3);
    --border-dark:  #18181b;

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body:    'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Radius */
    --radius-xs:   4px;
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   20px;
    --radius-xl:   28px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-xs:   0 1px 3px rgba(0,0,0,0.06);
    --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:   0 6px 20px rgba(0,0,0,0.10);
    --shadow-lg:   0 16px 40px rgba(0,0,0,0.14);
    --shadow-gold: 0 6px 22px rgba(212, 175, 55, 0.35);
    --shadow-glass:0 8px 32px 0 rgba(0,0,0,0.08);

    /* Luxury Gradients */
    --grad-gold:          linear-gradient(135deg, #dfba55 0%, #d4af37 50%, #b8972e 100%);
    --grad-gold-metallic: linear-gradient(135deg, #f7df8b 0%, #dfba55 30%, #d4af37 60%, #b8972e 100%);
    --grad-black:         linear-gradient(135deg, #18181b 0%, #0a0a0d 100%);
    --grad-primary:       linear-gradient(135deg, #dfba55 0%, #d4af37 50%, #b8972e 100%);
    --grad-soft:          linear-gradient(135deg, #fdf8e6 0%, #ffffff 100%);
    --grad-hero:          linear-gradient(160deg, #000000 0%, #0a0a0d 60%, #18181b 100%);

    /* Transition - Ultra-fast & snappy */
    --transition:      all 0.15s ease;
    --transition-slow: all 0.2s ease;

    /* Aliases */
    --sapphire:       #d4af37;
    --sapphire-light: #f7df8b;
    --emerald:        #16a34a;
    --rose:           #dc2626;
}
/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
    touch-action: pan-y;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative;
    touch-action: pan-y;
    -webkit-font-smoothing: antialiased;
}

button, a, input, select, textarea {
    touch-action: manipulation;
}

@media (max-width: 768px) {
    input, select, textarea {
        font-size: 16px !important; /* Prevents iOS Safari auto-zoom on field focus */
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.25;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.container-fluid {
    width: 100%;
    padding: 0 1.5rem;
}

/* Buttons & Badges */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--sapphire);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.btn-accent {
    background: linear-gradient(135deg, #0369a1 0%, #aa820a 100%);
    color: #ffffff;
    box-shadow: var(--shadow-gold);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(212, 175, 55, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    background-color: var(--bg-surface);
}

.btn-sm {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 0.95rem 2rem;
    font-size: 1.05rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-sale {
    background-color: #fee2e2;
    color: #dc2626;
}

.badge-new {
    background-color: #dbeafe;
    color: #2563eb;
}

.badge-bestseller {
    background: #fef3c7;
    color: #b45309;
}

.badge-tryon {
    background: linear-gradient(135deg, #8b5cf6, #d946ef);
    color: white;
}

/* ==========================================================================
   Top Announcement Bar & Header
   ========================================================================== */

.top-bar {
    background-color: #0b1120;
    color: #94a3b8;
    font-size: 0.8rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.top-bar-notices {
    display: flex;
    align-items: center;
    gap: 1rem;
    overflow: hidden;
    white-space: nowrap;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #cbd5e1;
    font-weight: 500;
}

.top-bar-item strong {
    color: #ffffff;
}

.top-bar-sep {
    opacity: 0.35;
    color: #94a3b8;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.top-bar-link {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.2s;
}

.top-bar-link:hover {
    color: #38bdf8;
}

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

/* Middle Tier: Logo, Big Search Bar, Actions with Labels */
.header-middle {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.85rem 0;
}

.header-middle-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.75rem;
}

.mobile-menu-toggle {
    display: none !important;
    background: none;
    border: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #0f172a;
    padding: 0.25rem;
    line-height: 1;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
    }
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: #0f172a;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-logo svg {
    color: #0284c7;
}

/* Big Central Search Group */
.header-search-box {
    flex: 1;
    max-width: 620px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
}

.main-search-form {
    flex: 1;
    position: relative;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border: 2px solid #0284c7;
    border-radius: 9999px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.main-search-form:focus-within {
    box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.15);
    border-color: #0369a1;
}

.main-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0.62rem 1.25rem;
    font-size: 0.92rem;
    color: #0f172a;
    background: transparent;
    font-family: inherit;
    min-width: 0;
}

.main-search-input::placeholder {
    color: #94a3b8;
}

.main-search-btn {
    background: #0284c7;
    border: none;
    color: #ffffff;
    padding: 0 1.35rem;
    cursor: pointer;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.main-search-btn:hover {
    background: #0369a1;
}

/* Offers Pill Button (matches Screenshot 1) */
.header-offers-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #10b981;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 0.62rem 1.25rem;
    border-radius: 9999px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25);
    flex-shrink: 0;
}

.header-offers-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* Right Header Actions (Icon + Text below) */
.header-action-group {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    flex-shrink: 0;
}

.header-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #334155;
    position: relative;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    transition: all 0.2s ease;
}

.header-action-item:hover {
    color: #0284c7;
}

.header-action-item:hover .header-action-icon {
    transform: translateY(-2px);
    color: #0284c7;
}

.header-action-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.header-action-icon {
    font-size: 1.45rem;
    transition: transform 0.2s ease;
}

.header-action-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: inherit;
    margin-top: 2px;
    white-space: nowrap;
}

.header-action-badge {
    position: absolute;
    top: -4px;
    right: -6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 1.5px solid #ffffff;
}

/* Bottom Category Navigation Bar (Luxury Obsidian Black & Gold Bar) */
.nav-bottom-bar {
    background: #0a0a0d;
    color: #ffffff;
    border-top: 1.5px solid #d4af37;
    border-bottom: 1.5px solid #d4af37;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 999;
}

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

.nav-bottom-links {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.25rem;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

.nav-bottom-links::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

.nav-bottom-item {
    position: relative;
    flex-shrink: 0;
}

.nav-bottom-link {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.7rem 0.9rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-bottom-link:hover {
    background: rgba(212, 175, 55, 0.12);
    color: #f7df8b;
}

.nav-bottom-link.active {
    background: rgba(212, 175, 55, 0.18);
    border-bottom: 3px solid #d4af37;
    color: #f7df8b;
}

/* Mega Menu from bottom bar */
.nav-bottom-item .mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    transform: translateY(0);
    z-index: 1050;
}

.nav-bottom-item:hover .mega-menu {
    display: flex;
}

.nav-bottom-item:hover .dropdown-menu-simple {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Simple Dropdown Menu */
.dropdown-menu-simple {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1050;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-item.has-dropdown:hover .dropdown-menu-simple {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    border-radius: 6px;
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--bg-surface);
    color: var(--primary);
    transform: translateX(3px);
}

/* Mega Menu Dropdown */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 720px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1050;
}

.nav-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.4rem;
}

.mega-menu-list {
    list-style: none;
}

.mega-menu-list li a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 0.35rem 0;
}

.mega-menu-list li a:hover {
    color: var(--sapphire);
    transform: translateX(4px);
}

/* Search Bar with Live Auto-Suggest */
.search-wrapper {
    position: relative;
    flex: 1;
    max-width: 380px;
}

.search-input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.6rem;
    background: var(--bg-surface);
    border: 1.5px solid transparent;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--text-main);
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--sapphire);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.search-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.search-results-dropdown {
    position: absolute;
    top: 105%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    max-height: 380px;
    overflow-y: auto;
    z-index: 1050;
    display: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:hover {
    background-color: var(--bg-surface);
}

.search-result-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: #f8fafc;
    border-radius: var(--radius-sm);
}

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

.action-icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.action-icon-btn:hover {
    background: var(--primary);
    color: #ffffff;
}

.action-badge {
    position: absolute;
    top: -3px;
    right: -3px;
    background: var(--rose);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-slider-wrapper {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    padding: 4.5rem 0;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.25rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

.hero-content h1 span.gold {
    background: linear-gradient(135deg, #ffd700, #d4af37);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.15rem;
    color: #cbd5e1;
    margin-bottom: 2rem;
    max-width: 520px;
}

.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-floating-glass {
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.hero-badge-pill {
    position: absolute;
    bottom: -15px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 3;
}

/* ==========================================================================
   Visual Grids: Shop by Shape & Color
   ========================================================================== */

.section-title-wrap {
    text-align: center;
    margin-bottom: 2.75rem;
}

.section-subtitle {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--accent);
    margin-bottom: 0.4rem;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    color: var(--text-main);
}

.shape-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.shape-card {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.shape-card:hover {
    border-color: var(--sapphire);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.shape-icon-wrap {
    width: 60px;
    height: 35px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.shape-icon-wrap svg {
    width: 100%;
    height: 100%;
}

.shape-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

/* Color Swatches Grid */
.color-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.color-card-pill {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 600;
    transition: var(--transition);
}

.color-card-pill:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(0,0,0,0.15);
}

/* ==========================================================================
   Product Card Component
   ========================================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.product-thumb-wrap {
    position: relative;
    background: #f8fafc;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.product-img-main {
    max-height: 120px;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img-main {
    transform: scale(1.06);
}

.product-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-quick-actions {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 2;
}

.product-card:hover .product-quick-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-info {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-category-brand {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.3rem;
}

.product-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.product-dimensions-tag {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.product-price-row {
    margin-top: auto;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.product-current-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    font-family: var(--font-heading);
}

.product-old-price {
    font-size: 0.9rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-left: 0.4rem;
}

/* ==========================================================================
   Trust Pillars & Testimonials
   ========================================================================== */

.trust-section {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 3.5rem 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 1.15rem;
}

.trust-icon-box {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    color: var(--sapphire);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.trust-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.trust-text p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Interactive 4-Step Lens Customizer Modal
   ========================================================================== */

.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.modal-backdrop.active {
    display: flex;
}

.modal-box {
    background: var(--bg-card);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.95) translateY(15px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-header {
    padding: 1.25rem 1.75rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
}

.modal-steps-indicator {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.modal-step-dot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-light);
}

.modal-step-dot.active {
    color: var(--sapphire);
}

.modal-step-dot.completed {
    color: var(--emerald);
}

.modal-body {
    padding: 1.75rem;
    overflow-y: auto;
    flex: 1;
}

.lens-option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
}

.lens-option-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.lens-option-card:hover {
    border-color: var(--sapphire-light);
    background: #f8fafc;
}

.lens-option-card.selected {
    border-color: var(--sapphire);
    background: rgba(37, 99, 235, 0.04);
}

.modal-footer {
    padding: 1.25rem 1.75rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
}

/* ==========================================================================
   Slide-Over Mini Cart Drawer
   ========================================================================== */

.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 440px;
    max-width: 95vw;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: -10px 0 35px rgba(0,0,0,0.15);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.16s ease-out;
}

body.cart-drawer-open .eyewear-chat-widget {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(30px) !important;
}

.cart-drawer-overlay.active .cart-drawer {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 1rem 1.25rem;
    background: #0a0a0d;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #d4af37;
}
.drawer-header-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
}
.drawer-header-title i {
    color: #d4af37;
    font-size: 1.35rem;
}
.drawer-header-badge {
    background: linear-gradient(135deg, #dfba55, #d4af37);
    color: #000000;
    padding: 2px 10px;
    font-size: 0.78rem;
    font-weight: 800;
    border-radius: 20px;
    margin-left: 4px;
}
.drawer-close-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.drawer-close-circle:hover {
    background: #d4af37;
    color: #000000;
    border-color: #d4af37;
}

.cart-drawer-items {
    padding: 1rem 1.25rem;
    overflow-y: auto;
    flex: 1;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}
.cart-drawer-items::-webkit-scrollbar {
    width: 4px;
}
.cart-drawer-items::-webkit-scrollbar-track {
    background: transparent;
}
.cart-drawer-items::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

/* Cart Drawer Items - Matching Multiecom Exact Layout with Brand Colors */
.cart-drawer-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid #f1f5f9;
}
.cart-drawer-item:last-child {
    border-bottom: none;
}
.cart-drawer-item img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
    background: #f8fafc;
    flex-shrink: 0;
    padding: 3px;
}
.cart-drawer-item .item-info {
    flex: 1;
    min-width: 0;
}
.cart-drawer-item .item-top-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}
.cart-drawer-item .item-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin: 0;
    text-transform: uppercase;
    word-break: break-word;
}
.cart-drawer-remove {
    color: #ef4444;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 0 4px;
    line-height: 1;
    flex-shrink: 0;
    transition: transform 0.15s, color 0.15s;
}
.cart-drawer-remove:hover {
    color: #dc2626;
    transform: scale(1.12);
}
.cart-drawer-item .item-var {
    font-size: 11.5px;
    color: #b8972e;
    font-weight: 600;
    margin-top: 3px;
    line-height: 1.25;
}
.cart-drawer-item .item-price {
    font-size: 15.5px;
    font-weight: 800;
    color: #0f172a;
    margin-top: 4px;
}
.cart-drawer-qty {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}
.cart-drawer-qty button {
    width: 26px;
    height: 26px;
    border: 1.5px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
    user-select: none;
    padding: 0;
}
.cart-drawer-qty button:hover {
    background: #0a0a0d;
    color: #d4af37;
    border-color: #0a0a0d;
}
.cart-drawer-qty span {
    font-size: 14px;
    font-weight: 800;
    min-width: 20px;
    text-align: center;
    color: #0f172a;
}

.cart-drawer-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-surface);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: var(--primary);
    color: #94a3b8;
    padding: 4.5rem 0 2rem 0;
    border-top: 1px solid var(--border-dark);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a:hover {
    color: #0369a1;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
}

/* Scroll to Top styling handled via layout */

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .shape-grid { grid-template-columns: repeat(3, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin: 0 auto 2rem auto; }
    .hero-btn-group { justify-content: center; }
}

@media (max-width: 768px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .nav-links, .search-wrapper { display: none; }
    .shape-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   5-Column eCommerce Grid & Action Buttons (Screenshot Inspired)
   ========================================================================== */

.grid-5-cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
}

.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

@media (max-width: 1200px) {
    .grid-5-cols {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .grid-5-cols {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-5-cols {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
}

.product-card-modern {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    position: relative;
    cursor: pointer;
}

.product-card-modern:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
    transform: translateY(-3px);
}

.product-thumb-modern {
    position: relative;
    background: #ffffff;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1 !important;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
    box-sizing: border-box;
}

.product-thumb-modern a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1 !important;
}

.product-thumb-modern img,
.product-thumb-modern .prod-img-primary,
.product-thumb-modern .prod-img-hover {
    width: 100% !important;
    height: 100% !important;
    max-height: 100% !important;
    max-width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-thumb-modern img {
    transform: scale(1.12);
}

.badge-discount-red {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 4px;
    letter-spacing: 0.02em;
    z-index: 2;
}

.product-details-modern {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-cat-tag {
    font-size: 0.72rem;
    font-weight: 700;
    color: #0284c7;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.product-title-modern {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}

.product-price-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.price-current {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0284c7;
}

.price-old {
    font-size: 0.82rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.btn-order-cyan {
    background: #00bcd4;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-top: auto;
}

.btn-order-cyan:hover {
    background: #0097a7;
    color: #ffffff;
}

/* Category Card Style (Featured Categories Row) */
.cat-item-modern {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    transition: all 0.25s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.cat-item-modern:hover {
    border-color: #0284c7;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.12);
}

.cat-icon-frame {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    background: #f0f9ff;
    color: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    border: 1px solid #e0f2fe;
}

.cat-label-modern {
    font-size: 0.82rem;
    font-weight: 800;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

/* Social Proof Floating Toast Notification */
.social-proof-toast {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 999;
    max-width: 340px;
    animation: slideInUp 0.5s ease-out;
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

/* ==========================================================================
   Comprehensive Mobile & Tablet Responsive Engine
   ========================================================================== */

/* ===== MULTIECOM 3-TIER HEADER & MOBILE DRAWER STYLES ===== */
.main-header {
    background: #ffffff;
    z-index: 1000;
}
.main-header.header-sticky {
    position: sticky;
    top: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.main-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

/* Mobile Row 1 Buttons */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #0f172a;
    cursor: pointer;
    padding: 6px;
    line-height: 1;
    align-items: center;
    justify-content: center;
}

.mobile-cart-btn {
    display: none;
    position: relative;
    background: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    padding: 6px 10px;
    font-size: 20px;
    color: #0f172a;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.15s, background-color 0.15s;
}
.mobile-cart-btn:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}
.mobile-cart-btn .cart-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    min-width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Mobile Row 2: Search + Green Offers Button */
.mobile-search-bar {
    display: none;
    padding: 8px 12px 10px;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    gap: 8px;
    align-items: center;
}
.mobile-search-bar form {
    flex: 1;
    display: flex;
    border: 1.5px solid #cbd5e1;
    border-radius: 50px;
    overflow: hidden;
    background: #f8fafc;
}
.mobile-search-bar input {
    flex: 1;
    padding: 9px 16px;
    border: none;
    outline: none;
    font-size: 13.5px;
    background: transparent;
    font-family: inherit;
    color: #1e293b;
    min-width: 0;
}
.mobile-search-bar button {
    padding: 9px 16px;
    background: #1d4ed8;
    border: none;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}
.mobile-offer-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #16a34a;
    color: #ffffff !important;
    padding: 9px 16px;
    border-radius: 50px;
    font-size: 12.5px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
    transition: transform 0.15s ease;
}
.mobile-offer-btn:hover {
    transform: scale(1.03);
}

/* ===== MULTIECOM MOBILE SLIDE-IN DRAWER ===== */
.mob-drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    backdrop-filter: blur(2px);
}
.mob-drawer-overlay.active {
    display: block;
}
body.mob-drawer-open {
    overflow: hidden;
}

.mob-drawer {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 2001;
    overflow-y: auto;
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.18);
    display: flex;
    flex-direction: column;
}
.mob-drawer.active {
    left: 0;
}

.mob-drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px 14px;
    border-bottom: 1px solid #f0f0f0;
}
.mob-drawer-logo {
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.mob-drawer-close {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 20px;
    color: #64748b;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mob-drawer-close:hover {
    background: #f1f5f9;
    color: #0f172a;
}

/* Tabs: CATEGORIES and MENU */
.mob-drawer-tabs {
    display: flex;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
}
.mob-tab {
    flex: 1;
    background: none;
    border: none;
    cursor: pointer;
    padding: 13px 10px;
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.5px;
    border-bottom: 3px solid transparent;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: uppercase;
}
.mob-tab.active {
    color: #0f172a;
    border-bottom-color: #1d4ed8;
}

/* Tab Content */
.mob-tab-content {
    display: none;
    flex-direction: column;
    flex: 1;
}
.mob-tab-content.active {
    display: flex;
}

/* Tab Links */
.mob-drawer-link {
    display: flex;
    align-items: center;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #2d2d2d;
    text-decoration: none;
    border-bottom: 1px solid #f3f3f3;
    transition: background 0.12s, color 0.12s;
    cursor: pointer;
    background: none;
}
.mob-drawer-link:hover {
    background: #f8f8f8;
    color: #1d4ed8;
}
.mob-drawer-link i {
    font-size: 1.15rem;
    margin-right: 10px;
    color: #94a3b8;
}

/* Mobile Bottom Sticky Navigation Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    padding: 0.5rem 0.75rem;
    z-index: 1000;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.06);
    justify-content: space-around;
    align-items: center;
}

.mobile-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: #64748b;
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 700;
    position: relative;
    padding: 2px 8px;
}

.mobile-bottom-item.active, .mobile-bottom-item:hover {
    color: #0284c7;
}

.mobile-bottom-item i {
    font-size: 1.35rem;
}

.mobile-bottom-badge {
    position: absolute;
    top: -2px;
    right: 4px;
    background: #ea580c;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    border-radius: 10px;
    padding: 1px 5px;
}

/* ==========================================================================
   COMPONENT STYLES (Shop, Product Detail, Account, Scanner, Try-On, Home)
   ========================================================================== */

/* Shop Page Core Layout */
.shop-page-container {
    padding: 2.25rem 1.25rem 4rem;
}
.shop-banner-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.shop-page-title {
    font-size: 1.85rem;
    font-weight: 800;
}
.shop-page-count {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.shop-main-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}
.shop-filter-sidebar {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
}
.shop-filter-desktop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}
.shop-filter-drawer-header,
.shop-drawer-apply-bar,
.shop-mobile-action-bar {
    display: none;
}
.shop-product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
@media (max-width: 1200px) {
    .shop-product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.85rem;
    }
}
.filter-group {
    margin-bottom: 1.5rem;
}
.filter-group-title {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.6rem;
    text-transform: uppercase;
    color: #475569;
}
.filter-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.filter-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    cursor: pointer;
}
.shop-desktop-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.75rem;
    background: #ffffff;
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.75rem;
}
.active-filters-chips-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    padding: 0.6rem 0.85rem;
    background: #f1f5f9;
    border-radius: 10px;
}
.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.2s;
}
.filter-chip:hover {
    border-color: #ef4444;
    color: #ef4444;
}
.filter-chip-reset {
    font-size: 0.78rem;
    font-weight: 800;
    color: #e11d48;
    margin-left: 0.25rem;
    text-decoration: none;
}

/* Product Detail Components */
.product-detail-container {
    padding: 2.25rem 1.25rem 4rem;
}
.product-detail-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.frame-fit-matrix {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    text-align: center;
}
.product-action-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 48px;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    align-items: stretch;
}
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.size-guide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.delivery-zones-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.returns-policy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.product-reviews-container {
    margin-top: 3.5rem;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}
.review-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.ebd-modal-container {
    background: #ffffff;
    width: 100%;
    max-width: 980px;
    height: 580px;
    border-radius: 16px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.35fr 0.85fr;
    box-shadow: 0 25px 60px rgba(0,0,0,0.5);
    position: relative;
    animation: ebdModalZoom 0.25s ease-out;
}

/* Account Dashboard Components */
.account-page-container {
    padding: 2.5rem 1.25rem 4rem;
}
.account-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2.5rem;
    align-items: flex-start;
}
.account-form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}
.account-form-row-address {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.account-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
}
.rx-power-inputs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}
.rx-vault-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
}

/* Try-on & Scanner Components */
.tryon-studio-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}
.scanner-studio-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
    align-items: flex-start;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

/* Home Components */
.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.new-arrivals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
.promo-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Contact Page Components */
.contact-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}
.contact-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3.5rem;
    align-items: flex-start;
}
.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

/* About Page Components */
.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}
.about-pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.about-studio-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

/* Wishlist Components */
.wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

/* Tracking Components */
.tracking-stepper-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
}
.tracking-stepper-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(90px, 1fr));
    gap: 0.5rem;
    position: relative;
    text-align: center;
    min-width: 480px;
}

/* ==========================================================================
   MASTER RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Large Screens (1200px and down) */
@media (max-width: 1200px) {
    .grid-5-cols {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* Tablet & Smaller Screens (992px and down) */
@media (max-width: 992px) {
    .top-bar .inner {
        flex-direction: column;
        gap: 0.35rem;
        text-align: center;
    }
    .top-bar .inner > div:last-child {
        display: none !important;
    }
    .nav-links {
        display: none !important;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .search-wrapper {
        display: none;
    }
    .grid-5-cols {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 2rem !important;
    }
    .hero-split-wrap, div[style*="grid-template-columns: 1.35fr 0.65fr"] {
        grid-template-columns: 1fr !important;
    }

    /* Home Layout on Tablet */
    .featured-categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.75rem !important;
    }
    .new-arrivals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }

    /* Studio & Scanner on Tablet */
    .tryon-studio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .scanner-studio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 1.5rem !important;
    }

    /* Contact & About on Tablet */
    .contact-strip-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        margin-bottom: 2.5rem !important;
    }
    .contact-main-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }
    .about-story-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        margin-bottom: 3rem !important;
    }
    .about-pillars-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }
    .about-studio-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Customer Account on Tablet */
    .account-layout {
        grid-template-columns: 1fr !important;
        gap: 1.75rem !important;
    }
    .account-page-container {
        padding: 1.5rem 0.85rem 3rem !important;
    }

    /* Product Detail on Tablet */
    .product-detail-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding: 1.5rem !important;
        border-radius: 16px !important;
    }
    .product-detail-container {
        padding: 1.5rem 0.85rem 3.5rem !important;
    }
    .product-reviews-container {
        padding: 1.5rem !important;
        margin-top: 2rem !important;
    }

    /* Shop Catalog on Tablet/Mobile: Full off-canvas drawer */
    .shop-page-container {
        padding: 1.25rem 0.85rem 4rem !important;
    }
    .shop-main-layout {
        display: block !important;
    }
    .shop-desktop-controls-bar {
        display: none !important;
    }
    .shop-mobile-action-bar {
        display: flex !important;
        align-items: center;
        gap: 0.65rem;
        margin-bottom: 1rem;
    }
    .btn-mobile-filter {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        background: #ffffff;
        border: 1.5px solid var(--border-color);
        border-radius: 10px;
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
        font-weight: 800;
        color: #0f172a;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0,0,0,0.04);
        transition: all 0.2s;
    }
    .btn-mobile-filter:hover {
        border-color: #0284c7;
        color: #0284c7;
    }
    .filter-count-badge {
        background: #0284c7;
        color: #ffffff;
        border-radius: 50%;
        width: 20px;
        height: 20px;
        font-size: 0.72rem;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
    }
    .shop-mobile-sort-wrap {
        flex: 1;
    }
    .shop-mobile-sort-select {
        width: 100%;
        padding: 0.7rem 0.75rem;
        border-radius: 10px;
        border: 1.5px solid var(--border-color);
        font-size: 0.88rem;
        font-weight: 700;
        background: #ffffff;
        color: #0f172a;
        cursor: pointer;
        box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    }
    .shop-filter-sidebar {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 330px !important;
        max-width: 88vw !important;
        height: 100vh !important;
        max-height: 100vh !important;
        background: #ffffff !important;
        z-index: 2200 !important;
        padding: 1.25rem !important;
        overflow-y: auto !important;
        box-shadow: -8px 0 35px rgba(0, 0, 0, 0.25) !important;
        transform: translateX(100%) !important;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        border-radius: 0 !important;
        border: none !important;
        display: flex !important;
        flex-direction: column !important;
    }
    .shop-filter-sidebar.active {
        transform: translateX(0) !important;
    }
    .shop-filter-backdrop {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.65);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 2190;
        display: none;
    }
    .shop-filter-backdrop.active {
        display: block !important;
    }
    .shop-filter-desktop-header {
        display: none !important;
    }
    .shop-filter-drawer-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 0.85rem;
        margin-bottom: 1rem;
        border-bottom: 1px solid var(--border-color);
    }
    .btn-drawer-close {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        border: 1px solid #cbd5e1;
        background: #f8fafc;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.1rem;
        cursor: pointer;
        color: #64748b;
    }
    .shop-drawer-apply-bar {
        display: block !important;
        position: sticky;
        bottom: 0;
        background: #ffffff;
        padding-top: 1rem;
        padding-bottom: 0.5rem;
        margin-top: 1rem;
        border-top: 1px solid var(--border-color);
    }
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

@media (min-width: 769px) {
    .mobile-menu-btn, .mobile-cart-btn, .mobile-search-bar, .mob-drawer, .mob-drawer-overlay {
        display: none !important;
    }
}

/* Mobile Devices (768px and down) */
@media (max-width: 768px) {
    /* Hide desktop-only header elements */
    .offer-bar, .top-bar, .store-navbar, .nav-bottom-bar { display: none !important; }
    .header-actions, .header-action-group { display: none !important; }
    .header-search-form, .header-search-box { display: none !important; }
    .header-offer-btn, .header-offers-btn { display: none !important; }

    /* Show mobile-specific header elements */
    .mobile-menu-btn { display: flex !important; }
    .mobile-cart-btn { display: flex !important; }
    .mobile-search-bar { display: flex !important; }

    /* Center logo absolutely between hamburger and cart */
    .main-header-inner, .header-middle-inner {
        position: relative !important;
        justify-content: space-between !important;
        padding: 10px 14px !important;
        gap: 0 !important;
    }
    .main-header-inner .brand-logo, .header-middle-inner .brand-logo, .main-header .brand-logo, .header-middle-inner .store-logo {
        position: absolute !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        margin: 0 !important;
        font-size: 1.25rem !important;
    }

    .mob-drawer-head .mob-drawer-brand, .mob-drawer-head .store-logo {
        position: static !important;
        left: auto !important;
        transform: none !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        flex: 1 !important;
        min-width: 0 !important;
    }

    .site-footer .brand-logo {
        position: static !important;
        left: auto !important;
        transform: none !important;
        margin: 0 0 1rem 0 !important;
        display: inline-flex !important;
    }

    body {
        padding-bottom: 64px; /* Space for sticky mobile bottom bar */
    }
    .mobile-bottom-bar {
        display: flex !important;
    }
    .container {
        padding: 0 0.85rem;
    }
    .grid-5-cols {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }
    .promo-banner-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .product-img-box {
        height: 140px !important;
    }
    .social-proof-toast {
        display: none !important;
    }
    .modal-box {
        max-height: 95vh;
        border-radius: 12px;
        padding: 0;
    }
    .size-guide-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    .rx-vault-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }
    .ebd-modal-container {
        grid-template-columns: 1fr !important;
        height: auto !important;
        max-height: 90vh !important;
        overflow-y: auto !important;
    }
}

/* Small Mobile Phones (640px and down) */
@media (max-width: 640px) {
    .top-bar {
        padding: 0.35rem 0;
    }
    .top-ticker {
        font-size: 0.72rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        line-height: 1.35;
        gap: 0.25rem;
    }
    .shop-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.35rem;
    }
    .shop-page-title {
        font-size: 1.45rem;
    }
    .frame-fit-matrix {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    .specs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }
    .delivery-zones-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .returns-policy-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .reviews-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }
    .review-form-grid {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .product-action-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 0.6rem !important;
    }
    .product-action-grid .wishlist-action-btn {
        grid-column: span 2 !important;
        width: 100% !important;
        height: 42px !important;
    }
    .product-tab-pane {
        padding: 1rem !important;
    }
    .account-form-row-2,
    .account-form-row-address,
    .account-form-row-3 {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .rx-power-inputs-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    .contact-form-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .about-pillars-grid {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.65rem !important;
    }
}

/* Extra Small Phones (480px and down) */
@media (max-width: 480px) {
    .navbar {
        gap: 0.4rem !important;
    }
    .brand-logo {
        font-size: 1.15rem !important;
        gap: 0.35rem !important;
    }
    .brand-logo svg {
        width: 26px !important;
        height: 16px !important;
    }
    .header-actions {
        gap: 0.35rem !important;
    }
    .action-icon-btn {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.95rem !important;
    }
    .featured-categories-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0.45rem !important;
    }
    .shop-product-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
    }
    .product-thumb-modern {
        padding: 0.45rem !important;
    }
    .product-details-modern {
        padding: 0.65rem !important;
    }
    .product-title-modern {
        font-size: 0.78rem !important;
        height: 32px !important;
        margin-bottom: 0.25rem !important;
    }
    .product-cat-tag {
        font-size: 0.65rem !important;
    }
    .price-current {
        font-size: 0.92rem !important;
    }
    .price-old {
        font-size: 0.75rem !important;
    }
    .btn-order-cyan {
        font-size: 0.74rem !important;
        padding: 0.4rem 0.4rem !important;
        gap: 4px !important;
    }
    .product-action-grid button {
        font-size: 0.82rem !important;
        padding: 0.75rem 0.4rem !important;
    }
}

/* 360px Super Compact (e.g. Galaxy S8/S9/A10, iPhone SE) */
@media (max-width: 360px) {
    .featured-categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .btn-mobile-filter {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.5rem !important;
    }
    .shop-mobile-sort-select {
        font-size: 0.8rem !important;
        padding: 0.6rem 0.5rem !important;
    }
}

/* ===== LENS BUILDER MODAL — MOBILE RESPONSIVE ===== */
@media (max-width: 640px) {
    /* Modal takes full screen on mobile */
    .modal-backdrop {
        padding: 0 !important;
        align-items: flex-end !important;
    }
    .modal-box {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 92vh !important;
        border-radius: 20px 20px 0 0 !important;
    }

    /* Step indicator — smaller and scrollable */
    .modal-steps-indicator {
        gap: 0.75rem !important;
        overflow-x: auto;
        padding-bottom: 2px;
        flex-wrap: nowrap;
    }
    .modal-step-dot {
        font-size: 0.72rem !important;
        gap: 0.3rem !important;
        white-space: nowrap;
    }
    .modal-step-dot span {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.7rem !important;
    }

    /* Header padding */
    .modal-header {
        padding: 0.85rem 1rem !important;
    }

    /* Body padding */
    .modal-body {
        padding: 1rem !important;
    }

    /* Lens type cards — SINGLE column on mobile */
    .lens-option-grid {
        grid-template-columns: 1fr !important;
        gap: 0.65rem !important;
    }

    /* Compact card on mobile */
    .lens-option-card {
        padding: 0.85rem !important;
        flex-direction: row !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }

    /* Footer */
    .modal-footer {
        padding: 0.85rem 1rem !important;
        gap: 0.5rem !important;
    }
    .modal-footer .btn {
        flex: 1 !important;
        font-size: 0.88rem !important;
    }
}

/* Tablet — 2 columns still but with less padding */
@media (max-width: 768px) and (min-width: 641px) {
    .modal-backdrop {
        padding: 1rem !important;
    }
    .lens-option-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .lens-option-card {
        padding: 0.9rem !important;
    }
    .modal-body {
        padding: 1.25rem !important;
    }
}

/* ===== DUAL BUTTONS ON PRODUCT CARDS (Add to Cart & Order Now) ===== */
.product-card-actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    margin-top: 0.75rem !important;
    width: 100% !important;
    box-sizing: border-box !important;
    align-items: stretch !important;
    position: relative !important;
    z-index: 5 !important;
    cursor: default !important;
}

.product-card-actions button,
.product-card-actions a {
    cursor: pointer !important;
}

.btn-quick-cart {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0.52rem 0.65rem !important;
    border-radius: 8px !important;
    border: 1.5px solid #0284c7 !important;
    background: #f0f9ff !important;
    color: #0284c7 !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-sizing: border-box !important;
    outline: none !important;
    width: 100% !important;
}

.btn-quick-cart:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
}

.btn-order-now {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 0.52rem 0.65rem !important;
    border-radius: 8px !important;
    border: 1.5px solid #0284c7 !important;
    background: #0284c7 !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.82rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.28) !important;
    box-sizing: border-box !important;
    outline: none !important;
    width: 100% !important;
}

.btn-order-now:hover {
    background: #0369a1 !important;
    border-color: #0369a1 !important;
    box-shadow: 0 4px 14px rgba(3, 105, 161, 0.35) !important;
    transform: translateY(-1px) !important;
}

/* Universal Product Card Alignment across all rows */
.product-card-modern,
.new-arrivals-grid > div,
.grid-5-cols > div,
.grid-4-cols > div,
.grid-2-cols > div {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.product-details-modern,
.new-arrivals-grid > div > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    min-height: 0 !important;
}

.product-title-modern,
.new-arrivals-grid h3,
.product-card-modern h3,
.grid-5-cols h3 {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    height: 2.7em !important;
    min-height: 2.7em !important;
    max-height: 2.7em !important;
    line-height: 1.35em !important;
    margin-bottom: 0.4rem !important;
}

.product-card-actions {
    margin-top: auto !important;
    width: 100% !important;
}

@media (max-width: 480px) {
    .product-card-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        margin-top: auto !important;
        width: 100% !important;
    }
    .btn-quick-cart, .btn-order-now {
        font-size: 0.74rem !important;
        padding: 0.44rem 0.4rem !important;
        border-radius: 6px !important;
        gap: 4px !important;
        white-space: nowrap !important;
        letter-spacing: -0.1px !important;
        width: 100% !important;
    }
    .btn-quick-cart i, .btn-order-now i {
        font-size: 0.82rem !important;
    }
}



/* ==========================================================================
   ADDITIONAL RESPONSIVE UTILITIES — Full Site Mobile Fix
   ========================================================================== */

/* --- Responsive Table Wrapper --- */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
}

/* --- Checkout Page Layout --- */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 2.5rem;
    align-items: flex-start;
}
@media (max-width: 992px) {
    .checkout-layout { grid-template-columns: 1fr !important; gap: 1.75rem !important; }
    .checkout-order-summary { order: -1; }
}

/* --- Hero Section Mobile --- */
@media (max-width: 768px) {
    .hero-slider-wrapper { padding: 2.5rem 0 !important; border-radius: 0 !important; }
    .hero-content h1 { font-size: 2rem !important; }
    .hero-content p { font-size: 0.95rem !important; max-width: 100% !important; }
    .hero-image-wrapper { display: none; }
    .hero-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.65rem !important; }
    .hero-btn-group { flex-direction: column; gap: 0.65rem; }
    .hero-btn-group .btn { width: 100%; justify-content: center; }
}

/* --- Home Page Grid Classes --- */
.home-grid-brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.home-grid-promo-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.home-grid-promo-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.25rem; }
.home-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.home-guarantee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

@media (max-width: 992px) {
    .home-grid-brands { grid-template-columns: repeat(2, 1fr) !important; }
    .home-stats-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .home-guarantee-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
    .home-grid-promo-2 { grid-template-columns: 1fr !important; }
    .home-grid-promo-3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
    .home-grid-brands { grid-template-columns: repeat(2, 1fr) !important; gap: 0.65rem !important; }
    .home-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.65rem !important; }
    .home-guarantee-grid { grid-template-columns: 1fr !important; }
}

/* --- Cart Layout Grid --- */
.cart-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
    align-items: flex-start;
}
@media (max-width: 992px) {
    .cart-layout-grid { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* --- Auth Pages --- */
.auth-page-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg-surface);
}
.auth-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 460px;
    box-shadow: var(--shadow-lg);
}
@media (max-width: 480px) {
    .auth-card { padding: 1.5rem 1.25rem !important; border-radius: var(--radius-md) !important; }
    .auth-page-wrapper { padding: 1.5rem 0.75rem !important; align-items: flex-start !important; }
}

/* --- Admin Panel Responsive --- */
.admin-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-md);
}
.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 1.75rem; }
.admin-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.admin-three-col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }

@media (max-width: 1024px) {
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
    .admin-two-col { grid-template-columns: 1fr !important; gap: 1rem !important; }
    .admin-three-col { grid-template-columns: repeat(2, 1fr) !important; gap: 1rem !important; }
}
@media (max-width: 640px) {
    .admin-stats-grid { grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
    .admin-three-col { grid-template-columns: 1fr !important; }
    .admin-content { padding: 1rem 0.75rem !important; }
}

/* --- Appointment Page Layout --- */
.appointment-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2.5rem; align-items: flex-start; }
@media (max-width: 992px) {
    .appointment-layout { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* --- Order Success Page --- */
.success-layout { display: grid; grid-template-columns: 1fr 360px; gap: 2rem; align-items: flex-start; }
@media (max-width: 768px) {
    .success-layout { grid-template-columns: 1fr !important; gap: 1.25rem !important; }
}

/* --- WhatsApp float adjust for mobile bottom bar --- */
@media (max-width: 768px) {
    .whatsapp-float { bottom: 80px !important; right: 16px !important; width: 48px !important; height: 48px !important; }
}

/* --- Footer Bottom Bar Responsive --- */
@media (max-width: 640px) {
    .footer-bottom { flex-direction: column !important; gap: 0.75rem !important; text-align: center !important; }
    .footer-bottom > div:last-child { justify-content: center !important; flex-wrap: wrap !important; }
}

/* --- Top Bar Responsive --- */
@media (max-width: 640px) {
    .top-bar .inner > div:last-child { display: none !important; }
    .top-bar { padding: 0.3rem 0 !important; }
}

/* --- Generic Utility Classes --- */
.hide-on-mobile { display: block; }
.show-on-mobile { display: none; }
@media (max-width: 768px) {
    .hide-on-mobile { display: none !important; }
    .show-on-mobile { display: block !important; }
    .show-on-mobile-flex { display: flex !important; }
}

/* Section spacing mobile */
@media (max-width: 768px) { .section-title { font-size: 1.65rem !important; } }
@media (max-width: 480px) {
    .section-title { font-size: 1.4rem !important; }
    .section-subtitle { font-size: 0.75rem !important; }
}

/* Prevent horizontal overflow globally */
html, body { overflow-x: clip; max-width: 100%; }
img, video, iframe, embed, object { max-width: 100%; }

/* ===== PAGE HERO HEADERS — MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    /* All dark hero headers across pages */
    div[style*="background: linear-gradient(135deg, #0f172a"] h1,
    div[style*="background: linear-gradient(135deg, #0f172a 0%"] h1 {
        font-size: 1.75rem !important;
        line-height: 1.3 !important;
    }
    div[style*="background: linear-gradient(135deg, #0f172a"] p,
    div[style*="background: linear-gradient(135deg, #0f172a 0%"] p {
        font-size: 0.9rem !important;
    }
    div[style*="background: linear-gradient(135deg, #0f172a"] {
        padding: 2.5rem 0 !important;
    }
    /* Account page header */
    h1[style*="font-size: 2rem"] {
        font-size: 1.45rem !important;
    }
    /* About page story stats row */
    div[style*="display: flex; gap: 2rem"] {
        gap: 1rem !important;
        flex-wrap: wrap !important;
    }
}

@media (max-width: 480px) {
    div[style*="background: linear-gradient(135deg, #0f172a"] h1,
    div[style*="background: linear-gradient(135deg, #0f172a 0%"] h1 {
        font-size: 1.4rem !important;
    }
    /* Tracking page hero form */
    div[style*="background: linear-gradient(135deg, #0f172a"] form[style*="display: flex"] {
        flex-direction: column !important;
    }
    div[style*="background: linear-gradient(135deg, #0f172a"] form[style*="display: flex"] input,
    div[style*="background: linear-gradient(135deg, #0f172a"] form[style*="display: flex"] button {
        width: 100% !important;
        min-width: 0 !important;
    }
}

/* ===== APPOINTMENTS PAGE RESPONSIVE ===== */
.appt-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2.5rem;
    align-items: flex-start;
}
@media (max-width: 992px) {
    .appt-layout { grid-template-columns: 1fr !important; gap: 1.5rem !important; }
}

/* ===== WISHLIST EMPTY / CONTENT MOBILE ===== */
@media (max-width: 480px) {
    .wishlist-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.6rem !important;
    }
}

/* ===== CHECKOUT SUCCESS PAGE ===== */
.success-confetti-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
}
@media (max-width: 768px) {
    .success-confetti-grid { grid-template-columns: 1fr !important; gap: 1rem !important; }
}

/* ===== TRYON PAGE ===== */
@media (max-width: 768px) {
    .tryon-studio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }
}

/* ===== SCANNER PAGE ===== */
@media (max-width: 768px) {
    .scanner-studio-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 1.25rem !important;
    }
}

/* ===== ADMIN DASHBOARD STAT CARDS ===== */
@media (max-width: 768px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ===== MISC OVERFLOW FIXES ===== */
table { width: 100%; }
pre, code { overflow-x: auto; max-width: 100%; }

/* ===== LENS BUILDER MODAL MOBILE FIX ===== */
@media (max-width: 768px) {
    .modal-box {
        max-height: 92vh !important;
        width: calc(100vw - 1.5rem) !important;
        margin: 0.75rem !important;
    }
    .modal-body { padding: 1rem !important; overflow-y: auto; }
    .modal-footer { padding: 0.75rem 1rem !important; flex-direction: column !important; gap: 0.5rem !important; }
    .modal-footer > div:last-child { margin-left: 0 !important; width: 100%; justify-content: flex-end; }
    .modal-steps-indicator { gap: 0.4rem !important; flex-wrap: wrap !important; }
    .modal-step-dot { font-size: 0.72rem !important; padding: 0.25rem 0.5rem !important; }
    /* Prescription table on mobile */
    #rxContent_manual table { font-size: 0.72rem !important; }
    #rxContent_manual table input { padding: 0.25rem !important; font-size: 0.72rem !important; }
    /* Rx method tabs wrap */
    div[style*="rxTab_manual"] { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .modal-box { width: 100vw !important; min-height: 100dvh !important; border-radius: 0 !important; margin: 0 !important; }
    .modal-header { padding: 0.75rem 1rem !important; }
}

/* ===== ACCOUNT PAGE FORM GRID FIX ===== */
.account-form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.account-form-row-address { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.account-form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.75rem; }
.account-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: flex-start; padding: 2rem 0; }

@media (max-width: 992px) {
    .account-layout { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
    .account-form-row-2 { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
    .account-form-row-address { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
    .account-form-row-3 { grid-template-columns: 1fr !important; gap: 0.75rem !important; }
    .rx-power-inputs-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 0.6rem !important; }
}
@media (max-width: 380px) {
    .rx-power-inputs-grid { grid-template-columns: 1fr !important; }
}

/* ================================================================
   FULL SITE COMPREHENSIVE MOBILE RESPONSIVE FIX � DYNAMIC EDITION
   ================================================================ */

/* ---- Global Safety ---- */
* { box-sizing: border-box; }
html, body { overflow-x: clip; max-width: 100%; }
img, video, iframe, table { max-width: 100%; }

/* ================================================================
   1. LENS BUILDER MODAL � PRESCRIPTION TABLE FIX
   ================================================================ */

/* Rx method tabs � wrap and shrink on small screens */
#lensStepPanel3 div[style*="flex"][style*="gap"] {
    flex-wrap: wrap !important;
}
.rx-method-tab {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Prescription table container � horizontal scroll */
#rxContent_manual {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
#rxContent_manual table {
    min-width: 420px;
    width: 100%;
}

@media (max-width: 600px) {
    .rx-method-tab {
        font-size: 0.72rem !important;
        padding: 0.35rem 0.55rem !important;
    }
    #lensStepPanel3 div[style*="flex"] {
        gap: 0.3rem !important;
        flex-wrap: wrap !important;
    }
    .modal-box {
        width: 100vw !important;
        min-height: 100dvh !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    .modal-header {
        padding: 0.65rem 0.85rem !important;
    }
    .modal-steps-indicator {
        gap: 0.25rem !important;
        flex-wrap: wrap !important;
    }
    .modal-step-dot {
        font-size: 0.68rem !important;
        gap: 4px !important;
    }
    .modal-step-dot span {
        width: 18px !important;
        height: 18px !important;
        font-size: 0.65rem !important;
    }
    .modal-body {
        padding: 0.85rem !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
    }
    .modal-footer {
        flex-direction: column !important;
        padding: 0.75rem !important;
    }
    .modal-footer > div { width: 100% !important; }
    .modal-footer button { width: 100% !important; }
    #rxContent_manual table { font-size: 0.7rem !important; }
    #rxContent_manual table input {
        padding: 0.2rem 0.15rem !important;
        font-size: 0.7rem !important;
        width: 52px !important;
    }
    .lens-option-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================================
   2. PRODUCT PAGE (show.blade.php) � CONTACT BUTTONS & ALL
   ================================================================ */

/* Contact buttons � always full width on small mobile */
@media (max-width: 480px) {
    .pdp-contact-grid {
        grid-template-columns: 1fr !important;
    }
    .pdp-btn-wa, .pdp-btn-call {
        padding: 0.9rem 0.75rem !important;
        font-size: 0.85rem !important;
        width: 100% !important;
        justify-content: center !important;
    }
    .pdp-cta-grid {
        grid-template-columns: 1fr !important;
    }
    .pdp-trust-row {
        grid-template-columns: 1fr 1fr 1fr !important;
        padding: 0.85rem !important;
    }
    .pdp-trust-icon { font-size: 1.25rem !important; }
    .pdp-trust-label { font-size: 0.65rem !important; }
    .pdp-trust-sub { font-size: 0.6rem !important; }
}

/* ================================================================
   3. SHOP PAGE � PRODUCT CARDS & GRID
   ================================================================ */

@media (max-width: 480px) {
    .grid-5-cols {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
    .product-card-modern { border-radius: 12px; cursor: pointer; }
    .product-thumb-modern {
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        width: 100% !important;
        max-height: none !important;
    }
    .product-thumb-modern img {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }
    .product-title-modern { font-size: 0.78rem !important; }
    .price-current { font-size: 0.88rem !important; }
    .btn-quick-cart, .btn-order-now {
        font-size: 0.74rem !important;
        padding: 0.44rem 0.4rem !important;
        width: 100% !important;
    }
}

/* ================================================================
   4. NAVIGATION / HEADER
   ================================================================ */

@media (max-width: 768px) {
    .nav-logo { font-size: 1.1rem !important; }
    .top-bar { font-size: 0.72rem !important; padding: 0.3rem 0 !important; }
    .top-bar > div { gap: 0.5rem !important; flex-wrap: wrap !important; justify-content: center !important; }
}

/* ================================================================
   5. CART PAGE
   ================================================================ */

@media (max-width: 600px) {
    .cart-item-grid, .cart-row {
        grid-template-columns: 1fr !important;
        gap: 0.75rem !important;
    }
    .cart-item-img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* ================================================================
   6. CHECKOUT PAGE
   ================================================================ */

@media (max-width: 640px) {
    .checkout-form-grid {
        grid-template-columns: 1fr !important;
    }
    .checkout-layout {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================================
   7. ADMIN PAGES
   ================================================================ */

@media (max-width: 900px) {
    .admin-layout, .admin-sidebar-layout {
        grid-template-columns: 1fr !important;
    }
    .admin-sidebar { display: none; }
    .admin-table-wrap {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .admin-table-wrap table { min-width: 600px; }
}

@media (max-width: 600px) {
    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .dash-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .admin-three-col, .admin-two-col {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================================
   8. APPOINTMENTS PAGE
   ================================================================ */

@media (max-width: 768px) {
    .appt-main-grid {
        grid-template-columns: 1fr !important;
    }
    .appt-form-grid-2 {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================================
   9. FOOTER
   ================================================================ */

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 1.5rem !important;
    }
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }
}

/* ================================================================
   10. TABLES � ALL PAGES
   ================================================================ */

.table-responsive-wrap {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
}
.table-responsive-wrap table { min-width: 500px; }

@media (max-width: 640px) {
    .table-wrapper, .orders-table-wrap, .admin-table-wrap {
        overflow-x: auto !important;
    }
    table { font-size: 0.8rem !important; }
    th, td { padding: 0.45rem 0.5rem !important; white-space: nowrap; }
}

/* ================================================================
   11. HORIZONTAL OVERFLOW � GLOBAL SAFETY NET
   ================================================================ */

@media (max-width: 480px) {
    .container {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }
    section, .section, .page-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    /* Hero text safety */
    .hero-title, h1 {
        word-break: break-word !important;
        hyphens: auto !important;
    }
    /* Button text no wrap */
    .btn { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ================================================================
   12. INLINE GRID OVERFLOW PREVENTION
   ================================================================ */

/* Any grid using inline style that might overflow */
[style*="grid-template-columns"] {
    min-width: 0;
}
[style*="display: grid"] > * {
    min-width: 0;
    overflow: hidden;
}
[style*="display: flex"] {
    min-width: 0;
}

/* ================================================================
   13. TRUST BADGE / INFO ROWS � overflow text fix
   ================================================================ */

.pdp-trust-row .pdp-trust-label,
.pdp-trust-row .pdp-trust-sub {
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Product page info rows � prevent text cut */
@media (max-width: 500px) {
    .pdp-grid [style*="display: flex"] {
        flex-wrap: wrap !important;
    }
    [style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
}

/* ================================================================
   14. SCROLLBAR HIDE ON MOBILE OVERFLOW-X
   ================================================================ */

.pdp-thumbs::-webkit-scrollbar,
.pdp-tab-nav::-webkit-scrollbar,
.modal-steps-indicator::-webkit-scrollbar {
    height: 0;
    background: transparent;
}



/* ============================================================
   EYEXO LUXURY GOLDEN, WHITE & BLACK — FULL SITE THEME v3.0
   The Signature of Elegance Design System
   ============================================================ */

/* ── Global Body & Background ── */
body {
    background-color: #fbfbfe;
    color: #09090b;
}

/* ── Top Announcement Bar (Deep Black with Gold Accents) ── */
.top-bar {
    background: #000000 !important;
    color: #e4e4e7 !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.25) !important;
    font-size: 0.82rem !important;
}
.top-bar strong {
    color: #f7df8b !important;
}
.top-bar-link, .top-bar a {
    color: #d4af37 !important;
    font-weight: 700 !important;
}
.top-bar-link:hover, .top-bar a:hover {
    color: #f7df8b !important;
}

/* ── Header Middle & Main Header ── */
.main-header, .header-middle {
    background: #ffffff !important;
    border-bottom: 1px solid #e4e4e7 !important;
}
.header-sticky {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
}
.header-search-form, .main-search-form, .mobile-search-bar form {
    border: 1.5px solid #d4af37 !important;
    border-radius: 50px !important;
    background: #ffffff !important;
    transition: all 0.25s ease !important;
}
.header-search-form:focus-within, .main-search-form:focus-within, .mobile-search-bar form:focus-within {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25) !important;
    border-color: #b8972e !important;
}
.header-search-btn, .main-search-btn, .mobile-search-bar button {
    background: #0a0a0d !important;
    color: #d4af37 !important;
    border: none !important;
    transition: all 0.2s ease !important;
}
.header-search-btn:hover, .main-search-btn:hover, .mobile-search-bar button:hover {
    background: #d4af37 !important;
    color: #000000 !important;
}

/* ── Special Offers Button (Metallic Shimmer Gold) ── */
.header-offer-btn, .header-offers-btn, .mobile-offer-btn {
    background: linear-gradient(135deg, #dfba55 0%, #d4af37 45%, #b8972e 100%) !important;
    color: #000000 !important;
    border: 1px solid #d4af37 !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    box-shadow: 0 3px 12px rgba(212, 175, 55, 0.35) !important;
    text-shadow: none !important;
    transition: all 0.25s ease !important;
}
.header-offer-btn:hover, .header-offers-btn:hover, .mobile-offer-btn:hover {
    background: linear-gradient(135deg, #f7df8b 0%, #dfba55 50%, #d4af37 100%) !important;
    color: #000000 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.5) !important;
}

/* ── Header Action Items & Badges ── */
.cart-badge, .header-action-badge, .mobile-cart-btn .cart-badge {
    background: #d4af37 !important;
    color: #000000 !important;
    font-weight: 900 !important;
    border: 1.5px solid #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}
.header-icon-btn:hover .header-action-icon {
    color: #b8972e !important;
}
.header-action-label {
    color: #09090b !important;
    font-weight: 600 !important;
}
.mobile-cart-btn {
    background: #0a0a0d !important;
    color: #d4af37 !important;
    border: 1px solid rgba(212, 175, 55, 0.4) !important;
    border-radius: 10px !important;
}
.mobile-menu-btn {
    color: #0a0a0d !important;
}

/* ── Navbar ── */
.navbar {
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid #e4e4e7 !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05) !important;
}
.navbar-brand, .nav-logo {
    color: #0a0a0d !important;
}
.nav-link, .navbar a {
    color: #09090b !important;
    font-weight: 600;
}
.nav-link:hover, .navbar a:hover {
    color: #b8972e !important;
}
.nav-link.active {
    color: #b8972e !important;
}
.navbar .btn-primary, .nav-cta {
    background: linear-gradient(135deg, #dfba55, #d4af37) !important;
    color: #000000 !important;
    border: 1px solid #d4af37 !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3) !important;
}

/* ── Hero Section ── */
.hero-section, .hero-banner {
    background: linear-gradient(160deg, #000000 0%, #0a0a0d 60%, #18181b 100%) !important;
}
.hero-section h1, .hero-banner h1 {
    color: #ffffff !important;
}
.hero-section p, .hero-banner p {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* ── Buttons (Gold Primary & Jet Black Secondary) ── */
.btn-primary {
    background: linear-gradient(135deg, #dfba55 0%, #d4af37 45%, #b8972e 100%) !important;
    color: #000000 !important;
    border: 1px solid #d4af37 !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35) !important;
    font-weight: 800 !important;
    letter-spacing: 0.02em !important;
    border-radius: 50px !important;
    transition: all 0.25s ease !important;
}
.btn-primary:hover {
    background: linear-gradient(135deg, #f7df8b 0%, #dfba55 50%, #d4af37 100%) !important;
    color: #000000 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.50) !important;
}

.btn-accent {
    background: linear-gradient(135deg, #dfba55 0%, #d4af37 50%, #b8972e 100%) !important;
    color: #000000 !important;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35) !important;
    font-weight: 800 !important;
}
.btn-accent:hover {
    background: linear-gradient(135deg, #f7df8b 0%, #dfba55 50%, #d4af37 100%) !important;
    color: #000000 !important;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.50) !important;
    transform: translateY(-2px) !important;
}

.btn-outline {
    border: 1.5px solid #d4af37 !important;
    color: #0a0a0d !important;
    background: transparent !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    transition: all 0.25s ease !important;
}
.btn-outline:hover {
    background: #0a0a0d !important;
    color: #f7df8b !important;
    border-color: #0a0a0d !important;
}

/* Add to Cart (Jet Black + Gold Border) */
.btn-quick-cart, .add-to-cart-btn, [class*="btn-cart"], .action-cart {
    background: #0a0a0d !important;
    color: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    font-weight: 700 !important;
    transition: all 0.25s ease !important;
}
.btn-quick-cart:hover, .add-to-cart-btn:hover, [class*="btn-cart"]:hover, .action-cart:hover {
    background: #d4af37 !important;
    color: #000000 !important;
    border-color: #d4af37 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4) !important;
}

/* Order Now (Radiant Gold Metallic + Bold Black Text) */
.btn-order-now, .order-now-btn, .btn-order, [class*="order-cyan"], .action-buy {
    background: linear-gradient(135deg, #dfba55 0%, #d4af37 45%, #b8972e 100%) !important;
    color: #000000 !important;
    border: 1px solid #d4af37 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.3) !important;
    text-shadow: none !important;
    transition: all 0.25s ease !important;
}
.btn-order-now:hover, .order-now-btn:hover, .btn-order:hover, [class*="order-cyan"]:hover, .action-buy:hover {
    background: linear-gradient(135deg, #f7df8b 0%, #dfba55 50%, #d4af37 100%) !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5) !important;
}

/* WhatsApp & Phone order buttons */
.btn-whatsapp, [class*="btn-whatsapp"], [class*="action-whatsapp"] {
    background: linear-gradient(135deg, #16a34a, #22c55e) !important;
    color: #ffffff !important;
}
.btn-phone, [class*="phone-order"], .action-call {
    background: #0a0a0d !important;
    color: #d4af37 !important;
    border: 1px solid #d4af37 !important;
}

/* ── Product Cards (Clean White with Gold Hover Glow) ── */
.product-card-modern {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04) !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    cursor: pointer !important;
    position: relative !important;
}
.product-card-modern:hover {
    border-color: #d4af37 !important;
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.20) !important;
    transform: translateY(-4px) !important;
}
.product-details-modern {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
    height: auto !important;
    padding: 0.85rem 0.9rem 1rem !important;
}
.product-cat-tag {
    background: #fdf8e6 !important;
    color: #927218 !important;
    border: 1px solid rgba(212, 175, 55, 0.25) !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    padding: 2px 10px !important;
    font-size: 0.72rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: inline-block !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    line-height: 1.4 !important;
}
.product-title-modern {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    color: #09090b !important;
    line-height: 1.35 !important;
    margin-bottom: 0.35rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    height: 38px !important;
    min-height: 38px !important;
    max-height: 38px !important;
}
.product-price-modern {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.25rem !important;
    min-height: 24px !important;
}
.price-current {
    color: #b8972e !important;
    font-weight: 900 !important;
    font-size: 1.05rem !important;
}
.price-old, .price-original {
    color: #a1a1aa !important;
    text-decoration: line-through !important;
    font-size: 0.84rem !important;
}
.badge-discount-red, .badge-sale {
    background: #000000 !important;
    color: #f7df8b !important;
    border: 1px solid #d4af37 !important;
    font-weight: 800 !important;
}
.badge-new {
    background: #0a0a0d !important;
    color: #ffffff !important;
    border: 1px solid #d4af37 !important;
    font-weight: 800 !important;
}
.badge-bestseller {
    background: linear-gradient(135deg, #dfba55, #d4af37) !important;
    color: #000000 !important;
    font-weight: 800 !important;
}

/* ── Section Headings & Badges ── */
.section-label, .section-badge {
    background: #fdf8e6 !important;
    color: #927218 !important;
    border: 1px solid rgba(212, 175, 55, 0.35) !important;
    border-radius: 50px !important;
    font-weight: 800 !important;
    font-size: 0.75rem !important;
    padding: 4px 14px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.section-title {
    color: #09090b !important;
}

/* ── Category / Filter Pills ── */
.filter-btn, .category-pill, .shape-btn {
    border: 1.5px solid #e4e4e7 !important;
    background: #ffffff !important;
    color: #09090b !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.2s ease !important;
}
.filter-btn:hover, .filter-btn.active,
.category-pill:hover, .category-pill.active,
.shape-btn:hover, .shape-btn.active {
    background: #0a0a0d !important;
    border-color: #d4af37 !important;
    color: #f7df8b !important;
}

/* ── Cards & Panels ── */
.card {
    background: #ffffff !important;
    border: 1px solid #e4e4e7 !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: var(--shadow-sm) !important;
}

/* ── Form Controls ── */
.form-control, .form-select, input[type="text"],
input[type="email"], input[type="tel"],
input[type="number"], textarea, select {
    border: 1.5px solid #e4e4e7 !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    color: #09090b !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}
.form-control:focus, .form-select:focus, input:focus, textarea:focus, select:focus {
    border-color: #d4af37 !important;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.20) !important;
    outline: none !important;
}
.form-label {
    color: #09090b !important;
    font-weight: 600 !important;
    font-size: 0.88rem !important;
}

/* ── Footer (Obsidian Black with Gold Accents) ── */
footer, .footer, .site-footer {
    background: #070709 !important;
    color: #e4e4e7 !important;
    border-top: 2px solid #d4af37 !important;
}
footer a, .footer a, .site-footer a {
    color: #a1a1aa !important;
    transition: color 0.2s ease !important;
}
footer a:hover, .footer a:hover, .site-footer a:hover {
    color: #f7df8b !important;
}
footer a.dev-branding-badge, 
.site-footer a.dev-branding-badge,
.dev-branding-badge {
    color: #ffffff !important;
    background: #0084ff !important;
    background: linear-gradient(135deg, #0084ff 0%, #0066cc 100%) !important;
    text-decoration: none !important;
}
footer a.dev-branding-badge:hover, 
.site-footer a.dev-branding-badge:hover,
.dev-branding-badge:hover {
    color: #ffffff !important;
    background: #0073e6 !important;
    box-shadow: 0 4px 18px rgba(0, 132, 255, 0.6) !important;
}
.dev-branding-badge *,
.dev-branding-badge i,
.dev-branding-badge span {
    color: #ffffff !important;
}
.footer-col h4 {
    color: #ffffff !important;
    font-weight: 800 !important;
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 1.25rem;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: #d4af37;
}
.footer-bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #71717a !important;
}

/* ── Trust Badges / Feature strips ── */
.trust-strip, .feature-bar, [class*="trust-"] {
    background: #ffffff !important;
    border: 1px solid rgba(212, 175, 55, 0.3) !important;
}

/* ── Breadcrumb ── */
.breadcrumb a, .breadcrumbs a { color: #b8972e !important; }
.breadcrumb-separator, .breadcrumbs span { color: #a1a1aa !important; }

/* ── Pagination ── */
.page-link {
    color: #09090b !important;
    border-color: #e4e4e7 !important;
    background: #ffffff !important;
}
.page-item.active .page-link {
    background: #0a0a0d !important;
    border-color: #d4af37 !important;
    color: #f7df8b !important;
}
.page-link:hover {
    background: #fdf8e6 !important;
    color: #b8972e !important;
    border-color: #d4af37 !important;
}

/* ── Alert / Flash ── */
.alert-success { background: #dcfce7; border-color: #86efac; color: #14532d; }
.alert-warning { background: #fef3c7; border-color: #fcd34d; color: #78350f; }
.alert-danger   { background: #fee2e2; border-color: #fca5a5; color: #7f1d1d; }
.alert-info     { background: #fdf8e6; border-color: #d4af37; color: #927218; }

/* ── Loading Spinner ── */
.spinner, [class*="loader"] {
    border-color: #fdf8e6 !important;
    border-top-color: #d4af37 !important;
}

/* ── Wishlist Heart ── */
.btn-wishlist, .wishlist-btn, [class*="heart"] {
    color: #09090b !important;
}
.btn-wishlist:hover, .wishlist-btn:hover {
    color: #dc2626 !important;
}

/* ── Cart Badge ── */
.cart-count, .badge-cart {
    background: #d4af37 !important;
    color: #000000 !important;
    font-weight: 900 !important;
}

/* ── Lens Builder / Modal ── */
.modal-box, .lens-modal {
    background: #ffffff !important;
    border: 1.5px solid #d4af37 !important;
    border-radius: 20px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
}
.lens-step-active, .modal-step.active {
    background: #0a0a0d !important;
    color: #f7df8b !important;
    border: 1px solid #d4af37 !important;
}

/* ── Category Icons & Featured ── */
.cat-item-modern:hover .cat-icon-frame {
    border-color: #d4af37 !important;
    background: #fdf8e6 !important;
    color: #b8972e !important;
}

/* ── Scrollbar (WebKit) ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #f4f4f5; }
::-webkit-scrollbar-thumb { background: #d4af37; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #b8972e; }

/* ── Selection ── */
::selection { background: rgba(212, 175, 55, 0.28); color: #0a0a0d; }

/* ================================================================
   RESPONSIVE — MOBILE FIRST COMPLETE FIX
   ================================================================ */
@media (max-width: 768px) {
    /* Container */
    .container { padding: 0 0.85rem !important; }

    /* Product Grid — 2-Column Responsive Matching multiecom */
    .grid-5-cols, .grid-4-cols, .products-grid, .new-arrivals-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        width: 100% !important;
        overflow: visible !important;
    }
    .grid-3-cols { grid-template-columns: repeat(2, 1fr) !important; }

    /* Product card actions always visible on mobile */
    .product-card-actions {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* Hero */
    .hero-section, .hero-banner {
        padding: 3rem 1rem !important;
        text-align: center !important;
    }
    .hero-section h1, .hero-banner h1 {
        font-size: 1.7rem !important;
        line-height: 1.3 !important;
    }
    .hero-section p { font-size: 0.9rem !important; }

    /* Navbar */
    .navbar { padding: 0.6rem 1rem !important; }
    .nav-icons-group { gap: 0.4rem !important; }

    /* Product page layout */
    .product-detail-grid, [class*="pdp-grid"] {
        grid-template-columns: 1fr !important;
    }

    /* Buttons stack */
    .btn-group-product, [class*="action-buttons"] {
        flex-direction: column !important;
        gap: 0.6rem !important;
    }
    .btn-group-product .btn { width: 100% !important; }

    /* Typography scale down */
    h1 { font-size: 1.6rem !important; }
    h2 { font-size: 1.3rem !important; }
    h3 { font-size: 1.1rem !important; }

    /* Cards */
    .card { border-radius: 14px !important; padding: 1rem !important; }

    /* Tabs overflow */
    [id*="productTabNav"], .tab-nav {
        flex-wrap: wrap !important;
    }

    /* Lens Builder */
    .rx-input-table { min-width: 480px; }
    .rx-table-wrap  { overflow-x: auto; }

    /* Footer */
    footer .footer-grid, .footer-cols {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
    .footer-grid > .footer-col:first-child,
    .footer-cols > .footer-col:first-child {
        grid-column: 1 / -1 !important;
    }
    .footer-grid > .footer-col:last-child,
    .footer-cols > .footer-col:last-child {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 480px) {
    /* STRICT 2-COLUMN RESPONSIVE ON MOBILE (Matching multiecom) */
    .grid-5-cols, .grid-4-cols, .grid-3-cols, .grid-2-cols, .products-grid, .new-arrivals-grid, .shop-product-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 7px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .product-card-modern {
        border-radius: 10px !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow: hidden !important;
        height: auto !important;
        cursor: pointer !important;
    }

    .product-thumb-modern {
        aspect-ratio: 1 / 1 !important;
        padding: 0.4rem !important;
        height: auto !important;
        max-height: none !important;
        width: 100% !important;
    }

    .product-thumb-modern img {
        aspect-ratio: 1 / 1 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
    }

    .product-details-modern {
        padding: 0.45rem 0.5rem 0.6rem !important;
        height: auto !important;
    }

    .product-cat-tag {
        font-size: 0.62rem !important;
        margin-bottom: 2px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .product-title-modern {
        font-size: 0.76rem !important;
        line-height: 1.3 !important;
        height: 30px !important;
        min-height: 30px !important;
        margin-bottom: 3px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .product-price-modern {
        margin-bottom: 5px !important;
        gap: 4px !important;
    }

    .price-current {
        font-size: 0.9rem !important;
        font-weight: 800 !important;
    }

    .price-old {
        font-size: 0.68rem !important;
    }

    .product-card-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important;
        margin-top: 0.5rem !important;
        width: 100% !important;
        position: relative !important;
        z-index: 5 !important;
    }

    .btn-quick-cart, .btn-order-now {
        font-size: 0.74rem !important;
        padding: 6px 8px !important;
        border-radius: 6px !important;
        justify-content: center !important;
        width: 100% !important;
    }

    .btn-quick-cart i, .btn-order-now i {
        font-size: 0.82rem !important;
    }

    .hero-section h1, .hero-banner h1 { font-size: 1.4rem !important; }

    footer .footer-grid, .footer-cols {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem 1rem !important;
    }
    .footer-grid > .footer-col:first-child,
    .footer-cols > .footer-col:first-child {
        grid-column: 1 / -1 !important;
    }
    .footer-grid > .footer-col:last-child,
    .footer-cols > .footer-col:last-child {
        grid-column: 1 / -1 !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    /* Tablet */
    .grid-5-cols { grid-template-columns: repeat(3, 1fr) !important; }
    .grid-4-cols, .new-arrivals-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .container   { padding: 0 1.5rem; }
}

/* ==========================================================================
   Modern Glassmorphic UI & Ultra-Fast Mobile Experience
   ========================================================================== */

html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
    touch-action: pan-y;
}

/* Glassmorphic Panels & Cards */
.glass-panel {
    background: rgba(255, 255, 255, 0.82) !important;
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.65) !important;
    box-shadow: 0 8px 32px 0 rgba(3, 105, 161, 0.08) !important;
}

.glass-card {
    background: rgba(255, 255, 255, 0.88) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.6) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-md);
}

.header-sticky {
    background: rgba(255, 255, 255, 0.94) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
}

/* Mobile Bottom Navigation Bar */
.mobile-bottom-nav,
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .mobile-bottom-nav,
    .mobile-bottom-bar {
        display: flex !important;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 60px;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(16px) saturate(180%);
        -webkit-backdrop-filter: blur(16px) saturate(180%);
        border-top: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
        z-index: 9999;
        justify-content: space-around;
        align-items: center;
        padding: 0 0.25rem env(safe-area-inset-bottom, 0px) 0.25rem;
    }

    .mobile-bottom-nav-item,
    .mobile-bottom-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        color: #64748b;
        font-size: 0.70rem;
        font-weight: 600;
        flex: 1;
        height: 100%;
        position: relative;
        transition: color 0.15s ease, transform 0.15s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-bottom-nav-item i,
    .mobile-bottom-item i {
        font-size: 1.35rem;
        margin-bottom: 2px;
        transition: transform 0.15s ease, color 0.15s ease;
    }

    .mobile-bottom-nav-item:active,
    .mobile-bottom-item:active {
        transform: scale(0.92);
    }

    .mobile-bottom-nav-item.active,
    .mobile-bottom-item.active,
    .mobile-bottom-nav-item:hover,
    .mobile-bottom-item:hover {
        color: var(--primary) !important;
    }

    .mobile-bottom-nav-item.active i,
    .mobile-bottom-item.active i {
        color: var(--primary) !important;
        font-weight: bold;
    }

    .mobile-bottom-nav-badge,
    .mobile-bottom-badge {
        position: absolute;
        top: 6px;
        right: calc(50% - 18px);
        background: #ef4444;
        color: #ffffff;
        font-size: 0.65rem;
        font-weight: 800;
        min-width: 17px;
        height: 17px;
        line-height: 17px;
        border-radius: 9999px;
        text-align: center;
        padding: 0 4px;
        border: 2px solid #ffffff;
        box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    }

    .mobile-bottom-home {
        position: relative;
    }

    .mobile-bottom-home .home-icon-circle {
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: #0f172a;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: -10px;
        margin-bottom: 2px;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.22);
        transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), background 0.2s ease, box-shadow 0.2s ease;
        border: 2px solid #ffffff;
    }

    .mobile-bottom-home.active .home-icon-circle,
    .mobile-bottom-home:hover .home-icon-circle {
        background: #2563eb;
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
    }

    .mobile-bottom-home i {
        font-size: 1.2rem !important;
        margin-bottom: 0 !important;
        color: #ffffff !important;
    }

    /* 44px+ Touch Target Optimization */
    .btn,
    .btn-quick-cart,
    .btn-order-now,
    .mobile-menu-btn,
    .mobile-cart-btn,
    .header-icon-btn,
    .qty-btn,
    .cart-qty-btn {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        touch-action: manipulation;
    }

    .product-card-actions .btn-quick-cart,
    .product-card-actions .btn-order-now {
        min-height: 40px !important;
    }
}

/* ==========================================================================
   PREMIUM SECTION 'VIEW ALL' PILL BUTTONS & POLISHED ACTION BUTTONS
   ========================================================================== */
.btn-view-all-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0.44rem 1.05rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    color: #0f172a;
    background: #ffffff;
    border: 1.5px solid #d4af37;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.12);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
    cursor: pointer;
}
.btn-view-all-pill i {
    font-size: 0.85rem;
    color: #b8972e;
    transition: transform 0.25s ease, color 0.25s ease;
}
.btn-view-all-pill:hover {
    background: linear-gradient(135deg, #f7df8b 0%, #dfba55 50%, #d4af37 100%);
    color: #0a0a0d;
    border-color: #d4af37;
    box-shadow: 0 4px 16px rgba(212, 175, 55, 0.35);
    transform: translateY(-2px);
}
.btn-view-all-pill:hover i {
    transform: translateX(4px);
    color: #0a0a0d;
}
.btn-view-all-pill:active {
    transform: translateY(0);
}

/* Dark theme pill for New Arrivals */
.btn-view-all-dark {
    background: rgba(212, 175, 55, 0.08);
    color: #f7df8b;
    border-color: #d4af37;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.btn-view-all-dark i {
    color: #f7df8b;
}
.btn-view-all-dark:hover {
    background: #d4af37;
    color: #0a0a0d;
    box-shadow: 0 4px 18px rgba(212, 175, 55, 0.4);
}
.btn-view-all-dark:hover i {
    color: #0a0a0d;
}

/* Red theme pill for Flash Sale */
.btn-view-all-red {
    background: #fff5f5;
    color: #ef4444;
    border-color: #fca5a5;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.1);
}
.btn-view-all-red i {
    color: #ef4444;
}
.btn-view-all-red:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.3);
}
.btn-view-all-red:hover i {
    color: #ffffff;
}

@media (max-width: 640px) {
    .btn-view-all-pill {
        padding: 0.35rem 0.85rem;
        font-size: 0.72rem;
        gap: 5px;
    }
}

/* ==========================================================================
   NEW ARRIVALS LUXURY CARDS (FIXED HEIGHT & PERFECT BUTTON ALIGNMENT)
   ========================================================================== */
.new-arrival-card-modern {
    background: #111116;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
}
.new-arrival-card-modern:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
}
.na-thumb-wrap {
    position: relative;
    width: 100%;
    height: 170px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}
.na-thumb-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.na-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.new-arrival-card-modern:hover .na-thumb-wrap img {
    transform: scale(1.06);
}
.na-badge-new {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #10b981;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.na-details-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 4px 4px;
    min-height: 0;
}
.na-brand-tag {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.na-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 6px;
    line-height: 1.35;
    height: 2.7em;
    min-height: 2.7em;
    max-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.na-title a {
    color: inherit;
    text-decoration: none;
}
.na-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    min-height: 24px;
}
.na-price-curr {
    font-size: 1.12rem;
    font-weight: 800;
    color: #f7df8b;
}
.na-price-old {
    font-size: 0.82rem;
    color: #64748b;
    text-decoration: line-through;
    font-weight: 600;
}
.na-actions {
    margin-top: auto !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 7px !important;
    width: 100% !important;
}

/* ==========================================================================
   PRODUCT IMAGE INTERACTIVE MOUSE-HOVER MAGNIFIER ZOOM
   ========================================================================== */
.product-image-main {
    position: relative !important;
    overflow: hidden !important;
    cursor: crosshair !important;
    background: #ffffff !important;
    border-radius: 16px !important;
}
.product-image-main #galleryMainImage {
    transition: transform 0.12s ease-out;
    transform-origin: center center;
    will-change: transform, transform-origin;
    pointer-events: none;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}
.zoom-lens-indicator {
    position: absolute;
    width: 130px;
    height: 130px;
    border: 2px solid rgba(212, 175, 55, 0.75);
    background: rgba(212, 175, 55, 0.08);
    border-radius: 50%;
    pointer-events: none;
    display: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 16px rgba(212, 175, 55, 0.35);
    z-index: 10;
}

/* ==========================================================================
   HOMEPAGE POPULAR CATEGORIES SLIDER (SIGNATURE BRAND THEME)
   ========================================================================== */
.cat-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}
.cat-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
.cat-section-pill {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #b8972e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a0a0d;
    font-size: 18px;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    flex-shrink: 0;
}
.cat-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0;
}
.cat-section-badge {
    background: #fdf8e6;
    color: #927218;
    font-weight: 800;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.4);
}

.cat-slider-outer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}
.cat-slider-viewport {
    overflow: hidden;
    width: 100%;
    flex: 1;
    padding: 6px 2px 14px;
}
.cat-cards-grid {
    display: flex;
    gap: 16px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}
.cat-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37 0%, #b8972e 100%);
    color: #0a0a0d;
    border: none;
    cursor: pointer;
    font-size: 18px;
    z-index: 10;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.cat-nav-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #f7df8b 0%, #d4af37 100%);
    color: #000000;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}
.cat-nav-btn:disabled {
    background: #f1f5f9;
    color: #cbd5e1;
    border: 1px solid #e2e8f0;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

.cat-card-new {
    flex: 0 0 calc((100% - (5 * 16px)) / 6);
    min-width: 140px;
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 20px;
    padding: 18px 10px 16px;
    min-height: 165px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
}
.cat-card-new:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(212, 175, 55, 0.16);
    border-color: #d4af37;
}
.cat-circle {
    width: 116px;
    height: 116px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffffff, #fdf8e6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    border: 3px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25), 0 6px 18px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    box-sizing: border-box;
}
.cat-card-new:hover .cat-circle {
    box-shadow: 0 0 0 2.5px #d4af37, 0 8px 22px rgba(212, 175, 55, 0.3);
    transform: scale(1.04);
}
.cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}
.cat-card-new:hover .cat-circle img {
    transform: scale(1.06);
}
.cat-circle i {
    font-size: 38px;
    color: #b8972e;
}
.cat-name {
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
    margin: 0;
    line-height: 1.35;
    transition: color 0.2s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cat-card-new:hover .cat-name {
    color: #b8972e;
}

@media (max-width: 1200px) {
    .cat-card-new {
        flex: 0 0 calc((100% - (4 * 14px)) / 5);
        min-width: 130px;
    }
    .cat-cards-grid {
        gap: 14px;
    }
}
@media (max-width: 992px) {
    .cat-card-new {
        flex: 0 0 calc((100% - (3 * 12px)) / 4);
        min-width: 120px;
    }
    .cat-cards-grid {
        gap: 12px;
    }
    .cat-circle {
        width: 96px;
        height: 96px;
    }
}
@media (max-width: 768px) {
    .cat-section-container {
        padding-left: 4px !important;
        padding-right: 4px !important;
    }
    .cat-section-header {
        padding: 0 8px;
        margin-bottom: 12px;
    }
    .cat-section-title { font-size: 16px; }
    .cat-view-all { font-size: 11px; padding: 7px 12px; white-space: nowrap; }
    .cat-slider-outer {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        padding: 0 2px !important;
        gap: 0 !important;
        width: 100% !important;
    }
    .cat-slider-viewport {
        overflow: hidden !important;
        width: 100% !important;
        flex: 1 !important;
        padding: 6px 0 14px !important;
    }
    .cat-nav-btn {
        position: static !important;
        transform: none !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #dfba55 0%, #d4af37 100%) !important;
        color: #0a0a0d !important;
        border: none !important;
        cursor: pointer !important;
        font-size: 11px !important;
        z-index: 10 !important;
        flex-shrink: 0 !important;
        box-shadow: 0 2px 8px rgba(212, 175, 55, 0.35) !important;
        transition: all 0.2s ease !important;
    }
    .cat-nav-btn:hover:not(:disabled),
    .cat-nav-btn:active:not(:disabled) {
        transform: scale(1.08) !important;
        box-shadow: 0 4px 12px rgba(212, 175, 55, 0.5) !important;
    }
    .cat-nav-btn:disabled {
        opacity: 0.35 !important;
        cursor: default !important;
        transform: none !important;
        box-shadow: none !important;
        pointer-events: auto !important;
    }
    .cat-prev {
        margin-right: 4px !important;
        margin-left: 0 !important;
        left: auto !important;
    }
    .cat-next {
        margin-left: 4px !important;
        margin-right: 0 !important;
        right: auto !important;
    }
    .cat-cards-grid {
        display: flex !important;
        gap: 8px !important;
        padding: 4px 1px !important;
        transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1) !important;
        will-change: transform !important;
    }
    .cat-card-new {
        flex: 0 0 calc((100% - 2 * 8px) / 3) !important;
        max-width: calc((100% - 2 * 8px) / 3) !important;
        min-width: 0 !important;
        gap: 8px !important;
        padding: 10px 4px 10px !important;
        border-radius: 16px !important;
        box-sizing: border-box !important;
    }
    .cat-circle {
        width: calc(100% - 10px) !important;
        max-width: none !important;
        aspect-ratio: 1 / 1 !important;
        height: auto !important;
        border-radius: 50% !important;
        border: 2px solid #ffffff !important;
        box-shadow: 0 0 0 1.5px rgba(212, 175, 55, 0.28), 0 5px 14px rgba(0, 0, 0, 0.06) !important;
        background: linear-gradient(145deg, #ffffff, #fdf8e6) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }
    .cat-circle img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 50% !important;
        padding: 0 !important;
        display: block !important;
    }
    .cat-circle i {
        font-size: 24px !important;
    }
    .cat-name {
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
        margin: 0 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        text-align: center !important;
    }
}

/* New Arrivals Luxury Box & Responsive Styling */
.new-arrivals-luxury-box {
    background: linear-gradient(135deg, #0a0a0d 0%, #18181b 100%);
    border: 1.5px solid #d4af37;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

@media (max-width: 768px) {
    .new-arrivals-luxury-box {
        padding: 0.9rem 0.6rem !important;
        border-radius: 14px !important;
    }
    .new-arrivals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .new-arrival-card-modern {
        padding: 6px !important;
        border-radius: 12px !important;
    }
    .na-thumb-wrap {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        padding: 6px !important;
        border-radius: 8px !important;
    }
    .na-thumb-wrap img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
    }
    .na-badge-new {
        top: 5px !important;
        left: 5px !important;
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
    }
    .na-details-wrap {
        padding: 6px 2px 2px !important;
    }
    .na-brand-tag {
        font-size: 0.62rem !important;
        margin-bottom: 2px !important;
    }
    .na-title {
        font-size: 0.76rem !important;
        line-height: 1.3 !important;
        height: 30px !important;
        min-height: 30px !important;
        margin-bottom: 3px !important;
    }
    .na-price-row {
        margin-bottom: 5px !important;
        min-height: 20px !important;
        gap: 4px !important;
    }
    .na-price-curr {
        font-size: 0.92rem !important;
        font-weight: 800 !important;
    }
    .na-price-old {
        font-size: 0.68rem !important;
    }
    .na-actions {
        gap: 4px !important;
    }
    .na-actions .btn-quick-cart,
    .na-actions .btn-order-now {
        font-size: 0.74rem !important;
        padding: 6px 8px !important;
        min-height: 34px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 480px) {
    .new-arrivals-luxury-box {
        padding: 0.75rem 0.5rem !important;
    }
    .new-arrivals-grid {
        gap: 6px !important;
    }
    .new-arrival-card-modern {
        padding: 5px !important;
    }
    .na-actions .btn-quick-cart,
    .na-actions .btn-order-now {
        font-size: 0.7rem !important;
        padding: 5px 6px !important;
        min-height: 32px !important;
    }
}

/* ==========================================================================
   FLASH DEALS LUXURY SECTION (MATCHING NEW ARRIVALS LARGE CARDS)
   ========================================================================== */
.flash-deals-luxury-box {
    background: linear-gradient(135deg, #0a0a0d 0%, #18181b 100%);
    border: 1.5px solid #ef4444;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(239, 68, 68, 0.15), 0 4px 20px rgba(0, 0, 0, 0.35);
}
.btn-view-all-flash {
    background: rgba(239, 68, 68, 0.12) !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
}
.btn-view-all-flash:hover {
    background: #ef4444 !important;
    color: #ffffff !important;
    border-color: #ef4444 !important;
}
.flash-deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.flash-deal-card-modern {
    background: #111116;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    box-sizing: border-box;
}
.flash-deal-card-modern:hover {
    transform: translateY(-4px);
    border-color: rgba(239, 68, 68, 0.6);
    box-shadow: 0 10px 28px rgba(239, 68, 68, 0.25);
}
.fd-thumb-wrap {
    position: relative;
    width: 100%;
    height: 170px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    box-sizing: border-box;
}
.fd-thumb-wrap a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}
.fd-thumb-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.flash-deal-card-modern:hover .fd-thumb-wrap img {
    transform: scale(1.06);
}
.fd-badge-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}
.fd-details-wrap {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 4px 4px;
    min-height: 0;
}
.fd-brand-tag {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}
.fd-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 6px;
    line-height: 1.35;
    height: 2.7em;
    min-height: 2.7em;
    max-height: 2.7em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fd-title a {
    color: inherit;
    text-decoration: none;
}
.fd-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 14px;
    min-height: 24px;
}
.fd-price-curr {
    font-size: 1.12rem;
    font-weight: 800;
    color: #f87171;
}
.fd-price-old {
    font-size: 0.82rem;
    color: #64748b;
    text-decoration: line-through;
}
.fd-actions {
    margin-top: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

@media (max-width: 768px) {
    .flash-deals-luxury-box {
        padding: 0.9rem 0.6rem !important;
        border-radius: 14px !important;
    }
    .flash-deals-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    .flash-deal-card-modern {
        padding: 6px !important;
        border-radius: 12px !important;
    }
    .fd-thumb-wrap {
        height: auto !important;
        aspect-ratio: 1 / 1 !important;
        padding: 6px !important;
        border-radius: 8px !important;
    }
    .fd-thumb-wrap img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: 1 / 1 !important;
        object-fit: contain !important;
    }
    .fd-badge-discount {
        top: 5px !important;
        left: 5px !important;
        font-size: 0.58rem !important;
        padding: 2px 6px !important;
    }
    .fd-details-wrap {
        padding: 6px 2px 2px !important;
    }
    .fd-brand-tag {
        font-size: 0.62rem !important;
        margin-bottom: 2px !important;
    }
    .fd-title {
        font-size: 0.76rem !important;
        line-height: 1.3 !important;
        height: 30px !important;
        min-height: 30px !important;
        margin-bottom: 3px !important;
    }
    .fd-price-row {
        margin-bottom: 5px !important;
        min-height: 20px !important;
        gap: 4px !important;
    }
    .fd-price-curr {
        font-size: 0.92rem !important;
        font-weight: 800 !important;
    }
    .fd-price-old {
        font-size: 0.68rem !important;
    }
    .fd-actions {
        gap: 4px !important;
    }
    .fd-actions .btn-quick-cart,
    .fd-actions .btn-order-now {
        font-size: 0.74rem !important;
        padding: 6px 8px !important;
        min-height: 34px !important;
        border-radius: 6px !important;
    }
}

@media (max-width: 480px) {
    .flash-deals-luxury-box {
        padding: 0.75rem 0.5rem !important;
    }
    .flash-deals-grid {
        gap: 6px !important;
    }
    .flash-deal-card-modern {
        padding: 5px !important;
    }
    .fd-actions .btn-quick-cart,
    .fd-actions .btn-order-now {
        font-size: 0.7rem !important;
        padding: 5px 6px !important;
        min-height: 32px !important;
    }
}



