/* --- Variables & Reset --- */
:root {
    --primary: #fff;
    --text: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(148, 163, 184, 0.3);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.15);
    --accent-color: #94A3B8;
    --accent-dark: #1a1a1a;
    --accent: #94A3B8;
    --accent-light: #CBD5E1;
    --accent-glow: #E2E8F0;
    --charcoal: #2d2d2d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* FONT FIX: System font fallback prevents metrics shift when Poppins loads */
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    /* MOBILE FIX: Remove blue tap highlight on all elements */
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Remove tap highlight from all interactive elements */
a,
button,
input,
select,
textarea,
[onclick],
.btn-primary,
.btn-secondary,
.nav-menu a,
.login-btn,
.menu-toggle,
.close-cart,
.checkout-btn,
.filter-btn,
.product-card,
.luxury-product-card,
.add-cart-btn,
.auth-tab,
.legal-tab {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    outline: none;
}

body {
    min-height: 100vh;
    color: var(--text);
    overflow-x: hidden;
    /* MOBILE FIX: Ensure no horizontal overflow from layout shifts */
    width: 100%;
    max-width: 100%;
    /* FIX: Dark background prevents white showing through on scroll */
    background: #070710;
}

body.nav-open {
    overflow: hidden;
}

/* Modal open - prevent background scroll */
body.modal-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
}

html.modal-open {
    overflow: hidden !important;
}

/* Scroll lock for mobile modals - prevents background scroll */
html.scroll-locked,
body.scroll-locked {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
    touch-action: none !important;
    overscroll-behavior: none !important;
    -webkit-overflow-scrolling: auto !important;
}

/* Ensure scrollable areas inside modals still work */
.scroll-locked .cart-items,
.scroll-locked .auth-modal-inner {
    touch-action: pan-y !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch !important;
}

/* --- Premium Luxury Background --- */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(165deg,
            #070710 0%,
            #0a0a12 15%,
            #0d0d18 30%,
            #0f0f1a 45%,
            #0d0d18 60%,
            #0a0a12 75%,
            #070710 100%);
    background-size: 100% 100%;
}

.bg-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

.bg-gradient::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 35%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 35%);
    pointer-events: none;
}

@keyframes mirrorPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes mirrorShineBody {

    0%,
    100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }

    33% {
        transform: translateX(3%) translateY(2%) rotate(1deg);
    }

    66% {
        transform: translateX(-2%) translateY(-1%) rotate(-1deg);
    }
}

/* Reduce animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .bg-gradient::before,
    .bg-gradient::after {
        animation: none !important;
    }

    .cart-btn {
        animation: none !important;
    }
}

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
    width: 100%;
    /* MOBILE FIX: Prevent overflow from layout shifts */
    overflow-x: hidden;
}

.section-padding {
    padding: 80px 0;
}

/* Container Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }

    .section-padding {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 25px;
    }

    .section-padding {
        padding: 50px 0;
    }
}

/* MOBILE FIX: Prevent horizontal layout shifts on mobile devices */
@media (max-width: 768px) {

    /* MOBILE VIEWPORT HARD-LOCK (MANDATORY) */
    html,
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        position: relative;
    }

    /* SCROLL & VIEWPORT STABILITY (MANDATORY) */
    html {
        scroll-behavior: auto;
    }

    /* GLOBAL MOBILE SAFETY LOCK (CRITICAL, MANDATORY) */
    *,
    *::before,
    *::after {
        max-width: 100%;
        box-sizing: border-box;
    }

    .container {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }

    /* Full-width section safety (MANDATORY) */
    .hero,
    .shop-section,
    .glass-nav,
    .glass-footer,
    section {
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Mobile section isolation: avoid transform/translate on layout containers during load */
    .section-padding,
    .shop-section,
    .product-grid,
    .hero,
    .glass-nav,
    .glass-footer {
        transform: none !important;
    }

    /* MOBILE FIX: Disable layout-shifting animations on mobile */
    .hero-badge,
    .hero-title,
    .hero-description,
    .hero-buttons,
    .hero-stats,
    .scroll-indicator,
    .contact-content {
        animation: none !important;
    }

    /* ===========================================
       MOBILE FIX: DISABLE BACKDROP-FILTER
       Root cause of "big broken pixels" rendering
       backdrop-filter causes GPU tile-based paint
       which appears as chunked/pixelated loading
       =========================================== */
    .luxury-product-card,
    .contact-card,
    .glass-footer,
    .feature-card-new,
    .branch-card,
    .filter-btn,
    .floating-card,
    .wishlist-btn,
    .nav-menu,
    .mobile-menu,
    .cart-sidebar,
    .login-modal,
    .legal-modal-content,
    .back-to-top,
    [class*="glass"]:not(.glass-nav),
    [class*="card"] {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Restore visual appearance without blur */
    .luxury-product-card {
        background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(15, 15, 25, 0.9)) !important;
    }

    .contact-card {
        background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(15, 15, 25, 0.9)) !important;
    }

    .glass-footer {
        background: rgba(10, 10, 18, 0.98) !important;
    }

    .branch-card {
        background: linear-gradient(135deg, rgba(20, 20, 30, 0.95), rgba(15, 15, 25, 0.9)) !important;
    }

    /* ===========================================
       MOBILE FIX: DISABLE GPU LAYER PROMOTION
       will-change, translateZ, contain cause
       chunked/tiled GPU rendering on Android
       =========================================== */
    * {
        will-change: auto !important;
        contain: none !important;
    }

    .luxury-product-card,
    .card-image,
    .contact-card,
    .branch-card,
    .feature-card-new {
        transform: none !important;
        will-change: auto !important;
        contain: none !important;
    }

    /* Simplify box-shadows on mobile */
    .luxury-product-card {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    .contact-card,
    .branch-card {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25) !important;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-padding {
        padding: 40px 0;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 12px;
    }
}

/* Large screens */
@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
        padding: 0 80px;
    }

    .section-padding {
        padding: 100px 0;
    }

    .nav-container {
        max-width: 1700px;
        padding: 18px 80px;
    }

    .hero-container {
        max-width: 1500px;
        padding: 0 80px;
    }

    .hero-content {
        gap: 100px;
    }

    .product-grid {
        grid-template-columns: repeat(3, minmax(340px, 1fr));
        gap: 32px;
    }

    .branches-grid {
        max-width: 1400px;
        gap: 28px;
    }

    .contact-content {
        gap: 32px;
    }
}

@media (min-width: 1920px) {
    .container {
        max-width: 1500px;
        padding: 0 120px;
    }

    .section-padding {
        padding: 110px 0;
    }

    .nav-container {
        max-width: 1900px;
        padding: 20px 120px;
    }

    .hero-container {
        max-width: 1600px;
        padding: 0 120px;
    }

    .product-grid {
        grid-template-columns: repeat(4, minmax(320px, 1fr));
        gap: 36px;
    }

    .branches-grid {
        max-width: 1500px;
    }
}

@media (min-width: 2560px) {
    .container {
        max-width: 1700px;
        padding: 0 160px;
    }

    .section-padding {
        padding: 120px 0;
    }

    .nav-container {
        max-width: 2200px;
        padding: 22px 160px;
    }

    /* 4K Hero - Reduce excessive vertical spacing */
    .hero {
        min-height: auto;
        padding-top: 140px;
        padding-bottom: 40px;
    }

    .hero-container {
        max-width: 1800px;
        padding: 0 160px;
    }

    .hero-content {
        gap: 80px;
    }

    /* Scroll indicator - relative positioning on 4K */
    .scroll-indicator {
        position: relative;
        bottom: auto;
        margin-top: 40px;
    }

    .image-wrapper {
        max-width: 620px;
    }

    .product-grid {
        grid-template-columns: repeat(4, minmax(360px, 1fr));
        gap: 40px;
    }

    .branches-grid {
        max-width: 1600px;
    }

    .contact-content {
        gap: 40px;
    }
}

.dot {
    color: var(--accent);
}

/* --- Navigation --- */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 18, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: background, box-shadow;
}

.glass-nav::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transition: width 0.4s ease;
}

.glass-nav:hover::before {
    width: 100%;
}

.glass-nav.scrolled {
    padding: 5px 0;
    background: rgba(10, 10, 18, 0.75);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 15px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    flex-shrink: 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.logo-img {
    height: 55px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(148, 163, 184, 0.3));
}

.logo-img:hover {
    filter: drop-shadow(0 4px 15px rgba(148, 163, 184, 0.6));
}

.logo-text-img {
    height: 34px;
    width: auto;
    margin-left: 6px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: drop-shadow(0 2px 8px rgba(255, 255, 255, 0.1));
}

.logo-text-img:hover {
    filter: drop-shadow(0 4px 12px rgba(148, 163, 184, 0.5));
}

.logo-opticals {
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 8px;
    margin-left: 2px;
    margin-top: 8px;
    color: var(--accent);
    align-self: flex-end;
    text-transform: uppercase;
    opacity: 1;
    transition: all 0.3s ease;
}

.logo:hover .logo-opticals {
    opacity: 1;
    text-shadow: 0 0 20px rgba(148, 163, 184, 0.6);
}

.nav-menu {
    display: flex;
    gap: 5px;
    list-style: none;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px 15px;
    border-radius: 50px;
    border: 1px solid rgba(148, 163, 184, 0.1);
    margin: 0;
}

