@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'FE11003T';
  src: url('https://static.wfonts.com/data/2015/06/23/futuratee/FE11003T.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'FE11006T';
  src: url('https://static.wfonts.com/data/2015/06/23/futuratee/FE11006T.ttf') format('truetype');
  font-display: swap;
}

.swiss-brand-row {
  display: inline-flex !important;
  align-items: baseline !important;
  gap: 4px !important;
  line-height: 1 !important;
}

.swiss-text {
  font-family: 'FE11003T', 'FuturaTee', sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.04em !important;
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: baseline !important;
  transform: translateY(-0.06em) !important; /* Perfect baseline levelling with FE11006T */
}

.brand-text {
  font-family: 'FE11006T', 'FuturaTeeBold', sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  line-height: 1 !important;
  display: inline-block !important;
  vertical-align: baseline !important;
}

.asymmetric-num {
  display: none !important;
}

:root {
    /* Colors - SWISSBRAND EYEWEAR Modern White & Royal Blue Theme */
    --bg-main: #ffffff;         /* Pure Crisp White */
    --bg-subtle: #f8fafc;       /* Soft High-Tech Slate Tint */
    --bg-card: #ffffff;         /* Pure White Cards */
    --text-primary: #0f172a;     /* Obsidian Midnight Slate */
    --text-secondary: #475569;   /* Designer Slate Gray */
    --accent: #2563eb;           /* Electric Royal Blue */
    --accent-red: #2563eb;       /* Royal Blue Primary */
    --accent-hover: #1d4ed8;     /* Deep Sapphire Royal Blue */
    --accent-blue: #2563eb;      /* Royal Blue */
    --accent-blue-light: #eff6ff;/* Soft Royal Tint */
    --border: #e2e8f0;           /* Crisp Border Slate */
    --success: #16a34a;          /* Vibrant Emerald */
    --danger: #dc2626;           /* Vivid Red */
    
    /* Global Legacy Color Aliases for Compatibility */
    --c-gold: #2563eb;           /* Royal Blue */
    --c-dark: #0f172a;
    --c-light: #ffffff;
    
    /* Fonts */
    --font-serif: 'Plus Jakarta Sans', system-ui, sans-serif;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    
    /* Spacing */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4.5rem;
    --space-2xl: 7rem;

    /* Shadows & Radii */
    --shadow-sm: 0 2px 4px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 8px 20px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
    --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.09), 0 4px 12px rgba(15, 23, 42, 0.04);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

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

/* Layout */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Prevent CSS Grid items from expanding beyond parent width (enforces responsive behavior) */
.grid > *,
.product-detail-grid > *,
.specs-panel-grid > *,
.shop-layout > *,
.cart-grid > *,
.brands-grid > *,
.service-grid-2 > *,
.type-card-container > * {
    min-width: 0;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
    gap: var(--space-lg);
}

.grid-cols-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.grid-cols-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

.responsive-form-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.responsive-form-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

@media (max-width: 576px) {
    .responsive-form-grid-2, .responsive-form-grid-3 {
        grid-template-columns: 1fr !important;
    }
}

/* =============================================
   NAVBAR — 2-Row Desktop Layout
   ============================================= */
.navbar {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Desktop row only shows on desktop */
.navbar-desktop-row {
    display: none;
}

/* Mobile row always visible */
.mobile-navbar-row {
    display: block;
}

/* ---- Desktop breakpoint ---- */
@media (min-width: 1024px) {
    /* Show desktop row, hide mobile row */
    .navbar-desktop-row { display: block; }
    .mobile-navbar-row { display: none; }

    /* Wide container for desktop */
    .navbar .container {
        max-width: 100% !important;
        padding: 0 3rem !important;
    }

    /* Single Desktop Row layout */
    .navbar-desktop-row {
        padding: 0.8rem 0;
    }

    .navbar-desktop-grid {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 2rem;
    }

    /* Desktop nav menu */
    .desktop-nav-menu {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        flex-wrap: wrap;
    }

    /* Each link in nav */
    .desk-nav-link {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0.65rem 1rem;
        font-size: 0.875rem;
        font-weight: 500;
        color: var(--text-secondary);
        white-space: nowrap;
        border-bottom: 2px solid transparent;
        transition: color 0.15s, border-color 0.15s;
        cursor: pointer;
    }

    .desk-nav-link:hover {
        color: var(--accent);
        border-bottom-color: var(--accent);
    }

    /* Caret icon */
    .desk-caret {
        font-size: 0.7rem;
        transition: transform 0.2s;
    }

    /* ---- Dropdown container ---- */
    .desk-dropdown {
        position: relative;
    }

    .desk-dropdown:hover .desk-caret {
        transform: rotate(180deg);
    }

    /* Dropdown panel — dynamic height, no max-height clamp */
    .desk-dropdown-panel {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        width: max-content; /* grows with content */
        max-width: 320px;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-top: 2px solid var(--accent);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-lg);
        z-index: 500;
        padding: 0.25rem 0;
        /* smooth open */
        animation: dropIn 0.15s ease;
    }

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

    .desk-dropdown:hover .desk-dropdown-panel {
        display: block;
    }

    /* Items inside dropdown */
    .desk-dropdown-item {
        display: block;
        padding: 0.55rem 1rem;
        font-size: 0.875rem;
        color: var(--text-primary);
        transition: background 0.1s, color 0.1s;
    }

    .desk-dropdown-item:hover {
        background: var(--bg-main);
        color: var(--accent);
    }

    /* Header item (e.g. "All Computer Components") */
    .desk-dropdown-item--header {
        font-weight: 600;
        border-bottom: 1px solid var(--border);
        color: var(--text-secondary);
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }

    .desk-dropdown-item--header:hover {
        color: var(--accent);
        background: var(--bg-main);
    }
}

