﻿:root {
    /* ── Brand & actions (tweak these to re-theme the store) ── */
    --primary: #2874f0;
    --primary-dark: #1c5fd0;
    --primary-light: #e7f1ff;
    --primary-rgb: 40, 116, 240;
    --accent: #ff9f00;
    --accent-dark: #e58f00;
    --cta: #fb641b;
    --cta-dark: #e55a15;

    /* ── Semantic colors ── */
    --secondary: var(--accent);
    --secondary-dark: var(--accent-dark);
    --success: #008a00;
    --success-bg: #e7f5e7;
    --danger: #cc0c39;
    --danger-bg: #ffeef2;
    --warning: #ff9f00;

    /* ── Surfaces & text (WCAG-friendly on white) ── */
    --dark: #131921;
    --dark-800: #232f3e;
    --text-primary: #131921;
    --text-secondary: #565959;
    --text-muted: #767676;
    --gray: var(--text-secondary);
    --gray-light: #f1f3f6;
    --white: #ffffff;
    --surface: #ffffff;
    --surface-page: #f1f3f6;
    --surface-elevated: #ffffff;
    --border: #d5d9d9;
    --border-light: #e7e7e7;

    /* ── Header & footer ── */
    --header-top-bg: #131921;
    --header-top-text: rgba(255, 255, 255, 0.88);
    --header-top-muted: rgba(255, 255, 255, 0.55);
    --header-bg: #ffffff;
    --header-text: var(--text-primary);
    --header-link: var(--text-secondary);
    --header-link-active: var(--primary);
    --header-border: var(--border-light);
    --footer-bg: #232f3e;
    --footer-bg-deep: #131921;

    /* ── Typography ── */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Plus Jakarta Sans', var(--font-sans);
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --line-height: 1.6;

    /* ── Spacing ── */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;

    /* ── Elevation & motion ── */
    --shadow-sm: 0 1px 2px rgba(15, 17, 25, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 17, 25, 0.08);
    --shadow-lg: 0 8px 24px rgba(15, 17, 25, 0.1);
    --shadow-xl: 0 16px 40px rgba(15, 17, 25, 0.12);
    --shadow-header: 0 1px 0 var(--border-light), 0 4px 16px rgba(15, 17, 25, 0.06);
    --transition-fast: 150ms ease;
    --transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --radius-pill: 999px;
}

a,
button,
.btn,
.nav-link,
.card,
.product-card,
.form-control,
.form-select {
    transition: var(--transition);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--surface-page);
    padding-bottom: 100px;
    line-height: var(--line-height);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .fw-black, .fw-800 {
    font-family: var(--font-display);
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.text-primary {
    color: var(--primary) !important;
}

@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }
}

.top-bar {
    background: var(--header-top-bg) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.top-bar__item {
    color: var(--header-top-text);
}

.top-bar__item i {
    color: var(--accent);
}

.top-bar__label {
    color: var(--header-top-muted);
}

.top-bar__social {
    color: rgba(255, 255, 255, 0.65);
}

.top-bar__social:hover {
    color: #fff;
}

.navbar {
    box-shadow: var(--shadow-header);
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    padding: var(--space-3) 0;
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--header-text);
    letter-spacing: -0.03em;
}

.main-header.navbar-dark .navbar-toggler {
    border-color: var(--border);
}

.main-header.navbar-dark .navbar-toggler-icon {
    filter: invert(1) hue-rotate(180deg);
}

.user-dropdown-menu {
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    min-width: 220px;
}

.nav-link {
    font-weight: 600;
    color: var(--header-link) !important;
    padding: 0.55rem 1rem !important;
    border-radius: var(--radius-sm);
    font-size: var(--font-size-sm);
}

.navbar-dark .nav-link {
    color: var(--header-link) !important;
}

.nav-link:hover,
.nav-link.active {
    color: var(--header-link-active) !important;
    background: var(--primary-light);
}

/* Override for Bootstrap nav-tabs (product page tabs etc.) — white bg context */
.nav-tabs .nav-link {
    color: #555 !important;
    background: transparent;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.nav-tabs .nav-link:hover {
    color: var(--primary) !important;
    background: var(--primary-light);
}

.nav-tabs .nav-link.active {
    color: var(--primary) !important;
    background: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
}

/* Header alignment */
.main-header {
    min-height: 72px;
    padding: var(--space-2) 0;
    background: var(--header-bg) !important;
}

.main-header .header-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.header-logo img {
    display: block;
    width: auto;
    height: 48px;
    max-width: 220px;
    object-fit: contain;
    /* PNG is transparent — renders cleanly on dark navbar */
}

.header-collapse {
    align-items: center;
    gap: clamp(1rem, 2vw, 2rem);
}

.primary-nav {
    align-items: center;
    flex: 0 0 auto;
    gap: 0.35rem;
    margin-right: auto;
}

.main-header .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.65rem 1rem !important;
    line-height: 1;
    white-space: nowrap;
}

.main-header .nav-link.active {
    min-width: 82px;
}

.header-search {
    flex: 1 1 360px;
    max-width: 430px;
    min-width: 260px;
    margin: 0 clamp(0.5rem, 1.4vw, 1.5rem);
}

.header-search .input-group {
    height: 48px;
    flex-wrap: nowrap;
    background: var(--gray-light);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
}

.header-search .input-group-text {
    width: 48px;
    justify-content: center;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background: transparent;
    border: none;
    color: var(--text-muted);
}