/* Mobile menu open state */
.nav-menu.open {
    display: flex !important;
    position: fixed;
    top: 72px;
    right: 16px;
    left: 16px;
    padding: 16px;
    flex-direction: column;
    gap: 8px;
    background: rgba(10, 10, 18, 0.95);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    z-index: 1200;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.nav-menu.open a {
    width: 100%;
    text-align: left;
    padding: 12px 14px;
    border-radius: 12px;
}

.nav-menu.open li {
    width: 100%;
}

.menu-toggle.is-open i {
    transform: rotate(90deg);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    padding: 10px 20px;
    border-radius: 25px;
    display: block;
    background: transparent;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-menu a:hover {
    color: var(--accent);
    background: rgba(148, 163, 184, 0.1);
}

.nav-menu a.active {
    color: var(--accent);
    background: rgba(148, 163, 184, 0.15);
}

/* Search Bar */
.search-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
}

/* Mobile search container - INSIDE hero section, flows naturally */
.mobile-search-container {
    display: none;
    position: relative;
    width: 100%;
    padding: 90px 20px 15px;
    /* top padding for navbar clearance */
    background: transparent;
    z-index: 10;
}

.mobile-search-container .search-bar {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 25px;
    padding: 10px 16px;
    transition: border-color 0.3s ease, background 0.3s ease;
    width: 100%;
}

.search-bar:focus-within {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(148, 163, 184, 0.4);
}

.search-icon {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    margin-right: 10px;
    flex-shrink: 0;
}

.search-input {
    background: none;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.9rem;
    width: 100%;
    flex: 1;
    min-width: 0;
    font-family: 'Poppins', sans-serif;
    caret-color: #fff;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.search-input:focus {
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-clear-btn {
    background: none;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0;
    margin: 0 4px 0 0;
    border-radius: 0;
    transition: color 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto;
    height: auto;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
}

.search-clear-btn:hover {
    background: none;
    color: #E2E8F0;
}

.search-clear-btn:focus {
    outline: none;
    box-shadow: none;
}

.voice-search-btn {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 0 !important;
    margin: 0 0 0 4px;
    border-radius: 0 !important;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: auto;
    height: auto;
    -webkit-tap-highlight-color: transparent;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none !important;
}

.voice-search-btn:hover {
    background: none !important;
    background-color: transparent !important;
    color: #94A3B8;
}

.voice-search-btn:focus {
    outline: none !important;
    box-shadow: none !important;
    background: none !important;
}

.voice-search-btn:active {
    background: none !important;
    box-shadow: none !important;
}

.voice-search-btn.listening {
    color: #ef4444;
    animation: pulse 1.5s ease-in-out infinite;
    background: none !important;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.15);
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-btn {
    position: relative;
    cursor: pointer;
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--accent) 0%, #E2E8F0 50%, var(--accent) 100%);
    background-size: 200% 200%;
    color: #1a1a1a;
    padding: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(148, 163, 184, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    animation: none;
}

@keyframes shimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.cart-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.4);
}

.cart-btn span {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #1a1a1a;
    color: #94A3B8;
    font-size: 0.7rem;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    padding: 8px;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Responsive Navigation Media Queries */
@media (max-width: 1024px) {
    .nav-container {
        padding: 12px 20px;
    }

    /* Increase opacity for tablet/mobile for better readability */
    .glass-nav {
        background: rgba(10, 10, 18, 0.7);
        /* Adjusted for better blur visibility */
        backdrop-filter: blur(40px) saturate(200%);
        -webkit-backdrop-filter: blur(40px) saturate(200%);
    }

    /* Make logo smaller to give search bar room */
    .logo-img {
        height: 36px;
    }

    .logo-text-img {
        height: 22px;
    }

    .logo-opticals {
        font-size: 1rem;
        letter-spacing: 4px;
    }

    /* Make nav menu items more compact */
    .nav-menu {
        gap: 5px;
    }

    .nav-menu a {
        font-size: 0.8rem;
        padding: 6px 10px;
    }

    /* Keep inline search visible at 1024px like 1440px */
    .search-container {
        display: flex;
        flex: 1;
        min-width: 200px;
        max-width: 300px;
        margin: 0 15px;
    }

    .search-container .search-bar {
        width: 100%;
    }

    .search-input {
        font-size: 0.85rem;
    }

    /* Nav right adjustments */
    .nav-right {
        gap: 8px;
        flex-shrink: 0;
    }

    .nav-icon-btn {
        padding: 8px;
        font-size: 0.9rem;
    }

    .mobile-search-container {
        display: none;
    }

    .mobile-search-container .search-bar {
        max-width: 600px;
    }
}

/* At exactly 768px: hide navbar search, show mobile search below */
@media (min-width: 768px) and (max-width: 768px) {
    .search-container {
        display: none !important;
    }

    .mobile-search-container {
        display: block;
        padding: 80px 15px 12px;
    }

    .mobile-search-container .search-bar {
        padding: 10px 16px;
        max-width: 500px;
    }
}

@media (max-width: 767px) {
    .nav-container {
        padding: 10px 12px;
    }

    .nav-right {
        gap: 10px;
        flex: 1;
        justify-content: flex-end;
    }

    /* Hide desktop search, show mobile search below navbar */
    .search-container {
        display: none !important;
    }

    .mobile-search-container {
        display: block;
        padding: 80px 15px 12px;
    }

    .mobile-search-container .search-bar {
        padding: 10px 16px;
        max-width: 500px;
    }

    .mobile-search-container .search-input {
        width: 100%;
        flex: 1;
    }

    /* Hide icon logo, show text logo on tablet */
    .logo-img {
        display: none;
    }

    .logo-text-img {
        display: block !important;
        height: 32px;
    }

    .logo-opticals {
        display: none;
    }

    .nav-menu {
        display: flex !important;
        flex-wrap: nowrap;
        column-gap: 2px;
        padding: 6px 10px;
        background: rgba(30, 35, 50, 0.85);
        border: 1px solid rgba(148, 163, 184, 0.15);
        border-radius: 25px;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu a {
        font-size: 0.75rem;
        padding: 8px 12px;
        border-radius: 20px;
        white-space: nowrap;
    }

    .menu-toggle {
        display: none !important;
    }

    .login-btn {
        padding: 12px !important;
        font-size: 0.9rem !important;
        gap: 0;
        background: rgba(255, 255, 255, 0.9) !important;
        color: #1a1a1a !important;
        border-radius: 50% !important;
        width: 42px !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .login-btn i {
        font-size: 1rem !important;
        color: #1a1a1a !important;
    }

    .login-btn span:not(.user-initials) {
        display: none;
    }

    .login-btn .user-initials {
        display: inline-flex !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 0.75rem !important;
    }

    .nav-actions {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 6px 8px;
    }

    /* Mobile search shown below navbar */
    .search-container {
        display: none !important;
    }

    .mobile-search-container {
        display: block;
        padding: 60px 10px 10px;
    }

    .mobile-search-container .search-bar {
        padding: 8px 12px;
    }

    .mobile-search-container .search-input {
        font-size: 0.85rem;
    }

    /* Hide icon logo, show text logo on mobile M */
    .logo-img {
        display: none;
    }

    .logo-text-img {
        display: block !important;
        height: 24px;
    }

    .logo-opticals {
        display: none;
    }

    .nav-menu {
        column-gap: 0;
        padding: 4px 6px;
    }

    .nav-menu a {
        font-size: 0.56rem;
        padding: 5px 6px;
    }

    .menu-toggle {
        display: none !important;
    }

    .login-btn {
        padding: 8px !important;
        font-size: 0.75rem !important;
        min-width: auto !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.9) !important;
        color: #1a1a1a !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .login-btn i {
        font-size: 0.8rem !important;
        color: #1a1a1a !important;
    }

    .nav-actions {
        gap: 12px;
    }

    .nav-right {
        gap: 12px;
    }
}

@media (max-width: 360px) {
    .nav-container {
        padding: 5px 6px;
    }

    /* Hide icon logo, show text logo on mobile S */
    .logo-img {
        display: none;
    }

    .logo-text-img {
        display: block !important;
        height: 20px;
    }

    .nav-menu {
        column-gap: 0;
        padding: 3px 5px;
    }

    .nav-menu a {
        font-size: 0.52rem;
        padding: 4px 5px;
    }

    .login-btn {
        padding: 8px !important;
        font-size: 0.7rem !important;
        min-width: auto !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, 0.9) !important;
        color: #1a1a1a !important;
        border: none !important;
        width: 30px !important;
        height: 30px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .login-btn i {
        font-size: 0.75rem !important;
        color: #1a1a1a !important;
    }

    .nav-actions {
        gap: 10px;
    }

    .nav-right {
        gap: 4px;
    }
}


/* --- General Glass Card Style --- */
.glass-card {
    background: rgba(30, 30, 40, 0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* --- Hero Section --- */
.hero {
    /* min-height: 100vh; */
    padding-top: 140px;
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.03) 50%, transparent 100%),
        linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 40%);
    pointer-events: none;
    animation: mirrorShine 25s ease-in-out infinite;
}

@keyframes mirrorShine {

    0%,
    100% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(5%) translateY(3%);
    }
}

.hero-bg-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 200, 220, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 12s ease-in-out infinite;
}