/* ---- Legacy single-row navbar height (mobile) ---- */
.navbar-inner {
    height: 70px;
    align-items: center;
    justify-content: space-between;
}
/* Header Actions & Luxury Search Overlay */
.header-action-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 50%;
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}

.header-action-btn:hover {
    color: var(--c-gold) !important;
    background-color: var(--bg-main);
    transform: scale(1.08);
}

#luxury-search-overlay {
    opacity: 0;
    pointer-events: none;
    display: flex !important;
}

#luxury-search-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

#search-close-btn:hover {
    transform: rotate(90deg) scale(1.1);
    color: var(--danger);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-secondary);
}

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

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    top: 100%;
    left: 0;
    padding: var(--space-sm) 0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    display: block;
    font-size: 0.95rem;
}

.dropdown-content a:hover {
    background-color: var(--bg-main);
}

.nav-categories-heading {
    display: none;
}

/* Individual Category Dropdowns */
.cat-dropdown {
    position: relative;
    display: inline-block;
}

.cat-dropdown>a {
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--bg-card);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    top: 100%;
    left: 0;
    padding: var(--space-sm) 0;
    z-index: 200;
}

.cat-dropdown:hover .cat-dropdown-content {
    display: block;
}

.cat-dropdown-content a {
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    display: block;
    font-size: 0.95rem;
}

.cat-dropdown-content a:hover {
    background-color: var(--bg-main);
    color: var(--accent);
}

/* Mobile category accordion */
.mobile-cat-group {
    width: 100%;
}

.mobile-cat-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md);
    width: 100%;
    font-size: 1.1rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    color: var(--text-primary);
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    text-align: left;
    font-family: inherit;
}

.mobile-cat-toggle i {
    transition: transform 0.2s ease;
    font-size: 1rem;
    color: var(--text-secondary);
}

.mobile-cat-toggle.open i {
    transform: rotate(180deg);
}

.mobile-cat-children {
    display: none;
    flex-direction: column;
    background: #f8fafc;
}

.mobile-cat-children.open {
    display: flex;
}

.mobile-cat-children a {
    padding: 0.6rem var(--space-md) 0.6rem 2rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    border-bottom: 1px solid #f1f5f9;
}

.nav-actions {
    display: flex;
    align-items: center;
}

.cart-btn {
    position: relative;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    height: 20px;
    width: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 1rem 0;
}

/* Sections */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.025em;
}

/* Product Cards & Dynamic Auto Grid */
.product-auto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

@media (max-width: 640px) {
    .product-auto-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.85rem;
        align-items: start;
    }
}

.product-card {
    background-color: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    height: auto;
}

.product-card:hover {
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(-4px);
    border-color: #cbd5e1;
}

.product-card:hover .add-to-cart-btn:not(.in-cart-state) {
    background-color: var(--text-primary) !important;
    border-color: var(--text-primary) !important;
    color: #ffffff !important;
}

.add-to-cart-btn.in-cart-state {
    background-color: #eff6ff !important;
    border-color: var(--accent) !important;
    color: var(--accent) !important;
}

.product-card:hover .add-to-cart-btn.in-cart-state {
    background-color: var(--accent) !important;
    border-color: var(--accent) !important;
    color: #ffffff !important;
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background-color: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.product-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    margin: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.product-content {
    padding: 1.1rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    background: #ffffff;
}

.product-title {
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 0.4rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7rem;
    height: auto;
    text-align: left;
    text-decoration: none;
    width: 100%;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 0.35rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    gap: 0.2rem;
}

/* Add to Cart / View Cart Buttons - Always Centered */
.add-to-cart-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    width: 100% !important;
    margin-top: 0.85rem !important;
    margin-left: auto !important;
    margin-right: auto !important;
    align-self: center !important;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.8rem 1.5rem;
    border-radius: var(--radius-md); /* Standard rounded corners */
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    background-color: #ffffff;
    border: 1px solid var(--accent);
    color: var(--accent);
}

.btn-outline:hover {
    border-color: var(--accent-hover);
    color: var(--accent-hover);
    background-color: rgba(59, 130, 246, 0.05);
}

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

.btn-success:hover {
    background-color: #16a34a;
}

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

.btn-danger:hover {
    background-color: #dc2626;
}

/* Product Details Page */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.gallery-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    margin-bottom: var(--space-md);
}

.gallery-main img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.product-info h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

.product-info .price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-md);
}

.specs-table th,
.specs-table td {
    padding: var(--space-sm);
    border-bottom: 1px solid var(--border);
    text-align: left;
}

.specs-table th {
    color: var(--text-secondary);
    font-weight: 500;
    width: 40%;
}

/* Cart Page */
.cart-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-lg);
}