.header-search .form-control {
    height: 48px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding-top: 0;
    padding-bottom: 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.header-search .form-control::placeholder {
    color: var(--text-muted);
}

.header-search .form-control:focus {
    background: transparent;
    box-shadow: none;
    color: var(--text-primary);
}

.header-search .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

.header-search .input-group-text.bg-white {
    background: transparent !important;
    border: none !important;
}

.header-search .form-control.border-2 {
    border: none !important;
}

.header-actions {
    align-items: center;
    flex: 0 0 auto;
    gap: 0.65rem;
}

.header-actions .nav-item {
    display: flex;
    align-items: center;
}

.header-icon-link {
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0 !important;
    color: var(--header-link) !important;
    border-radius: var(--radius-sm);
}

.header-icon-link:hover {
    background: var(--primary-light);
    color: var(--primary) !important;
}

.header-user-menu .nav-link,
.main-header .header-actions .nav-link.fw-semibold {
    color: var(--text-primary) !important;
}

.header-signup-btn {
    min-width: 120px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    padding: 0 1.25rem;
    font-size: var(--font-size-sm);
    line-height: 1;
    white-space: nowrap;
    font-weight: 700;
}

.header-icon-link .cart-count-badge {
    top: 0;
    right: 0;
    min-width: 20px;
    height: 20px;
    padding: 0 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    line-height: 1;
    background: var(--cta) !important;
}

.header-user-menu {
    margin-left: 0.25rem;
}

@media (max-width: 1399px) {
    .main-header .header-container {
        gap: 1.25rem;
    }

    .header-logo img {
        height: 48px;
        max-width: 230px;
    }

    .primary-nav {
        gap: 0.1rem;
    }

    .main-header .nav-link {
        padding-left: 0.8rem !important;
        padding-right: 0.8rem !important;
    }

    .header-search {
        max-width: 360px;
        min-width: 230px;
        margin-left: 0.35rem;
        margin-right: 0.35rem;
    }

    .header-actions {
        gap: 0.35rem;
    }

    .header-signup-btn {
        min-width: 128px;
        padding: 0 1.35rem;
    }
}

@media (max-width: 1199px) {
    .main-header {
        min-height: 82px;
    }

    .header-logo img {
        height: 42px;
        max-width: 205px;
    }

    .main-header .nav-link {
        font-size: 0.9rem;
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
    }

    .header-search {
        flex-basis: 280px;
        max-width: 300px;
        min-width: 210px;
    }
}

@media (max-width: 1199.98px) {
    .main-header {
        min-height: auto;
        padding: 0.75rem 0;
    }

    .main-header .header-container {
        gap: 1rem;
    }

    .header-logo img {
        height: 44px;
    }

    .header-collapse {
        gap: 1rem;
        padding-top: 1rem;
        background: var(--surface);
        border-top: 1px solid var(--border-light);
        padding: 1rem;
        margin-top: 0.5rem;
        border-radius: 0 0 var(--radius-md) var(--radius-md);
        box-shadow: var(--shadow-md);
    }

    .primary-nav,
    .header-actions {
        align-items: stretch;
        width: 100%;
        gap: 0.4rem;
    }

    .main-header .nav-link {
        justify-content: flex-start;
        width: 100%;
        min-height: 44px;
        color: var(--header-link) !important;
    }

    .main-header .nav-link.active {
        min-width: 0;
        color: var(--primary) !important;
        background: var(--primary-light);
    }

    .header-search {
        width: 100%;
        max-width: none;
        min-width: 0;
        margin: 0;
        order: 2;
    }

    .header-actions {
        order: 3;
    }

    .header-icon-link {
        width: 100%;
        justify-content: flex-start;
        padding: 0.65rem 1rem !important;
    }

    .header-icon-link .cart-count-badge {
        left: 2rem;
        right: auto;
    }

    .header-signup-btn {
        width: 100%;
        min-width: 0;
        height: 48px;
        margin-top: 0.25rem;
    }
}

@media (max-width: 575px) {
    .header-logo img {
        height: 38px;
        max-width: 190px;
    }

    .header-search .input-group,
    .header-search .form-control {
        height: 50px;
    }

    .header-search .input-group-text {
        width: 52px;
    }
}



.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 700;
    padding: 0.875rem 2rem;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.hero-section {
    background:
        linear-gradient(135deg, rgba(19, 25, 33, 0.88) 0%, rgba(40, 116, 240, 0.45) 55%, rgba(19, 25, 33, 0.75) 100%),
        url('../images/hero-bg.webp') center center / cover no-repeat;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
    min-height: 520px;
}

/* Override text colours so they read on the dark photo */
.hero-section .text-gray { color: rgba(226,232,240,0.9) !important; }
.hero-section .text-gradient {
    background: linear-gradient(135deg, #fca5a5 0%, #f87171 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-section h1 { color: #fff; }
.hero-section .badge {
    background: rgba(255,255,255,0.15) !important;
    color: #fca5a5 !important;
    backdrop-filter: blur(8px);
}
.hero-section .border-top { border-color: rgba(255,255,255,0.15) !important; }
.hero-section .fw-bold.h3 { color: #fca5a5; }
.hero-section .text-gray.small,
.hero-section [style*="font-size: 0.9rem"] { color: rgba(203,213,225,0.85) !important; }

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(37,99,235,0.18) 0%, transparent 65%);
    pointer-events: none;
}

@keyframes float {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 3.5rem 0;
        min-height: auto;
        background-position: 70% center;
    }
}

/* Furio 98 — Bike Accessories Store UI */
.transition-all { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-scale { transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.transition-colors { transition: color 0.2s ease, background-color 0.2s ease; }
.transition-translate { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; }

.shadow-hover:hover { box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important; }
.group:hover .transition-scale { transform: scale(1.08); }
.group:hover .transition-translate { transform: translateY(0); opacity: 1 !important; }
.transition-translate { transform: translateY(10px); }

.aspect-ratio-1 { aspect-ratio: 1 / 1; }
.fw-black { font-weight: 900; }
.tracking-wider { letter-spacing: 0.05em; }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    background: var(--surface);
    border: 1px solid var(--border-light) !important;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.product-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--border) !important;
    transform: translateY(-2px);
}

.product-card .card-body {
    padding: var(--space-4);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card .card-title {
    font-weight: 700;
    font-size: var(--font-size-sm);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    line-height: 1.45;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .text-muted.small.line-clamp-1 {
    min-height: 1.5em; /* Force exactly 1 line height */
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .mt-auto {
    margin-top: auto;
}

.product-card .aspect-ratio-1 {
    aspect-ratio: 1 / 1;
    background-color: var(--gray-light);
    width: 100%;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.product-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

/* Ensure price and button are aligned at bottom */
.product-card .price-section {
    min-height: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-card .btn {
    width: 100%;
    border-radius: var(--radius-md);
    padding: 0.65rem 1rem;
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.wishlist-btn {
    width: 40px;
    height: 40px;
    z-index: 10;
    background: var(--surface) !important;
    border: 1px solid var(--border-light) !important;
}

.wishlist-btn:hover {
    background: var(--danger-bg) !important;
    transform: scale(1.05);
}

.wishlist-btn.active {
    background: var(--danger-bg) !important;
}

.btn-white { background: white; color: var(--dark); }
.btn-white:hover { background: #f8f9fa; transform: scale(1.1); }

.hover-text-primary:hover { color: var(--primary) !important; }

/* Filter Sidebar Modern Styles */
.shop-filter-column {
    position: sticky;
    top: 130px;
    align-self: flex-start;
}

.filter-sidebar {
    background: var(--surface);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    max-height: calc(100vh - 150px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #e2e8f0 transparent;
}

.filter-sidebar::-webkit-scrollbar {
    width: 4px;
}

.filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.filter-sidebar::-webkit-scrollbar-thumb {
    background: #e2e8f0;
    border-radius: 4px;
}

.filter-sidebar .card-header {
    border-bottom: 1px solid #f1f5f9;
    padding: 1.5rem;
}

.filter-sidebar .card-body {
    padding: 1.5rem;
}

/* Custom Checkbox/Radio styling */
.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Range Slider Premium Look */
.dual-range-slider {
    position: relative;
    height: 6px;
    background: #e2e8f0;
    border-radius: 10px;
    margin: 20px 0;
}

.slider-range {
    position: absolute;
    height: 100%;
    background: var(--primary);
    border-radius: 10px;
}

.slider-input {
    position: absolute;
    width: 100%;
    height: 6px;
    top: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
}

.slider-input::-webkit-slider-thumb {
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--primary);
    pointer-events: auto;
    -webkit-appearance: none;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Shop Toolbar */
.shop-toolbar {
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .shop-filter-column {
        position: static;
    }

    .filter-sidebar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1050;
        border-radius: 24px 24px 0 0;
        max-height: 85vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .filter-sidebar.show {
        transform: translateY(0);
    }
}

.wishlist-btn i {
    color: var(--text-muted);
    font-size: 1rem;
    transition: color 0.15s ease;
}

.wishlist-btn:hover i,
.wishlist-btn.active i {
    color: var(--danger);
}

.mobile-bottom-nav {
    z-index: 1030;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2px 12px rgba(15, 17, 25, 0.08);
    background: var(--surface) !important;
    border-top: 1px solid var(--border-light);
}

.mobile-bottom-nav a,
.mobile-nav-link {
    color: var(--text-muted);
    font-weight: 600;
    font-size: var(--font-size-xs);
    transition: var(--transition-fast);
}

.mobile-bottom-nav a:hover,
.mobile-bottom-nav a.active,
.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: var(--primary);
}

.mobile-bottom-nav a.active i {
    color: var(--primary);
}

.power-selector {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.power-option {
    padding: 0.875rem 1.25rem;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.95rem;
    transition: var(--transition-fast);
    background: white;
}

.power-option:hover, .power-option.active {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

.section-title {
    font-weight: 800;
    font-size: 2.25rem;
    background: linear-gradient(135deg, var(--dark) 0%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.card {
    border: none;
    border-radius: var(--radius-lg);
}

.card-header {
    background: white;
    border-bottom: 1px solid #f1f5f9;
}

.benefit-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    color: #fff;
    font-size: 2rem;
    box-shadow: var(--shadow-md);
}

footer {
    background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-deep) 100%);
    color: var(--footer-text);
    position: relative;
}

footer a.text-white {
    transition: opacity 0.2s ease, color 0.2s ease;
}

footer a.text-white:hover {
    opacity: 1 !important;
    color: #fff !important;
}

.footer-logo {
    height: 56px;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.footer-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
    color: #fff !important;
}

footer .form-control {
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

footer .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

footer .form-control:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25);
}

.sticky-cart-btn {
    position: fixed;
    bottom: 100px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cta);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 1029;
    transition: var(--transition);
}

#newsletterBtn {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-weight: 600;
}

#newsletterBtn:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
}

.sticky-cart-btn:hover {
    transform: scale(1.06);
    background: var(--cta-dark);
    box-shadow: var(--shadow-xl);
}

@media (min-width: 768px) {
    .sticky-cart-btn {
        bottom: 40px;
        right: 40px;
    }
}

.price {
    font-weight: 800;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.product-card .price-section .fs-4.fw-black.text-primary,
.product-card .text-primary {
    color: var(--text-primary) !important;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
}

.btn-primary {
    background: var(--cta);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 2px 8px rgba(251, 100, 27, 0.35);
    font-size: var(--font-size-base);
    letter-spacing: 0;
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(251, 100, 27, 0.4);
    background: var(--cta-dark);
    color: #fff;
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-md);
    font-weight: 600;
    padding: 0.65rem 1.25rem;
}

.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* Dual Range Slider Styles */
.dual-range-slider {
    position: relative;
    height: 6px;
    margin: 20px 0;
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.slider-range {
    position: absolute;
    height: 6px;
    background: var(--primary);
    border-radius: 3px;
    top: 50%;
    transform: translateY(-50%);
}

.slider-input {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    top: 50%;
    transform: translateY(-50%);
}

.slider-input::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.slider-input::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
}

.slider-input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--primary);
    border: 3px solid white;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.slider-input::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.3);
}

.slider-input:focus {
    outline: none;
}

.slider-input:focus::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.slider-input:focus::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Product Gallery Styles */
.product-gallery .main-swiper {
    cursor: zoom-in;
}

.product-gallery .main-swiper .swiper-button-next,
.product-gallery .main-swiper .swiper-button-prev {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.8);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-gallery .main-swiper .swiper-button-next:after,
.product-gallery .main-swiper .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.product-gallery .thumb-swiper {
    padding: 10px 0;
}

.product-gallery .thumb-swiper .swiper-slide {
    /* Explicit fixed size — prevents Swiper from miscalculating slide width */
    width: 80px !important;
    height: 80px !important;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    cursor: pointer;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(15, 17, 25, 0.06);
}

.product-gallery .thumb-swiper .swiper-slide:hover {
    opacity: 0.85;
    border-color: #94a3b8;
}

.product-gallery .thumb-swiper .swiper-slide-thumb-active {
    opacity: 1 !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.18),
                0 4px 12px rgba(40, 116, 240, 0.15) !important;
    transform: scale(1.04);
}

.product-gallery .thumb-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
    display: block;
}