.hero-glow-2 {
    position: absolute;
    bottom: 10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(100, 116, 139, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 14s ease-in-out infinite reverse;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.floating-glasses {
    position: absolute;
    top: 20%;
    right: 15%;
    font-size: 8rem;
    color: rgba(148, 163, 184, 0.05);
    animation: float 8s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.hero-container {
    max-width: 1400px;
    width: 100%;
    padding: 0 60px;
    z-index: 1;
}

/* Hero Container Responsive - MOVED BELOW BASE STYLES */

@media (max-width: 1024px) {
    .hero-container {
        padding: 0 40px;
    }

    .hero-content {
        gap: 50px;
    }

    .hero-title .title-line {
        font-size: 2.2rem;
    }

    .hero-title .title-highlight {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 25px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        /* Perfect central axis alignment */
        gap: 25px;
        text-align: center;
    }

    .hero-text {
        display: contents;
        /* Allows reordering children with hero-image */
    }

    /* 1. Hero Badge */
    .hero-badge {
        order: 1;
        justify-content: center;
        margin: 0 auto 15px;
    }

    /* 2. Hero Title - On one line */
    .hero-title {
        order: 2;
        margin-bottom: 12px;
        width: 100%;
        text-align: center;
    }

    .hero-title .title-line {
        display: inline !important;
        font-size: 1.8rem;
        /* Slightly smaller for tablet one-line */
        margin-right: 8px;
    }

    .hero-title .title-highlight {
        display: inline !important;
        font-size: 2rem;
    }

    /* 2b. Hero Description */
    .hero-description {
        order: 3;
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
    }

    /* 3. Hero Image - Relative for cards */
    .hero-image {
        order: 4;
        width: 100%;
        max-width: 450px;
        margin: 0 auto 35px;
        position: relative;
        /* CRITICAL for cards */
    }

    .image-wrapper {
        width: 100%;
        position: relative;
    }

    /* Fix floating cards like desktop */
    .floating-card {
        padding: 8px 12px;
        gap: 6px;
        z-index: 10;
        white-space: nowrap;
    }

    .floating-card i {
        font-size: 0.9rem;
    }

    .floating-card span {
        font-size: 0.7rem;
    }

    .card-1 {
        top: 10%;
        right: -8%;
        animation-delay: 0s;
    }

    .card-2 {
        bottom: 15%;
        left: -5%;
        animation-delay: 2s;
    }

    /* 4. Hero Stats */
    .hero-stats {
        order: 5;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
        width: 100%;
    }

    /* 5. Hero CTA */
    .hero-cta {
        order: 6;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        max-width: 320px;
        padding: 14px 28px;
    }
}

@media (max-width: 600px) {
    .hero-title .title-line {
        font-size: 1.75rem;
    }

    .hero-title .title-highlight {
        font-size: 2.2rem;
    }

    .btn-primary,
    .btn-secondary {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 80px;
    }

    .hero-title .title-line {
        font-size: 1.5rem;
    }

    .hero-title .title-highlight {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.9rem;
        padding: 14px 28px;
    }

    .stat-item {
        min-width: 120px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-heading {
        font-size: 0.85rem;
    }

    .stat-subtitle {
        font-size: 0.75rem;
    }

    .image-wrapper {
        max-width: 320px;
    }

    .floating-card {
        display: none;
    }
}

@media (max-width: 360px) {
    .hero-container {
        padding: 0 12px;
    }

    .hero-title .title-line {
        font-size: 1.35rem;
    }

    .hero-title .title-highlight {
        font-size: 1.8rem;
    }

    .stat-item {
        min-width: 100px;
    }
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.3);
    padding: 10px 20px;
    border-radius: 50px;
    margin-bottom: 30px;
    animation: fadeInUp 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-badge span:last-child {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
}

.hero-title {
    margin-bottom: 25px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .title-line {
    display: block;
    font-size: 2.5rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 5px;
}

.hero-title .title-highlight {
    display: inline-block;
    font-size: 3.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #CBD5E1 40%, #94A3B8 70%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #64748B 0%, #94A3B8 50%, #E2E8F0 100%);
    color: #1a1a1a;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: none;
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: transparent;
    color: #fff;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-4px);
}

.btn-secondary i {
    font-size: 0.8rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.btn-secondary:hover i {
    background: var(--accent);
    color: #1a1a1a;
}


.hero-stats {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: nowrap;
    justify-content: space-between;
    margin-top: 18px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 4px;
    min-width: 0;
}

.stat-number {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-heading {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.2px;
    line-height: 1.2;
}

.stat-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.4;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 42px;
    background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 1024px) {
    .hero-stats {
        gap: 16px;
        justify-content: flex-start;
    }

    .stat-item {
        align-items: flex-start;
        text-align: left;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-heading {
        font-size: 0.85rem;
    }

    .stat-subtitle {
        font-size: 0.72rem;
    }

    .stat-divider {
        height: 36px;
    }
}

/* Hero stats responsive moved to consolidated block */

/* Hero Image */
.hero-image {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease 0.4s both;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.image-frame {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    border: 2px solid rgba(148, 163, 184, 0.3);
    border-radius: 30px;
    z-index: -1;
}

.hero-image img {
    width: 100%;
    border-radius: 30px;
    box-shadow: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.1) 0%, transparent 50%);
    border-radius: 30px;
    pointer-events: none;
}

.hero-image:hover img {
    transform: scale(1.02) rotate(-0.5deg);
    box-shadow: none;
}

/* Floating Cards */
.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(20, 20, 30, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: none;
    animation: floatCard 6s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.2rem;
    color: var(--accent);
}

.floating-card span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 15%;
    left: -5%;
    animation-delay: 2s;
}

@keyframes floatCard {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    animation: fadeInUp 1s ease 1.2s both;
    cursor: pointer;
}

.scroll-indicator:hover .scroll-arrow {
    transform: translateY(5px);
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    transition: transform 0.3s ease;
}

.scroll-arrow span {
    display: block;
    width: 12px;
    height: 12px;
    border-right: 2px solid rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    transform: rotate(45deg);
    animation: scrollArrow 2s ease-in-out infinite;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.6;
}

.scroll-arrow span:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.3;
}

@keyframes scrollArrow {

    0%,
    100% {
        opacity: 0;
        transform: rotate(45deg) translateY(-5px);
    }

    50% {
        opacity: 1;
        transform: rotate(45deg) translateY(5px);
    }
}

.scroll-indicator p {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Hero Media Queries Consolidated --- */
@media (max-width: 1024px) {
    .hero-container {
        padding: 0 40px;
    }

    .hero-content {
        gap: 50px;
    }

    .hero-title .title-line {
        font-size: 2.2rem;
    }

    .hero-title .title-highlight {
        font-size: 2.8rem;
    }

    .hero-stats {
        gap: 16px;
        justify-content: flex-start;
    }

    .stat-item {
        align-items: flex-start;
        text-align: left;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-heading {
        font-size: 0.85rem;
    }

    .stat-subtitle {
        font-size: 0.72rem;
    }

    .stat-divider {
        height: 36px;
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 0 25px;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
        text-align: center;
    }

    .hero-text {
        display: contents;
    }

    .hero-badge {
        order: 1;
        justify-content: center;
        margin: 0 auto 15px;
    }

    .hero-title {
        order: 2;
        margin-bottom: 12px;
        width: 100%;
        text-align: center;
    }

    .hero-title .title-line {
        display: inline !important;
        font-size: 1.8rem;
        margin-right: 8px;
    }

    .hero-title .title-highlight {
        display: inline !important;
        font-size: 2rem;
    }

    .hero-description {
        order: 3;
        font-size: 1rem;
        margin-bottom: 30px;
        max-width: 85%;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.8);
    }

    .hero-image {
        order: 4;
        width: 100%;
        max-width: 450px;
        margin: 0 auto 35px;
        position: relative !important;
    }

    .image-wrapper {
        width: 100%;
        position: relative;
    }

    .floating-card {
        display: flex !important;
        padding: 8px 12px;
        gap: 6px;
        z-index: 10;
        white-space: nowrap;
    }

    .floating-card i {
        font-size: 0.9rem;
    }

    .floating-card span {
        font-size: 0.7rem;
    }

    .card-1 {
        top: 10% !important;
        right: -8% !important;
        animation-delay: 0s;
    }

    .card-2 {
        bottom: 15% !important;
        left: -5% !important;
        animation-delay: 2s;
    }

    .hero-stats {
        order: 5;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        margin-bottom: 30px;
        width: 100%;
    }

    .stat-item {
        align-items: center;
        text-align: center;
    }

    .hero-cta {
        order: 6;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        max-width: 320px;
        padding: 14px 28px;
    }
}

@media (max-width: 600px) {
    .hero-title .title-line {
        font-size: 1.75rem;
    }

    .hero-title .title-highlight {
        font-size: 2.2rem;
    }

    .btn-primary,
    .btn-secondary {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-container {
        padding: 0 15px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-title {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-title .title-line {
        display: block !important;
        font-size: 1.3rem;
        margin-right: 0;
        margin-bottom: 5px;
        width: 100%;
    }

    .hero-title .title-highlight {
        display: block !important;
        font-size: 1.6rem;
        width: 100%;
    }

    .hero-description {
        font-size: 0.95rem;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 0.9rem;
        padding: 14px 28px;
    }

    .stat-item {
        min-width: 120px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .stat-heading {
        font-size: 0.85rem;
    }

    .stat-subtitle {
        font-size: 0.75rem;
    }

    .image-wrapper {
        max-width: 320px;
    }

    .floating-card {
        display: flex !important;
        padding: 6px 10px !important;
        gap: 4px !important;
        z-index: 10;
    }

    .floating-card i {
        font-size: 0.75rem !important;
    }

    .floating-card span {
        font-size: 0.6rem !important;
    }

    .card-1 {
        top: 15% !important;
        right: 2% !important;
        left: auto !important;
    }

    .card-2 {
        bottom: 20% !important;
        left: 2% !important;
        right: auto !important;
    }
}

@media (max-width: 360px) {
    .hero-container {
        padding: 0 12px;
    }

    .hero-title {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    .hero-title .title-line {
        font-size: 1.1rem;
        display: block !important;
        margin-right: 0;
        margin-bottom: 3px;
        width: 100%;
    }

    .hero-title .title-highlight {
        font-size: 1.3rem;
        display: block !important;
        width: 100%;
    }

    .stat-item {
        min-width: 100px;
    }

    .floating-card {
        padding: 4px 8px !important;
    }

    .floating-card span {
        font-size: 0.55rem !important;
    }

    .card-1 {
        right: 4% !important;
        top: 18% !important;
        left: auto !important;
    }

    .card-2 {
        left: 4% !important;
        bottom: 22% !important;
        right: auto !important;
    }
}

/* --- Features --- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #fff;
}

.section-title p {
    color: rgba(255, 255, 255, 0.7);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Premium Features Section --- */
.features-section {
    max-width: 1200px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 50px;
}

.features-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 12px;
}

.features-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    letter-spacing: 0.02em;
}

.features-subtitle {
    font-size: 1.0625rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card-new {
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* MOBILE FIX: paint-only containment prevents layout instability */
    contain: paint;
}

.feature-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(148, 163, 184, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.feature-card-new:hover::before {
    opacity: 1;
}

.feature-card-new:hover {
    transform: translateY(-6px);
    border-color: rgba(148, 163, 184, 0.35);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05));
    box-shadow: none;
}

.feature-card-inner {
    padding: 36px 28px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-icon-new {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(203, 213, 225, 0.85), rgba(148, 163, 184, 0.65));
    box-shadow: none;
    border: 1px solid rgba(148, 163, 184, 0.25);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.feature-card-new:hover .feature-icon-new {
    transform: none;
    box-shadow: none;
}

.feature-icon-new i {
    font-size: 1.4rem;
    color: #1a1a1a;
}

.feature-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.feature-card-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .features-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .features-title {
        font-size: 1.875rem;
    }

    .features-subtitle {
        font-size: 0.9375rem;
    }

    .feature-card-inner {
        padding: 32px 24px;
    }

    .feature-icon-new {
        width: 52px;
        height: 52px;
    }

    .feature-icon-new i {
        font-size: 1.3rem;
    }
}

/* Old styles removed - keeping for backward compatibility during transition */
.features-wrap,
.feature-header,
.eyebrow,
.feature-sub,
.feature-badges,
.badge,
.feature-mosaic,
.feature-hero,
.feature-small1,
.feature-small2,
.feature-list,
.feature-card,
.feature-icon,
.feature-title,
.feature-desc {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-wrap {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .feature-mosaic {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "hero hero"
            "small1 small2";
    }
}

@media (max-width: 768px) {
    .feature-mosaic {
        grid-template-columns: 1fr;
        grid-template-areas:
            "hero"
            "small1"
            "small2";
    }

    .feature-card {
        text-align: center;
    }
}

/* --- Premium Shop Section --- */
.shop-section {
    position: relative;
    background: transparent;
    overflow: hidden;
}

.shop-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' result='noise' seed='2'/%3E%3C/filter%3E%3Crect width='100' height='100' fill='%23fff' filter='url(%23noise)' opacity='0.02'/%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: 1;
}

.shop-section .container {
    position: relative;
    z-index: 2;
}

/* Search Results Messages */
.no-results-message {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
    display: none;
}

.no-results-message i {
    font-size: 3rem;
    color: rgba(148, 163, 184, 0.4);
    margin-bottom: 20px;
}

.no-results-message p {
    font-size: 1.1rem;
    margin: 10px 0;
}

.no-results-message strong {
    color: #94A3B8;
}

.no-results-hint {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Product Highlight from Search */
.luxury-product-card.search-found {
    border: 3px solid #94A3B8 !important;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.15)) !important;
    position: relative;
    z-index: 100;
    animation: searchFoundGlow 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(148, 163, 184, 0.8),
        0 0 80px rgba(148, 163, 184, 0.5),
        0 0 120px rgba(148, 163, 184, 0.3) !important;
    transform: scale(1.02);
}

@keyframes searchFoundGlow {

    0%,
    100% {
        box-shadow: 0 0 40px rgba(148, 163, 184, 0.8),
            0 0 80px rgba(148, 163, 184, 0.5),
            0 0 120px rgba(148, 163, 184, 0.3);
    }

    50% {
        box-shadow: 0 0 60px rgba(148, 163, 184, 1),
            0 0 100px rgba(148, 163, 184, 0.7),
            0 0 150px rgba(148, 163, 184, 0.4);
    }
}

/* Search Notification */
.search-notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.95), rgba(100, 116, 139, 0.95));
    color: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.search-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.shop-header {
    text-align: center;
    margin-bottom: 60px;
}

.shop-header-content {
    margin-bottom: 40px;
}

.shop-eyebrow {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #94A3B8;
    padding: 8px 24px;
    border-radius: 50px;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.15);
    margin-bottom: 20px;
}

.shop-title {
    font-size: 3rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

.shop-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.7;
}

.shop-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border: 1.5px solid rgba(148, 163, 184, 0.3);
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: capitalize;
}

.filter-btn:hover {
    border-color: rgba(148, 163, 184, 0.6);
    background: rgba(148, 163, 184, 0.1);
    color: #FFFFFF;
}

.filter-btn.active {
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    border-color: #94A3B8;
    color: #1a1a1a;
}

.shop-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 26px;
    border-radius: 999px;
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    background: rgba(148, 163, 184, 0.12);
    color: #fff;
    font-weight: 600;
    letter-spacing: 0.03em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.load-more-btn i {
    font-size: 0.9rem;
}

.load-more-btn:hover {
    border-color: rgba(148, 163, 184, 0.6);
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.3), rgba(203, 213, 225, 0.25));
    transform: translateY(-2px);
}

.load-more-btn:active {
    transform: translateY(0);
}

/* --- Product Grid --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 40px;
}

/* --- Luxury Product Card --- */
/* PERFORMANCE: Fixed dimensions prevent "tukda tukda" horizontal expansion */
.luxury-product-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    /* Glass effect isolated - does NOT affect layout size */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    /* CRITICAL: Only animate transform & opacity - NO width/height transitions */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    /* Lock height to prevent vertical reflow */
    height: 100%;
    /* Lock minimum height to reserve space immediately */
    min-height: 580px;
    box-shadow: none;
    /* Remove slideUp animation - causes layout shift */
    /* animation: slideUp 0.6s ease-out; */
    /* MOBILE FIX: paint-only containment prevents layout instability */
    contain: paint;
    will-change: transform;
    /* GPU layer for stable rendering */
    transform: translateZ(0);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.luxury-product-card:hover {
    transform: translateY(-6px);
    border-color: rgba(148, 163, 184, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.1));
    box-shadow: none;
}

/* --- Card Image Container --- */
/* PERFORMANCE: Fixed height + aspect-ratio prevents image-based layout shift */
.card-image-container {
    position: relative;
    width: 100%;
    /* Fixed height locks vertical space immediately */
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.1), rgba(94, 109, 137, 0.1));
    /* Aspect ratio ensures consistent sizing before image loads */
    aspect-ratio: 16 / 11;
    /* Flex-shrink prevents container from collapsing */
    flex-shrink: 0;
}