.cart-item-amz {
    display: flex;
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    margin-bottom: var(--space-md);
    gap: var(--space-lg);
}

.cart-item-amz-image {
    width: 150px;
    flex-shrink: 0;
}

.cart-item-amz-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.cart-item-amz-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-item-amz-title {
    font-size: 1.1rem;
    font-weight: 500;
    color: #0f1111;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.cart-item-amz-title:hover {
    color: #c45500;
    text-decoration: underline;
}

.cart-item-amz-stock {
    color: #007600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.cart-item-amz-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f1111;
    margin-bottom: 1rem;
}

.cart-item-amz-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.cart-qty-selector {
    display: flex;
    align-items: center;
    border: 2px solid #14f7ff;
    /* qty border */
    border-radius: 999px;
    background: #f0f2f2;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.qty-btn {
    background: transparent;
    border: none;
    padding: 0.25rem 0.75rem;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: #e3e6e6;
}

.qty-btn.trash-icon {
    font-size: 1rem;
}

.qty-val {
    padding: 0 0.5rem;
    font-weight: 500;
    min-width: 2rem;
    text-align: center;
    background: #fff;
    line-height: 2;
    border-left: 1px solid #d5d9d9;
    border-right: 1px solid #d5d9d9;
}

.cart-action-btn {
    background: transparent;
    border: none;
    color: #007185;
    cursor: pointer;
    font-size: 0.85rem;
    position: relative;
    padding: 0 0.5rem;
}

.cart-action-btn:hover {
    text-decoration: underline;
    color: #c45500;
}

.cart-action-btn:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 12px;
    width: 1px;
    background: #d5d9d9;
}

.cart-summary {
    background: var(--bg-card);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    height: fit-content;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.cart-summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    border-top: 1px solid var(--border);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
}

/* Form Elements */
.form-group {
    margin-bottom: var(--space-md);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 16px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), var(--shadow-md);
}