.product-gallery .main-swiper img {
    aspect-ratio: 1/1;
    object-fit: contain;
    background: #fff;
    padding: 20px;
}

@media (max-width: 768px) {
    .product-gallery .thumb-swiper img {
        padding: 3px;
    }
    .product-gallery .main-swiper img {
        padding: 10px;
    }
}

.gallery-main-link {
    display: block;
    width: 100%;
}

.related-products {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}

.review-card {
    border: none;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '\201C';
    position: absolute;
    top: -8px;
    right: 1.25rem;
    font-size: 5rem;
    color: var(--primary);
    opacity: 0.08;
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}

.review-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.review-card .review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.review-card .review-stars i {
    font-size: 0.8rem;
    color: #f59e0b;
}

.review-card .review-comment {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.65;
    margin: 0;
}

.review-card .review-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.review-card .review-date {
    font-size: 0.78rem;
    color: #a0aec0;
}

.rating-stars {
    color: #f59e0b;
}

.form-control, .form-select {
    border-radius: var(--radius-md);
    border: 2px solid #e2e8f0;
    padding: 0.875rem 1.125rem;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: white;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.12);
}

.category-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.payment-option {
    transition: var(--transition);
    border: 2px solid #e2e8f0;
}

.payment-option:hover, .payment-option.active {
    border-color: var(--primary);
    background: var(--primary-light);
}

.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.9rem;
}

.badge {
    font-weight: 700;
    padding: 0.5rem 0.875rem;
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-xl);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-light) 0%, #e0f2fe 100%);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cart-item {
    border-bottom: 1px solid #f1f5f9;
}

.cart-item:last-child {
    border-bottom: none;
}

.table-responsive {
    border-radius: var(--radius-lg);
}

.table {
    margin-bottom: 0;
}

.alert {
    border-radius: var(--radius-lg);
    border: none;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
}

.alert-danger {
    background: #fee2e2;
    color: #991b1b;
}

.progress {
    border-radius: 50px;
    height: 8px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--gray);
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 700;
}

.quantity-selector {
    display: inline-flex;
    align-items: center;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.quantity-selector button {
    border: none;
    background: white;
    padding: 0.625rem 1.125rem;
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.quantity-selector button:hover {
    background: #f1f5f9;
}

.quantity-selector span {
    padding: 0.625rem 1.5rem;
    font-weight: 800;
    font-size: 1.125rem;
    border-left: 2px solid #e2e8f0;
    border-right: 2px solid #e2e8f0;
    min-width: 60px;
    text-align: center;
}

.upload-area {
    border: 3px dashed #cbd5e1;
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: #f8fafc;
}

.upload-area:hover {
    border-color: var(--primary);
    background: var(--primary-light);
}

.upload-area i {
    font-size: 3rem;
    color: var(--gray);
}

.upload-area:hover i {
    color: var(--primary);
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-outline-primary {
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius-xl);
    font-weight: 800;
    padding: 0.875rem 2rem;
}

/* ── Hero section — text on dark photo ──────────────────────────────────── */
.hero-section .lead { font-size: 1rem !important; }

@media (max-width: 575px) {
    .product-card .card-body { padding: 0.65rem 0.75rem; }
    .product-card .card-title { font-size: 0.78rem; }
    .product-card .price { font-size: 0.92rem; }
}

/* ═══════════════════════════════════════════════════════════
   LENSKART-INSPIRED HOMEPAGE STYLES
═══════════════════════════════════════════════════════════ */

/* ── Hero Banner ─────────────────────────────────────────── */
.lk-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .lk-hero { height: 380px; }
}

.lk-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.lk-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10,10,10,0.85) 0%, rgba(10,10,10,0.5) 55%, rgba(10,10,10,0.15) 100%);
}

.lk-hero .container { position: relative; z-index: 2; height: 100%; }