/* PERFORMANCE: Locked image prevents resize-based layout shift */
.card-image {
    /* Lock dimensions to container - prevents expansion */
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Display block prevents inline spacing issues */
    display: block;
    /* Only animate transform - NO width/height */
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.luxury-product-card:hover .card-image {
    transform: scale(1.06);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.luxury-product-card:hover .card-overlay {
    opacity: 1;
}

.quick-view-btn {
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    color: #1a1a1a;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(148, 163, 184, 0.3);
}

.quick-view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(148, 163, 184, 0.5);
}

/* Wishlist Button */
.wishlist-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    transition: all 0.25s ease;
    z-index: 10;
}

.wishlist-btn:hover,
.wishlist-btn.active {
    background: rgba(255, 68, 68, 0.2);
    border-color: rgba(255, 68, 68, 0.5);
    color: #FF4444;
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3);
}

/* Badges */
.discount-badge,
.stock-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.discount-badge {
    background: linear-gradient(135deg, #FF6B6B, #EE5A6F);
    color: #FFFFFF;
}

.bestseller-badge {
    position: absolute;
    top: 55px;
    left: 16px;
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 5;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #1a1a2e;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
    display: flex;
    align-items: center;
    gap: 4px;
}

.bestseller-badge i {
    font-size: 0.6rem;
}

/* When no discount badge, move bestseller to top */
.card-image-container:not(:has(.discount-badge)) .bestseller-badge {
    top: 16px;
}

.stock-badge {
    top: auto;
    bottom: 16px;
    left: 16px;
    padding: 6px 12px;
    font-size: 0.7rem;
}

.stock-badge.in-stock {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: #FFFFFF;
}

.stock-badge.out-of-stock {
    background: linear-gradient(135deg, #999999, #777777);
    color: #FFFFFF;
}

/* --- Card Content --- */
/* PERFORMANCE: Fixed padding prevents text reflow */
/* MOBILE FIX: Lock width to prevent text-based expansion */
.card-content {
    /* Lock padding - no transitions */
    padding: 28px;
    display: flex;
    flex-direction: column;
    /* flex-grow maintains bottom alignment without causing reflow */
    flex-grow: 1;
    /* Prevent content from affecting card width */
    min-width: 0;
    width: 100%;
    /* MOBILE FIX: Prevent any horizontal overflow from text */
    overflow-x: hidden;
}

.card-category {
    /* MOBILE FIX: Lock width to prevent text expansion */
    width: 100%;
    max-width: 100%;
    display: block;
    overflow-x: hidden;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 8px;
}

.card-title {
    /* MOBILE FIX: Lock width and height to prevent font reflow */
    width: 100%;
    max-width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    /* Lock dimensions before font loads */
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0 0 12px 0;
    line-height: 1.4;
    min-height: 2.8em;
    /* Prevent inline text from breaking width */
    word-break: break-word;
    overflow-wrap: break-word;
}

/* Rating */
/* MOBILE FIX: Lock flex container width */
.card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    width: 100%;
    overflow-x: hidden;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    font-size: 0.8rem;
    color: #FFC107;
}

.rating-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Tags */
/* MOBILE FIX: Lock container and prevent wrapping reflow */
.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    width: 100%;
    overflow-x: hidden;
}

.tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    background: rgba(148, 163, 184, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Pricing */
/* MOBILE FIX: Lock container and prevent flex reflow */
.card-pricing {
    margin-bottom: 12px;
    margin-top: auto;
    width: 100%;
    overflow-x: hidden;
}

/* MOBILE FIX: Lock price display width */
.price-container {
    display: flex;
    align-items: baseline;
    gap: 10px;
    width: 100%;
    overflow-x: hidden;
}

.current-price {
    /* MOBILE FIX: Lock width to prevent font-weight shift */
    display: block;
    width: auto;
    font-size: 1.5rem;
    font-weight: 800;
    color: #FFFFFF;
    white-space: nowrap;
}

.old-price {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: line-through;
}

/* Free Shipping Badge */
/* MOBILE FIX: Lock badge container width */
.card-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 0.8rem;
    font-weight: 600;
    width: 100%;
    overflow-x: hidden;
}