/* Footer */
.footer {
    background-color: #ffffff;
    border-top: 1px solid var(--border);
    padding-top: var(--space-xl);
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.footer-col h3,
.footer-col h4 {
    margin-bottom: var(--space-md);
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: var(--space-md) 0;
    text-align: center;
    color: var(--text-secondary);
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-2 {
    margin-bottom: var(--space-sm);
}

.mb-4 {
    margin-bottom: var(--space-md);
}

.mt-4 {
    margin-top: var(--space-md);
}

/* Responsive */
@media (max-width: 768px) {

    .product-detail-grid,
    .cart-grid,
    .grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: var(--space-md);
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-section {
        min-height: 250px !important;
    }

    .hero-content {
        padding: var(--space-md);
        text-align: left !important;
        align-items: flex-start !important;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .product-info h1 {
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .product-price {
        font-size: 1.3rem;
    }

    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        gap: 0.4rem;
    }

    .desktop-search {
        display: none !important;
    }

    .mobile-search-toggle {
        display: block !important;
    }

    .mobile-menu-btn {
        display: block !important;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex !important;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        left: auto;
        width: 70%;
        /* Use dynamic viewport height to fit exactly on mobile */
        height: 100dvh;
        background: var(--bg-card);
        flex-direction: column;
        /* Increase bottom padding to 8rem to ensure items aren't cut off by browser search bars */
        padding: 5rem var(--space-md) 8rem var(--space-md);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        box-shadow: -10px 0 20px rgba(0, 0, 0, 0.1);
        gap: 0;
        align-items: flex-start;
        overflow-y: auto; /* Enable scrolling on overflow */
        -webkit-overflow-scrolling: touch; /* Smooth inertial scrolling on iOS devices */
    }

    .nav-links a {
        padding: var(--space-md);
        width: 100%;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--border);
        user-select: none;
        -webkit-user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-categories-heading {
        display: block !important;
        margin-top: var(--space-sm);
    }

    .nav-links.active {
        right: 0 !important;
    }

    .cart-item-amz {
        flex-direction: column;
        gap: var(--space-md);
    }

    .cart-item-amz-image {
        width: 100%;
        max-width: 150px;
        margin: 0 auto;
    }

    .contact-card {
        padding: var(--space-lg) var(--space-md) !important;
        text-align: left !important;
        margin: 0 1rem var(--space-xl) 1rem !important;
    }

    /* ── Shop / Category Page Product Cards — Mobile ── */

    /* 2-column product grid on mobile */
    .shop-products-grid,
    .grid-cols-4.shop-grid,
    .products-grid,
    .grid.grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        align-items: start !important;
    }

    /* Card base: no hover lift on touch devices */
    .product-card {
        border-radius: 10px !important;
    }

    .product-card:hover {
        transform: none !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    }

    /* Dynamic Edge-to-Edge image area */
    .product-image-wrap {
        aspect-ratio: 4 / 3 !important;
        padding-top: 0 !important;
        background: #f8fafc !important;
        overflow: hidden !important;
    }

    .product-image-wrap img {
        object-fit: cover !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Content area: left-aligned, auto-height, no center gaps */
    .product-content {
        padding: 0.85rem 0.75rem 1rem !important;
        text-align: left !important;
        align-items: flex-start !important;
    }

    /* Title: 2-line clamp */
    .product-title {
        font-size: 0.84rem !important;
        line-height: 1.35 !important;
        text-align: left !important;
        min-height: 0 !important;
        -webkit-line-clamp: 2 !important;
        margin-bottom: 4px !important;
    }

    /* Price: left-aligned */
    .product-price {
        font-size: 0.95rem !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        margin-top: 4px !important;
        flex-wrap: wrap !important;
        gap: 4px !important;
    }

    .product-price span[style*="line-through"] {
        font-size: 0.72rem !important;
    }

    .product-price span[style*="background"] {
        font-size: 0.6rem !important;
        padding: 1px 4px !important;
    }

    .product-price div[style*="display: flex"] {
        gap: 0.2rem !important;
        flex-wrap: wrap !important;
    }

    /* Add to Cart button: compact, full width */
    .add-to-cart-btn {
        width: 100% !important;
        padding: 9px 10px !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        margin-top: 8px !important;
        border-radius: 6px !important;
        gap: 5px !important;
        justify-content: center !important;
        letter-spacing: 0.04em !important;
    }

    .add-to-cart-btn i {
        font-size: 0.9rem !important;
    }

    /* Stock / in-stock indicator text */
    .product-content div[style*="color: var(--success)"] {
        font-size: 0.68rem !important;
        margin-top: 2px !important;
    }


    /* Mobile Category Slider (horizontal scroll) */
    .category-products-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important; /* Smooth momentum scrolling on iOS */
        scroll-behavior: smooth !important;
        scrollbar-width: none !important; /* Hide default scrollbar for Firefox */
        gap: 12px !important;
        padding-top: 10px !important;
        padding-bottom: 12px !important;
        margin: 0 -16px !important; /* bleed slider to screen edges */
        padding-left: 16px !important;
        padding-right: 16px !important;
        border-radius: 0 !important;
    }

    .category-products-grid::-webkit-scrollbar {
        display: none !important; /* Hide default scrollbar for Chrome/Safari */
    }

    .category-products-grid .product-card {
        flex: 0 0 240px !important; /* Set fixed card width on mobile slider */
        max-width: 240px !important;
        border-radius: 12px !important;
        border: 1px solid var(--border) !important;
        box-shadow: var(--shadow-sm) !important;
        background: var(--bg-card) !important;
    }

    /* Style inner card elements for mobile slider */
    .category-products-grid .product-image-wrap {
        padding: 0.5rem !important;
        padding-top: 100% !important; /* Square layout on mobile slider */
    }

    .category-products-grid .product-image-wrap img {
        padding: 0.25rem !important;
    }

    .category-products-grid .product-content {
        padding: 12px !important;
    }

    .category-products-grid .product-title {
        font-size: 0.9rem !important;
        line-height: 1.3 !important;
        min-height: 2.3rem !important;
        margin-bottom: 6px !important;
    }

    .category-products-grid .product-price {
        font-size: 1.1rem !important;
        margin-top: auto !important;
    }

    .category-products-grid .product-price span[style*="line-through"] {
        font-size: 0.8rem !important;
    }

    .category-products-grid .product-price span[style*="background"] {
        font-size: 0.7rem !important;
        padding: 2px 6px !important;
    }

    .category-products-grid .product-price div[style*="display: flex"] {
        gap: 0.35rem !important;
        margin-top: 4px !important;
        flex-wrap: wrap !important;
    }

    /* View All Card (End of Slider) */
    .view-all-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 240px !important; /* Matches product card size */
        max-width: 240px !important;
        border: 2px dashed rgba(59, 130, 246, 0.4) !important; /* Dashed accent color border */
        border-radius: 12px !important;
        background: rgba(59, 130, 246, 0.02) !important; /* Subtle tint */
        padding: var(--space-lg) !important;
        text-align: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        color: var(--text-primary) !important;
        text-decoration: none !important;
    }

    .view-all-card:hover {
        background: rgba(59, 130, 246, 0.06) !important;
        border-color: var(--accent) !important;
    }

    .view-all-icon-wrap {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        background: rgba(59, 130, 246, 0.1) !important;
        color: var(--accent) !important;
        margin-bottom: var(--space-md) !important;
        font-size: 1.5rem !important;
        transition: transform 0.3s ease !important;
    }

    .view-all-card:hover .view-all-icon-wrap {
        transform: scale(1.1) !important;
        background: var(--accent) !important;
        color: #ffffff !important;
    }

    .view-all-title {
        font-size: 1.2rem !important;
        font-weight: 700 !important;
        color: var(--text-primary) !important;
        margin-bottom: 8px !important;
    }

    .view-all-desc {
        font-size: 0.85rem !important;
        color: var(--text-secondary) !important;
        line-height: 1.4 !important;
    }
}

/* =========================================
   NEW HOMEPAGE STYLES
   ========================================= */

/* Hero Section */
.hero-section {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-xl);
    background: #0f172a;
    /* Dark sleek background */
    color: white;
    display: flex;
    align-items: center;
    min-height: 400px;
    box-shadow: var(--shadow-lg);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: var(--space-xl);
    max-width: 600px;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: none;
}