.lk-hero__tag {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fca5a5;
    border: 1px solid rgba(255,255,255,0.25);
    backdrop-filter: blur(6px);
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.lk-hero__title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.lk-hero__title span {
    background: linear-gradient(135deg, #fca5a5, #f87171);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lk-hero__sub {
    color: rgba(226,232,240,0.88);
    font-size: 1rem;
    margin-bottom: 1.75rem;
    max-width: 480px;
}

@media (max-width: 575px) {
    .lk-hero__title { font-size: 1.9rem; }
    .lk-hero__sub { font-size: 0.88rem; }
}

.lk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.65rem 1.6rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.lk-btn--white {
    background: #fff;
    color: #b91c1c;
}

.lk-btn--white:hover {
    background: #fee2e2;
    color: #b91c1c;
    transform: translateY(-2px);
}

.lk-btn--outline {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}

.lk-btn--outline:hover {
    background: rgba(255,255,255,0.12);
    color: #fff;
    border-color: #fff;
}

/* ── Trust Bar ───────────────────────────────────────────── */
.lk-trust-bar {
    background: #1e293b;
    padding: 0.75rem 0;
}

.lk-trust-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.5rem 1rem;
    border-right: 1px solid rgba(255,255,255,0.08);
}

.lk-trust-item:last-child { border-right: none; }

.lk-trust-item i {
    font-size: 1.4rem;
    color: #f87171;
    flex-shrink: 0;
}

.lk-trust-item strong {
    display: block;
    color: #f1f5f9;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.2;
}

.lk-trust-item span {
    color: #94a3b8;
    font-size: 0.72rem;
}

@media (max-width: 575px) {
    .lk-trust-item { padding: 0.4rem 0.5rem; gap: 0.4rem; }
    .lk-trust-item i { font-size: 1.1rem; }
    .lk-trust-item strong { font-size: 0.72rem; }
    .lk-trust-item span { font-size: 0.65rem; }
}

/* ── Modern storefront redesign overrides ── */
body {
    background: #f4f6fb;
    color: #102a43;
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: #0f172a;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 4vw, 4rem); }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); }
h3 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); }
h4 { font-size: 1.35rem; }

p, .text-muted, small {
    color: #475569 !important;
}

.main-header {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(148, 163, 184, 0.18);
    backdrop-filter: blur(12px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1050;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.primary-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-right: auto;
    align-items: center;
}

.main-header .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.85rem 1.15rem !important;
    line-height: 1;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #475569 !important;
    transition: var(--transition);
}

.main-header .nav-link:hover,
.main-header .nav-link.active {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary) !important;
}

.header-search {
    flex: 1 1 360px;
    max-width: 520px;
    min-width: 220px;
}

.header-search .input-group {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 999px;
    padding: 0.15rem;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.header-search .input-group-text {
    width: 52px;
    justify-content: center;
    border: none;
    background: transparent;
    color: #94a3b8;
}

.header-search .form-control {
    border: none;
    background: transparent;
    padding: 0.95rem 1rem;
    color: #0f172a;
    font-size: 0.95rem;
}

.header-search .form-control::placeholder {
    color: #94a3b8;
}

.header-search .input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.search-results-dropdown {
    margin-top: 0.8rem;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.12);
}

.search-results-dropdown .list-group-item {
    padding: 1rem 1.25rem;
}

.header-actions {
    align-items: center;
    gap: 0.85rem;
}

.header-icon-link {
    width: 48px;
    height: 48px;
    padding: 0 !important;
    color: #475569 !important;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.header-icon-link:hover {
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary) !important;
    transform: translateY(-1px);
}

.header-signup-btn {
    border-radius: 999px;
    padding: 0.95rem 1.5rem;
    box-shadow: 0 16px 36px rgba(40, 116, 240, 0.18);
}

.header-signup-btn:hover {
    transform: translateY(-1px);
}

.navbar-toggler {
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
}

.navbar-toggler-icon {
    filter: none;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '›';
    color: #94a3b8;
    padding: 0 0.35rem;
}

.breadcrumb-item a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-item a:hover {
    color: var(--primary);
}

.breadcrumb-item.active {
    color: #0f172a;
    font-weight: 700;
}

.product-card {
    background: #fff;
    border: none;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.product-card__media {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.product-card__image {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__image {
    transform: scale(1.08);
}

.product-card__badge-stack {
    z-index: 2;
}

.badge-sale,
.badge-hot {
    border-radius: 999px;
    font-size: 0.78rem;
    padding: 0.65rem 0.95rem;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

.badge-sale {
    background: var(--danger);
    color: #fff;
}

.badge-hot {
    background: var(--warning);
    color: #1f2937;
}

.product-card__hover-actions {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(15, 23, 42, 0.24) 100%);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.product-card:hover .product-card__hover-actions {
    transform: translateY(0);
    opacity: 1;
}

.product-card .wishlist-btn {
    width: 44px;
    height: 44px;
    background: #fff !important;
    border: 1px solid rgba(148, 163, 184, 0.22) !important;
}

.product-card .wishlist-btn:hover {
    transform: scale(1.05);
}

.product-card__body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.product-card__meta {
    gap: 0.75rem;
}

.product-card__brand {
    color: #64748b;
    letter-spacing: 0.08em;
}

.product-card__title {
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0;
}

.product-card__description {
    min-height: 1.5rem;
    color: #64748b;
}

.product-card__footer {
    margin-top: auto;
}

.product-card__price-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.price {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0f172a;
}

.price-old {
    color: #94a3b8;
    text-decoration: line-through;
}

.product-card__action {
    width: 100%;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 0.95rem 1.1rem;
    font-weight: 700;
    color: #0f172a;
    background: #fff;
}

.product-card__action:hover {
    background: rgba(15, 23, 42, 0.04);
}

.btn, .btn-primary, .btn-outline-primary,
.form-control, .form-select {
    border-radius: 999px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary);
    border: none;
    box-shadow: 0 18px 40px rgba(40, 116, 240, 0.22);
    color: #fff;
    padding: 0.95rem 1.5rem;
    font-weight: 700;
}

.btn-primary:hover,
.btn-primary:focus {
    transform: translateY(-1px);
    background: var(--primary-dark);
    box-shadow: 0 20px 48px rgba(40, 116, 240, 0.3);
}

.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    padding: 0.95rem 1.5rem;
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-1px);
}

.form-control,
.form-select {
    border: 1px solid rgba(148, 163, 184, 0.22);
    background: #fff;
    padding: 0.95rem 1rem;
    color: #0f172a;
    box-shadow: none;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.12);
}

.form-floating > label {
    color: #64748b;
}

.filter-sidebar {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.06);
    border-radius: 1.5rem;
    max-height: none;
    overflow: hidden;
}

.filter-sidebar .card-header {
    background: transparent;
    border: none;
    padding: 1.5rem 1.5rem 0;
}

.filter-sidebar .card-body {
    padding: 1.5rem;
}

.custom-check .form-check-input {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(148, 163, 184, 0.35);
}

.custom-check .form-check-input:checked {
    border-color: var(--primary);
    background: var(--primary);
}

.custom-check .form-check-label {
    color: #334155;
    font-weight: 600;
}

.mobile-bottom-nav {
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    background: #fff;
}

.mobile-bottom-nav .mobile-nav-link {
    color: #64748b;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.8rem 0;
    transition: color 0.2s ease;
}

.mobile-bottom-nav .mobile-nav-link.active,
.mobile-bottom-nav .mobile-nav-link:hover {
    color: var(--primary);
}

.footer-branding .footer-copy {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.75);
}

.footer-tags {
    gap: 0.5rem;
}

.footer-tag {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    padding: 0.5rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
}