.free-shipping {
    /* MOBILE FIX: Use flex instead of inline-flex to prevent reflow */
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4CAF50;
    padding: 6px 12px;
    background: rgba(76, 175, 80, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(76, 175, 80, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Add to Cart Button */
.add-to-cart-btn {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 14px;
    background: linear-gradient(135deg, #8193AA 0%, #AFC2D5 50%, #E1E8F0 100%);
    color: #0f172a;
    font-weight: 750;
    font-size: 0.96rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
}

.add-to-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: none;
    background: linear-gradient(135deg, #9BAEC2 0%, #C5D3E0 45%, #EDF2F7 100%);
}

.add-to-cart-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.add-to-cart-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
    transition: transform 0.45s ease;
}

.add-to-cart-btn:hover::after {
    transform: translateX(250%);
}

.add-to-cart-btn:focus-visible {
    outline: 2px solid rgba(148, 163, 184, 0.7);
    outline-offset: 3px;
}

.add-to-cart-btn.disabled {
    background: linear-gradient(135deg, #666666, #555555);
    color: #999999;
    cursor: not-allowed;
    box-shadow: none;
}

.add-to-cart-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .shop-section {
        padding: 60px 0;
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .product-grid {
        /* Fixed 2-column layout - no auto-fit */
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px;
    }

    .shop-title {
        font-size: 2.2rem;
    }

    /* Lock content padding */
    .card-content {
        padding: 22px;
    }

    /* Lock image height */
    .card-image-container {
        height: 260px;
    }

    /* Adjust card min-height for tablet */
    .luxury-product-card {
        min-height: 600px;
    }
}

@media (max-width: 767px) {

    /* MOBILE FIX: Stable single-column grid - no auto-fit */
    .product-grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
        gap: 16px;
    }

    /* MOBILE FIX: Lock card size to prevent horizontal shifting */
    .luxury-product-card {
        width: 100%;
        max-width: 100%;
        min-height: 520px;
        transform: translateZ(0);
    }

    .shop-section {
        padding: 50px 0;
    }

    .shop-header {
        margin-bottom: 35px;
    }

    .shop-header-content {
        text-align: center;
    }

    .shop-title {
        font-size: 1.8rem;
    }

    .shop-eyebrow {
        font-size: 0.75rem;
    }

    .shop-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .shop-filters {
        gap: 8px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* MOBILE FIX: Lock card dimensions to prevent expanding */
    .luxury-product-card {
        /* Lock card at 100% width with fixed min-height */
        width: 100%;
        min-height: 520px;
        /* Remove all transitions on layout properties */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
            border-color 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* MOBILE FIX: Lock image container with aspect-ratio */
    .card-image-container {
        /* Fixed height with aspect-ratio prevents image-based resize */
        height: 220px;
        aspect-ratio: 16 / 11;
        width: 100%;
        flex-shrink: 0;
    }

    /* MOBILE FIX: Lock card content padding */
    .card-content {
        padding: 18px;
    }

    .card-title {
        font-size: 1rem;
        min-height: 2.5em;
    }

    .card-category {
        font-size: 0.7rem;
    }

    .current-price {
        font-size: 1.25rem;
    }

    .old-price {
        font-size: 0.85rem;
    }

    .add-to-cart-btn {
        padding: 11px 14px;
        font-size: 0.8rem;
    }

    .wishlist-btn {
        width: 38px;
        height: 38px;
        font-size: 1rem;
        top: 12px;
        right: 12px;
    }

    .discount-badge {
        top: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    .stock-badge {
        top: auto;
        bottom: 12px;
        left: 12px;
        padding: 6px 12px;
        font-size: 0.7rem;
    }

    /* MOBILE FIX: Glass effect on inner layer only - outer controls layout */
    .luxury-product-card {
        /* Base card uses solid fallback on mobile - no blur needed */
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
        border: 1.5px solid rgba(148, 163, 184, 0.35);
        /* Reduce or disable backdrop-filter on mobile for stability */
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

/* MOBILE FIX: Prevent text reflow from font loading on mobile */
@media (max-width: 768px) {

    /* Lock all text containers to prevent font-swap reflow */
    .card-content {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        padding: 16px;
    }

    .card-category {
        width: 100%;
        max-width: 100%;
        display: block;
        overflow-x: hidden;
        font-size: 0.7rem;
    }

    .card-title {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
        word-break: break-word;
        overflow-wrap: break-word;
        font-size: 1rem;
        min-height: 2.5em;
    }

    .card-rating {
        width: 100%;
        overflow-x: hidden;
    }

    .card-tags {
        width: 100%;
        overflow-x: hidden;
    }

    .card-pricing {
        width: 100%;
        overflow-x: hidden;
    }

    .price-container {
        width: 100%;
        overflow-x: hidden;
    }

    .current-price {
        display: block;
        white-space: nowrap;
        font-size: 1.25rem;
    }

    .card-badges {
        width: 100%;
        overflow-x: hidden;
    }

    .free-shipping {
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Reduce backdrop-filter intensity on mobile */
    .luxury-product-card {
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
}

@media (max-width: 600px) {
    .shop-title {
        font-size: 1.6rem;
    }

    .shop-filters {
        gap: 6px;
    }

    .filter-btn {
        padding: 7px 12px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {

    /* MOBILE FIX: 480px inherits 768px grid - only adjust gap */
    .product-grid {
        gap: 14px;
    }

    .shop-section {
        padding: 40px 0;
    }

    .shop-title {
        font-size: 1.5rem;
    }

    .shop-eyebrow {
        font-size: 0.7rem;
    }

    .shop-subtitle {
        font-size: 0.9rem;
    }

    .shop-filters {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 5px;
        scrollbar-width: thin;
    }

    .filter-btn {
        flex-shrink: 0;
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    /* MOBILE FIX: Lock card and image on small phones */
    .luxury-product-card {
        width: 100%;
        min-height: 520px;
        /* Animations only on safe properties */
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }

    .card-image-container {
        height: 220px;
        aspect-ratio: 16 / 11;
        width: 100%;
        flex-shrink: 0;
    }

    /* Lock padding */
    .card-content {
        padding: 16px;
    }

    /* Lock image height */
    .card-image-container {
        height: 220px;
    }

    .card-title {
        font-size: 1.05rem;
    }

    .current-price {
        font-size: 1.3rem;
    }

    .add-to-cart-btn {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    /* CRITICAL: Lock minimum height on mobile */
    .luxury-product-card {
        min-height: 520px;
    }
}

@media (max-width: 360px) {
    .shop-title {
        font-size: 1.3rem;
    }

    .card-image-container {
        height: 200px;
    }

    .card-content {
        padding: 14px;
    }
}

/* Old product styles - hidden */
.product-card:not(.luxury-product-card),
.p-cat,
.p-title,
.p-price,
.add-cart-btn {
    display: none !important;
}

/* --- Premium Contact Section --- */
.contact-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(148, 163, 184, 0.04) 50%, transparent 100%);
    overflow: hidden;
}

.premium-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.contact-header {
    margin-bottom: 50px;
    text-align: center;
}

.contact-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.2px;
}

/* --- Contact Content --- */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    /* MOBILE FIX: Removed slideUpFade animation - causes layout shift on mobile */
}

/* --- Contact Cards --- */
.contact-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1.5px solid rgba(148, 163, 184, 0.4);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 550px;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-card::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -30%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.contact-card:hover {
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-4px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
}

/* --- Branches Section --- */
.branches-section {
    position: relative;
    padding: 60px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(148, 163, 184, 0.05) 50%, transparent 100%);
}

.branches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
}

.branch-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    border: 1.5px solid rgba(148, 163, 184, 0.35);
    border-radius: 18px;
    padding: 24px 24px 20px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    box-shadow: none;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.branch-card::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -30%;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.14) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.branch-card::after {
    content: '';
    position: absolute;
    bottom: -35%;
    left: -25%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.09) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.branch-card:hover {
    border-color: rgba(148, 163, 184, 0.55);
    transform: translateY(-4px);
    box-shadow: none;
}

.branch-top {
    position: relative;
    z-index: 1;
}

.branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #0f172a;
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    box-shadow: none;
}

.branch-name {
    margin: 10px 0 6px 0;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.branch-address {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    line-height: 1.5;
}

.branch-meta {
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.92rem;
}

.meta-item i {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(148, 163, 184, 0.35);
    color: #CBD5E1;
    font-size: 0.95rem;
}

.meta-item a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.25s ease;
}

.meta-item a:hover {
    color: #fff;
}

.card-heading {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 20px 0;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: capitalize;
}

/* --- Contact Info --- */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.info-item {
    display: flex;
    gap: 16px;
    padding: 18px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 14px;
    transition: all 0.3s ease;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.info-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border-color: rgba(148, 163, 184, 0.45);
    transform: translateX(4px);
}

.info-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.15));
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #CBD5E1;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.5), rgba(148, 163, 184, 0.3));
    border-color: #94A3B8;
    color: #E2E8F0;
}

.info-text h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px 0;
    letter-spacing: 0.2px;
}

.info-text p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin: 0;
}

.info-text a {
    color: #CBD5E1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-text a:hover {
    color: #E2E8F0;
}

.time-info {
    font-size: 0.75rem;
    color: #94A3B8;
}

/* --- Social Section --- */
.social-section {
    margin-top: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.social-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(148, 163, 184, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #CBD5E1;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.social-icon:hover {
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    border-color: #94A3B8;
    color: #0f0f1a;
    transform: translateY(-4px) scale(1.1);
}

/* --- Contact Form --- */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    z-index: 1;
    flex: 1;
}

.form-field {
    position: relative;
    flex: 1;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 10px;
    font-size: 0.9rem;
    color: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    outline: none;
    transition: all 0.3s ease;
    caret-color: #CBD5E1;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-field input:focus,
.form-field textarea:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(148, 163, 184, 0.6);
    box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.1);
}

.message-field {
    flex: 1.5;
}

.message-field textarea {
    resize: vertical;
    min-height: 200px;
    max-height: 150px;
    line-height: 1.5;
}

.submit-btn {
    padding: 13px 28px;
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    color: #0f0f1a;
    border: none;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.3);
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.5s ease;
    pointer-events: none;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(148, 163, 184, 0.4);
    background: linear-gradient(135deg, #a0aeb8, #d4dde5);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn i {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.submit-btn:hover i {
    transform: translateX(4px);
}