.hero-badge {
    display: inline-block;
    background: rgba(59, 130, 246, 0.2);
    color: #93c5fd;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    font-weight: 800;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Shop by Category */
.category-scroller {
    display: flex;
    gap: var(--space-md);
    overflow-x: auto;
    padding: var(--space-md) 4px; /* Prevent hover clipping at the top */
    scrollbar-width: none;
    /* Firefox */
    width: 100%;
}

.category-scroller::-webkit-scrollbar {
    display: none;
}

.category-track {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

.category-circle-card {
    min-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-sm);
    transition: var(--transition);
}

.category-circle-card:hover {
    transform: translateY(-5px);
}

.category-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.category-circle:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

.category-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

/* Promo Banners */
.promo-banner {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
    color: white;
    min-height: 250px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.promo-banner:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.promo-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.promo-banner:hover img {
    opacity: 0.7;
}

.promo-content {
    position: relative;
    z-index: 2;
    padding: var(--space-lg);
}

.promo-content h3 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
    line-height: 1.2;
}

/* Updated Product Cards */
.product-card {
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Contact Card (Desktop styling matching Services page cards) */
.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    text-align: left;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06), 0 2px 8px rgba(15, 23, 42, 0.04);
}

.minimal-banner-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md) !important;
}

.product-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: #f8fafc;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
}

.product-image-wrap img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    padding: 0;
    margin: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    margin-bottom: var(--space-lg);
}

.filter-search {
    display: flex;
    gap: var(--space-sm);
    flex: 1;
    max-width: 400px;
}

.filter-sort {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Sort Form Layout */
.sort-form {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.sort-label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-right: var(--space-sm);
    white-space: nowrap;
}

.sort-select {
    width: auto;
    padding: 0.4rem 2rem 0.4rem 0.8rem;
    font-size: 0.9rem;
    border-radius: var(--radius-md);
    cursor: pointer;
}

@media (max-width: 768px) {
    .container {
        padding: 0 5%;
    }

    .filter-bar {
        flex-direction: column;
        gap: var(--space-md);
        align-items: flex-start;
    }

    .filter-search {
        width: 100%;
        max-width: none;
    }

    .filter-sort {
        width: 100%;
        justify-content: flex-end;
        align-items: flex-end;
    }

    .sort-form {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .sort-label {
        margin-right: 0;
        font-size: 0.75rem;
        color: var(--text-secondary);
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.05em;
    }

    .sort-select {
        font-size: 1rem;
        padding: 0.5rem 2rem 0.5rem 0.8rem;
        width: 100%;
        min-height: 44px;
    }
}

/* Header Search */
.header-search-form {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: 999px;
    padding: 0.25rem 0.5rem 0.25rem 1rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.header-search-form:focus-within {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15), var(--shadow-md);
}

.header-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    flex: 1;
    min-width: 50px;
    width: 100%;
}

.header-search-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 50%;
    transition: var(--transition);
}

.header-search-btn:hover {
    color: var(--accent);
    background: #e2e8f0;
}

/* Filter Sheet */
.filter-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    backdrop-filter: blur(2px);
}

.filter-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    z-index: 1001;
    transition: bottom 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 80vh;
    overflow-y: auto;
    padding: var(--space-lg);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}

.filter-sheet.active {
    bottom: 0;
}

.filter-sheet-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
    padding-bottom: var(--space-sm);
}

.filter-group {
    margin-bottom: var(--space-md);
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.filter-btn {
    background: var(--bg-main);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover {
    background: #e2e8f0;
    border-color: var(--text-secondary);
}

/* Mobile Search Container Animation */
.mobile-search-container {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border);
}

/* Carousel Indicator Pulse Effect */
.indicator.active {
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

/* =====================================================
   HERO CAROUSEL  —  Responsive Aspect Ratio
   IMAGE SIZE: 1920 × 800 px (12:5 ratio - Professional Standard)
   
   SPECS FOR BANNER CREATION:
   • Dimensions: 1920 x 800 pixels (EXACT SIZE TO USE)
   • Format: JPG (80-85% quality) or WebP (85% quality) for best performance
   • File size: Keep under 250KB per image
   • Behavior: The image will scale perfectly to fit any device size without cropping.
   • Aspect ratio: 12:5 (widescreen standard)
   • DPI: 72 (web standard)
   
   DESIGN TIPS:
   • The carousel will scale down exactly, so fonts baked into the image will be smaller on mobile.
   • Keep your main visual elements large enough to be legible on smaller screens.
   ===================================================== */
.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 800; /* Maintains exact ratio on all devices */
    overflow: hidden;
    background: #0f172a;
}

/* Track: flex row, width matches container so % translates work properly */
.hero-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

/* Each slide is exactly 100% of the carousel's viewport width */
.hero-slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
}

.hero-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Gradient overlay — only when text is shown */
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.1) 100%);
    display: flex;
    align-items: center;
    padding: 0 7%;
}

.hero-overlay-inner {
    max-width: 600px;
    color: #fff;
}

.hero-badge-pill {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 6px 18px;
    border-radius: 25px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.hero-heading {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 1.4rem;
    color: #fff;
    letter-spacing: -0.02em;
}

.hero-cta-btn {
    padding: 0.9rem 2.2rem;
    font-size: 1.05rem;
    font-weight: 600;
}

/* Prev / Next buttons */
.hc-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}
.hc-nav:hover { 
    background: rgba(0, 0, 0, 0.65);
    border-color: rgba(255, 255, 255, 0.3);
}
.hc-prev { left: 28px; }
.hc-next { right: 28px; }