.footer-widget-title {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    padding: 0.35rem 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.newsletter-form .form-control {
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form .btn-primary {
    border-radius: 999px;
    min-width: 160px;
    padding: 0.95rem 1.35rem;
}

.newsletter-form .form-floating > label {
    color: rgba(255, 255, 255, 0.72);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-contact-item a:hover {
    color: #fff;
}

.footer-socials .footer-social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transition: transform 0.25s ease, background 0.25s ease;
}

.footer-socials .footer-social-link:hover {
    background: rgba(255, 255, 255, 0.16);
    transform: translateY(-2px);
}

.site-footer {
    background: linear-gradient(180deg, #0b1120 0%, #111827 100%);
}

.footer-bottom {
    border-color: rgba(255, 255, 255, 0.1);
}

.footer-bottom p,
.footer-bottom a,
.footer-bottom .text-muted {
    color: rgba(255, 255, 255, 0.68);
}

.footer-bottom a {
    margin-left: 1.5rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

@media (max-width: 767px) {
    .footer-tags {
        justify-content: flex-start;
    }

    .footer-bottom a {
        margin-left: 0;
        display: inline-block;
    }
}

.sticky-cart-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 22px 48px rgba(40, 116, 240, 0.35);
    color: #fff;
    border: none;
}

.sticky-cart-btn:hover {
    transform: translateY(-2px);
}

.product-sticky-footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1080;
    box-shadow: 0 -10px 48px rgba(15, 23, 42, 0.1);
}

.product-sticky-footer .container {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.product-sticky-footer .sticky-price {
    min-width: 120px;
}

.product-sticky-footer .btn-primary {
    min-height: 54px;
    border-radius: 999px;
}

.skeleton {
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

.skeleton::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-100%);
    animation: skeleton-loading 1.6s infinite;
}

@keyframes skeleton-loading {
    100% { transform: translateX(100%); }
}

@media (max-width: 1199.98px) {
    .header-search { max-width: none; }
    .header-actions { width: 100%; justify-content: flex-end; }
}

@media (max-width: 767px) {
    .main-header { padding: 0.85rem 0; }
    .header-container { flex-direction: column; align-items: stretch; }
    .primary-nav { justify-content: center; }
    .header-search { order: 2; }
    .header-actions { order: 3; justify-content: space-between; }
    .product-card__body { padding: 1.25rem; }
    .footer-bottom a { margin-left: 1rem; }
}

/* ── Section wrapper ─────────────────────────────────────── */
.lk-section {
    padding: 3rem 0;
}

.lk-section--gray {
    background: #f8fafc;
}

.lk-section__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.lk-section__head h2 {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.4px;
    margin: 0;
}

.lk-section__desc {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.lk-link-all {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e02020;
    text-decoration: none;
    white-space: nowrap;
}

.lk-link-all:hover { text-decoration: underline; }

/* ── Category Tiles ──────────────────────────────────────── */
.lk-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

@media (max-width: 767px) {
    .lk-cat-grid { grid-template-columns: repeat(2, 1fr); }
}

.lk-cat-tile {
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    display: block;
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    background: #fff;
}

.lk-cat-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.lk-cat-tile__img {
    height: 160px;
    background-size: cover;
    background-position: center;
}

@media (max-width: 575px) {
    .lk-cat-tile__img { height: 110px; }
}

.lk-cat-tile__body {
    padding: 0.75rem 0.9rem;
    background: #fff;
}

.lk-cat-tile__name {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    color: #0f172a;
}

.lk-cat-tile__sub {
    display: block;
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 0.1rem;
}

/* ── Offer Banners ───────────────────────────────────────── */
.lk-offer-banner {
    display: block;
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.lk-offer-banner:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.22);
}

/* Gradient from RIGHT so background shows clearly on the left */
.lk-offer-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to left,
        rgba(8, 10, 30, 0.88) 0%,
        rgba(8, 10, 30, 0.72) 38%,
        rgba(8, 10, 30, 0.10) 70%,
        rgba(8, 10, 30, 0.00) 100%
    );
    border-radius: 14px;
    z-index: 1;
}

/* Content pinned to the RIGHT */
.lk-offer-banner__content {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
    bottom: 0;
    width: 55%;
    padding: 1.5rem 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
}

.lk-offer-banner__tag {
    display: inline-block;
    background: rgba(255,255,255,0.18);
    color: #fca5a5;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    backdrop-filter: blur(6px);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.lk-offer-banner__content h3 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0 0 0.3rem;
    letter-spacing: -0.3px;
    line-height: 1.25;
}

.lk-offer-banner__content p {
    color: rgba(226,232,240,0.82);
    font-size: 0.8rem;
    margin: 0 0 0.85rem;
}

.lk-offer-banner__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #fff;
    color: #b91c1c;
    padding: 0.38rem 1rem;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    width: fit-content;
    transition: background 0.18s, color 0.18s;
}

.lk-offer-banner:hover .lk-offer-banner__cta {
    background: #e02020;
    color: #fff;
}

/* ── Horizontal product scroll ───────────────────────────── */
.lk-product-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.lk-product-scroll::-webkit-scrollbar { height: 4px; }
.lk-product-scroll::-webkit-scrollbar-track { background: transparent; }
.lk-product-scroll::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }

.lk-product-scroll__item {
    flex: 0 0 200px;
    scroll-snap-align: start;
}

@media (max-width: 575px) {
    .lk-product-scroll__item { flex: 0 0 155px; }
}

/* ── Coupon Strip ────────────────────────────────────────── */
.lk-coupon-strip {
    background: #e02020;
    padding: 0.65rem 0;
    overflow: hidden;
}

.lk-coupon-strip__inner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lk-coupon-strip__inner i {
    font-size: 1rem;
    flex-shrink: 0;
    color: #fca5a5;
}

.lk-coupon-strip__inner strong { color: #fde68a; }

/* ── Why cards ───────────────────────────────────────────── */
.lk-why-card {
    text-align: center;
    padding: 1.5rem 1rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lk-why-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.lk-why-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem;
    color: #fff;
    font-size: 1.3rem;
}

.lk-why-card h6 {
    font-weight: 700;
    font-size: 0.88rem;
    color: #0f172a;
    margin-bottom: 0.2rem;
}

.lk-why-card p {
    font-size: 0.76rem;
    color: #64748b;
    margin: 0;
}

/* ── Newsletter ──────────────────────────────────────────── */
.lk-newsletter {
    padding: 2.5rem 0;
    background: #1a1a1a;
}

.lk-newsletter__box {
    background: #1a1a1a;
    border-radius: 18px;
    padding: 2.5rem 2rem;
}

.lk-newsletter__box h3 {
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    margin-bottom: 0.4rem;
}

.lk-newsletter__box p {
    color: rgba(226,232,240,0.75);
    font-size: 0.88rem;
    margin: 0;
}

.lk-newsletter__form {
    display: flex;
    gap: 0.5rem;
}

.lk-newsletter__form input {
    flex: 1;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.2rem;
    font-size: 0.88rem;
    outline: none;
}

.lk-newsletter__form button {
    background: #e02020;
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.4rem;
    font-weight: 700;
    font-size: 0.88rem;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.lk-newsletter__form button:hover { background: #b91c1c; }

@media (max-width: 575px) {
    .lk-newsletter__form { flex-direction: column; }
    .lk-newsletter__form input,
    .lk-newsletter__form button { border-radius: 12px; }
}

/* Public information pages */
.info-hero {
    background:
        linear-gradient(105deg, rgba(10,10,10,0.88) 0%, rgba(180,0,0,0.65) 58%, rgba(249,115,22,0.28) 100%),
        url('../images/hero-banner3.jpg') center center / cover no-repeat;
    color: #fff;
    padding: 5rem 0;
}

.info-hero__inner {
    max-width: 760px;
}

.info-hero h1 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0.8rem 0 1rem;
}

.info-hero p {
    color: rgba(226,232,240,0.9);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0;
}

.info-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.24);
    color: #fee2e2;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.info-card,
.info-side-panel,
.info-policy {
    height: 100%;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15,23,42,0.06);
}

.info-card {
    padding: 1.5rem;
}

.info-card i,
.info-side-panel i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 8px;
    background: #fee2e2;
    color: #e02020;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.info-card h2,
.info-side-panel h2,
.info-policy h2 {
    color: #0f172a;
    font-size: 1.15rem;
    font-weight: 900;
    margin-bottom: 0.6rem;
}

.info-card p,
.info-side-panel p,
.info-policy p,
.info-accordion .accordion-body {
    color: #64748b;
    font-size: 0.94rem;
}

.info-side-panel,
.info-policy {
    padding: 2rem;
}

.info-policy h2:not(:first-child) {
    margin-top: 1.75rem;
}

.info-accordion .accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.85rem;
    box-shadow: 0 10px 24px rgba(15,23,42,0.04);
}