/* --- Responsive Design --- */
@media (max-width: 1200px) {
    .contact-section {
        padding: 50px 0;
    }

    .contact-content {
        gap: 25px;
    }

    .branches-section {
        padding: 50px 0;
    }
}

@media (max-width: 1024px) {
    .contact-content {
        gap: 28px;
    }

    .contact-title {
        font-size: 2.2rem;
    }

    .contact-card {
        max-width: 100%;
    }

    .branches-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-header {
        margin-bottom: 35px;
    }

    .contact-title {
        font-size: 1.8rem;
    }

    .contact-subtitle {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    .contact-content {
        gap: 20px;
    }

    .contact-card {
        padding: 24px;
        min-height: auto;
    }

    .card-heading {
        font-size: 1.15rem;
        margin-bottom: 16px;
    }

    .info-item {
        padding: 14px 16px;
        width: 100%;
    }

    .info-icon {
        width: 36px;
        height: 36px;
        min-width: 36px;
        font-size: 0.95rem;
    }

    .info-text h4 {
        font-size: 0.85rem;
    }

    .info-text p {
        font-size: 0.8rem;
    }

    .social-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .form-field input,
    .form-field textarea {
        padding: 11px 15px;
        font-size: 0.85rem;
    }

    .submit-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }

    /* Branches responsive */
    .branches-section {
        padding: 40px 0;
    }

    .branches-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .branch-card {
        padding: 20px;
    }

    .branch-badge {
        font-size: 0.72rem;
        padding: 5px 10px;
    }

    .branch-name {
        font-size: 1.1rem;
        margin: 8px 0 5px 0;
    }

    .branch-address {
        font-size: 0.88rem;
        line-height: 1.4;
    }

    .meta-item {
        font-size: 0.86rem;
        gap: 8px;
    }

    .meta-item i {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

@media (max-width: 700px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        min-height: auto;
    }
}

@media (max-width: 600px) {
    .contact-title {
        font-size: 1.6rem;
    }

    .contact-card {
        padding: 20px;
    }

    .branch-card {
        padding: 18px;
    }
}

@media (max-width: 480px) {
    .contact-section {
        padding: 35px 0;
    }

    .contact-header {
        margin-bottom: 30px;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-subtitle {
        font-size: 0.9rem;
    }

    .contact-card {
        padding: 18px;
    }

    .card-heading {
        font-size: 1.1rem;
        margin-bottom: 14px;
    }

    .info-item {
        flex-direction: row;
        gap: 12px;
        padding: 12px 14px;
        width: 100%;
    }

    .info-icon {
        width: 34px;
        height: 34px;
        min-width: 34px;
        font-size: 0.9rem;
    }

    .info-text h4 {
        font-size: 0.8rem;
    }

    .info-text p,
    .info-text a {
        font-size: 0.78rem;
    }

    .social-section {
        margin-top: 12px;
        padding-top: 12px;
    }

    .social-label {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .form-field {
        margin-bottom: 14px;
    }

    .form-field input,
    .form-field textarea {
        padding: 11px 14px;
        font-size: 0.85rem;
    }

    .form-field textarea {
        min-height: 120px;
    }

    .submit-btn {
        width: 100%;
        padding: 13px 20px;
        font-size: 0.85rem;
    }

    /* Branches responsive */
    .branches-section {
        padding: 35px 0;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .branch-card {
        padding: 16px;
    }

    .branch-badge {
        font-size: 0.7rem;
        padding: 5px 9px;
    }

    .branch-name {
        font-size: 1.05rem;
        margin: 7px 0 4px 0;
    }

    .branch-address {
        font-size: 0.85rem;
        line-height: 1.35;
    }

    .branch-meta {
        gap: 8px;
    }

    .meta-item {
        font-size: 0.82rem;
        gap: 8px;
    }

    .meta-item i {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .meta-item a {
        font-size: 0.82rem;
    }
}

@media (max-width: 360px) {
    .contact-title {
        font-size: 1.3rem;
    }

    .contact-card {
        padding: 16px;
    }

    .info-item {
        padding: 10px 12px;
    }

    .branch-card {
        padding: 14px;
    }

    .branch-name {
        font-size: 1rem;
    }

    .branch-address {
        font-size: 0.82rem;
    }

    .meta-item {
        font-size: 0.8rem;
    }
}

/* --- Branches Wrapper (inside Contact Section) --- */
.branches-wrapper {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.branches-header {
    margin-bottom: 40px;
    text-align: center;
}

.branches-title {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.85));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.branches-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 400;
}

.branch-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.2), rgba(148, 163, 184, 0.1));
    border: 1.5px solid rgba(148, 163, 184, 0.3);
    color: #94A3B8;
    font-size: 1.6rem;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.branch-card:hover .branch-icon {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.3), rgba(148, 163, 184, 0.15));
    border-color: rgba(148, 163, 184, 0.5);
    transform: scale(1.05);
}

.branch-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1;
    position: relative;
    z-index: 1;
}

.branch-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.92rem;
    line-height: 1.5;
}

.branch-detail i {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #CBD5E1;
    font-size: 0.9rem;
}

.branch-detail p {
    margin: 0;
    padding-top: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.branch-detail a {
    color: #E2E8F0;
    text-decoration: none;
    transition: color 0.25s ease;
}

.branch-detail a:hover {
    color: #fff;
}

.branch-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.25), rgba(148, 163, 184, 0.15));
    border: 1.5px solid rgba(148, 163, 184, 0.4);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.branch-btn:hover {
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.35), rgba(148, 163, 184, 0.2));
    border-color: rgba(148, 163, 184, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.branch-btn i {
    font-size: 1rem;
}

.branch-btn-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.branch-btn-disabled:hover {
    transform: none;
    box-shadow: none;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.25), rgba(148, 163, 184, 0.15));
}

/* Responsive - Branches */
@media (max-width: 768px) {
    .branches-wrapper {
        margin-top: 60px;
        padding-top: 40px;
    }

    .branches-title {
        font-size: 1.8rem;
    }

    .branches-subtitle {
        font-size: 0.9rem;
    }

    .branches-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .branch-icon {
        width: 50px;
        height: 50px;
        font-size: 1.4rem;
    }

    .branch-detail {
        font-size: 0.88rem;
    }

    .branch-detail i {
        width: 32px;
        height: 32px;
        min-width: 32px;
        font-size: 0.85rem;
    }
}

/* --- Footer --- */
.glass-footer {
    position: relative;
    background: rgba(3, 3, 5, 0.2);
    backdrop-filter: blur(30px);
    margin-top: 100px;
    padding: 80px 0 0;
    border-top: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.glass-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(148, 163, 184, 0.5) 50%,
            transparent 100%);
}

.glass-footer::after {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(148, 163, 184, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.8fr;
    gap: 80px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 40px;
}

/* Brand Column */
.footer-col-brand {
    padding-right: 20px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-brand:hover {
    transform: translateY(-3px);
}

.footer-logo-img {
    height: 55px;
    width: auto;
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(148, 163, 184, 0.3));
    transition: all 0.4s ease;
}

.footer-noon-img {
    height: 24px;
    width: auto;
    filter: brightness(1.1) drop-shadow(0 0 20px rgba(148, 163, 184, 0.3));
    transition: all 0.4s ease;
}

.footer-brand:hover .footer-logo-img,
.footer-brand:hover .footer-noon-img {
    filter: brightness(1.3) drop-shadow(0 0 30px rgba(148, 163, 184, 0.6));
    transform: scale(1.05);
}

.footer-brand-text {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #E2E8F0, #94A3B8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
    margin-top: 8px;
}

.footer-brand:hover .footer-brand-text {
    letter-spacing: 4px;
    filter: drop-shadow(0 0 15px rgba(148, 163, 184, 0.5));
}

.footer-desc {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.8;
    margin-bottom: 30px;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

/* Social Icons */
.footer-socials {
    display: flex;
    gap: 15px;
}

.footer-social-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.15rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.footer-social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #94A3B8, #64748B);
    transition: all 0.5s ease;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.footer-social-icon i {
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.footer-social-icon:hover {
    background: transparent;
    border-color: rgba(148, 163, 184, 0.4);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.3);
}

.footer-social-icon:hover::before {
    width: 150%;
    height: 150%;
}

.footer-social-icon:hover i {
    color: #1a1a1a;
    transform: scale(1.1);
}

/* Footer Titles */
.footer-title {
    font-size: 1.15rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, #94A3B8, transparent);
    border-radius: 2px;
}

/* Footer Links */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 14px;
    transform-origin: left;
    transition: transform 0.3s ease;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    position: relative;
}

.footer-links a i {
    font-size: 0.7rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: #94A3B8;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(8px);
}

.footer-links a:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Info Column */
.footer-col-contact {
    padding-left: 20px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border: 1.2px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.08));
    border-color: rgba(148, 163, 184, 0.45);
    transform: translateX(8px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.3), rgba(100, 116, 139, 0.25));
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.footer-contact-item:hover .contact-icon {
    background: linear-gradient(135deg, #94A3B8, #64748B);
    border-color: #94A3B8;
    color: #fff;
    box-shadow: 0 4px 12px rgba(148, 163, 184, 0.25);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.contact-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.contact-details a,
.contact-text {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    line-height: 1.5;
}

.contact-details a:hover {
    color: #fff;
}

.contact-details a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(148, 163, 184, 0.08);
    padding: 25px 40px;
    margin-top: 20px;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 30px;
}

.footer-left,
.footer-center,
.footer-right {
    display: flex;
    align-items: center;
}

.footer-left {
    justify-content: flex-start;
}

.footer-center {
    justify-content: center;
}

.footer-right {
    justify-content: flex-end;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 300;
    margin: 0;
    letter-spacing: 0.3px;
}

.copyright strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
}

.dev-credit {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.3px;
}

.dev-credit strong {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    margin-left: 4px;
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(148, 163, 184, 0.25);
    }

    50% {
        box-shadow: 0 4px 30px rgba(100, 116, 139, 0.5);
    }
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-legal .separator {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    font-weight: 300;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 300;
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}