/* Dot indicators */
.hc-dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.hc-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: width 0.3s, background 0.3s, border-radius 0.3s;
}
.hc-dot.active {
    width: 28px;
    border-radius: 5px;
    background: #fff;
}

/* ── Mobile overrides ─────────────────────────────── */
@media (max-width: 768px) {
    /* Height removed so aspect-ratio handles resizing perfectly without crop */

    .hero-heading {
        font-size: clamp(1.3rem, 4vw, 1.8rem);
        margin-bottom: 0.8rem;
    }

    .hero-badge-pill {
        font-size: 0.72rem;
        padding: 4px 12px;
        margin-bottom: 0.5rem;
    }

    .hc-nav {
        display: none !important;
    }
    .hc-prev { left: 10px; }
    .hc-next { right: 10px; }

    .hc-dots { bottom: 12px; }
    .hc-dot  { width: 8px; height: 8px; }
    .hc-dot.active { width: 24px; }

    .hero-cta-btn { padding: 0.5rem 1.2rem; font-size: 0.85rem; }
    .hero-overlay { padding: 0 5%; }
    .hero-overlay-inner { max-width: 100%; }
}

/* Mobile Brand Grid 2 Columns */
@media (max-width: 768px) {
    .brand-grid-mobile {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-sm) !important;
    }

    .brand-card-mobile {
        padding: var(--space-md) !important;
    }

    .brand-card-mobile img {
        height: 60px !important;
    }
}

/* ────────────────────────────────────────
   Product Page — Mobile Responsive Rules
──────────────────────────────────────── */
@media (max-width: 991px) {
    .product-info {
        padding: 0 1.25rem !important;
    }
}

.product-info ul,
.product-info ol {
    padding-left: 1.5rem !important;
    margin-bottom: 1.5rem !important;
    list-style-position: outside !important;
}

.product-info li {
    margin-bottom: 0.5rem !important;
    line-height: 1.6 !important;
}

@media (max-width: 768px) {
    .lens-selector-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .product-trust-bar {
        font-size: 0.72rem !important;
        gap: 0.4rem !important;
        padding: 0.6rem 0.5rem !important;
    }

    .product-trust-bar i {
        font-size: 1rem !important;
    }

    .product-action-btns {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }

    .product-action-btns button {
        width: 100% !important;
        min-width: unset !important;
    }
}

/* =====================================================
   PRODUCT DETAIL — Amazon-Style 2-Column Spec Panels
   ===================================================== */

/* Full-width section below product hero */
.specs-panels-section {
    margin-top: var(--space-xl);
    border-top: 1px solid var(--border);
    padding-top: var(--space-xl);
}

.specs-panels-section h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: var(--space-lg);
}

/* 2-column grid for the two panels */
.specs-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: start;
}

/* Individual panel card */
.specs-panel {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.specs-panel:hover {
    box-shadow: var(--shadow-md);
}

/* Clickable header row */
.specs-panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    cursor: pointer;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--border);
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.2s ease;
}

.specs-panel-header:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
}

.specs-panel-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.specs-panel-title i {
    font-size: 1.15rem;
    color: var(--accent);
}

.specs-panel-chevron {
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.specs-panel.collapsed .specs-panel-chevron {
    transform: rotate(-90deg);
}

/* Animated body */
.specs-panel-body {
    max-height: 9999px;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s ease,
                padding 0.3s ease;
    opacity: 1;
    padding: 0;
}

.specs-panel.collapsed .specs-panel-body {
    max-height: 0;
    opacity: 0;
}

/* Specs table inside panel */
.specs-panel-body .panel-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-panel-body .panel-specs-table tr:last-child td,
.specs-panel-body .panel-specs-table tr:last-child th {
    border-bottom: none;
}

.specs-panel-body .panel-specs-table th,
.specs-panel-body .panel-specs-table td {
    padding: 0.65rem 1.25rem;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    text-align: left;
    vertical-align: top;
    word-break: break-word;
}

.specs-panel-body .panel-specs-table th {
    color: var(--text-secondary);
    font-weight: 500;
    width: 42%;
    background: #fafbfc;
}

.specs-panel-body .panel-specs-table td {
    color: var(--text-primary);
    font-weight: 500;
}

.specs-panel-body .panel-specs-table tr:hover td,
.specs-panel-body .panel-specs-table tr:hover th {
    background: #f8fafc;
}

/* Responsive: stack to 1 column on mobile */
@media (max-width: 768px) {
    .specs-panel-grid {
        grid-template-columns: 1fr;
    }
    .specs-panels-section {
        margin-top: var(--space-lg);
        padding-top: var(--space-lg);
    }
    .specs-panel-body .panel-specs-table {
        table-layout: fixed;
    }
    .specs-panel-body .panel-specs-table th,
    .specs-panel-body .panel-specs-table td {
        padding: 0.5rem var(--space-sm);
    }
}

/* =============================================
   FAQ Section - Premium Accordion Design
   ============================================= */
.faq-section {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-lg) 0;
}