.info-accordion .accordion-button {
    padding: 1.2rem 1.4rem;
    font-weight: 900;
    color: #0f172a;
}

.info-accordion .accordion-button:not(.collapsed) {
    color: #e02020;
    background: #fff5f5;
}

.info-feature {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    border-radius: 8px;
    background: #0f172a;
    color: #fff;
}

.info-feature h2 {
    max-width: 700px;
    margin: 0.8rem 0 0.5rem;
    font-weight: 900;
}

.info-feature p {
    max-width: 760px;
    margin: 0;
    color: rgba(226,232,240,0.86);
}

@media (max-width: 767px) {
    .info-hero { padding: 3.25rem 0; }
    .info-feature { display: block; }
    .info-feature .btn { width: 100%; margin-top: 1.5rem; }
}

/* ── Hero Slider — multi-slide support ───────────────────── */
.lk-hero {
    position: relative;
    height: 520px;
    overflow: hidden;
}

@media (max-width: 767px) { .lk-hero { height: 380px; } }
@media (max-width: 575px) { .lk-hero { height: 320px; } }

.lk-hero__slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.7s ease;
    pointer-events: none;
}

.lk-hero__slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* Arrows */
.lk-hero__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease;
}

.lk-hero__arrow:hover { background: rgba(255,255,255,0.32); }
.lk-hero__arrow--prev { left: 16px; }
.lk-hero__arrow--next { right: 16px; }

@media (max-width: 575px) {
    .lk-hero__arrow { 
        display: none !important;
    }
}

/* Dots */
.lk-hero__dots {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}

.lk-hero__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.25s ease;
}

.lk-hero__dot.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

.lk-hero-deal {
    width: min(100%, 420px);
    min-height: 330px;
    color: #fff;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    text-align: right;
    isolation: isolate;
    padding: 0.5rem 0;
    transition: transform 0.22s ease;
}

.lk-hero-deal:hover {
    color: #fff;
    transform: translateY(-3px);
}

.lk-hero-deal::before {
    content: '';
    position: absolute;
    right: -18px;
    top: 50%;
    width: 330px;
    height: 330px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(239,31,31,0.34) 0%, rgba(239,31,31,0.13) 44%, rgba(239,31,31,0) 70%);
    z-index: -2;
}

.lk-hero-deal__copy {
    position: relative;
    z-index: 2;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.35rem;
    padding-top: 0.35rem;
}

.lk-hero-deal__eyebrow {
    color: #ff9b9b;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.lk-hero-deal__label {
    display: block;
    color: #fff;
    font-weight: 950;
    font-size: clamp(1.75rem, 2.4vw, 2.85rem);
    line-height: 1.02;
    text-shadow: 0 12px 28px rgba(0,0,0,0.42);
}

.lk-hero-deal__name {
    max-width: 100%;
    color: rgba(226,232,240,0.88);
    font-weight: 700;
    font-size: 0.95rem;
    line-height: 1.3;
}

.lk-hero-deal img {
    position: absolute;
    right: 160px;
    top: 50%;
    width: min(44vw, 360px);
    height: 280px;
    object-fit: contain;
    transform: translateY(-50%);
    filter: drop-shadow(0 26px 34px rgba(0,0,0,0.62));
    z-index: 1;
    transition: transform 0.22s ease;
}

.lk-hero-deal:hover img {
    transform: translateY(-52%) scale(1.035);
}

.lk-hero-deal__cta {
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    margin-top: 0.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 2px solid #ef1f1f;
    padding-bottom: 0.2rem;
}

@media (max-width: 1199px) {
    .lk-hero-deal {
        width: min(100%, 360px);
    }

    .lk-hero-deal img {
        right: 130px;
        width: 280px;
    }

    .lk-hero-deal__copy {
        max-width: 235px;
    }
}

/* ── Wider container — less wasted side space ────────────── */
.container {
    max-width: 1500px !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
}

@media (min-width: 1200px) {
    .container {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media (max-width: 767px) {
    .container {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }
}

/* Modern Auth Pages */
.auth-shell {
    position: relative;
    min-height: calc(100vh - 96px);
    padding: 4rem 0;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(248,250,252,0.96) 0%, rgba(224,242,254,0.9) 42%, rgba(255,247,237,0.88) 100%),
        url('../images/hero-banner2.jpg') center center / cover no-repeat;
}

.auth-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 520px);
    align-items: stretch;
    gap: 1.25rem;
    max-width: 1180px;
    margin: 0 auto;
}

.auth-wrap--reverse {
    grid-template-columns: minmax(380px, 520px) minmax(0, 1fr);
}

.auth-wrap--reverse .auth-visual {
    order: 2;
}

.auth-panel,
.auth-visual {
    min-height: 620px;
}

.auth-visual {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    padding: 3.5rem;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(10,10,10,0.9) 0%, rgba(180,0,0,0.72) 58%, rgba(249,115,22,0.42) 100%),
        url('../images/hero-banner.jpg') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.18);
}

.auth-visual::after {
    content: '';
    position: absolute;
    inset: auto 2rem 2rem auto;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    box-shadow: inset 0 0 0 28px rgba(255,255,255,0.06);
}

.auth-kicker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255,255,255,0.28);
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    font-size: 0.78rem;
    font-weight: 800;
}

.auth-visual h1 {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin-bottom: 1rem;
    font-size: 3rem;
    line-height: 1.08;
    font-weight: 900;
}

.auth-visual p {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-bottom: 2rem;
    color: rgba(226,232,240,0.9);
    font-size: 1rem;
}

.auth-benefits {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.auth-benefit {
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    backdrop-filter: blur(10px);
}

.auth-benefit i {
    display: block;
    margin-bottom: 0.55rem;
    color: #fca5a5;
    font-size: 1.35rem;
}

.auth-benefit span {
    display: block;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1.3;
}

.auth-panel {
    display: flex;
    align-items: center;
}

.auth-card {
    width: 100%;
    border-radius: 8px;
    padding: 2.5rem;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(226,232,240,0.9);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
}

.auth-card__icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #e02020 0%, #0f0f0f 100%);
    color: #fff;
    font-size: 1.55rem;
    box-shadow: 0 14px 30px rgba(224,32,32,0.25);
}

.auth-card h2 {
    margin-bottom: 0.35rem;
    color: #0f172a;
    font-size: 2rem;
    line-height: 1.15;
    font-weight: 900;
}

.auth-subtitle {
    margin-bottom: 1.5rem;
    color: #64748b;
    font-size: 0.94rem;
}

.auth-form {
    display: grid;
    gap: 1rem;
}

.auth-field .form-label {
    margin-bottom: 0.45rem;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 800;
}

.auth-input {
    position: relative;
}

.auth-input i {
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 2;
    color: #94a3b8;
    transform: translateY(-50%);
}

.auth-input .form-control {
    min-height: 54px;
    padding-left: 2.9rem;
    border-radius: 8px;
    background: #fff;
}

.auth-form .btn-primary {
    margin-top: 0.35rem;
    border-radius: 8px;
    padding: 0.95rem 1.25rem;
    font-size: 1rem;
}

.auth-small-link,
.auth-switch a {
    color: #e02020;
    font-weight: 800;
    text-decoration: none;
}

.auth-small-link {
    font-size: 0.82rem;
    white-space: nowrap;
}

.auth-small-link:hover,
.auth-switch a:hover {
    color: #b91c1c;
    text-decoration: underline;
}

.auth-switch {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    color: #64748b;
    font-size: 0.92rem;
}