.footer-legal a:hover {
    color: rgba(255, 255, 255, 0.85);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1.5fr;
        gap: 40px;
        padding: 0 30px;
    }
}

@media (max-width: 992px) {
    .glass-footer {
        padding: 60px 0 0;
        margin-top: 80px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 25px;
    }

    .footer-col-brand {
        padding-right: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-desc {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-col-contact {
        padding-left: 0;
    }

    .footer-bottom-content {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .glass-footer {
        padding: 50px 0 0;
        margin-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr !important;
        gap: 30px;
        padding: 0 20px;
    }

    /* Brand takes full width on its own row */
    .footer-col-brand {
        grid-column: 1 / -1;
        padding-right: 0;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(148, 163, 184, 0.1);
        text-align: center;
    }

    .footer-brand {
        justify-content: center;
    }

    .footer-socials {
        justify-content: center;
    }

    .footer-desc {
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .footer-title {
        font-size: 1.05rem;
    }

    .footer-bottom {
        padding: 20px;
    }

    .footer-bottom-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
        text-align: center;
    }

    /* Copyright on the left of first row */
    .footer-left {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        text-align: left;
    }

    /* Legal links on the right of first row */
    .footer-right {
        grid-column: 2;
        grid-row: 1;
        justify-self: end;
        text-align: right;
    }

    /* Developer credit spans full width on second row */
    .footer-center {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
        text-align: center;
    }

    .footer-legal {
        flex-direction: row;
        gap: 10px;
    }

    .footer-legal .separator {
        display: inline;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px;
    }

    .footer-col-brand {
        grid-column: auto;
    }

    .footer-logo-img {
        height: 45px;
    }

    .footer-social-icon {
        width: 44px;
        height: 44px;
        font-size: 1.05rem;
    }

    .copyright,
    .dev-credit,
    .footer-legal a {
        font-size: 0.8rem;
    }

    /* Footer bottom - stacked and centered */
    .footer-bottom-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        text-align: center !important;
    }

    /* Order: copyright (1) → legal (2) → developer (3) */
    .footer-left {
        order: 1 !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .footer-right {
        order: 2 !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .footer-center {
        order: 3 !important;
        width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .footer-legal {
        flex-direction: row !important;
        justify-content: center !important;
        gap: 10px;
    }

    .footer-legal .separator {
        display: inline !important;
    }

    /* Footer links in one horizontal row */
    .footer-links {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 6px 14px !important;
    }

    .footer-links li {
        margin-bottom: 0 !important;
    }

    .footer-links a {
        font-size: 0.85rem !important;
    }

    .footer-links a i {
        display: none !important;
    }
}

/* --- Floating Cart Button --- */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: none;
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(148, 163, 184, 0.4);
}

.floating-cart-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.15));
    box-shadow: none;
    border-color: rgba(148, 163, 184, 0.7);
}

.floating-cart-btn i {
    font-size: 1.6rem;
    color: #E2E8F0;
}

.floating-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, #EF4444, #DC2626);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    border: 2.5px solid #fff;
    box-shadow: 0 3px 12px rgba(239, 68, 68, 0.5);
}

@media (max-width: 768px) {
    .floating-cart-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .floating-cart-btn i {
        font-size: 1.25rem;
    }
}

/* --- Cart Drawer --- */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, rgba(20, 25, 35, 0.95), rgba(15, 20, 30, 0.98)) !important;
    backdrop-filter: blur(30px) !important;
    -webkit-backdrop-filter: blur(30px) !important;
    z-index: 2000;
    padding: 20px;
    transform: translateX(100%);
    transition: 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 40px rgba(0, 0, 0, 0.4), inset 1px 0 0 rgba(255, 255, 255, 0.15);
    border-left: 1.5px solid rgba(148, 163, 184, 0.4);
    overscroll-behavior: contain;
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.3);
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.cart-header h2,
.cart-header h3 {
    color: #FFFFFF;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.close-cart {
    font-size: 2rem;
    cursor: pointer;
    color: #E2E8F0;
    transition: all 0.3s ease;
}

.close-cart:hover {
    color: #FFFFFF;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
}

.c-item {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
}

.c-item img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.2);
}

.c-info h4 {
    font-size: 0.9rem;
    color: #FFFFFF;
}

.c-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
}

.remove-item {
    color: #FF6B6B;
    font-size: 0.8rem;
    cursor: pointer;
    margin-top: 5px;
    display: inline-block;
    transition: all 0.3s ease;
}

.remove-item:hover {
    color: #FF8787;
}