.faq-header {
    text-align: center;
    margin-bottom: var(--space-lg);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-header h2 {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.faq-header p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-item.active {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background: none;
    border: none;
    text-align: left;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
}

.faq-question-text {
    flex: 1;
    padding-right: var(--space-md);
}

.faq-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-main);
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.faq-item:hover .faq-icon-wrapper {
    color: var(--accent);
    background-color: rgba(59, 130, 246, 0.08);
}

.faq-item.active .faq-icon-wrapper {
    background-color: var(--accent);
    color: #ffffff;
    transform: rotate(180deg);
}

.faq-icon-wrapper i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.35s ease;
    opacity: 0;
}

.faq-item.active .faq-answer {
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 1.75rem 1.5rem 1.75rem;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    border-top: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.faq-item.active .faq-answer-inner {
    border-color: var(--border);
}

/* Responsive adjustment for FAQ */
@media (max-width: 640px) {
    .faq-header h2 {
        font-size: 1.75rem;
    }
    .faq-question {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    .faq-answer-inner {
        padding: 0 1.25rem 1.25rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Desktop overrides for Category Rows (PC remains unchanged) */
@media (min-width: 769px) {
    .category-products-grid .product-card:nth-child(n+5) {
        display: none !important;
    }
    .view-all-card {
        display: none !important;
    }
}

/* Brand Cards Styling */
.brand-card,
.brand-card-mobile {
    box-shadow: var(--shadow-sm);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.brand-card:hover,
.brand-card-mobile:hover {
    transform: translateY(-4px);
    border-color: var(--accent) !important;
    box-shadow: var(--shadow-md) !important;
}

/* Partner Branch Card */
.partner-branch-card {
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-2xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 4rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 768px) {
    .partner-branch-card {
        padding: var(--space-xl) var(--space-md) !important;
        margin-top: var(--space-xl) !important;
        margin-bottom: var(--space-xl) !important;
    }
}

/* Brands Carousel */
.brands-carousel-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: var(--space-xl);
}

.brands-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    scroll-behavior: smooth;
    padding: 10px 4px; /* Prevent hover clipping */
}

.brands-carousel::-webkit-scrollbar {
    display: none;
}

.brands-slide {
    flex: 0 0 100%;
    width: 100%;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: var(--space-md);
    padding: 10px 4px; /* Prevent hover clipping */
}

@media (max-width: 768px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, auto);
    }
}

/* Brands dots */
.brands-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.brands-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brands-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

/* Category Slider Wrapper */
.category-slider-wrapper {
    position: relative;
    width: 100%;
}

.category-nav-btn {
    display: none;
}

@media (min-width: 769px) {
    /* Give wrapper side margins so the absolute arrow buttons don't overlap cards */
    .category-slider-wrapper {
        padding: 0 30px;
    }

    .category-nav-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--bg-card);
        border: 1px solid var(--border);
        color: var(--text-primary);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        transition: all 0.2s ease;
        box-shadow: var(--shadow-sm);
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
    }
    .category-nav-btn:hover {
        background: var(--accent);
        color: white;
        border-color: var(--accent);
    }
    .category-nav-prev {
        left: 0;
    }
    .category-nav-next {
        right: 0;
    }
    
    /* Hide clones on PC */
    .category-track-clone {
        display: none !important;
    }
}

/* =====================================================
   GLOBAL RESPONSIVE — All Devices
   Tablet: 576px–991px | Mobile: <576px | Desktop: 992px+
   ===================================================== */

/* ── Fix images/media overflowing their containers ── */
img, video, iframe, embed {
    max-width: 100%;
    height: auto;
}

/* ── Prevent horizontal scroll globally ── */
html, body {
    overflow-x: hidden;
}

/* ── Tablet (576px – 991px) ── */
@media (min-width: 576px) and (max-width: 991px) {

    .container {
        padding: 0 4%;
    }

    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg) !important;
    }

    .cart-grid {
        grid-template-columns: 1fr !important;
    }

    .shop-layout {
        grid-template-columns: 1fr !important;
    }

    #featured .grid-cols-4,
    .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-md) !important;
    }

    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .asymmetric-card-size-1,
    .asymmetric-card-size-2,
    .asymmetric-card-size-3,
    .asymmetric-card-size-4 {
        grid-column: span 6 !important;
    }

    .hero-visual-panel {
        height: 320px !important;
    }

    .hero-editorial-panel {
        padding: 3rem 2rem !important;
    }

    .footer-inner {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: var(--space-lg) !important;
    }

    .specs-panel-grid {
        grid-template-columns: 1fr !important;
    }

    .responsive-form-grid-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .luxury-btn-group {
        flex-direction: column !important;
        gap: var(--space-sm) !important;
    }

    .btn-luxury-primary,
    .btn-luxury-secondary {
        width: 100% !important;
        text-align: center !important;
        justify-content: center !important;
    }
}