@media (max-width: 991px) {
    .auth-shell {
        padding: 2rem 0;
    }

    .auth-wrap,
    .auth-wrap--reverse {
        grid-template-columns: 1fr;
    }

    .auth-wrap--reverse .auth-visual {
        order: 0;
    }

    .auth-panel,
    .auth-visual {
        min-height: auto;
    }

    .auth-visual {
        padding: 2rem;
    }

    .auth-visual h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 575px) {
    .auth-shell {
        padding: 1rem 0 2rem;
    }

    .auth-visual {
        padding: 1.4rem;
    }

    .auth-visual h1 {
        font-size: 1.75rem;
    }

    .auth-benefits {
        grid-template-columns: 1fr;
    }

    .auth-card {
        padding: 1.35rem;
    }

    .auth-card h2 {
        font-size: 1.55rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   Theme v3 — token-based overrides (homepage, shop, auth)
   Adjust colors/fonts globally via :root at top of file.
═══════════════════════════════════════════════════════════ */

.lk-link-all,
.lk-offer-banner__cta,
.lk-btn--white {
    color: var(--primary-dark);
}

.lk-link-all:hover {
    color: var(--primary);
}

.lk-coupon-strip {
    background: var(--primary);
}

.lk-offer-banner:hover .lk-offer-banner__cta {
    background: var(--primary);
    color: #fff;
}

.lk-newsletter__form button {
    background: var(--primary);
}

.lk-newsletter__form button:hover {
    background: var(--primary-dark);
}

.lk-trust-bar {
    background: var(--footer-bg);
}

.lk-trust-item i {
    color: var(--accent);
}

.lk-section--gray {
    background: var(--gray-light);
}

.filter-sidebar,
.shop-toolbar {
    background: var(--surface);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}

.info-accordion .accordion-button:not(.collapsed) {
    color: var(--primary);
    background: var(--primary-light);
}

.info-card i,
.info-side-panel i {
    background: var(--primary-light);
    color: var(--primary);
}

.auth-card__icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--footer-bg-deep) 100%);
    box-shadow: 0 14px 30px rgba(var(--primary-rgb), 0.22);
}

.auth-small-link,
.auth-switch a {
    color: var(--primary);
}

.auth-small-link:hover,
.auth-switch a:hover {
    color: var(--primary-dark);
}

.breadcrumb-item.active {
    color: var(--primary);
}

.bg-primary {
    background-color: var(--primary) !important;
}

.btn-dark.add-to-cart-btn {
    background: var(--text-primary);
    border-color: var(--text-primary);
    border-radius: var(--radius-md);
    font-weight: 600;
}

.btn-dark.add-to-cart-btn:hover {
    background: var(--footer-bg);
    border-color: var(--footer-bg);
}

.product-card .btn-outline-dark {
    border-color: var(--border);
    color: var(--text-primary);
    font-weight: 600;
}

.product-card .btn-outline-dark:hover {
    background: var(--text-primary);
    border-color: var(--text-primary);
    color: #fff;
}

.badge.bg-danger {
    background-color: var(--danger) !important;
}



/* ═══════════════════════════════════════════════════════════════════
   MOBILE HEADER  —  ≤767px only
   All selectors scoped to .mobile-header to prevent desktop bleed
   ═══════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* ── Wrapper ──────────────────────────────────────────────────── */
  .mobile-header {
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(15, 17, 25, 0.09);
    position: sticky;
    top: 0;
    z-index: 1040;
    width: 100%;
  }

  /* ── Row 1: Hamburger | Logo | Cart ──────────────────────────── */
  .mh-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    height: 60px;
    gap: 8px;
    position: relative;
  }

  /* Shared button reset */
  .mh-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.15s ease;
  }

  /* Hamburger — 44×44 touch target */
  .mh-hamburger {
    width: 44px;
    height: 44px;
    flex-direction: column;
    gap: 5px;
  }

  .mh-hamburger:hover,
  .mh-hamburger:focus-visible {
    background: #f1f3f6;
    outline: none;
  }

  .mh-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #131921;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  /* Animated to X when open */
  .mh-hamburger[aria-expanded="true"] .mh-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }
  .mh-hamburger[aria-expanded="true"] .mh-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mh-hamburger[aria-expanded="true"] .mh-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  /* Logo — absolutely centred in the row */
  .mh-logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    text-decoration: none;
  }

  .mh-logo-img {
    height: 38px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    display: block;
  }

  /* Cart button — 44×44 touch target */
  .mh-cart-btn {
    width: 44px;
    height: 44px;
    color: #131921;
    text-decoration: none;
  }

  .mh-cart-btn:hover,
  .mh-cart-btn:focus-visible {
    background: #f1f3f6;
    outline: none;
  }

  .mh-cart-icon {
    font-size: 1.35rem;
    color: #131921;
    display: block;
  }

  /* Cart badge */
  .mh-cart-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #fb641b;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
    font-family: var(--font-sans);
  }

  /* ── Row 2: Search bar ────────────────────────────────────────── */
  .mh-search-row {
    padding: 0 12px 12px;
    position: relative;
  }

  .mh-search-form {
    display: flex;
    align-items: center;
    background: #f1f3f6;
    border-radius: 999px;
    border: 1.5px solid #e2e6ea;
    height: 44px;
    padding: 0 6px 0 14px;
    gap: 4px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .mh-search-form:focus-within {
    border-color: #2874f0;
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.14);
    background: #fff;
  }

  .mh-search-icon {
    color: #767676;
    font-size: 0.95rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
  }

  .mh-search-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.9rem;
    color: #131921;
    font-family: var(--font-sans);
    padding: 0;
    min-width: 0;
    caret-color: #2874f0;
  }

  .mh-search-input::placeholder {
    color: #9ca3af;
    font-size: 0.88rem;
  }

  /* Right icon button inside search bar */
  .mh-mic-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: #2874f0;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    font-size: 0.85rem;
    transition: background 0.15s ease, transform 0.15s ease;
    padding: 0;
  }

  .mh-mic-btn:hover,
  .mh-mic-btn:focus-visible {
    background: #1c5fd0;
    transform: scale(1.05);
    outline: none;
  }

  /* Live search dropdown */
  .mh-search-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 12px;
    right: 12px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(15, 17, 25, 0.13);
    z-index: 1050;
    overflow: hidden;
    border: 1px solid #e7e7e7;
    max-height: 60vh;
    overflow-y: auto;
  }

  /* ── Collapsible Nav Menu ─────────────────────────────────────── */
  .mh-nav-menu {
    background: #fff;
    border-top: 1px solid #f1f3f6;
    padding: 8px 0 12px;
  }

  .mh-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .mh-nav-link {
    display: flex;
    align-items: center;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #3d4152;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    border-radius: 0;
  }

  .mh-nav-link:hover {
    background: #f1f3f6;
    color: #2874f0;
  }

  .mh-nav-link--active {
    color: #2874f0;
    background: #e7f1ff;
  }

  .mh-nav-link--danger {
    color: #cc0c39;
  }

  .mh-nav-link--admin {
    color: #2874f0;
  }

  .mh-nav-footer {
    border-top: 1px solid #f1f3f6;
    margin-top: 4px;
    padding-top: 4px;
  }

  .mh-auth-btns {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
  }

  .mh-btn-login,
  .mh-btn-signup {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
  }

  .mh-btn-login {
    border: 2px solid #2874f0;
    color: #2874f0;
    background: #fff;
  }

  .mh-btn-login:hover {
    background: #e7f1ff;
  }

  .mh-btn-signup {
    background: #2874f0;
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(40, 116, 240, 0.3);
  }

  .mh-btn-signup:hover {
    background: #1c5fd0;
    color: #fff;
  }

  /* ── Keep body from jumping behind sticky header ──────────────── */
  /* (body already has padding-bottom for mobile-bottom-nav;
     no extra top offset needed since sticky positioning handles it) */

} /* end @media (max-width: 767px) */