.cart-footer .total {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    color: #FFFFFF;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    color: #0f0f1a;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(148, 163, 184, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.checkout-btn:hover {
    transform: translateY(-4px);
    background: linear-gradient(135deg, #CBD5E1, #E2E8F0);
    box-shadow: 0 16px 40px rgba(148, 163, 184, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1500;
    display: none;
    touch-action: none;
    -webkit-overflow-scrolling: none;
}

.overlay.active {
    display: block;
}

/* Mobile & Touch Devices */
@media (max-width: 768px) {
    /* Navigation is displayed as horizontal scroll - styles defined above */

    .logo {
        font-size: 1.3rem;
        white-space: nowrap;
    }

    .nav-actions {
        gap: 15px;
    }

    /* Hero Section */
    .hero {
        padding-top: 0px;
        padding-bottom: 50px;
        min-height: auto;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-badge {
        justify-content: center;
    }

    .hero-title .title-line {
        font-size: 2rem;
    }

    .hero-title .title-highlight {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .stat-divider {
        display: none;
    }

    .hero-image {
        width: 100%;
    }

    .image-wrapper {
        max-width: 350px;
        margin: 0 auto;
    }

    .floating-card {
        display: none;
    }

    .scroll-indicator {
        display: none;
    }

    /* Features */
    .section-title h2 {
        font-size: 2rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Products - uses main responsive rules */

    .product-card {
        width: 100%;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-info {
        padding: 0px;
    }

    .contact-form-wrapper {
        padding: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .input-group input,
    .input-group textarea,
    .input-group select {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    .submit-btn {
        padding: 16px 40px;
        font-size: 1rem;
    }

    /* Cart Sidebar */
    .cart-sidebar {
        width: 45%;
        background: linear-gradient(135deg, rgba(20, 25, 35, 0.95), rgba(15, 20, 30, 0.98)) !important;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-legal {
        gap: 10px;
    }
}

/* Mobile Devices (Tablets, 768px and up) */
@media (max-width: 426px) {
    .cart-sidebar {
        width: 100%;
        height: 100dvh;
        height: 100vh;
        /* Fallback for older browsers */
        max-height: -webkit-fill-available;
        padding: 15px;
        padding-bottom: env(safe-area-inset-bottom, 20px);
        background: linear-gradient(135deg, rgba(20, 25, 35, 0.95), rgba(15, 20, 30, 0.98)) !important;
        backdrop-filter: blur(30px);
        -webkit-backdrop-filter: blur(30px);
        display: flex;
        flex-direction: column;
    }

    .cart-header {
        padding-bottom: 12px;
        margin-bottom: 12px;
        flex-shrink: 0;
    }

    .cart-header h2,
    .cart-header h3 {
        font-size: 1.2rem;
    }

    .close-cart {
        font-size: 1.5rem;
    }

    .cart-items {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .c-item {
        gap: 12px;
        margin-bottom: 12px;
        padding-bottom: 12px;
    }

    .c-item img {
        width: 55px;
        height: 55px;
        border-radius: 8px;
    }

    .c-info h4 {
        font-size: 0.85rem;
        margin-bottom: 4px;
    }

    .c-info p {
        font-size: 0.75rem;
    }

    .remove-item {
        font-size: 0.75rem;
    }

    .cart-footer {
        flex-shrink: 0;
        padding-top: 12px;
        padding-bottom: calc(env(safe-area-inset-bottom, 12px) + 12px);
        border-top: 1px solid rgba(148, 163, 184, 0.2);
        margin-top: auto;
    }

    .cart-footer .total {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    .checkout-btn {
        padding: 14px 16px;
        font-size: 0.9rem;
        border-radius: 10px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
}

/* Cart Sidebar for 426px to 767px - Mobile/Tablet specific */
@media (min-width: 427px) and (max-width: 767px) {
    .cart-sidebar {
        width: 100%;
        height: 100dvh;
        height: 100vh;
        /* Fallback */
        max-height: -webkit-fill-available;
        padding: 20px;
        padding-bottom: env(safe-area-inset-bottom, 20px);
        display: flex;
        flex-direction: column;
    }

    .cart-header {
        flex-shrink: 0;
    }

    .cart-items {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }

    .cart-footer {
        flex-shrink: 0;
        padding-top: 15px;
        padding-bottom: calc(env(safe-area-inset-bottom, 15px) + 15px);
        border-top: 1px solid rgba(148, 163, 184, 0.2);
        margin-top: auto;
    }

    .cart-footer .total {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }

    .checkout-btn {
        padding: 15px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }
}

/* Touch-friendly hover effects */
@media (hover: none) and (pointer: coarse) {

    /* Product cards - tap to activate */
    .product-card:active {
        transform: translateY(-5px);
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 245, 245, 0.95));
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(45, 45, 45, 0.2);
    }

    .product-card:active img {
        transform: scale(1.08);
        filter: brightness(1.05);
    }

    /* Buttons */
    .btn-primary:active {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
    }

    .btn-secondary:active {
        background: rgba(255, 255, 255, 0.5);
        transform: translateY(-2px);
    }

    .add-cart-btn:active {
        background: var(--accent-color);
    }

    /* Social icons */
    .social-icon:active,
    .footer-social-icon:active {
        background: linear-gradient(135deg, #2d2d2d, #4a4a4a);
        color: white;
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    }

    /* Feature boxes */
    .feature-box:active {
        transform: translateY(-10px);
        background: rgba(255, 255, 255, 0.4);
    }

    /* Footer links */
    .footer-links a:active {
        color: var(--accent-color);
    }

    /* Submit button */
    .submit-btn:active {
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }

    .newsletter-form button:active {
        transform: translateY(-2px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    }
}

/* --- Login Button --- */
.login-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    border: none;
    border-radius: 50px;
    color: #0f172a;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(148, 163, 184, 0.3);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(148, 163, 184, 0.4);
    background: linear-gradient(135deg, #A8B6C8, #E2E8F0);
}

.login-btn i {
    font-size: 0.95rem;
}

/* --- Auth Modal --- */
.auth-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: none;
}

.auth-modal.active {
    display: flex;
}

.auth-modal-content {
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.98), rgba(20, 20, 35, 0.98));
    border: 1.5px solid rgba(148, 163, 184, 0.3);
    border-radius: 24px;
    max-width: 450px;
    width: 90%;
    touch-action: auto;
    max-height: 90vh;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(40px);
    animation: slideUp 0.4s ease;
    margin: auto;
    overflow: hidden;
}

.auth-modal-inner {
    padding: 40px;
    max-height: calc(90vh - 2px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.4) rgba(255, 255, 255, 0.05);
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.auth-modal-inner::-webkit-scrollbar {
    width: 6px;
}

.auth-modal-inner::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.auth-modal-inner::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 3px;
}

.auth-modal-inner::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.6);
}

.auth-close {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    line-height: 1;
    z-index: 10;
}

.auth-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 50px;
}

.auth-tab {
    flex: 1;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 50px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    color: #0f172a;
}

.auth-form-container {
    display: none;
}

.auth-form-container.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.auth-form-container h2 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.auth-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.auth-input-group:focus-within {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.auth-input-group i {
    color: rgba(255, 255, 255, 0.5);
    margin-right: 12px;
    font-size: 1rem;
}

.auth-input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
}

.auth-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Password Visibility Toggle Button */
.password-toggle-btn {
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 6px;
    margin-left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.password-toggle-btn:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
}

.password-toggle-btn:focus {
    outline: none;
    color: rgba(148, 163, 184, 0.9);
}

.password-toggle-btn.active {
    color: #94A3B8;
}

.password-toggle-btn.active:hover {
    color: #CBD5E1;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
}

.remember-me input {
    cursor: pointer;
}

.forgot-password {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: #CBD5E1;
}

.auth-submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    border: none;
    border-radius: 12px;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 8px 24px rgba(148, 163, 184, 0.3);
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(148, 163, 184, 0.4);
    background: linear-gradient(135deg, #A8B6C8, #E2E8F0);
}

.auth-divider {
    text-align: center;
    margin: 25px 0;
    position: relative;
    overflow: hidden;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 35%;
    height: 1px;
    background: rgba(148, 163, 184, 0.2);
}

.auth-divider::before {
    left: 0;
}

.auth-divider::after {
    right: 0;
}

.auth-divider span {
    position: relative;
    background: transparent;
    padding: 0 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    z-index: 1;
}

.social-auth {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-btn:hover {
    border-color: rgba(148, 163, 184, 0.5);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.social-btn.google:hover {
    background: #fff;
    color: #DB4437;
}

.social-btn.facebook:hover {
    background: #1877F2;
    color: #fff;
}

.terms-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    cursor: pointer;
}

.terms-checkbox input {
    margin-top: 3px;
    cursor: pointer;
}

.terms-checkbox a {
    color: #94A3B8;
    text-decoration: none;
}

.terms-checkbox a:hover {
    color: #CBD5E1;
}

@media (max-width: 768px) {
    .auth-modal {
        padding: 20px;
        align-items: center;
    }

    .auth-modal-content {
        max-width: 420px;
        width: 90%;
        max-height: 90vh;
        margin: auto;
        border-radius: 20px;
    }

    .auth-modal-inner {
        padding: 25px 20px;
        max-height: calc(95vh - 22px);
    }

    .auth-close {
        top: 12px;
        right: 15px;
        font-size: 1.5rem;
    }

    .auth-tabs {
        gap: 0;
        margin-bottom: 20px;
    }

    .auth-tab {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .auth-form-container h2 {
        font-size: 1.4rem;
        margin-bottom: 6px;
    }

    .auth-subtitle {
        font-size: 0.8rem;
        margin-bottom: 18px;
    }

    .auth-input-group {
        padding: 10px 12px;
    }

    .auth-input-group i {
        font-size: 0.9rem;
    }

    .auth-input-group input {
        font-size: 0.85rem;
    }

    .auth-options {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }

    .remember-me,
    .forgot-password {
        font-size: 0.8rem;
    }

    .auth-submit-btn {
        padding: 12px;
        font-size: 0.85rem;
    }

    .auth-divider {
        margin: 16px 0;
    }

    .auth-divider span {
        font-size: 0.75rem;
    }

    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .terms-checkbox {
        font-size: 0.75rem;
    }
}

/* --- Promotional Banner --- */
.promo-banner {
    padding: 60px 0;
    background: linear-gradient(135deg,
            rgba(148, 163, 184, 0.2) 0%,
            rgba(94, 109, 137, 0.15) 50%,
            rgba(148, 163, 184, 0.15) 100%);
    border-top: 2px solid rgba(148, 163, 184, 0.25);
    border-bottom: 2px solid rgba(148, 163, 184, 0.25);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    position: relative;
    overflow: hidden;
}

.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(148, 163, 184, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(94, 109, 137, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.promo-banner .container {
    position: relative;
    z-index: 1;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.promo-text {
    flex: 1;
    min-width: min(300px, 100%);
}

.promo-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.promo-highlight {
    background: linear-gradient(135deg, #ffffff 0%, #E2E8F0 50%, #CBD5E1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 2.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.4));
    animation: promo-glow 2s ease-in-out infinite alternate;
}

@keyframes promo-glow {
    0% {
        filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.3));
    }

    100% {
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.6));
    }
}

.promo-highlight-secondary {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #FF8C00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.promo-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.7;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.promo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: linear-gradient(135deg, #8FA1B5 0%, #ABC3D5 50%, #CBD5E1 100%);
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: none;
    position: relative;
    overflow: hidden;
}

.promo-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.promo-cta:hover::before {
    left: 100%;
}

.promo-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: none;
    background: linear-gradient(135deg, #99AABD 0%, #B8CADC 50%, #D9E2EC 100%);
}

.promo-cta:active {
    transform: translateY(-1px) scale(0.98);
}

.promo-cta i {
    font-size: 0.95rem;
    transition: transform 0.3s ease;
}

.promo-cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .promo-banner {
        padding: 30px 20px;
        /* Reduced vertical padding and added side padding */
    }

    .promo-title {
        font-size: 1.4rem;
        /* Scaled down for tablet */
    }

    .promo-highlight {
        font-size: 1.7rem;
        /* Scaled down proportionally */
    }

    .promo-subtitle {
        font-size: 0.95rem;
        margin-bottom: 25px;
        opacity: 0.9;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
        align-items: center;
        /* Center children on vertical axis */
        gap: 20px;
    }

    .promo-cta {
        width: auto !important;
        /* Prevent full-width stretch */
        min-width: 220px;
        max-width: 320px;
        padding: 12px 28px;
        /* More standard button padding */
        font-size: 0.92rem;
        align-self: center;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        padding: 30px 15px !important;
    }

    .promo-title {
        font-size: 1.2rem !important;
        line-height: 1.3 !important;
    }

    .promo-highlight {
        font-size: 1.5rem !important;
    }

    .promo-subtitle {
        font-size: 0.85rem !important;
        padding: 0 5px;
        margin-bottom: 20px !important;
    }

    .promo-cta {
        min-width: 180px !important;
        padding: 11px 22px !important;
        font-size: 0.85rem !important;
    }
}

/* --- Testimonials Section --- */
.testimonials-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(180deg, transparent 0%, rgba(148, 163, 184, 0.05) 50%, transparent 100%);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #94A3B8;
    margin-bottom: 12px;
}

.testimonials-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
}

.testimonials-subtitle {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.65);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 28px;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border: 1.5px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 36px;
    backdrop-filter: blur(35px);
    -webkit-backdrop-filter: blur(35px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    border-color: rgba(148, 163, 184, 0.4);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.06));
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    color: #FDB022;
    font-size: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin: 0;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-info h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
}

.author-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }

    .testimonials-title {
        font-size: 2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonial-card {
        padding: 28px;
    }
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #94A3B8, #CBD5E1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #0f172a;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(148, 163, 184, 0.3);
    z-index: 999;
}

.back-to-top.show {
    display: flex;
}

/* --- Legal Section --- */
.legal-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 11000;
}

.legal-modal.open {
    display: flex;
}

.legal-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(6px);
}

.legal-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(15, 15, 25, 0.95), rgba(25, 25, 40, 0.95));
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 24px;
    max-width: 720px;
    width: 92%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
}

.legal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(148, 163, 184, 0.3);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.legal-close:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.12);
}

.legal-tabs {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.legal-tab {
    padding: 10px 16px;
    border: none;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
}

.legal-tab.active {
    background: rgba(148, 163, 184, 0.15);
    color: #fff;
}

.legal-body {
    margin-top: 18px;
    overflow: auto;
    max-height: calc(80vh - 120px);
    padding-right: 6px;
}

.legal-pane {
    display: none;
    color: rgba(255, 255, 255, 0.88);
}

.legal-pane.active {
    display: block;
}

.legal-pane h3 {
    color: var(--accent);
    margin-bottom: 10px;
}

.legal-pane ul {
    margin: 10px 0 0 18px;
    display: grid;
    gap: 6px;
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.08);
    box-shadow: 0 12px 32px rgba(148, 163, 184, 0.4);
    background: linear-gradient(135deg, #A8B6C8, #E2E8F0);
}

.back-to-top:active {
    transform: translateY(-2px) scale(0.96);
}

@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
        font-size: 1rem;
    }
}


/* MOBILE FIX: Stable grid container - no min-height reservation needed
   Cards now render with correct initial visibility, so no space reservation required */
@media (max-width: 768px) {
    #productGrid {
        /* Contain layout to prevent external reflow */
        contain: content;
    }
}

/* User Initials Style in Login Button */
.user-initials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    /* background: linear-gradient(135deg, #94A3B8, #64748B); */
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 50%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}