/* ── Mobile (<576px) ── */
@media (max-width: 575px) {

    .container {
        padding: 0 4% !important;
    }

    .grid-cols-2,
    .grid-cols-3,
    .product-detail-grid,
    .cart-grid,
    .shop-layout,
    .specs-panel-grid {
        grid-template-columns: 1fr !important;
    }

    #featured .grid-cols-4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .asymmetric-card-size-1,
    .asymmetric-card-size-2,
    .asymmetric-card-size-3,
    .asymmetric-card-size-4 {
        grid-column: 1 / -1 !important;
    }

    .hero-visual-panel {
        height: 240px !important;
    }

    .hero-editorial-panel {
        padding: 2.5rem 1.25rem !important;
    }

    .glass-spec-card {
        display: none !important;
    }

    .hero-title-large {
        font-size: clamp(1.9rem, 8vw, 2.6rem) !important;
    }

    .gold-circular-badge {
        width: 78px !important;
        height: 78px !important;
        top: 0.75rem !important;
        right: 0.75rem !important;
    }

    .cart-item-amz {
        flex-direction: column !important;
        gap: var(--space-md) !important;
    }

    .cart-item-amz-image {
        width: 100% !important;
        max-width: 140px !important;
        margin: 0 auto !important;
    }

    .cart-item-amz-actions {
        flex-wrap: wrap !important;
        gap: var(--space-sm) !important;
    }

    .responsive-form-grid-2,
    .responsive-form-grid-3 {
        grid-template-columns: 1fr !important;
    }

    #checkout-form-container {
        padding: var(--space-lg) var(--space-md) !important;
    }

    .footer-inner {
        grid-template-columns: 1fr !important;
    }

    .footer-col {
        text-align: left !important;
    }

    .section-title {
        font-size: 1.35rem !important;
    }

    .luxury-btn-group {
        flex-direction: column !important;
        gap: var(--space-sm) !important;
    }

    .btn-luxury-primary,
    .btn-luxury-secondary {
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .product-image-wrap {
        padding-top: 90% !important;
    }

    .related-products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .search-overlay-container {
        padding: 1.5rem 1rem !important;
    }

    #overlay-search-input {
        font-size: 1.25rem !important;
    }

    .lens-selector-grid {
        grid-template-columns: 1fr !important;
    }

}

@media (max-width: 768px) {
    .top-announcement-bar {
        font-size: 0.68rem !important;
        flex-direction: column !important;
        gap: 0.35rem !important;
        padding: 0.5rem 0.75rem !important;
        text-align: center !important;
    }

    .top-announcement-bar .badge-swiss {
        font-size: 0.62rem !important;
        display: inline-block !important;
        width: fit-content !important;
        margin-bottom: 0.15rem !important;
    }

    .top-announcement-bar span:not(.badge-swiss) {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        line-height: 1.45 !important;
        white-space: normal !important;
        word-break: break-word !important;
    }
}

/* =============================================
   SWISSBRAND EYEWEAR — $10,000 Component Library
   ============================================= */

/* Top Announcement Bar */
.top-announcement-bar {
    background: #0B132A;
    color: #FFFFFF;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 101;
}

.top-announcement-bar .badge-swiss {
    background: #2563EB;
    color: #FFFFFF;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Category Navigation Bar */
.category-pills-wrapper {
    background: #FFFFFF;
    border-bottom: 1px solid #E2E8F0;
    padding: 0.75rem 0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.category-pills-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.25rem 0;
}

.category-pills-nav::-webkit-scrollbar {
    display: none;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #0F172A;
    white-space: nowrap;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-pill:hover,
.cat-pill.active {
    background: #2563EB;
    color: #FFFFFF;
    border-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.2);
}

.cat-pill i {
    color: #2563EB;
    font-size: 1.15rem;
    transition: color 0.2s;
}

.cat-pill:hover i,
.cat-pill.active i {
    color: #FFFFFF;
}

/* Modern Swiss Badges */
.badge-swiss-red {
    background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 0.3rem 0.7rem;
    border-radius: 4px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.badge-lens-blue {
    background: #EFF6FF;
    color: #2563EB;
    border: 1px solid #BFDBFE;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

.badge-titanium {
    background: #0F172A;
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
}

/* Eyewear Lens Selection Panel */
.lens-selector-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.lens-option-card {
    border: 2px solid #E2E8F0;
    border-radius: 12px;
    padding: 1.25rem;
    cursor: pointer;
    background: #FFFFFF;
    transition: all 0.25s ease;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    position: relative;
}

.lens-option-card:hover {
    border-color: #2563EB;
    background: #F8FAFC;
    transform: translateY(-2px);
}

.lens-option-card.active,
.lens-option-card.selected {
    border-color: #2563EB;
    background: #EFF6FF;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.15);
}

.lens-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #EFF6FF;
    color: #2563EB;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.lens-option-card.active .lens-icon-box {
    background: #2563EB;
    color: #FFFFFF;
}

.lens-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.25rem;
}

.lens-info p {
    font-size: 0.8rem;
    color: #475569;
    line-height: 1.4;
}

.lens-price-tag {
    font-size: 0.85rem;
    font-weight: 800;
    color: #2563EB;
    margin-top: 0.4rem;
}

/* Face Shape Quiz & Virtual Try-On Banner */
.face-shape-banner {
    background: linear-gradient(135deg, #0B132A 0%, #1E293B 100%);
    border-radius: 16px;
    color: #FFFFFF;
    padding: 3rem 2.5rem;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 2rem;
}

.face-shape-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25) 0%, rgba(37, 99, 235, 0) 70%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .face-shape-banner {
        grid-template-columns: 1fr;
        padding: 2rem 1.5rem;
    }
}

/* ── Desktop (992px+) ── */
@media (min-width: 992px) {
    .shop-layout {
        grid-template-columns: 280px 1fr;
    }
}