/* ═══════════════════════════════════════════════════════════════════════
   MOBILE — Thumbnail Slider & Product Grid  ≤767px only
   All selectors scoped tightly; zero desktop/tablet impact.
   ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {

  /* ─────────────────────────────────────────────────────────────────────
     1.  THUMBNAIL SWIPER  (product.php gallery)
     ─────────────────────────────────────────────────────────────────────
     Target: .product-gallery .thumb-swiper
     Rules: override ONLY mobile sizing, spacing, active state.
     Swiper init JS is untouched.
  ───────────────────────────────────────────────────────────────────── */

  .product-gallery .thumb-swiper {
    padding: 10px 0 4px;
    /* let Swiper handle overflow */
  }

  /* Each thumbnail slide */
  .product-gallery .thumb-swiper .swiper-slide {
    /* Bigger, easier to tap — min 56 px */
    width: 64px !important;
    height: 64px !important;
    min-width: 64px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: #ffffff;
    overflow: hidden;
    opacity: 1;                          /* always visible; dim via opacity below */
    box-shadow: 0 2px 8px rgba(15, 17, 25, 0.07);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    cursor: pointer;
  }

  /* Inactive: slightly dimmed */
  .product-gallery .thumb-swiper .swiper-slide:not(.swiper-slide-thumb-active) {
    opacity: 0.55;
    filter: grayscale(15%);
  }

  /* Active thumb — premium blue ring */
  .product-gallery .thumb-swiper .swiper-slide-thumb-active {
    opacity: 1 !important;
    filter: none !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(40, 116, 240, 0.22),
                0 4px 14px rgba(40, 116, 240, 0.18) !important;
    transform: scale(1.06);
  }

  /* Image inside thumb */
  .product-gallery .thumb-swiper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
    display: block;
    border-radius: 10px;
  }

  /* Give the swiper wrapper a comfortable left padding so
     the first thumb doesn't bleed into the edge */
  .product-gallery .thumb-swiper .swiper-wrapper {
    padding-left: 2px;
    padding-right: 2px;
  }

  /* Main image — tighter padding on small screens */
  .product-gallery .main-swiper img {
    padding: 12px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background: #fff;
  }

  /* ─────────────────────────────────────────────────────────────────────
     2.  PRODUCT GRID  (#productsGrid on shop.php)
     ─────────────────────────────────────────────────────────────────────
     Target: #productsGrid  .product-card  and children.
     Two-column grid preserved (col-6 Bootstrap class untouched).
     All IDs, JS hooks, data-* attrs, class names — unchanged.
  ───────────────────────────────────────────────────────────────────── */

  /* Grid gap — tighter on mobile for more content visible */
  #productsGrid {
    gap: 10px !important;
    row-gap: 14px !important;
  }

  /* Each col inside the grid */
  #productsGrid > .col-6 {
    padding-left: 5px;
    padding-right: 5px;
  }

  /* ── Card shell ── */
  #productsGrid .product-card {
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(15, 17, 25, 0.08) !important;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 0;
    background: #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    /* Remove heavy desktop shadow — too much on mobile */
  }

  #productsGrid .product-card:active {
    transform: scale(0.985);
    box-shadow: 0 1px 6px rgba(15, 17, 25, 0.1) !important;
  }

  /* ── Product image ── */
  #productsGrid .product-card__media {
    background: #f8fafc;
    overflow: hidden;
    border-radius: 0;
    /* no bottom radius — body continues flush */
  }

  #productsGrid .product-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;          /* square for uniform grid */
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
  }

  /* Kill hover scale — touch devices don't have hover */
  #productsGrid .product-card:hover .product-card__image {
    transform: none;
  }

  /* ── Badges (discount / best-seller) ── */
  #productsGrid .product-card__badge-stack {
    padding: 8px !important;
    gap: 4px !important;
  }

  #productsGrid .badge-sale,
  #productsGrid .badge-hot {
    font-size: 0.68rem !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(15, 17, 25, 0.12);
    letter-spacing: 0;
  }

  #productsGrid .badge-sale {
    background: #e11d48;
    color: #fff;
  }

  #productsGrid .badge-hot {
    background: #f59e0b;
    color: #1f2937;
  }

  /* ── Wishlist button — always visible on mobile (no hover) ── */
  #productsGrid .product-card .wishlist-btn {
    width: 34px !important;
    height: 34px !important;
    min-width: 34px;
    margin: 7px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(15, 17, 25, 0.14) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: transform 0.15s ease, background 0.15s ease;
  }

  #productsGrid .product-card .wishlist-btn:active {
    transform: scale(0.9);
  }

  #productsGrid .product-card .wishlist-btn i {
    font-size: 0.85rem;
  }

  /* ── Hover actions: always visible on mobile, no opacity trick ── */
  #productsGrid .product-card__hover-actions {
    /* Convert from hover-only to always-shown at the bottom of image */
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    background: none !important;
    padding: 0 !important;
    display: block !important;
  }

  /* Repurpose add-to-cart as a full-width mobile CTA */
  #productsGrid .product-card__hover-actions .add-to-cart-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 8px;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 0;               /* flush with image bottom */
    gap: 5px;
    letter-spacing: 0.01em;
    transition: background 0.15s ease;
    white-space: nowrap;
    cursor: pointer;
  }

  #productsGrid .product-card__hover-actions .add-to-cart-btn:active {
    background: var(--primary-dark);
  }

  #productsGrid .product-card__hover-actions .add-to-cart-btn i {
    font-size: 0.9rem;
  }

  /* ── Card body ── */
  #productsGrid .product-card__body {
    padding: 10px 10px 12px !important;
    gap: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  /* ── Meta row: brand + rating ── */
  #productsGrid .product-card__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 5px;
    gap: 4px;
  }

  #productsGrid .product-card__brand {
    font-size: 0.68rem !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #94a3b8;
    text-transform: uppercase;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 55%;
  }

  /* Rating badge */
  #productsGrid .badge-rating {
    font-size: 0.66rem !important;
    padding: 3px 7px !important;
    border-radius: 20px !important;
    background: #fff !important;
    border: 1px solid #e2e8f0 !important;
    color: #0f172a !important;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  }

  #productsGrid .badge-rating .bi-star-fill {
    font-size: 0.6rem;
    color: #f59e0b;
  }

  /* ── Product title ── */
  #productsGrid .product-card__title {
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    margin-bottom: 4px !important;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  #productsGrid .product-card__title a {
    color: inherit;
    text-decoration: none;
  }

  /* ── Description — hide on mobile to save vertical space ── */
  #productsGrid .product-card__description {
    display: none !important;
  }

  /* ── Footer: price + action ── */
  #productsGrid .product-card__footer {
    margin-top: auto;
    padding-top: 6px;
  }

  /* Price group */
  #productsGrid .product-card__price-group {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 8px;
  }

  #productsGrid .price {
    font-size: 1rem !important;
    font-weight: 900 !important;
    color: #0f172a;
    line-height: 1;
  }

  #productsGrid .price-old {
    font-size: 0.72rem !important;
    font-weight: 500;
    color: #94a3b8;
    text-decoration: line-through;
  }

  /* Inline discount badge on price line */
  #productsGrid .product-card__price-group .badge-sale {
    font-size: 0.62rem !important;
    padding: 2px 6px !important;
    border-radius: 5px !important;
    font-weight: 800;
    align-self: center;
  }

  /* ── View Details CTA ── */
  #productsGrid .product-card__action {
    width: 100% !important;
    padding: 9px 10px !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    background: #fff !important;
    color: #0f172a !important;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
    text-decoration: none;
    line-height: 1.2;
  }

  #productsGrid .product-card__action:active {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
  }

  /* ── Stock badge (Out of Stock) ── */
  #productsGrid .badge.bg-danger.bg-opacity-10 {
    font-size: 0.65rem !important;
    padding: 3px 7px !important;
  }

} /* end @media (max-width: 767px) */


/* Remove Swiper JS inline height on product page gallery wrappers */
.product-gallery .main-swiper .swiper-wrapper,
.product-gallery .thumb-swiper .swiper-wrapper {
    height: auto !important;
}
