/* ==========================================================================
   falconstar.com.ua — Clean Light CCTV Store Theme
   ========================================================================== */

/* --- Design Tokens --- */
:root {
    --color-primary: #6366f1;
    /* Vibrant Indigo */
    --color-primary-dark: #4f46e5;
    --color-primary-light: #eef2ff;
    --color-accent: #18293b;

    --color-bg: #f8fafc;
    --color-bg-white: #ffffff;
    --color-bg-card: #ffffff;
    --color-bg-hero: #18293b;
    --color-surface: #ffffff;

    --color-text: #18293b;
    --color-text-secondary: #475569;
    --color-text-muted: #94a3b8;

    --color-star: #fbbf24;
    --color-badge-sale: #f43f5e;
    --color-badge-new: #6366f1;
    --color-success: #10b981;

    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 6rem;

    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --shadow-card-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --shadow-elevated: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

    /* Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);
}

/* --- Reset --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Ensure intl-tel-input containers fill their parent width */
.iti {
    width: 100%;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background: var(--color-bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    padding-top: 90px;
}

img,
video,
svg {
    max-width: 100%;
    display: block;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 92%;
    max-width: 1320px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .container {
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* --- Visibility Utilities --- */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 992px) {
    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block;
    }
}

.is-hidden,
[hidden],
.promo-banner-section.is-hidden,
.deal-of-week.is-hidden,
.super-discount-card.is-hidden {
    display: none !important;
}


/* --- Section Title --- */
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    text-align: center;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.5px;
}

.card-buy-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.card-buy-buttons .btn {
    width: 100%;
    padding: 10px;
    font-size: 0.85rem;
    border-radius: 10px;
}

.card-buy-buttons .btn-add-cart {
    background: #0f172a;
    color: #fff;
}

.card-buy-buttons .btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-text);
}

.card-buy-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
}

/* --- Category Sections --- */
/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-smooth);
}

.btn-primary {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5);
}

/* Phone validation styles */
.phone-error-msg {
    color: #ef4444;
    font-size: 13px;
    margin-top: 10px;
    display: none;
    font-weight: 500;
    line-height: 1.4;
}

.phone-error-msg.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.phone-hint {
    font-size: 0.88em;
    opacity: 0.8;
    margin-top: 4px;
    color: #ef4444;
}

.input-error {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 1px #ef4444 !important;
}

.iti.input-error {
    border: 1.5px solid #ef4444 !important;
    border-radius: 12px !important;
    box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.1) !important;
    background: #fff;
}

.iti.input-error input {
    border-color: transparent !important;
    box-shadow: none !important;
    background: transparent !important;
}

.iti {
    width: 100%;
    margin-bottom: 5px;
    transition: all 0.3s ease;
}

.iti__flag-container {
    padding: 2px;
}


/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: #1a2b4a !important;
    background-color: #1a2b4a !important;
    color: #ffffff !important;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 24px;
    transition: all var(--transition-smooth);
    background: #1a2b4a !important;
    background-color: #1a2b4a !important;
}



.category-page .site-header,
.category-page .header-inner,
.category-page .site-header .header-inner {
    background: #1a2b4a !important;
    background-color: #1a2b4a !important;
}

@media (min-width: 769px) {
    body {
        padding-top: 164px;
    }

    .header-inner {
        background: #1a2b4a !important;
        flex-wrap: wrap;
        height: auto;
        padding: 12px 0;
        row-gap: 16px;
        column-gap: 20px;
    }

    .main-nav {
        display: flex !important;
        width: 100%;
        order: -1;
        justify-content: flex-start;
        align-items: center;
        gap: 1.5rem;
        padding-bottom: 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 0.85rem;
    }

    .hamburger {
        display: none !important;
        order: 1;
    }

    .logo {
        order: 2;
        flex: 0 0 280px;
    }

    .header-search {
        display: flex !important;
        order: 3;
        flex: 1;
        margin: 0;
        height: 44px;
    }

    .header-actions {
        order: 4;
        margin-left: auto;
        /* Push to the right */
    }

    .header-cart {
        display: flex !important;
    }

    /* Hide elements as requested for 769px+ */
    .search-category-dd {
        display: none !important;
    }
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 993px) {
    .hamburger {
        display: none;
    }
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #ffffff;
    transition: color 0.3s ease;
}

.logo-icon {
    color: #ffffff;
    font-size: 2rem;
    transition: color 0.3s ease;
}

.logo-icon-img,
.logo-icon-svg {
    height: 36px;
    width: auto;
    max-width: 65px;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.logo:hover .logo-icon-img,
.logo:hover .logo-icon-svg {
    transform: scale(1.08);
}

.logo:hover,
.logo:hover .logo-icon {
    color: #ffbd28;
}

/* Removed min-width 993px logo width to keep it auto-width as part of the new 769px+ layout */


/* Header Search */
.header-search {
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    background: #fff;
    flex: 1;
    height: 48px;
    overflow: visible;
    position: relative;
    transition: all var(--transition-fast);
}

.header-search:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.05);
}

.search-category-dd {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px;
    color: #475569;
    font-size: 0.9rem;
    cursor: pointer;
    border-right: 1px solid #e5e7eb;
    height: 100%;
    transition: background var(--transition-fast);
}

/* Removed redundant min-width 993px hide for search-category-dd as it's now in the 769px+ block */

.search-category-dd:hover {
    background: #f8fafc;
}

.header-search-input-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 14px;
    gap: 10px;
    color: #94a3b8;
    height: 100%;
}

.header-search-input-wrapper i {
    font-size: 1.2rem;
}

.header-search input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 0.9rem;
    color: var(--color-text);
    background: transparent;
    height: 100%;
}

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

.search-btn {
    background: #ffbd28;
    color: #18293b;
    border: none;
    height: 100%;
    padding: 0 28px;
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border-radius: 0 6px 6px 0;
}

.search-btn:hover {
    background: #e5a920;
    transform: translateY(-1px);
}

/* Header Search Live Suggestions & Category Dropdown */
.header-search-results {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    z-index: 9999;
    max-height: 420px;
    overflow-y: auto;
    display: none;
}

.header-search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: #1e293b;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.search-result-item:hover {
    background: #f8fafc;
}

.search-result-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    flex-shrink: 0;
}

.search-result-details {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.search-result-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
    margin-top: 2px;
}

.search-result-all {
    padding: 12px 14px;
    text-align: center;
    background: #f8fafc;
    color: #4f46e5;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: background 0.15s;
    border-top: 1px solid #e2e8f0;
}

.search-result-all:hover {
    background: #eef2ff;
}

.search-result-empty {
    padding: 24px 16px;
    text-align: center;
    color: #64748b;
    font-size: 0.88rem;
}

.search-category-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    width: 240px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
    z-index: 9999;
    display: none;
    padding: 6px 0;
}

.search-category-menu.active {
    display: block;
}

.search-category-item {
    padding: 9px 16px;
    font-size: 0.875rem;
    color: #334155;
    cursor: pointer;
    transition: all 0.15s;
}

.search-category-item:hover,
.search-category-item.active {
    background: #f1f5f9;
    color: #4f46e5;
    font-weight: 600;
}

/* Removed redundant 769-992px block as it's now covered by the main 769px+ block above */

@media (max-width: 768px) {
    .header-inner {
        gap: 8px;
        padding: 0 10px;
        height: 60px;
    }

    .site-header .logo span {
        display: none !important;
    }

    .logo-icon {
        font-size: 1.75rem;
    }

    .header-search {
        display: flex !important;
        height: 36px;
        flex: 1;
        min-width: 0;
        border-radius: 4px;
    }

    .search-category-dd {
        display: none !important;
    }

    .header-search-input-wrapper {
        padding: 0 8px;
        gap: 4px;
    }

    .header-search input {
        font-size: 0.8rem;
    }

    .search-btn {
        padding: 0 12px;
        font-size: 0.75rem;
    }

    .header-callback-container,
    .header-cart {
        display: none !important;
    }

    .header-actions {
        display: none;
        /* Hide actions entirely since cart is gone */
    }

    .hamburger {
        padding: 4px;
        display: flex !important;
        /* Ensure hamburger is always visible on mobile */
    }
}

.logo-img {
    max-height: 48px;
    width: auto;
    object-fit: contain;
}

/* Main Nav */
.main-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Removed min-width 993px main-nav hide to keep it visible for 769px+ */

.mobile-only-nav,
.mobile-nav-bottom {
    display: none !important;
}

.main-nav a {
    color: #ffffff;
    position: relative;
    padding: 4px 0;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s;
}

.main-nav a:hover {
    color: #ffbd28;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Desktop right group: phone + user auth directly above cart */
.main-nav-right {
    margin-left: auto;
    display: flex !important;
    align-items: center;
    gap: 18px;
    z-index: 10;
}

.main-nav-right a::after {
    display: none !important;
}

.nav-phone {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #ffffff !important;
    font-size: 1.05rem;
    text-decoration: none !important;
    white-space: nowrap;
    transition: all 0.25s ease;
    padding: 4px 6px;
    border-radius: 6px;
    z-index: 10;
}

.nav-phone:hover {
    color: #ffbd28 !important;
    background: rgba(255, 255, 255, 0.05);
}

.nav-phone i {
    font-size: 1.3rem;
    color: #ffbd28;
    transition: transform 0.25s ease, color 0.25s ease;
}

.nav-phone span {
    color: #ffffff;
    letter-spacing: 0.3px;
    transition: color 0.25s ease;
}

.nav-phone:hover i {
    transform: scale(1.1);
    color: #ffffff;
}

.nav-phone:hover span {
    color: #ffbd28;
}

@media (max-width: 768px) {
    .main-nav-right {
        display: none !important;
    }
    .nav-phone {
        margin-left: 0;
        margin-top: 15px;
        padding: 15px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        justify-content: flex-start;
        font-size: 1.2rem;
    }
}

.main-nav.open {
    transform: translateX(0);
}

.main-nav.open .mobile-only-nav {
    display: block;
}

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

/* Removed redundant min-width 993px hide for lang/callback as it's covered by the 769px+ block */

.header-cart {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #ffffff;
    position: relative;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.header-cart:hover,
.header-cart:hover i,
.header-cart:hover iconify-icon {
    color: #ffbd28 !important;
}

.header-cart iconify-icon {
    font-size: 1.4rem;
}

.cart-badge {
    position: absolute;
    top: -6px;
    right: -10px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Language Switch */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.7);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.lang-btn:hover {
    color: #ffbd28;
}

.lang-btn.active {
    background: #ffbd28;
    color: #1a2b4a;
    border-radius: 4px;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
    user-select: none;
}

/* ============================================================
   HERO
   ============================================================ */
/* ===================== HERO SECTION ===================== */
.hero-section {
    padding: 20px 0;
    background: #fff;
}

.hero-main-layout {
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: 20px;
    width: 100%;
    min-width: 0;
    align-items: stretch;
}

.hero-left-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
}

.hero-right-column {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    width: 100%;
    overflow: hidden;
}

/* Slider Box */
.hero-slider-box {
    height: 480px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #f8f9fa;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* ============================================================
   HERO CATEGORIES SIDEBAR — SENIOR LEAD DESIGN SYSTEM
   ============================================================ */
.hero-categories-sidebar {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
    overflow: hidden;
    position: relative;
    transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-left-column .hero-categories-sidebar {
    height: 100%;
    min-height: 480px;
    justify-content: space-between;
}

.hero-categories-sidebar:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.03);
}

/* --- Header (Obsidian Tech Theme) --- */
.hero-cat-header {
    background: linear-gradient(135deg, #0b1329 0%, #172554 48%, #1e293b 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    user-select: none;
    cursor: pointer;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 8px rgba(11, 19, 41, 0.18);
    transition: background 0.3s ease;
}

.hero-cat-header:hover {
    background: linear-gradient(135deg, #0b1329 0%, #1e3a8a 48%, #25384e 100%);
}

.hero-cat-header-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #ffbd28 0%, #f59e0b 100%);
    color: #0b1329;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.35);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cat-header:hover .hero-cat-header-icon {
    transform: rotate(90deg) scale(1.06);
}

.hero-cat-header-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hero-cat-header-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.96rem;
    color: #ffffff;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.hero-cat-header-sub {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.1;
    margin-top: 1px;
}

.hero-cat-header-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.hero-cat-count-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.hero-cat-header:hover .hero-cat-count-badge {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

.hero-cat-header-arrow {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
}

.hero-cat-header:hover .hero-cat-header-arrow {
    color: #ffbd28;
    transform: translate(2px, -2px);
}

/* Fallback header for simple structure */
.hero-cat-header > i:first-child:not(.hero-cat-header-icon i) {
    font-size: 1.25rem;
    color: #ffbd28;
}
.hero-cat-header > span:not(.hero-cat-header-title) {
    flex: 1;
    font-size: 0.95rem;
    font-weight: 700;
}
.hero-cat-header > i:last-child:not(.hero-cat-header-meta i) {
    margin-left: auto;
    font-size: 1rem;
    color: #94a3b8;
}

/* --- Category List & Items --- */
.hero-cat-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2px 0;
    margin: 0;
}

.hero-cat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    text-decoration: none;
    position: relative;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.22s ease, transform 0.22s ease;
    overflow: hidden;
}

.hero-cat-item:last-child {
    border-bottom: none;
}

/* Left accent bar on hover */
.hero-cat-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14%;
    bottom: 14%;
    width: 3.5px;
    background: #2563eb;
    border-radius: 0 4px 4px 0;
    transform: scaleY(0);
    opacity: 0;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
}

/* Subtle gradient sheen on hover */
.hero-cat-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease;
}

.hero-cat-item:hover {
    background: #f8fafc;
}

.hero-cat-item:hover::before,
.hero-cat-item.active::before {
    transform: scaleY(1);
    opacity: 1;
}

.hero-cat-item:hover::after,
.hero-cat-item.active::after {
    opacity: 1;
}

.hero-cat-item.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.01) 100%);
}

/* Category Icon Wrapper */
.hero-cat-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 1.25rem;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s ease, 
                border-color 0.25s ease, 
                background 0.25s ease;
    position: relative;
    z-index: 1;
}

.hero-cat-item:hover .hero-cat-icon-wrap {
    transform: scale(1.08);
}

/* Themed Icon Box Colors */
.hero-cat-item.theme-cameras .hero-cat-icon-wrap {
    background: #eef2ff;
    border-color: #e0e7ff;
    color: #4f46e5;
}
.hero-cat-item.theme-cameras:hover .hero-cat-icon-wrap {
    background: #e0e7ff;
    border-color: #c7d2fe;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.hero-cat-item.theme-solar-cameras .hero-cat-icon-wrap {
    background: #ecfdf5;
    border-color: #d1fae5;
    color: #059669;
}
.hero-cat-item.theme-solar-cameras:hover .hero-cat-icon-wrap {
    background: #d1fae5;
    border-color: #a7f3d0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
}

.hero-cat-item.theme-solar-kits .hero-cat-icon-wrap {
    background: #fffbeb;
    border-color: #fef3c7;
    color: #d97706;
}
.hero-cat-item.theme-solar-kits:hover .hero-cat-icon-wrap {
    background: #fef3c7;
    border-color: #fde68a;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
}

.hero-cat-item.theme-cctv-kits .hero-cat-icon-wrap {
    background: #eff6ff;
    border-color: #dbeafe;
    color: #2563eb;
}
.hero-cat-item.theme-cctv-kits:hover .hero-cat-icon-wrap {
    background: #dbeafe;
    border-color: #bfdbfe;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.hero-cat-item.theme-baby-monitors .hero-cat-icon-wrap {
    background: #f0fdfa;
    border-color: #ccfbf1;
    color: #0d9488;
}
.hero-cat-item.theme-baby-monitors:hover .hero-cat-icon-wrap {
    background: #ccfbf1;
    border-color: #99f6e4;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* Category Content Block */
.hero-cat-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    z-index: 1;
}

.hero-cat-name {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
    white-space: normal;
    letter-spacing: -0.01em;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hero-cat-item:hover .hero-cat-name {
    color: #1d4ed8;
    transform: translateX(2px);
}

.hero-cat-item.active .hero-cat-name {
    color: #1d4ed8;
    font-weight: 700;
}

.hero-cat-sub {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.015em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

.hero-cat-item:hover .hero-cat-sub {
    color: #475569;
}

/* Right Meta (Badge & Arrow) */
.hero-cat-arrow {
    font-size: 0.95rem;
    color: #94a3b8;
    opacity: 0.45;
    margin-left: auto;
    flex-shrink: 0;
    transform: translateX(-4px);
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.hero-cat-item:hover .hero-cat-arrow,
.hero-cat-item.active .hero-cat-arrow {
    opacity: 1;
    color: #2563eb;
    transform: translateX(0);
}

/* Fallback support for bare HTML */
.hero-cat-item > span:not(.hero-cat-name):not(.hero-cat-sub):not(.hero-cat-badge) {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.25;
}
.hero-cat-item > .hero-cat-icon:not(.hero-cat-icon-wrap .hero-cat-icon) {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* --- Footer / Bottom Anchor --- */
.hero-cat-footer {
    padding: 10px 16px;
    background: #f8fafc;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    border-radius: 0 0 16px 16px;
}

.hero-cat-all-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 8px 12px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.03);
}

.hero-cat-all-link:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.12);
}

.hero-cat-all-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-cat-all-text i {
    font-size: 0.95rem;
    color: #2563eb;
}

.hero-cat-count-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
    transition: transform 0.2s ease, color 0.2s ease;
}

.hero-cat-all-link:hover .hero-cat-count-pill {
    color: #1d4ed8;
    transform: translateX(2px);
}
/* ===================== END HERO CATEGORIES SIDEBAR ===================== */

/* ===================== DEAL OF THE WEEK ===================== */
.deal-of-week {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.deal-of-week:empty {
    display: none;
}

.deal-header {
    background: #ef4444;
    color: #fff;
    padding: 12px 16px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: 0.5px;
}

.deal-card {
    padding: 16px;
    text-align: center;
}

.deal-image-wrap {
    position: relative;
    margin-bottom: 12px;
    background: #f8f9fa;
    border-radius: 8px;
    padding: 12px;
}

.deal-image-wrap img {
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.deal-badge-discount {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    z-index: 2;
}

.deal-actions-float {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.deal-actions-float button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.deal-actions-float button:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
    transform: scale(1.1);
}

.deal-actions-float button.deal-star-btn {
    background: #ffbd28;
    color: #fff;
    border-color: #ffbd28;
}

.deal-product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.3;
    margin-bottom: 8px;
    word-break: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deal-product-name a {
    color: inherit;
    transition: color 0.2s;
}

.deal-product-name a:hover {
    color: var(--color-primary);
}

.deal-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.deal-rating i {
    color: #ffbd28;
    font-size: 0.9rem;
}

.deal-rating i.half {
    color: #d1d5db;
}

.deal-rating span {
    color: #94a3b8;
    font-size: 0.8rem;
    margin-left: 4px;
}

.deal-price-block {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.deal-price-new {
    font-size: 1.3rem;
    font-weight: 800;
    color: #ef4444;
    font-family: var(--font-heading);
}

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

.deal-delivery {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 14px;
}

.deal-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
}

.deal-timer-unit {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 6px 8px;
    min-width: 40px;
}

.deal-timer-unit .val {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text);
    font-family: var(--font-heading);
    line-height: 1;
}

.deal-timer-unit .lbl {
    font-size: 0.55rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.deal-timer-sep {
    font-size: 1rem;
    font-weight: 700;
    color: #94a3b8;
    line-height: 1;
    padding-bottom: 10px;
}

.deal-footer-text {
    font-size: 0.7rem;
    color: #94a3b8;
    text-align: center;
    line-height: 1.3;
    padding: 0 10px;
}

/* ===================== END DEAL OF THE WEEK ===================== */

/* ===================== SUPER DISCOUNT CARD ===================== */
.super-discount-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.super-discount-card:empty {
    display: none;
}

.sd-content {
    padding: 24px 24px 0 24px;
}

.sd-subtitle {
    color: var(--color-primary, #2563eb);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.sd-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin-bottom: 12px;
}

.sd-description {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.4;
    margin-bottom: 20px;
}

.sd-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary, #2563eb);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.sd-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: #fff;
}

.sd-image-wrap {
    margin-top: 10px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    /* This makes the image clip at the bottom */
    position: relative;
}

.sd-image-wrap img {
    max-width: 90%;
    height: auto;
    object-fit: cover;
    object-position: bottom;
    display: block;
    margin: 0 auto;
    /* Optional: pull it slightly down if we want a cropped effect */
    transform: translateY(10px);
}

/* ===================== END SUPER DISCOUNT CARD ===================== */

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 50px;
    overflow: hidden;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 40% center;
    transform: scale(1.05);
    transform-origin: 40% center;
    transition: transform 0.6s ease;
}

.slide:last-child .slide-bg {
    background-position: 30% center;
    transform-origin: 30% center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.88) 32%, rgba(255, 255, 255, 0.35) 46%, rgba(255, 255, 255, 0) 58%);
}

.slide-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffbd28;
    color: #18293b;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(255, 189, 40, 0.35);
}

.slide-content {
    position: relative;
    z-index: 5;
    max-width: 480px;
}

.slide-content h1, .slide-content h2, .slide-content .slide-heading {
    font-size: clamp(1.8rem, 2.7vw, 2.5rem);
    font-weight: 900;
    line-height: 1.15;
    color: #18293b;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.slide-content p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 18px;
    max-width: 440px;
}

.sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a2e;
}

.sale-badge .percent {
    font-size: 5rem;
    line-height: 1;
    margin-left: 5px;
}

/* Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
    color: #18293b;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-slider-box:hover .slider-arrow {
    opacity: 1;
}

.slider-arr.card-cart-btn-float.added,
.card-cart-btn-float.added {
    background: #e6fffa !important;
    color: #059669 !important;
    width: auto !important;
    padding: 0 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    border: 1.5px solid #059669 !important;
}

.btn-one-click-card.added {
    background: #e6fffa !important;
    color: #059669 !important;
    border: 1.5px solid #059669 !important;
    gap: 5px;
}

.card-wishlist-btn:hover,
.card-cart-btn-float:hover {
    background: var(--color-primary);
    color: #fff;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.slider-arrow:hover {
    background: var(--color-primary);
    color: #fff;
}

.slider-arrow.prev {
    left: 15px;
}

.slider-arrow.next {
    right: 15px;
}

/* Progress Bar */
.slider-progress-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 10;
}

.slider-progress-bar {
    width: 0%;
    height: 100%;
    background: var(--color-primary);
    transition: width 0.1s linear;
}

/* Slider Dots with Subtitle / Labels */
.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 80px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(24, 41, 59, 0.15);
    color: #4b5563;
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.slider-dot:hover {
    background: #ffffff;
    color: #18293b;
    border-color: rgba(24, 41, 59, 0.3);
    transform: translateY(-1px);
}

.slider-dot.active {
    background: #18293b;
    color: #ffffff;
    border-color: #18293b;
    box-shadow: 0 4px 12px rgba(24, 41, 59, 0.25);
}

.slider-dot .dot-number {
    font-size: 0.7rem;
    opacity: 0.7;
    font-weight: 800;
}

.slider-dot.active .dot-number {
    color: #ffbd28;
    opacity: 1;
}

@media (max-width: 769px) {
    .slider-dots {
        left: 20px;
        bottom: 14px;
        gap: 6px;
    }
    .slider-dot {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
}

/* Promo Grid Removed */

@media (max-width: 1100px) {
    .hero-main-layout {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .hero-cat-item {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .hero-cat-icon {
        font-size: 1.25rem;
    }
}

.category-catalog-container {
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.category-sidebar-column {
    flex: 0 0 290px;
    width: 290px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: stretch;
    height: 100%;
    padding-right: 0;
    padding-bottom: 0;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.category-main-column {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}



@media (max-width: 992px) {
    .hero-main-layout {
        grid-template-columns: 1fr;
    }

    .hero-slider-box {
        height: 400px;
    }

    .hero-left-column,
    .hero-categories-sidebar,
    .category-sidebar-column {
        display: none;
    }
}

@media (max-width: 769px) {

    .slide {
        padding: 0 40px;
    }

    .slide-content h1, .slide-content h2, .slide-content .slide-heading {
        font-size: 2.2rem;
    }
}

/* ============================================================
   TRUST BAR (styled as PDP Service Trust Bar)
   ============================================================ */
.trust-bar {
    background: var(--color-bg-white);
    padding: 28px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.trust-bar-inline {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    padding: 14px 18px;
    margin-top: 24px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: relative;
}

.trust-bar-inline .trust-inner,
.trust-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.trust-bar-inline .trust-item,
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    min-width: 0;
    text-decoration: none;
    color: inherit;
    position: relative;
}

.trust-bar-inline .trust-item:hover,
.trust-item:hover {
    transform: translateY(-2px);
    background: #ffffff;
    border-color: rgba(45, 125, 202, 0.35);
    box-shadow: 0 10px 24px -4px rgba(45, 125, 202, 0.12), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
}

.trust-bar-inline .trust-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.trust-bar-inline .trust-icon,
.trust-icon {
    font-size: 1.38rem;
    line-height: 1;
}

.trust-bar-inline .trust-item:hover .trust-icon-box {
    transform: scale(1.1) rotate(2deg);
}

/* Individual accent themes for trust items */
.trust-bar-inline .trust-item-delivery .trust-icon-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.04) 100%);
    color: #2563eb;
}
.trust-bar-inline .trust-item-delivery:hover {
    border-color: rgba(37, 99, 235, 0.35);
}

.trust-bar-inline .trust-item-payment .trust-icon-box {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.16) 0%, rgba(245, 158, 11, 0.05) 100%);
    color: #d97706;
}
.trust-bar-inline .trust-item-payment:hover {
    border-color: rgba(234, 179, 8, 0.4);
}

.trust-bar-inline .trust-item-quality .trust-icon-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(5, 150, 105, 0.04) 100%);
    color: #059669;
}
.trust-bar-inline .trust-item-quality:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.trust-bar-inline .trust-item-setup .trust-icon-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.14) 0%, rgba(124, 58, 237, 0.04) 100%);
    color: #7c3aed;
}
.trust-bar-inline .trust-item-setup:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.trust-bar-inline .trust-item-support .trust-icon-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.14) 0%, rgba(8, 145, 178, 0.04) 100%);
    color: #0891b2;
}
.trust-bar-inline .trust-item-support:hover {
    border-color: rgba(6, 182, 212, 0.4);
}

/* Typography */
.trust-bar-inline .trust-content,
.trust-item > div {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.trust-bar-inline .trust-content strong,
.trust-item strong {
    display: block;
    font-size: 0.83rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.trust-bar-inline .trust-content span,
.trust-item span {
    display: block;
    font-size: 0.73rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.3;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .trust-bar-inline .trust-inner,
    .trust-inner {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}

@media (max-width: 900px) {
    .trust-bar-inline .trust-inner,
    .trust-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (max-width: 768px) {
    .trust-bar-inline {
        padding: 12px 14px !important;
        margin-top: 16px !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03) !important;
    }
    .trust-bar-inline .trust-inner,
    .trust-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        background: transparent !important;
    }
    .trust-bar-inline .trust-item,
    .trust-item {
        padding: 9px 10px !important;
        gap: 8px !important;
        border-radius: 10px !important;
        width: 100% !important;
    }
    .trust-bar-inline .trust-icon-box {
        width: 36px !important;
        height: 36px !important;
        border-radius: 8px !important;
    }
    .trust-bar-inline .trust-icon,
    .trust-icon {
        font-size: 1.2rem !important;
    }
    .trust-bar-inline .trust-content strong,
    .trust-item strong {
        font-size: 0.78rem !important;
    }
    .trust-bar-inline .trust-content span,
    .trust-item span {
        font-size: 0.69rem !important;
    }
}

@media (max-width: 440px) {
    .trust-bar-inline .trust-inner,
    .trust-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px !important;
    }
    .trust-bar-inline .trust-item,
    .trust-item {
        padding: 8px !important;
        gap: 7px !important;
    }
    .trust-bar-inline .trust-icon-box {
        width: 32px !important;
        height: 32px !important;
    }
    .trust-bar-inline .trust-icon,
    .trust-icon {
        font-size: 1.1rem !important;
    }
    .trust-bar-inline .trust-content strong,
    .trust-item strong {
        font-size: 0.74rem !important;
        line-height: 1.2 !important;
    }
    .trust-bar-inline .trust-content span,
    .trust-item span {
        font-size: 0.66rem !important;
        line-height: 1.2 !important;
    }
}

/* ============================================================
   BESTSELLERS SECTION
   ============================================================ */
/* Bestsellers in Sidebar */
.bestsellers-sidebar {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-top: 24px;
    padding: 20px;
}

@media (max-width: 768px) {
    .bestsellers-sidebar {
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        margin-top: 15px;
    }
}

.bestsellers-sidebar .section-header {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

@media (max-width: 768px) {
    .bestsellers-sidebar .section-header {
        border-bottom: none;
        margin-bottom: 10px;
        padding-bottom: 0;
    }
}

.bestsellers-sidebar .section-title-wrap h2 {
    font-size: 1.1rem;
    font-weight: 800;
}

.bestsellers-sidebar .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

@media (max-width: 992px) {
    .bestsellers-sidebar {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 15px !important;
        width: 100% !important;
    }

    .bestsellers-sidebar .section-header {
        border-bottom: none !important;
        margin-bottom: 10px !important;
        padding-bottom: 0 !important;
    }
}

@media (max-width: 488px) {
    .bestsellers-sidebar {
        width: 100% !important;
        padding: 0 !important;
        margin-top: 0 !important;
    }

    .bestsellers-sidebar .section-header {
        padding-left: 10px !important;
    }
}

/* Globally disable product card discount badges and strikethrough old prices */
.price-old,
.card-badge.badge-sale,
.badge-discount,
.deal-badge-discount,
.pdp-old-price {
    display: none !important;
}

.section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-icon {
    font-size: 1.8rem;
}

.section-title-wrap h2 {
    font-size: 1.75rem;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.carousel-nav {
    display: flex;
    gap: 12px;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition-smooth);
}

.carousel-btn:hover {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.2);
}

.bestsellers-section .products-carousel {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 2px 30px;
    scrollbar-width: none;
}

.bestsellers-section .products-carousel::-webkit-scrollbar {
    display: none;
}

.bestsellers-section .product-card {
    flex: 0 0 calc(25% - 18px);
    min-width: 280px;
}

@media (max-width: 1200px) {
    .bestsellers-section .product-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 992px) {
    .bestsellers-section .product-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 576px) {
    .bestsellers-section .product-card {
        flex: 0 0 85%;
    }

    .section-title-wrap h2 {
        font-size: 1.4rem;
    }
}

/* ============================================================
   BROWSE BY CATEGORY — SENIOR 10-YEAR UI/UX OVERHAUL
   ============================================================ */
.categories {
    padding: 72px 0 68px;
    position: relative;
    overflow: hidden;
    scroll-margin-top: 85px;
    background:
        radial-gradient(1100px 380px at 50% 0%, rgba(99, 102, 241, 0.05) 0%, transparent 100%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 50%, #f8fafc 100%);
    border-top: 1px solid rgba(226, 232, 240, 0.75);
    border-bottom: 1px solid rgba(226, 232, 240, 0.75);
}

.categories::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 650px;
    height: 240px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.categories .container {
    position: relative;
    z-index: 1;
}

.categories-header-wrap {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 38px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.categories-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary, #6366f1);
    box-shadow: 0 2px 8px -2px rgba(99, 102, 241, 0.12);
}

.categories-badge i {
    font-size: 13px;
    color: var(--color-primary, #6366f1);
}

.categories-main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 2.6vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.22;
    margin: 0;
}

.categories-subtitle {
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
    max-width: 620px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.categories-grid .category-card {
    grid-column: span 1 !important;
}

@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .categories {
        padding: 42px 0 38px !important;
        scroll-margin-top: 75px !important;
    }
    .categories-header-wrap {
        margin-bottom: 22px;
        gap: 8px;
    }
    .categories-badge {
        font-size: 0.68rem;
        padding: 4px 10px;
    }
    .categories-main-title {
        font-size: 1.45rem;
    }
    .categories-subtitle {
        font-size: 0.88rem;
        padding: 0 8px;
    }
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 440px) {
    .categories-grid {
        gap: 8px;
    }
}

/* ============================================================
   3 HOME PROMO BANNERS (Middle of page)
   ============================================================ */
.home-promo-banners-section {
    padding: 24px 0 36px;
    background: transparent;
}

.home-promo-banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home-promo-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 22px;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(24, 41, 59, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
}

.home-promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: rgba(255, 189, 40, 0.6);
}

.home-promo-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center right;
    transition: transform 0.5s ease;
}

.home-promo-card:hover .home-promo-bg {
    transform: scale(1.04);
}

.home-promo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 55%, rgba(255, 255, 255, 0.2) 85%, rgba(255, 255, 255, 0) 100%);
}

.home-promo-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.home-promo-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: #ffbd28;
    color: #18293b;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(255, 189, 40, 0.3);
}

.home-promo-title {
    font-size: 1.15rem;
    font-weight: 900;
    color: #18293b;
    line-height: 1.25;
    margin-bottom: 6px;
}

.home-promo-desc {
    font-size: 0.82rem;
    color: #4b5563;
    line-height: 1.4;
    margin-bottom: 12px;
}

.home-promo-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #18293b;
    font-size: 0.85rem;
    font-weight: 800;
    transition: gap 0.2s, color 0.2s;
}

.home-promo-card:hover .home-promo-btn {
    gap: 10px;
    color: #d97706;
}

@media (max-width: 992px) {
    .home-promo-banners-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .home-promo-card {
        height: 190px;
    }
}

/* ============================================================
   CATEGORY CARD COMPONENT — SENIOR 10-YEAR UI/UX
   ============================================================ */
.category-card {
    --cat-accent: #6366f1;
    --cat-glow: rgba(99, 102, 241, 0.16);
    --cat-pill-bg: rgba(99, 102, 241, 0.08);
    --cat-pill-border: rgba(99, 102, 241, 0.22);

    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    padding: 22px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    min-height: 275px;
    box-shadow:
        0 4px 14px -3px rgba(15, 23, 42, 0.04),
        0 1px 3px rgba(15, 23, 42, 0.02);
    cursor: pointer;
    text-align: center;
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
}

/* Subtle top hairline highlight */
.category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cat-accent), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 3;
}

/* Ambient radial glow on hover */
.category-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, var(--cat-glow), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

/* Scroll reveal staggered entrance */
.categories.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.categories.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.categories.reveal .category-card {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.categories.reveal.visible .category-card {
    opacity: 1;
    transform: translateY(0);
}

.categories.reveal.visible .category-card:nth-child(1) { transition-delay: 0.05s; }
.categories.reveal.visible .category-card:nth-child(2) { transition-delay: 0.11s; }
.categories.reveal.visible .category-card:nth-child(3) { transition-delay: 0.17s; }
.categories.reveal.visible .category-card:nth-child(4) { transition-delay: 0.23s; }
.categories.reveal.visible .category-card:nth-child(5) { transition-delay: 0.29s; }

/* Technical Spec Pill */
.category-spec-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 9999px;
    padding: 3px 8px;
    letter-spacing: 0.2px;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.3s ease;
    z-index: 2;
}

/* Image Wrap & Ambient Aura */
.category-image-wrap {
    position: relative;
    width: 100%;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 8px 0 10px;
    z-index: 2;
}

.category-image-aura {
    position: absolute;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--cat-glow) 0%, transparent 70%);
    filter: blur(14px);
    opacity: 0.6;
    pointer-events: none;
    transition: all 0.4s ease;
}

.category-card img,
.category-card .category-img {
    max-height: 115px;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(15, 23, 42, 0.1));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
    z-index: 2;
}

/* Card Footer & Labels */
.category-card-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
    z-index: 2;
}

.category-label {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    letter-spacing: -0.01em;
    text-transform: none;
    color: #0f172a;
    line-height: 1.3;
    transition: color 0.25s ease;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    font-weight: 600;
    color: #94a3b8;
    transition: all 0.25s ease;
}

.category-cta-link i {
    font-size: 11px;
    transition: transform 0.25s ease;
}

/* Active & Featured Cards */
.category-featured {
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow:
        0 6px 18px -4px rgba(99, 102, 241, 0.08),
        0 2px 6px -1px rgba(15, 23, 42, 0.04);
}

.category-featured::after {
    opacity: 0.7;
}

.category-card.active {
    border-color: var(--cat-accent, #6366f1);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.25);
}

.category-card.active .category-label {
    color: var(--cat-accent, #6366f1);
}

/* Hover States */
.category-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(99, 102, 241, 0.35);
    box-shadow:
        0 22px 38px -10px rgba(15, 23, 42, 0.09),
        0 10px 20px -6px rgba(99, 102, 241, 0.1);
}

.category-card:hover::after {
    opacity: 1;
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:hover .category-spec-pill {
    background: var(--cat-pill-bg);
    color: var(--cat-accent);
    border-color: var(--cat-pill-border);
}

.category-card:hover .category-image-aura {
    opacity: 1;
    transform: scale(1.3);
}

.category-card:hover img,
.category-card:hover .category-img {
    transform: scale(1.08) translateY(-4px);
    filter: drop-shadow(0 16px 22px rgba(15, 23, 42, 0.18));
}

.category-card:hover .category-label {
    color: var(--cat-accent);
}

.category-card:hover .category-cta-link {
    color: var(--cat-accent);
}

.category-card:hover .category-cta-link i {
    transform: translateX(4px);
}

.category-card-decorator,
.category-card-glow {
    display: none;
}



/* ============================================================
/* ============================================================
   FEATURED PRODUCTS / POPULAR SECTION — SENIOR 10-YEAR UI/UX
   ============================================================ */
.featured-products {
    padding: 72px 0 68px;
    background:
        radial-gradient(1100px 380px at 50% 0%, rgba(99, 102, 241, 0.04) 0%, transparent 100%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    position: relative;
    overflow: hidden;
    scroll-margin-top: 85px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.featured-products::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(99, 102, 241, 0.06) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
    z-index: 0;
}

.featured-products .container {
    position: relative;
    z-index: 1;
}

/* Header & Typography */
.products-header-wrap {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.products-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(99, 102, 241, 0.07);
    border: 1px solid rgba(99, 102, 241, 0.18);
    border-radius: 9999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--color-primary, #6366f1);
    box-shadow: 0 2px 8px -2px rgba(99, 102, 241, 0.12);
}

.products-badge i {
    font-size: 13px;
    color: var(--color-primary, #6366f1);
}

.products-main-title {
    font-family: var(--font-heading);
    font-size: clamp(1.85rem, 2.6vw, 2.45rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.22;
    margin: 0;
}

.products-subtitle {
    font-size: clamp(0.95rem, 1.15vw, 1.05rem);
    color: #64748b;
    line-height: 1.55;
    margin: 0;
    font-weight: 400;
    max-width: 620px;
}

/* Controls Bar (Filters trigger + Trust hint) */
.products-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    gap: 16px;
}

.btn-filters {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 20px;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-filters i {
    font-size: 16px;
    color: #60a5fa;
    transition: transform 0.25s ease;
}

.btn-filters:hover {
    background: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
}

.btn-filters:hover i {
    transform: scale(1.15);
}

.products-view-hint {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 9999px;
    padding: 6px 14px;
}

.products-view-hint i {
    font-size: 15px;
    color: #10b981;
}

/* Scroll reveal staggered animation for products */
.featured-products.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-products.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.featured-products.reveal .product-card {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.featured-products.reveal.visible .product-card {
    opacity: 1;
    transform: translateY(0);
}

.featured-products.reveal.visible .product-card:nth-child(1) { transition-delay: 0.05s; }
.featured-products.reveal.visible .product-card:nth-child(2) { transition-delay: 0.11s; }
.featured-products.reveal.visible .product-card:nth-child(3) { transition-delay: 0.17s; }
.featured-products.reveal.visible .product-card:nth-child(4) { transition-delay: 0.23s; }
.featured-products.reveal.visible .product-card:nth-child(5) { transition-delay: 0.29s; }

/* ============================================================
   CATEGORY TOOLBAR
   ============================================================ */
.category-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    padding: 0 0 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.toolbar-left .found-count {
    color: #6b7280;
    font-size: 0.85rem;
}

.toolbar-right {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 0.85rem;
    color: #374151;
}

@media (min-width: 993px) {
    .toolbar-right.desktop-only {
        display: flex !important;
    }
}

.toolbar-sort,
.toolbar-limit {
    display: flex;
    align-items: center;
    gap: 6px;
}

.toolbar-label {
    color: #6b7280;
}

.toolbar-divider {
    width: 1px;
    height: 16px;
    background: #e5e7eb;
}

.sort-dropdown,
.limit-dropdown {
    position: relative;
}

.sort-header,
.limit-header {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.sort-header:hover,
.limit-header:hover {
    color: var(--color-primary);
}

.sort-header i,
.limit-header i {
    font-size: 0.8em;
    color: #6b7280;
}

.toolbar-view {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f1f5f9;
    padding: 3px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Limit list Dropdown */
.limit-list {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 120px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    display: none;
    transform-origin: top;
    animation: sortIn 0.2s ease-out;
}

.limit-list.active {
    display: block;
}

.limit-list li {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.limit-list li:hover {
    background: #f8fafc;
    color: var(--color-primary);
}

.mobile-toolbar-controls {
    display: none;
    width: 100%;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 40px;
    padding: 4px;
    margin-top: 10px;
    gap: 1px;
}

.mobile-sort-dropdown {
    flex: 1;
    position: relative;
    display: flex;
}

.mobile-sort-dropdown .mobile-control-btn {
    width: 100%;
}

.mobile-sort-dropdown .sort-list {
    right: auto;
    left: 0;
    width: 220px;
    top: calc(100% + 10px);
}

.mobile-control-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 8px 16px;
    cursor: pointer;
    color: #334155;
}

.mobile-control-btn:first-child {
    border-right: 1px solid #f1f5f9;
}

.mobile-control-btn i {
    font-size: 1.2rem;
    color: #64748b;
}

.mobile-control-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.f-social-list {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.f-social-list a {
    color: #64748b;
    font-size: 1.25rem;
}

.mobile-control-btn div {
    display: flex;
    align-items: center;
    gap: 4px;
}

.mobile-control-btn .m-label {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
}

.mobile-control-btn .m-value {
    font-size: 0.9rem;
    color: #64748b;
    margin-left: 4px;
}

/* Mobile Drawer Styles */
.mobile-filter-drawer {
    position: fixed;
    right: -100%;
    top: 0;
    width: 85%;
    max-width: 400px;
    height: 100%;
    background: #fff;
    z-index: 2000;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
}

.mobile-filter-drawer.active {
    right: 0;
}

.mobile-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.drawer-header {
    padding: 20px;
    border-bottom: 3px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.drawer-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
}

.drawer-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
}

.drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.drawer-footer {
    padding: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.btn-full {
    width: 100%;
    padding: 14px;
    justify-content: center;
}

/* Compact Grid View */
.products-carousel.view-compact {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 15px !important;
    height: auto !important;
}

@media (max-width: 1200px) {
    .products-carousel.view-compact {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 992px) {
    .category-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 20px;
    }

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

    .mobile-toolbar-controls {
        display: flex;
    }

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

@media (max-width: 480px) {
    .products-carousel.view-compact {
        grid-template-columns: 1fr !important;
    }
}

.view-btn {
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    padding: 0;
    transition: all 0.2s ease;
}

.view-btn svg {
    display: block;
    pointer-events: none;
}

.view-btn:hover {
    color: #1e293b;
    background: #e2e8f0;
}

.view-btn.active {
    color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.sort-list {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 260px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    list-style: none;
    padding: 8px 0;
    display: none;
    transform-origin: top;
    animation: sortIn 0.2s ease-out;
}

@keyframes sortIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

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

.sort-list.active {
    display: block;
}

.sort-header i,
.limit-header i {
    font-size: 1.25rem;
    color: var(--color-primary);
    transition: transform 0.3s;
}

.sort-list li {
    padding: 10px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    transition: all 0.2s;
}

.sort-list li:hover {
    background: #f8fafc;
    color: var(--color-primary);
}

.products-carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}


/* Category Header Page */
.category-header-section {
    padding: 5px 0 20px;
    background: var(--bg-gradient);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.category-page-icon {
    font-size: 64px;
    color: var(--color-primary);
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 20px rgba(99, 102, 241, 0.3));
}

.category-page-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    text-transform: uppercase;
    color: var(--color-text);
}

@media (max-width: 769px) {
    .category-header-section {
        padding: 4px 0 6px !important;
    }

    .category-header-section .cart-breadcrumbs {
        margin-bottom: 8px !important;
        font-size: 0.8rem !important;
    }

    .category-page-icon {
        font-size: 32px;
        margin: 0 auto 6px !important;
        display: flex !important;
        justify-content: center;
    }

    .category-page-title {
        font-size: clamp(1.1rem, 5vw, 1.35rem) !important;
        padding: 0 10px;
        line-height: 1.2 !important;
        letter-spacing: 0.3px !important;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        margin-top: 0 !important;
        margin-bottom: 4px !important;
    }

    .featured-products {
        padding-top: 20px !important;
        padding-bottom: 25px !important;
    }
}

@media (max-width: 480px) {
    .category-header-section {
        padding: 2px 0 4px !important;
    }

    .category-header-section .cart-breadcrumbs {
        margin-bottom: 6px !important;
    }

    .category-page-title {
        font-size: 1.15rem !important;
    }
    .categories {
        padding: 35px 0 !important;
    }

    .testimonials {
        padding: 35px 0 !important;
    }
}

/* ====== PRODUCTS CAROUSEL (main page — horizontal scroll) ====== */
.products-carousel {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    padding: 12px 6px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-behavior: smooth !important;
    user-select: none;
    -webkit-user-select: none;
    box-sizing: border-box !important;
}

.products-carousel:not(.category-page-grid) .product-card {
    flex: 0 0 280px !important;
    width: 280px !important;
    min-width: 280px !important;
    max-width: 280px !important;
    margin: 0 !important;
    scroll-snap-align: start !important;
    box-sizing: border-box !important;
}

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

/* ====== PRODUCTS GRID (e.g. for bestsellers) ====== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 20px;
}

.products-grid .product-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .products-grid .product-card {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        flex: 1 1 auto !important;
    }
}

@media (max-width: 769px) {
    .products-carousel {
        flex: none;
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        display: flex !important;
        flex-wrap: nowrap !important;
    }
}

/* ====== CATEGORY PAGE GRID (overrides carousel) ====== */
/* Default: 4 cards per row */
/* ====== CATEGORY PAGE GRID (overrides carousel) ====== */
.products-carousel.category-page-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    overflow-x: visible;
    flex-wrap: unset;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    scroll-snap-type: none;
}

.category-page-grid .product-card {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 14px 12px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

/* ====== COMPACT VIEW (Grid with smaller items) ====== */
.products-carousel.view-compact {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    overflow-x: visible;
    flex-wrap: unset;
    padding: 0;
    scroll-snap-type: none;
}

.products-carousel.view-compact .product-card {
    padding: 12px;
}

.products-carousel.view-compact .product-title {
    font-size: 0.85rem;
    min-height: 38px;
}

.products-carousel.view-compact .card-image {
    margin-bottom: 10px;
}

/* ====== TABLET CATEGORY PAGE GRID (770px - 991px): 4 карточки в ряд ====== */
@media (min-width: 770px) and (max-width: 991px) {
    .products-carousel.category-page-grid,
    .products-carousel.category-page-grid.view-4-cols,
    .products-carousel.category-page-grid.view-3-cols {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px !important;
        overflow: visible !important;
        flex-wrap: unset !important;
        padding: 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        scroll-snap-type: none !important;
    }

    .products-carousel.category-page-grid .product-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}

/* ====== DESKTOP CATEGORY PAGE GRID (>= 992px) ====== */
@media (min-width: 992px) {
    /* 4 карточки товара по умолчанию */
    .products-carousel.category-page-grid,
    .products-carousel.category-page-grid.view-4-cols {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 14px !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        flex-wrap: unset !important;
        padding: 0 0 30px 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        scroll-snap-type: none !important;
    }

    /* 3 карточки товара при переключении в toolbar-view */
    .products-carousel.category-page-grid.view-3-cols {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 18px !important;
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        flex-wrap: unset !important;
        padding: 0 0 30px 0 !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        scroll-snap-type: none !important;
    }

    .category-page-grid .product-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 16px 14px !important;
        box-sizing: border-box !important;
        overflow: visible !important;
        position: relative !important;
    }

    .products-carousel.category-page-grid.view-3-cols .product-card {
        padding: 18px 16px !important;
        overflow: visible !important;
    }

    /* Выпадающий блок product-card-filter-tags при наведении на карточку (десктоп) */
    .product-card .product-card-filter-tags {
        position: absolute;
        top: calc(100% - 2px);
        left: -1px;
        right: -1px;
        background: #ffffff;
        border: 1px solid rgba(0, 0, 0, 0.08);
        border-top: 1px dashed #e2e8f0;
        border-radius: 0 0 16px 16px;
        padding: 10px 12px 14px 12px;
        box-shadow: 0 16px 28px -4px rgba(0, 0, 0, 0.12), 0 8px 12px -4px rgba(0, 0, 0, 0.06);
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 5px;
        margin: 0;
        z-index: 120;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-6px);
        pointer-events: none;
        transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s ease;
    }

    .product-card:hover .product-card-filter-tags {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .product-card:hover {
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.1) !important;
        transform: translateY(-4px) !important;
        z-index: 100 !important;
        border-bottom-left-radius: 0 !important;
        border-bottom-right-radius: 0 !important;
        border-bottom-color: transparent !important;
    }
}

@media (max-width: 769px) {

    /* Category page specific: full width layout */
    .category-page .featured-products .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        margin: 0 !important;
    }

    .category-page .products-carousel-wrapper {
        margin: 0 !important;
        width: 100% !important;
    }

    .products-carousel.category-page-grid,
    .products-carousel.view-compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        width: 100%;
    }

    /* Ensure cards take full available width in their grid cell */
    .category-page-grid .product-card {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 0 !important;
        margin: 0 !important;
    }
}

.products-carousel.category-page-grid .product-card,
.products-carousel.view-compact .product-card {
    flex: none;
    width: auto;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    height: auto;
}

.products-carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    color: #0f172a;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow:
        0 10px 24px -4px rgba(15, 23, 42, 0.14),
        0 2px 6px -1px rgba(15, 23, 42, 0.05);
    z-index: 25;
}

.carousel-prev {
    left: -20px;
}

.carousel-next {
    right: -20px;
}

@media (max-width: 1240px) {
    .carousel-prev {
        left: 6px;
    }
    .carousel-next {
        right: 6px;
    }
}

.carousel-arrow:hover {
    background: var(--color-primary, #6366f1);
    border-color: var(--color-primary, #6366f1);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 12px 28px -2px rgba(99, 102, 241, 0.45);
}

.carousel-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

@media (max-width: 769px) {
    .products-carousel-wrapper {
        display: block;
        position: relative;
        padding-top: 0;
        padding-bottom: 20px;
        margin: 0 -15px;
        width: calc(100% + 30px);
    }

    .carousel-arrow {
        display: none !important;
    }

    .carousel-prev {
        left: 25% !important;
        transform: translateX(-50%) !important;
    }

    .carousel-next {
        right: 25% !important;
        transform: translateX(50%) !important;
    }

    .product-card {
        flex: 0 0 calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
        min-width: 0 !important;
        max-width: calc(50% - 10px) !important;
        min-height: auto;
        padding: 10px;
        margin-right: 10px !important;
    }

    .product-card .product-title {
        font-size: 0.85rem;
        min-height: 34px;
        margin-bottom: 6px;
    }

    .product-card .price-new {
        font-size: 1.1rem;
    }

    .product-card .btn-one-click-card {
        padding: 8px;
        font-size: 0.7rem;
        border-radius: 8px;
    }

    .card-image {
        margin-bottom: 8px;
    }
}

/* Product Card */
.product-card {
    flex: 0 0 calc(25% - 15px);
    width: calc(25% - 15px);
    min-width: 200px;
    min-height: 460px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 20px;
    padding: 16px 16px 18px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease;
    box-shadow:
        0 4px 14px -3px rgba(15, 23, 42, 0.04),
        0 1px 3px rgba(15, 23, 42, 0.02);
}

.product-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary, #6366f1), transparent);
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 3;
}

.product-card:hover {
    box-shadow:
        0 22px 38px -10px rgba(15, 23, 42, 0.09),
        0 10px 20px -6px rgba(99, 102, 241, 0.1);
    transform: translateY(-8px);
    border-color: rgba(99, 102, 241, 0.35);
    z-index: 10;
}

.product-card:hover::after {
    opacity: 1;
}

/* Badges Container & GMC Moderation Compliance */
/* By default, hide all promotional badges on product cards and product pages for Google Merchant Center */
body:not(.show-product-badges) .card-badges-container,
body:not(.show-product-badges) .card-badge,
body:not(.show-product-badges) .pdp-badge-item {
    display: none !important;
}

.card-badges-container {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
    align-items: flex-start;
}

/* Badges */
.card-badge {
    position: relative;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-sale {
    background: #ef4444;
    /* Vivid Red for Sale */
    color: #fff;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3);
}

.badge-new {
    background: #10b981;
    /* Premium Emerald for New */
    color: #fff;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.3);
}

.badge-custom {
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(99, 102, 241, 0.3);
}

.badge-bestseller {
    background: linear-gradient(135deg, #ffbd28 0%, #f59e0b 100%) !important;
    color: #1e1b4b !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.4) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    letter-spacing: 0.3px !important;
}

.badge-stock, .badge-in-stock {
    background: #10b981 !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(16, 185, 129, 0.35) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.badge-out-of-stock {
    background: #64748b !important;
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(100, 116, 139, 0.3) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
}

/* Card Image */
.card-image {
    width: 100%;
    height: 195px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 50%, #f8fafc 0%, #f1f5f9 100%);
    transition: background 0.3s ease;
}

.card-image a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.card-image img {
    max-height: 82%;
    max-width: 82%;
    object-fit: contain;
    filter: drop-shadow(0 10px 14px rgba(15, 23, 42, 0.08));
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.product-card:hover .card-image img {
    transform: scale(1.08) translateY(-3px);
    filter: drop-shadow(0 16px 20px rgba(15, 23, 42, 0.16));
}

/* Mini Gallery inside card */
/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--color-bg-white);
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    color: var(--color-text-secondary);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.page-btn-nav {
    font-size: 1.2rem;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    background: rgba(0, 0, 0, 0.02);
}

.page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 44px;
    color: var(--color-text-secondary);
    font-weight: 700;
    letter-spacing: 2px;
    user-select: none;
}

.card-mini-gallery {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: -8px;
    margin-bottom: 12px;
    z-index: 5;
}

.mini-thumb {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    cursor: pointer;
    overflow: hidden;
    transition: all 0.2s;
    background: #fff;
    padding: 2px;
}

.mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mini-thumb:hover,
.mini-thumb.active {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 1px var(--color-primary);
}

/* Quick actions overlay */
.card-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s;
}

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

.card-action-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--color-bg-white);
    color: var(--color-text-secondary);
    box-shadow: var(--shadow-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: all var(--transition-fast);
}

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

/* Floating Interaction Buttons */
.card-wishlist-btn,
.card-cart-btn-float {
    position: absolute;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    border: none;
    background: var(--color-bg-white);
    color: var(--color-text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 1.4rem;
}

.card-wishlist-btn {
    top: 14px;
    right: 14px;
}

.card-cart-btn-float {
    top: 68px;
    right: 14px;
}

.card-wishlist-btn:hover,
.card-cart-btn-float:hover {
    transform: scale(1.15);
    background: var(--color-primary);
    color: #fff;
    box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.card-wishlist-btn i,
.card-cart-btn-float i {
    pointer-events: none;
}

/* Card Content */
.card-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.card-content a {
    text-decoration: none;
    color: inherit;
}

.product-title {
    font-family: var(--font-heading, 'Manrope', sans-serif);
    font-size: 0.94rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.4;
    margin: 4px 0 10px;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.product-card:hover .product-title {
    color: var(--color-primary, #6366f1);
}

.product-specs {
    list-style: none;
    margin-bottom: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    margin-top: 0;
    position: absolute;
    top: calc(100% - 4px);
    /* Account for translateY on hover */
    left: -1px;
    right: -1px;
    background: var(--color-bg-white);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-top: none;
    padding: 0 20px 20px;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: 90;
    pointer-events: none;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card:hover .product-specs {
    max-height: 350px;
    opacity: 1;
    pointer-events: auto;
}

/* Card Image Dots */
.card-image-dots {
    position: absolute;
    bottom: 12px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.3s ease;
}

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

.image-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.image-dot.active {
    background: var(--color-primary);
    transform: scale(1.4);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.image-dot:hover {
    background: var(--color-primary-dark);
    transform: scale(1.2);
}

.product-specs li {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    padding: 3px 0;
    position: relative;
    padding-left: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.product-specs li:last-child {
    border-bottom: none;
}

.product-specs li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-size: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Card Footer (price + action) */
.card-footer {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-top: auto;
    margin-bottom: 12px;
    padding-top: 10px;
    border-top: 1px dashed rgba(226, 232, 240, 0.85);
}

.price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.price-new {
    font-family: var(--font-heading, 'Manrope', sans-serif);
    font-size: 1.32rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    line-height: 1;
}

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

.rating-block {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.star-icon {
    color: var(--color-star, #f59e0b);
}

.review-count {
    color: var(--color-text-muted, #94a3b8);
    font-weight: 400;
}

/* Buy buttons */
.card-buy-buttons {
    width: 100%;
}

/* Add to cart button */
.card-buy-buttons .btn-add-cart,
.btn-add-cart {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 0.86rem;
    font-family: var(--font-heading, 'Manrope', sans-serif);
    font-weight: 600;
    letter-spacing: 0.01em;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.16);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-buy-buttons .btn-add-cart i,
.btn-add-cart i {
    font-size: 1.05rem;
    color: #60a5fa;
    transition: transform 0.2s ease;
}

.card-buy-buttons .btn-add-cart:hover,
.btn-add-cart:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -3px rgba(37, 99, 235, 0.45);
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.card-buy-buttons .btn-add-cart:hover i,
.btn-add-cart:hover i {
    color: #ffffff;
    transform: scale(1.15) rotate(-6deg);
}

.card-buy-buttons .btn-add-cart:active,
.btn-add-cart:active {
    transform: translateY(0);
}

.card-buy-buttons .btn-add-cart.added,
.btn-add-cart.added {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 18px -3px rgba(5, 150, 105, 0.4) !important;
    border-color: transparent !important;
}

.card-buy-buttons .btn-add-cart.added i,
.btn-add-cart.added i {
    color: #ffffff !important;
}

.card-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 8px;
    width: 100%;
}

.card-meta-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 6px;
    flex-wrap: wrap;
}

.card-meta-top .card-rating,
.card-rating {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    font-size: 0.75rem;
    margin-bottom: 0;
    align-items: center;
    flex-shrink: 0;
}

.rating-count {
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: 2px;
}

.card-sku {
    font-size: 0.7rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 3px;
    margin-bottom: 2px;
    line-height: 1.35;
    letter-spacing: 0.02em;
}

.card-sku .sku-label {
    color: #94a3b8;
    font-size: 0.7rem;
}

.card-sku .sku-val {
    color: #475569;
    font-size: 0.7rem;
    font-weight: 600;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.card-availability {
    font-size: 0.74rem;
    font-weight: 600;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    margin-left: auto;
    flex-shrink: 0;
    padding: 2px 8px;
    border-radius: 9999px;
}

.card-availability.in-stock {
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
}

.card-availability.in-stock::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25);
    animation: stockPulse 2s infinite ease-in-out;
}

.card-availability.out-of-stock {
    color: #94a3b8;
    background: rgba(148, 163, 184, 0.12);
}

.card-availability.out-of-stock::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #94a3b8;
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes stockPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* One-Click Buy Button */
.btn-one-click-card {
    width: 100%;
    background: #1a2b4a;
    /* Dark navy as in the image */
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.btn-one-click-card:hover {
    background: #0f1a2d;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-one-click-card i {
    font-size: 1rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
    padding: var(--space-xl) 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.testimonial-highlight {
    background: var(--color-primary);
    color: #fff;
}

.testimonial-highlight p,
.testimonial-highlight .testimonial-author span {
    color: rgba(255, 255, 255, 0.8);
}

.testimonial-highlight strong {
    color: #fff;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: var(--color-star);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.testimonial-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-author strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
}

.testimonial-author span {
    font-size: 0.82rem;
    color: var(--color-text-muted);
}

/* ============================================================
   ARTICLES
   ============================================================ */
.articles {
    padding: 0 0 var(--space-md);
}

.articles-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.articles-header .section-title {
    margin-bottom: 0;
    text-align: left;
}

.articles-view-all {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 0.95rem;
}

.articles-view-all:hover {
    text-decoration: underline;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.article-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    cursor: pointer;
}

.article-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
    text-decoration: none;
    color: inherit;
}

.article-card:active {
    transform: translateY(-2px) scale(0.99);
}

.article-thumb {
    height: 180px;
    background: var(--color-bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.article-thumb img {
    height: 80%;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.article-card:hover .article-thumb img {
    transform: scale(1.06);
}

.article-body {
    padding: 20px 24px;
}

.article-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-bottom: 8px;
    display: block;
}

.article-body h3 {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.45;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
    background-image: url('assets/898565.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: var(--space-lg) 0;
    position: relative;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.newsletter-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.newsletter-text h2 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.newsletter-text p {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    flex: 1;
    max-width: 480px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    border: 1.5px solid rgba(26, 43, 74, 0.12);
    background: var(--color-bg-white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-form input:focus {
    border-color: var(--color-primary);
}

.newsletter-form .btn-primary {
    white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #f7f8f9;
    color: #4b5563;
    padding: 60px 0 0;
    /* Reduced top padding, 0 bottom for white strip */
}

.site-footer .logo {
    color: var(--color-text);
}

.site-footer .logo-icon {
    color: var(--color-primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 30px;
    text-align: left;
    justify-content: flex-start;
    align-items: flex-start;
    /* Ensure items start at top */
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55);
    word-break: break-word;
}

/* Schedule rows */
.footer-schedule {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-schedule-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.f-social-list {
    display: flex;
    gap: 12px;
    margin-top: 0;
    align-items: center;
    flex-wrap: wrap;
}

.f-social-list a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #d1d5db;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #1a2b4a;
    /* Much darker for better visibility */
    transition: all var(--transition-fast);
    flex-shrink: 0;
    text-decoration: none;
}

.f-social-list a i,
.f-social-list a iconify-icon {
    font-size: 22px;
    line-height: 1;
    display: inline-block;
    color: #1a2b4a !important;
    /* Force dark color */
}

.f-social-list a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
}

.footer-links h4,
.footer-links .footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111827;
    letter-spacing: 0.5px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #4b5563;
    display: block;
    word-break: break-word;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.site-footer {
    background: #f7f8f9;
    color: #4b5563;
    padding: 60px 0 0;
    /* Reduced top padding on desktop */
}

.footer-white-section {
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 30px 0;
    width: 100%;
}

.footer-categories-strip {
    margin-bottom: 25px;
}

.footer-strip-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111827;
    text-align: left;
}

.footer-categories-strip-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Align to the left edge */
    padding-left: 20px;
    align-items: center;
    gap: 10px 15px;
    max-width: 100%;
    padding: 0;
}

.footer-categories-strip-inner a {
    color: #021523;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 400;
    /* Not bold */
    transition: color 0.2s;
}

.footer-categories-strip-inner a:hover {
    color: var(--color-primary);
}

.footer-categories-strip-inner .sep {
    color: #cbd5e1;
    font-size: 0.85rem;
    font-weight: 300;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 25px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #9ca3af;
}

.footer-payment-methods {
    display: flex;
    flex-direction: row;
    gap: 16px;
    font-size: 1.8rem;
}

/* ============================================================
   SCROLL REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================================
   CART PAGE
   ============================================================ */
.cart-page {
    padding: 15px 0 var(--space-xl);
    min-height: 60vh;
}

.cart-breadcrumbs {
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    text-align: left;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.cart-breadcrumbs a {
    color: var(--color-text-secondary);
    transition: color 0.2s;
}

.cart-breadcrumbs a:hover {
    color: var(--color-primary);
}

.cart-breadcrumbs iconify-icon {
    font-size: 0.75rem;
}

.cart-heading {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: var(--color-text);
}

/* Empty cart */
.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 80px 0;
    text-align: center;
}

.cart-empty p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
}

/* Cart layout */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 40px;
    align-items: flex-start;
}

/* Table header */
.cart-table-header {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 48px;
    gap: 16px;
    padding: 12px 16px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

/* Cart item row */
.cart-item {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr 1fr 48px;
    gap: 16px;
    align-items: center;
    padding: 20px 16px;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    margin-bottom: 8px;
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
}

.cart-item:hover {
    box-shadow: var(--shadow-card-hover);
}

/* Product column */
.cart-item-product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-item-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--color-bg-card);
    padding: 6px;
    flex-shrink: 0;
}

.cart-item-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.92rem;
    line-height: 1.35;
    color: var(--color-text);
}

.cart-item-price {
    font-weight: 600;
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

.cart-item-total {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1rem;
}

/* Qty controls */
.qty-controls {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1.5px solid rgba(26, 43, 74, 0.12);
    border-radius: var(--radius-sm);
    overflow: hidden;
    width: fit-content;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--color-bg-card);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--color-primary);
    color: #fff;
}

.qty-value {
    width: 40px;
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    background: var(--color-bg-white);
}

/* Remove button */
.cart-remove-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    border: none;
    background: transparent;
    color: var(--color-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: all 0.2s;
}

.cart-remove-btn:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
}

/* Summary sidebar */
.cart-summary {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    box-shadow: var(--shadow-card);
    position: sticky;
    top: 100px;
    margin-top: 40px;
    /* Base margin for side-by-side or stacked transition */
}

.cart-summary h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-text);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
}

.summary-row span:last-child {
    font-weight: 600;
    color: var(--color-text);
}

.summary-divider {
    height: 1px;
    background: rgba(26, 43, 74, 0.1);
    margin: 12px 0;
}

.summary-total {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
}

.summary-total span:last-child {
    color: var(--color-primary);
    font-size: 1.3rem;
}

.cart-checkout-btn {
    width: 100%;
    margin-top: 24px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    transition: all var(--transition-smooth);
}

.cart-checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 125, 202, 0.3);
}

.cart-continue-link {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

/* ============================================================
   PRODUCT DETAIL PAGE (PDP LAYOUT) - SENIOR UI/UX REDESIGN
   ============================================================ */
.product-page {
    padding: 20px 0 60px;
    opacity: 1;
}

.pdp-layout {
    display: grid;
    grid-template-columns: 480px 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* ===== GALLERY ===== */
.pdp-gallery {
    position: sticky;
    top: 96px;
    z-index: 10;
}

.pdp-main-image {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 1px 3px 0 rgba(15, 23, 42, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    min-height: 440px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    cursor: zoom-in !important;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pdp-main-image:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(37, 99, 235, 0.1);
}

.pdp-main-image img {
    max-width: 100%;
    max-height: 380px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: zoom-in !important;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.06));
}

.pdp-main-image:hover img {
    transform: scale(1.06);
}

.pdp-zoom-hint {
    position: absolute;
    bottom: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    cursor: zoom-in;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 4;
}

.pdp-main-image:hover .pdp-zoom-hint {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.pdp-badge-top {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
    z-index: 3;
}

.pdp-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    overflow-x: auto;
    padding: 4px 2px 8px;
    scrollbar-width: thin;
    scrollbar-color: rgba(148, 163, 184, 0.3) transparent;
}

.pdp-thumb {
    width: 82px;
    height: 82px;
    flex-shrink: 0;
    border-radius: 14px;
    border: 2px solid rgba(226, 232, 240, 0.9);
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.pdp-thumb:hover {
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.pdp-thumb.active {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

/* ===== PRODUCT INFO ===== */
.pdp-info {
    min-width: 0;
}

.pdp-code {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #475569;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 5px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

.pdp-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.28;
    color: #0f172a;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}

.pdp-short-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 18px;
}

.pdp-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.pdp-availability {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 6px 14px;
    border-radius: 9999px;
}

.pdp-availability i {
    font-size: 1.05rem;
}

.pdp-availability.out-of-stock {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.25);
}

.pdp-color-select {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

.pdp-color-dot {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-full);
    border: 2px solid rgba(26, 43, 74, 0.12);
    cursor: pointer;
    transition: all 0.2s;
}

.pdp-color-dot:hover,
.pdp-color-dot.active {
    box-shadow: 0 0 0 3px rgba(45, 125, 202, 0.2);
}

.pdp-rating {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pdp-rating:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.pdp-stars {
    display: flex;
    gap: 3px;
    font-size: 0.95rem;
    color: #f59e0b;
}

.pdp-review-count {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 600;
}

/* ===== BUYBOX (HERO CONVERSION MODULE) ===== */
.pdp-buybox {
    background: #ffffff;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    padding: 26px 28px;
    margin-bottom: 26px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 1px 3px 0 rgba(15, 23, 42, 0.03);
    position: relative;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pdp-buybox:hover {
    border-color: rgba(203, 213, 225, 0.9);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.09), 0 2px 6px 0 rgba(15, 23, 42, 0.03);
}

.pdp-price-block {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.pdp-price {
    font-family: var(--font-heading);
    font-size: 2.35rem;
    font-weight: 900;
    color: #0f172a;
    letter-spacing: -0.035em;
    line-height: 1;
}

.pdp-price span[style*="line-through"] {
    font-size: 1.15rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin-right: 8px !important;
}

.pdp-buybox-perks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.pdp-perk-item {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.86rem;
    color: #475569;
}

.pdp-perk-item i {
    font-size: 1.15rem;
    color: #2563eb;
    flex-shrink: 0;
}

.pdp-perk-item strong {
    color: #0f172a;
    font-weight: 700;
}

/* Quantity and Action Buttons */
.pdp-actions {
    margin-bottom: 0;
}

.pdp-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.pdp-qty-label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.qty-controls {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 3px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.qty-btn {
    width: 34px;
    height: 34px;
    border: none;
    background: #ffffff;
    border-radius: 9px;
    color: #0f172a;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}

.qty-btn:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.qty-btn:active {
    transform: scale(0.92);
}

.qty-value {
    min-width: 38px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a;
}

.pdp-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.pdp-add-cart {
    padding: 16px 22px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.45);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-add-cart:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.55);
    transform: translateY(-2px);
}

.pdp-add-cart:active {
    transform: translateY(0) scale(0.98);
}

.pdp-add-cart.added {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    box-shadow: 0 8px 20px -4px rgba(16, 185, 129, 0.45) !important;
}

.pdp-buy-now {
    padding: 16px 22px;
    font-size: 0.92rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 14px;
    background: #0f172a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    box-shadow: 0 8px 20px -4px rgba(15, 23, 42, 0.25);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-buy-now:hover {
    background: #1e293b;
    box-shadow: 0 12px 28px -4px rgba(15, 23, 42, 0.35);
    transform: translateY(-2px);
}

.pdp-buy-now:active {
    transform: translateY(0) scale(0.98);
}

.pdp-buybox-trust {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.pdp-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #64748b;
}

.pdp-trust-pill i {
    font-size: 0.95rem;
    color: #10b981;
}

/* ===== TABS ===== */
.pdp-tabs {
    margin-top: 8px;
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 26px 28px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

.pdp-tab-headers {
    display: flex;
    gap: 8px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
    margin-bottom: 22px;
}

.pdp-tab-btn {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 22px;
    font-family: var(--font-heading);
    font-size: 0.92rem;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-tab-btn:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.pdp-tab-btn.active {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.pdp-tab-content {
    display: none;
    animation: pdpFadeIn 0.3s ease;
}

.pdp-tab-content.active {
    display: block;
}

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

.pdp-tab-content p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #475569;
}

/* Rich description inside PDP */
.pdp-desc-body {
    font-size: 0.95rem;
    line-height: 1.75;
    color: var(--color-text-secondary, #475569);
}

.pdp-desc-body p {
    margin-bottom: 12px;
}

.pdp-desc-body strong,
.pdp-desc-body b {
    color: var(--color-text, #18293b);
    font-weight: 700;
}

.pdp-desc-body .font-light,
.pdp-desc-body [style*="font-weight: 300"],
.pdp-desc-body [style*="font-weight:300"] {
    font-weight: 300 !important;
    opacity: 0.92;
}

.pdp-desc-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 18px 0;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.pdp-desc-body img.align-center {
    margin-left: auto;
    margin-right: auto;
}

.pdp-desc-body img.align-right {
    margin-left: auto;
    margin-right: 0;
}

.pdp-desc-body img.align-left {
    margin-left: 0;
    margin-right: auto;
}

.pdp-desc-body h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 22px 0 10px 0;
    color: var(--color-text, #18293b);
}

.pdp-desc-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 18px 0 8px 0;
    color: var(--color-text, #18293b);
}

.pdp-desc-body ul,
.pdp-desc-body ol {
    margin: 12px 0 16px 24px;
    padding-left: 6px;
}

.pdp-desc-body li {
    margin-bottom: 6px;
    line-height: 1.65;
}

.pdp-desc-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.9rem;
    border-radius: 8px;
    overflow: hidden;
}

.pdp-desc-body table th,
.pdp-desc-body table td {
    padding: 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.pdp-desc-body table th {
    background: rgba(99, 102, 241, 0.06);
    color: var(--color-text, #18293b);
    font-weight: 600;
}

.pdp-desc-body blockquote {
    border-left: 3px solid var(--color-primary, #6366f1);
    margin: 16px 0;
    padding: 10px 16px;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--color-text-secondary);
}

/* ===================== HEADER CALLBACK DROPDOWN ===================== */
.header-callback-container {
    position: relative;
    margin-right: 15px;
}

@media (max-width: 1024px) {
    .header-callback-container {
        display: none;
        /* Hide on small screens, use floating button instead */
    }
}

.header-callback-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 50px;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-callback-btn:hover {
    background: #ffbd28;
    border-color: #ffbd28;
    color: #1a2b4a;
}

.header-callback-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    right: 0;
    width: 320px;
    background: var(--color-surface);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1000;
}

.header-callback-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.header-callback-dropdown h4, .header-callback-dropdown .callback-dropdown-title {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.header-callback-dropdown p {
    font-size: 12px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.header-callback-dropdown form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-callback-dropdown input {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 15px;
    color: var(--color-text);
    font-size: 13px;
    font-family: var(--font-body);
    outline: none;
    transition: all 0.3s;
    width: 100%;
}

.header-callback-dropdown input::placeholder {
    color: var(--color-text-muted);
}

.header-callback-dropdown input:focus {
    border-color: var(--color-primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.dropdown-arrow {
    position: absolute;
    top: -6px;
    right: 30px;
    width: 12px;
    height: 12px;
    background: var(--color-surface);
    border-top: 1px solid var(--glass-border);
    border-left: 1px solid var(--glass-border);
    transform: rotate(45deg);
}

/* Specs table */
.pdp-specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}

.pdp-specs-table tr {
    transition: background 0.15s ease;
}

.pdp-specs-table tr:nth-child(odd) {
    background: #ffffff;
}

.pdp-specs-table tr:nth-child(even) {
    background: #f8fafc;
}

.pdp-specs-table tr:hover {
    background: #f1f5f9;
}

.pdp-specs-table td {
    padding: 13px 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
}

.pdp-specs-table tr:last-child td {
    border-bottom: none;
}

.pdp-specs-table td:first-child {
    font-weight: 700;
    color: #0f172a;
    width: 38%;
    border-right: 1px solid #f1f5f9;
}

.pdp-specs-table td:last-child {
    color: #475569;
}

/* Reviews */
.pdp-review-item {
    padding: 20px;
    background: var(--color-bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.pdp-review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.pdp-review-header strong {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.92rem;
}

.pdp-review-date {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    margin-left: auto;
}

.pdp-review-item p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
    font-style: italic;
}

/* Review Form */
.pdp-review-form-wrapper {
    padding: 32px;
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
}

.pdp-review-form-wrapper h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-text);
}

.pdp-review-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text);
}

.form-group input,
.form-group textarea {
    padding: 14px 18px;
    border: 1.5px solid rgba(26, 43, 74, 0.1);
    border-radius: var(--radius-sm);
    background: var(--color-bg-card);
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--color-text);
    transition: all var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    background: var(--color-bg-white);
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(45, 125, 202, 0.12);
}

.rating-select {
    display: flex;
    gap: 6px;
    font-size: 1.8rem;
    color: var(--color-text-muted);
    cursor: pointer;
    margin-top: 4px;
}

.rating-select i {
    cursor: pointer;
    transition: all var(--transition-fast);
}

.rating-select i:hover {
    color: var(--color-star);
    transform: scale(1.2);
}

.rating-select i.ph-fill {
    color: var(--color-star);
    transform: scale(1.1);
}

/* Sidebar layout / PDP Service Trust Bar */
/* Sidebar layout / PDP Service Trust Bar */
.pdp-sidebar {
    grid-column: 1 / -1;
    width: 100%;
    margin-top: 24px;
}

/* Service Info */
.pdp-service {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05), 0 2px 6px -1px rgba(15, 23, 42, 0.02);
    padding: 18px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    align-items: stretch;
    width: 100%;
    box-sizing: border-box;
}

.pdp-service h3,
.pdp-service h2 {
    grid-column: 1 / -1;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 6px;
    color: #0f172a;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pdp-service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.7);
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
    min-width: 0;
    cursor: pointer;
    position: relative;
}

.pdp-service-item:hover {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
}

.pdp-service-icon-box {
    width: 40px;
    height: 40px;
    min-width: 40px;
    max-width: 40px;
    flex: 0 0 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pdp-service-icon {
    font-size: 1.35rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pdp-service-item:hover .pdp-service-icon-box {
    transform: scale(1.1) rotate(2deg);
}

/* Individual accent themes for PDP cards */
.pdp-service-item.pdp-item-delivery .pdp-service-icon-box,
.pdp-service-item.trust-item-delivery .pdp-service-icon-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(37, 99, 235, 0.04) 100%);
    color: #2563eb;
}
.pdp-service-item.pdp-item-delivery:hover,
.pdp-service-item.trust-item-delivery:hover {
    border-color: rgba(37, 99, 235, 0.35);
}

.pdp-service-item.pdp-item-payment .pdp-service-icon-box,
.pdp-service-item.trust-item-payment .pdp-service-icon-box {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.16) 0%, rgba(245, 158, 11, 0.05) 100%);
    color: #d97706;
}
.pdp-service-item.pdp-item-payment:hover,
.pdp-service-item.trust-item-payment:hover {
    border-color: rgba(234, 179, 8, 0.4);
}

.pdp-service-item.pdp-item-quality .pdp-service-icon-box,
.pdp-service-item.trust-item-quality .pdp-service-icon-box {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(5, 150, 105, 0.04) 100%);
    color: #059669;
}
.pdp-service-item.pdp-item-quality:hover,
.pdp-service-item.trust-item-quality:hover {
    border-color: rgba(16, 185, 129, 0.4);
}

.pdp-service-item.pdp-item-setup .pdp-service-icon-box,
.pdp-service-item.trust-item-setup .pdp-service-icon-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.14) 0%, rgba(124, 58, 237, 0.04) 100%);
    color: #7c3aed;
}
.pdp-service-item.pdp-item-setup:hover,
.pdp-service-item.trust-item-setup:hover {
    border-color: rgba(139, 92, 246, 0.4);
}

.pdp-service-item.pdp-item-support .pdp-service-icon-box,
.pdp-service-item.trust-item-support .pdp-service-icon-box {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.14) 0%, rgba(8, 145, 178, 0.04) 100%);
    color: #0891b2;
}
.pdp-service-item.pdp-item-support:hover,
.pdp-service-item.trust-item-support:hover {
    border-color: rgba(6, 182, 212, 0.4);
}

.pdp-service-content,
.pdp-service-item > .pdp-service-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}

.pdp-service-content strong,
.pdp-service-item strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 2px;
    letter-spacing: -0.01em;
}

.pdp-service-content span,
.pdp-service-item span {
    display: block;
    font-size: 0.72rem;
    font-weight: 400;
    color: #64748b;
    line-height: 1.3;
}

.pdp-service-arrow {
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-left: auto;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.pdp-service-item:hover .pdp-service-arrow {
    color: var(--color-primary);
    transform: translateX(3px);
}

@media (max-width: 1200px) {
    .pdp-service {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

@media (max-width: 900px) {
    .pdp-service {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* ============================================================
   CHECKOUT FORM
   ============================================================ */
.checkout-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid rgba(26, 43, 74, 0.05);
}

.checkout-block {
    margin-bottom: 48px;
}

.payment-block {
    margin-top: 48px;
}

.checkout-block:last-child {
    margin-bottom: 0;
}

.checkout-block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--color-text);
}

.checkout-block-title iconify-icon {
    font-size: 1.6rem;
    color: var(--color-primary);
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Method cards (radio as cards) */
.delivery-methods,
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
}

.method-card {
    position: relative;
    cursor: pointer;
}

.method-card input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.method-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    background: var(--color-bg-white);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: all var(--transition-smooth);
    text-align: center;
}

.method-content iconify-icon,
.method-content img,
.method-content svg {
    font-size: 2rem;
    width: auto;
    height: 40px;
    object-fit: contain;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
}

.method-content span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-secondary);
}

.method-card input:checked+.method-content {
    border-color: var(--color-primary);
    background: rgba(45, 125, 202, 0.02);
    box-shadow: 0 8px 24px rgba(45, 125, 202, 0.12);
}

.method-card input:checked+.method-content iconify-icon {
    color: var(--color-primary);
    transform: scale(1.1);
}

.method-card input:checked+.method-content span {
    color: var(--color-primary);
}

.method-card:hover .method-content {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
}

/* ============================================================
   POLICY PAGES (Returns, Terms, etc)
   ============================================================ */
.policy-page {
    padding: 20px 0 var(--space-xl);
    min-height: 50vh;
}

.policy-page .cart-breadcrumbs {
    max-width: 960px;
    margin: 0 auto 20px auto;
    padding: 0 4px;
}

/* Base Policy Content Card & Card-V2 */
.policy-content,
.card-v2 {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
    background: #ffffff;
    padding: 56px 64px;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.04), 0 20px 40px -15px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.policy-content::before,
.card-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #6366f1 100%);
}

/* Page Heading */
.policy-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.035em;
    line-height: 1.2;
    color: #0f172a;
    margin-bottom: 36px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
}

/* Sections & Headings */
.policy-section {
    margin-bottom: 40px;
}

.policy-section:last-child {
    margin-bottom: 0;
}

.policy-section h2 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
    margin-top: 0;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 1.15em;
    background: linear-gradient(180deg, #2563eb, #38bdf8);
    border-radius: 4px;
    flex-shrink: 0;
}

.policy-section h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #1e293b;
    margin-top: 24px;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.policy-section p {
    font-size: 1.025rem;
    line-height: 1.75;
    color: #334155;
    margin-bottom: 16px;
}

.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-section strong {
    font-weight: 600;
    color: #0f172a;
}

.policy-section a {
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.policy-section a:hover {
    color: #1d4ed8;
}

/* Modern Checklist */
.policy-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.policy-list li {
    position: relative;
    padding-left: 36px;
    font-size: 1rem;
    line-height: 1.65;
    color: #334155;
}

.policy-list li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    color: #059669;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.2);
}

/* Tables (Delivery & Policy Info) */
.policy-content table,
.delivery-table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 24px 0 !important;
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.05);
}

.policy-content table thead tr,
.delivery-table thead tr {
    background: #f8fafc !important;
}

.policy-content table th,
.delivery-table th {
    padding: 16px 20px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    color: #475569 !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    text-align: left;
}

.policy-content table td,
.delivery-table td {
    padding: 18px 20px !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #334155 !important;
    border: none !important;
    border-bottom: 1px solid #f1f5f9 !important;
    vertical-align: top;
    transition: background 0.15s ease;
}

.policy-content table tr:last-child td,
.delivery-table tr:last-child td {
    border-bottom: none !important;
}

.policy-content table tbody tr:nth-child(even) td,
.delivery-table tbody tr:nth-child(even) td {
    background: #fafbfc;
}

.policy-content table tbody tr:hover td,
.delivery-table tbody tr:hover td {
    background: rgba(239, 246, 255, 0.5) !important;
}

.policy-content table td:first-child,
.delivery-table td:first-child {
    font-weight: 600 !important;
    color: #0f172a !important;
    width: 32%;
}

/* Warning & Notice Callouts */
.warning-box {
    background: linear-gradient(135deg, rgba(254, 242, 242, 0.8) 0%, rgba(255, 241, 242, 0.4) 100%) !important;
    border: 1px solid rgba(244, 63, 94, 0.2) !important;
    border-left: 4px solid #e11d48 !important;
    border-radius: 14px !important;
    padding: 20px 24px !important;
    margin: 20px 0 !important;
    box-shadow: 0 4px 12px -2px rgba(225, 29, 72, 0.06) !important;
}

.warning-box p {
    margin: 0 !important;
    font-size: 0.95rem !important;
    color: #881337 !important;
    line-height: 1.6 !important;
}

.warning-box p strong {
    color: #9f1239 !important;
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 24px;
    margin-bottom: 24px;
}

.step-card {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-top: 4px solid #2563eb !important;
    border-left: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    padding: 28px 24px !important;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    position: relative;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1 !important;
    border-top-color: #2563eb !important;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #2563eb !important;
    background: rgba(37, 99, 235, 0.08);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    margin-bottom: 18px;
    opacity: 1 !important;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 10px 0;
    letter-spacing: -0.01em;
}

.step-card p {
    font-size: 0.925rem;
    line-height: 1.6;
    color: #475569;
    margin: 0;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.contact-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.1);
    border-color: #cbd5e1;
}

.contact-card > i:first-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(56, 189, 248, 0.12) 100%);
    color: #2563eb !important;
    font-size: 2rem !important;
    margin-bottom: 18px !important;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.15);
    transition: transform 0.25s ease;
}

.contact-card:hover > i:first-child {
    transform: scale(1.08);
}

.contact-card a i {
    font-size: 1.1em !important;
    color: inherit !important;
    background: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 4px 0 0 !important;
    box-shadow: none !important;
    vertical-align: -1px;
}

.contact-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.contact-card p {
    color: #334155;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
    .policy-content,
    .card-v2 {
        padding: 40px 32px;
        border-radius: 22px;
    }
}

@media (max-width: 640px) {
    .policy-page {
        padding: 10px 0 var(--space-lg);
    }

    .policy-content,
    .card-v2 {
        padding: 28px 18px;
        border-radius: 18px;
    }

    .policy-heading {
        font-size: 1.75rem;
        margin-bottom: 24px;
        padding-bottom: 16px;
    }

    .policy-section {
        margin-bottom: 32px;
    }

    .policy-section h2 {
        font-size: 1.25rem;
        gap: 10px;
    }

    .policy-section p {
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .policy-list li {
        padding-left: 32px;
        font-size: 0.925rem;
    }

    .policy-list li::before {
        width: 20px;
        height: 20px;
        font-size: 0.75rem;
    }

    .steps-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .step-card {
        padding: 22px 18px !important;
    }

    .contact-card {
        padding: 24px 18px;
    }

    .policy-content table,
    .delivery-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 14px !important;
    }

    .policy-content table th,
    .delivery-table th {
        padding: 12px 14px !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }

    .policy-content table td,
    .delivery-table td {
        padding: 14px !important;
        font-size: 0.875rem !important;
    }

    .policy-content table td:first-child,
    .delivery-table td:first-child {
        width: 38%;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hero-inner {
        grid-template-columns: 1fr 1fr;
    }

    .hero-side {
        display: none;
    }

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

    .product-card {
        flex: 0 0 calc(33.33% - 14px);
    }

    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
    }

    .articles-grid {
        grid-template-columns: 1fr 1fr;
    }

    .articles-grid .article-card:last-child {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .cart-layout {
        grid-template-columns: 1fr 300px;
        gap: 24px;
    }

    .pdp-layout {
        grid-template-columns: 340px 1fr;
        gap: 28px;
    }

    .pdp-sidebar {
        align-items: flex-start;
    }
}

@media (max-width: 769px) {


    .hamburger {
        display: flex;
    }

    .container {
        width: 100%;
        padding: 0 16px;
    }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 0;
        z-index: 1500;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-15px);
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
        display: flex;
    }

    .main-nav.open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .main-nav a {
        font-family: var(--font-heading);
        font-size: 1.25rem;
        font-weight: 800;
        padding: 1.25rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--color-text);
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        transition: all 0.3s ease;
    }

    .main-nav a:hover {
        color: var(--color-primary);
        padding-left: 8px;
    }

    .main-nav a::after {
        display: none;
        /* Hide the desktop hover underline */
    }

    .mobile-nav-bottom {
        margin-top: 2rem;
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .mobile-only-nav {
        /* This class is now used for individual links inside the bottom section */
        font-size: 1rem !important;
        padding: 0.75rem 0 !important;
        font-weight: 600 !important;
        opacity: 0.8;
    }

    .mobile-nav-highlight {
        background: var(--color-primary);
        color: #fff !important;
        border-radius: 12px;
        padding: 1rem 1.25rem !important;
        display: flex !important;
        align-items: center;
        gap: 12px;
        font-weight: 800 !important;
        font-size: 1rem !important;
        border: none !important;
        box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
        margin-top: 8px;
        opacity: 1 !important;
    }

    .mobile-nav-highlight:hover {
        transform: translateY(-2px);
        box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.5);
    }

    .mobile-nav-highlight iconify-icon {
        font-size: 1.4rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
        min-height: auto;
        padding-bottom: 32px;
    }

    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-row {
        justify-content: center;
    }

    .hero-video-card {
        margin: 0 auto;
    }

    .hero-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }

    .products-carousel.category-page-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 !important;
        overflow-x: visible !important;
    }

    .product-card {
        width: 100% !important;
        flex: none !important;
        min-width: 0 !important;
        min-height: auto !important;
        padding: 10px;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .card-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .card-meta {
        margin-top: auto !important;
    }

    .product-specs {
        display: none;
    }

    .card-footer {
        margin-bottom: 8px;
    }

    .btn-one-click-card {
        padding: 8px;
        font-size: 0.65rem;
        border-radius: 8px;
        margin-top: 8px;
        white-space: nowrap;
    }

    .product-title {
        font-size: 0.8rem;
        min-height: 34px;
        margin-bottom: 8px;
    }

    .card-cart-btn-float {
        top: 50px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .card-wishlist-btn {
        top: 8px;
        right: 8px;
        width: 34px;
        height: 34px;
        font-size: 1.1rem;
    }

    .card-badge {
        padding: 2px 8px;
        font-size: 0.65rem;
    }

    .card-badges-container {
        top: 10px;
        left: 10px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid {
        grid-template-columns: 1fr;
    }

    .articles-grid .article-card:last-child {
        display: flex;
    }

    .newsletter-inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        max-width: 100%;
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .f-social-list {
        justify-content: center;
    }

    .footer-links ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-bottom: 20px;
    }

    .footer-payment-methods {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }

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

    .cart-table-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 80px 1fr auto;
        grid-template-rows: auto auto;
        gap: 12px;
        padding: 16px;
    }

    .cart-col-product {
        grid-column: 1 / 3;
    }

    .cart-item-img {
        width: 80px;
        height: 80px;
    }

    .cart-col-price,
    .cart-col-qty,
    .cart-col-total {
        grid-row: 2;
    }

    .cart-col-remove {
        grid-column: 3;
        grid-row: 1 / 3;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
        margin-top: 64px;
        /* Increased gap for stacked layout */
    }

    .cart-breadcrumbs {
        justify-content: flex-start;
        flex-wrap: wrap;
        text-align: left;
        margin-bottom: 20px;
        gap: 6px;
        font-size: 0.78rem;
        padding: 0 10px;
        width: 100%;
    }

    /* ============================================================
       PDP MOBILE / TABLET - SENIOR UI/UX REDESIGN
       ============================================================ */
    .pdp-layout {
        grid-template-columns: 1fr;
        gap: 28px;
        justify-items: stretch;
    }

    .pdp-gallery {
        position: static;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        max-width: 440px;
        margin: 0 auto;
    }

    .pdp-main-image {
        width: 100%;
        max-width: 100%;
        min-height: 300px;
        aspect-ratio: 1 / 1;
        padding: 20px;
        border-radius: 20px;
        margin: 0 auto;
    }

    .pdp-main-image img {
        max-width: 100%;
        max-height: 280px;
    }

    .pdp-thumbnails {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding: 8px 2px;
        scrollbar-width: none;
    }

    .pdp-thumbnails::-webkit-scrollbar {
        display: none;
    }

    .pdp-thumb {
        width: 68px;
        height: 68px;
        border-radius: 12px;
    }

    .pdp-info {
        display: block;
        text-align: left;
        width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    .pdp-code {
        text-align: left !important;
        margin-bottom: 10px;
    }

    .pdp-title {
        text-align: left;
        width: 100%;
        font-size: 1.35rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }

    .pdp-short-desc {
        text-align: left;
        width: 100%;
        font-size: 0.88rem;
        margin-bottom: 16px;
    }

    .pdp-meta-row {
        justify-content: flex-start;
        width: 100%;
        gap: 10px;
        margin-bottom: 18px;
        padding-bottom: 16px;
    }

    .pdp-buybox {
        padding: 20px 18px;
        border-radius: 18px;
        margin-bottom: 22px;
    }

    .pdp-price-block {
        text-align: left;
        justify-content: flex-start;
    }

    .pdp-price {
        font-size: 2.1rem;
    }

    .pdp-qty-wrapper {
        justify-content: flex-start;
        width: 100%;
        margin-bottom: 16px;
    }

    .pdp-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .pdp-add-cart,
    .pdp-buy-now {
        width: 100%;
        padding: 15px 18px;
        font-size: 0.9rem;
    }

    .pdp-buybox-trust {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pdp-tabs {
        padding: 20px 16px;
        border-radius: 18px;
        width: 100%;
        margin-bottom: 24px;
    }

    .pdp-tab-headers {
        width: 100%;
        justify-content: flex-start;
        display: flex;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        padding: 0 0 10px 0;
        scrollbar-width: none;
    }

    .pdp-tab-headers::-webkit-scrollbar {
        display: none;
    }

    .pdp-tab-btn {
        flex: 0 0 auto;
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    .pdp-tab-content {
        width: 100%;
        padding: 0;
    }

    .pdp-tab-content p,
    .pdp-desc-body,
    .pdp-desc-body p {
        text-align: left !important;
        font-size: 0.88rem;
        line-height: 1.6;
        margin-bottom: 15px;
    }

    .pdp-specs-table {
        margin: 0 auto;
        width: 100%;
        table-layout: auto;
    }

    .pdp-specs-table td {
        text-align: left;
        padding: 10px 12px;
        font-size: 0.84rem;
        word-break: break-word;
    }

    .pdp-specs-table td:first-child {
        width: 42%;
        font-weight: 700;
        color: #0f172a;
    }

    .pdp-sidebar {
        width: 100%;
        margin-top: 16px;
    }

    .pdp-service {
        width: 100%;
        padding: 16px;
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        border-radius: 18px;
    }

    .pdp-service h3,
.pdp-service h2 {
        text-align: left;
        margin-bottom: 4px;
        font-size: 0.95rem;
    }

    .pdp-service-item {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;
        padding: 9px 8px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .pdp-service-icon-box {
        width: 36px;
        height: 36px;
        min-width: 36px;
        max-width: 36px;
        flex: 0 0 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 9px;
        flex-shrink: 0;
    }

    .pdp-service-icon {
        width: auto;
        height: auto;
        font-size: 1.2rem;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .pdp-service-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        min-width: 0;
        flex: 1;
    }

    .pdp-service-item strong {
        font-size: 0.76rem;
        line-height: 1.2;
        margin-bottom: 2px;
    }

    .pdp-service-item span {
        font-size: 0.68rem;
        line-height: 1.25;
    }

    .pdp-service-arrow {
        font-size: 0.85rem;
        margin-left: auto;
        flex-shrink: 0;
    }

    .pdp-review-form-wrapper {
        width: 100%;
    }

    .pdp-review-form-wrapper h4 {
        text-align: center;
        margin-bottom: 20px;
    }

    .pdp-review-header {
        flex-direction: row;
        text-align: left;
        gap: 8px;
    }

    .pdp-review-date {
        margin-left: auto;
    }

    .pdp-review-item p {
        text-align: left;
    }

    .header-inner {
        gap: 12px;
        height: 64px;
    }

    .logo {
        font-size: 1.1rem;
        gap: 5px;
        letter-spacing: 0.5px;
    }

    .header-actions {
        gap: 12px;
    }

    .lang-switch {
        font-size: 0.75rem;
    }

    .header-avatar iconify-icon {
        font-size: 1.6rem !important;
    }

    .header-cart span {
        display: none;
    }

    .header-cart iconify-icon {
        display: none;
    }

    /* We keep the header-cart link and badge if we want a top one too, 
       but the plan says hide it to prevent redundancy. Let's hide the badge too in header. */
    .cart-badge {
        display: none;
    }

    .products-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-bottom: 24px;
    }

    .btn-filters {
        justify-content: center;
    }

    .sort-dropdown {
        width: 100%;
    }

    .main-nav a {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
}

@media (max-width: 480px) {
    .filters-panel {
        max-width: 100%;
        border-left: none;
    }

    .header-inner {
        gap: 6px;
    }

    .header-actions {
        gap: 8px;
    }

    .logo {
        font-size: 1rem;
        gap: 4px;
    }

    .lang-switch {
        gap: 2px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* ====== PRODUCT CARDS — mobile compact ====== */
    .products-carousel.category-page-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
        padding: 0 !important;
    }

    .products-carousel.category-page-grid .product-card {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        min-height: auto !important;
        animation: none !important;
        margin: 0 !important;
        padding: 8px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .products-carousel:not(.category-page-grid) .product-card {
        flex: 0 0 calc(50% - 10px) !important;
        width: calc(50% - 10px) !important;
        min-width: 0 !important;
        min-height: auto !important;
        margin: 0 !important;
        padding: 8px !important;
        border-radius: 12px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .card-content {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .card-image {
        margin-bottom: 6px !important;
        aspect-ratio: 1 !important;
    }

    .product-title {
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        margin-bottom: 4px !important;
        min-height: unset !important;
        line-height: 1.25 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    /* Hide stars and availability on very small screens */
    .card-rating {
        font-size: 0.6rem !important;
        margin-bottom: 2px !important;
        gap: 1px !important;
    }

    .card-availability {
        font-size: 0.6rem !important;
        margin-bottom: 4px !important;
    }

    .card-sku {
        font-size: 0.62rem !important;
        margin-top: 2px !important;
        line-height: 1.3 !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    .card-sku .sku-label,
    .card-sku .sku-val {
        font-size: 0.62rem !important;
    }

    .card-meta {
        margin-top: auto !important;
    }

    .card-availability::before {
        width: 4px !important;
        height: 4px !important;
    }

    /* Price — stack vertically */
    .card-footer {
        margin-bottom: 4px !important;
    }

    .price-block {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0 !important;
    }

    .price-new {
        font-size: 0.95rem !important;
        line-height: 1.2 !important;
    }

    .price-old {
        font-size: 0.65rem !important;
        margin-left: 0 !important;
    }

    /* One-click buy button — compact */
    .btn-one-click-card {
        padding: 6px 4px !important;
        font-size: 0.58rem !important;
        border-radius: 8px !important;
        gap: 4px !important;
        margin-top: 8px !important;
        letter-spacing: 0 !important;
    }

    .btn-one-click-card i {
        font-size: 0.8rem !important;
    }

    /* Buy buttons — compact */
    .card-buy-buttons .btn {
        padding: 6px 4px !important;
        font-size: 0.6rem !important;
        border-radius: 6px !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Badges — smaller */
    .card-badges-container {
        top: 4px !important;
        left: 4px !important;
    }

    .card-badge {
        padding: 2px 6px !important;
        font-size: 0.55rem !important;
    }

    /* Floating buttons — smaller */
    .card-wishlist-btn {
        top: 4px !important;
        right: 4px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 1rem !important;
    }

    .card-cart-btn-float {
        top: 36px !important;
        right: 4px !important;
        width: 28px !important;
        height: 28px !important;
        font-size: 1rem !important;
    }

    .product-specs {
        display: none;
    }

    /* ====== END PRODUCT CARDS ====== */

    .newsletter-form {
        flex-direction: column;
    }

    .footer-grid {
        gap: 24px;
    }

    .site-footer {
        padding: 40px 0 20px;
    }

    .footer-brand p {
        font-size: 0.85rem;
    }

    .footer-links h4,
.footer-links .footer-heading {
        margin-bottom: 12px;
    }

}

/* ===================== MODAL STYLES ===================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-content {
    background: var(--color-surface);
    width: 90%;
    max-width: 450px;
    padding: 3rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-elevated);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

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

.modal-header {
    margin-bottom: 2rem;
    text-align: center;
}

.modal-header h2 {
    font-size: 2rem;
    font-family: var(--font-heading);
    color: var(--color-text);
    margin-bottom: 0.75rem;
    letter-spacing: -1px;
}

.modal-header p {
    color: var(--color-text-muted);
}

.modal-form .form-group {
    margin-bottom: 1.5rem;
}

.modal-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.modal-form input {
    width: 100%;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--color-text);
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s;
}

.modal-form input::placeholder {
    color: var(--color-text-muted);
}

.modal-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.modal-submit {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    margin-top: 1rem;
}

.modal-success-msg {
    text-align: center;
    padding: 2rem 0;
}

.modal-success-msg iconify-icon {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.modal-success-msg h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* ===================== MOBILE BOTTOM NAV ===================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    background: var(--color-bg-white);
    height: 64px;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    border-radius: 40px;
    z-index: 1500;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 2px;
    color: var(--color-text-secondary);
    font-size: 0.65rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.mobile-nav-item i,
.mobile-nav-item iconify-icon {
    font-size: 1.2rem;
}

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

.mobile-nav-cart {
    position: relative;
}

.mobile-nav-cart .cart-badge {
    position: absolute;
    top: -5px;
    right: 5px;
    display: flex !important;
    /* Force display in mobile nav */
    background: var(--color-primary);
    color: #fff;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

@media (max-width: 769px) {
    .mobile-bottom-nav {
        display: grid;
    }

    body {
        padding-bottom: 64px;
        /* Space for bottom nav */
    }
}

/* ===================== FLOATING ACTIONS ===================== */
.floating-actions {
    position: fixed;
    right: 25px;
    bottom: 30px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: transform 0.3s;
}

.btn-callback-float {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0, 163, 255, 0.3);
    position: relative;
    transition: all 0.3s;
}

.btn-callback-float:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(0, 163, 255, 0.4);
}

.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--color-primary);
    opacity: 0.6;
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.6;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* =========================================
   FILTERS PANEL (CATALOG DRAWER) - SENIOR REDESIGN
========================================= */
.filters-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.62);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.35s ease;
}

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

.filters-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    height: 100dvh;
    background: #f8fafc;
    z-index: 2000;
    display: flex;
    flex-direction: column;
    box-shadow: -24px 0 60px rgba(15, 23, 42, 0.18), -6px 0 20px rgba(15, 23, 42, 0.08);
    transform: translateX(105%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border-left: 1px solid rgba(226, 232, 240, 0.9);
    overflow: hidden;
}

.filters-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #6366f1 100%);
    z-index: 30;
}

.filters-panel.active {
    transform: translateX(0);
}

/* Header */
.filters-header {
    position: relative;
    padding: 20px 24px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    z-index: 20;
    flex-shrink: 0;
}

.filters-header-title-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
}

.filters-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2563eb;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.1);
}

.filters-header-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.filters-header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.filters-header-subtitle {
    font-size: 0.8125rem;
    color: #64748b;
    font-weight: 500;
    line-height: 1.2;
}

.filters-close {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
    font-size: 18px;
}

.filters-close:hover {
    background: #fee2e2;
    border-color: #fecaca;
    color: #ef4444;
    transform: rotate(90deg);
}

.filters-close:active {
    transform: rotate(90deg) scale(0.94);
}

/* Body */
.filters-body {
    padding: 22px 24px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #f8fafc;
}

.filters-body::-webkit-scrollbar {
    width: 6px;
}

.filters-body::-webkit-scrollbar-track {
    background: transparent;
}

.filters-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.filters-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Card Container */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 18px 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.filter-group:hover,
.filter-group:focus-within {
    border-color: #cbd5e1;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

.filter-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filter-group-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-group-title i {
    font-size: 18px;
    color: #2563eb;
}

.filter-group label {
    font-weight: 700;
    font-size: 0.8125rem;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    margin: 0;
}

/* Select wrapper */
.select-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.select-leading-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.select-trailing-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease, transform 0.2s ease;
    z-index: 2;
}

.filter-select {
    width: 100%;
    height: 46px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    padding: 0 38px 0 42px;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 500;
    font-family: var(--font-body);
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select:hover {
    border-color: #cbd5e1;
    background: #fafbfc;
}

.filter-select:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}

.select-wrapper:focus-within .select-leading-icon,
.select-wrapper:focus-within .select-trailing-icon {
    color: #2563eb;
}

/* Search input */
.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-input-wrapper .search-leading-icon,
.search-input-wrapper > i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.search-input-wrapper input {
    width: 100%;
    height: 46px;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #0f172a;
    padding: 0 16px 0 42px;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.2s ease;
}

.search-input-wrapper input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-input-wrapper input:hover {
    border-color: #cbd5e1;
}

.search-input-wrapper input:focus {
    outline: none;
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}

.search-input-wrapper:focus-within > i,
.search-input-wrapper:focus-within .search-leading-icon {
    color: #2563eb;
}

/* Price Range Slider */
.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.price-input-box {
    flex: 1;
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 0 12px;
    height: 44px;
    gap: 6px;
    transition: all 0.2s ease;
}

.price-input-box:hover {
    border-color: #cbd5e1;
    background: #ffffff;
}

.price-input-box:focus-within {
    border-color: #2563eb;
    background: #ffffff;
    box-shadow: 0 0 0 3.5px rgba(37, 99, 235, 0.12);
}

.price-input-prefix {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #64748b;
    user-select: none;
    text-transform: lowercase;
}

.price-currency {
    font-size: 0.875rem;
    font-weight: 700;
    color: #94a3b8;
    user-select: none;
}

.price-input-box input {
    flex: 1;
    width: 100%;
    min-width: 0;
    background: transparent;
    border: none;
    color: #0f172a;
    padding: 0;
    font-size: 0.95rem;
    font-weight: 700;
    font-family: var(--font-body);
    text-align: right;
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.price-input-box input::-webkit-outer-spin-button,
.price-input-box input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.price-input-separator {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 14px;
    flex-shrink: 0;
}

.range-slider-wrapper {
    position: relative;
    height: 32px;
    display: flex;
    align-items: center;
    margin-top: 4px;
    margin-bottom: 8px;
}

.range-slider-wrapper::before,
.range-track-bg {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
    pointer-events: none;
}

.range-track {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 999px;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.35);
}

.range-slider-wrapper input[type="range"] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    pointer-events: none;
    margin: 0;
    padding: 0;
}

.range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: 3.5px solid #2563eb;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.range-slider-wrapper input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    border: 3.5px solid #2563eb;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2), 0 0 0 1px rgba(37, 99, 235, 0.2);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.range-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45), 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.range-slider-wrapper input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.45), 0 0 0 3px rgba(37, 99, 235, 0.18);
}

.range-slider-wrapper input[type="range"]::-webkit-slider-thumb:active {
    transform: scale(1.22);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.55), 0 0 0 4px rgba(37, 99, 235, 0.25);
}

.range-slider-wrapper input[type="range"]::-moz-range-thumb:active {
    transform: scale(1.22);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.55), 0 0 0 4px rgba(37, 99, 235, 0.25);
}

/* Quick price preset chips */
.price-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.price-preset-chip {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 11px;
    font-size: 0.775rem;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    font-family: var(--font-body);
    transition: all 0.2s ease;
}

.price-preset-chip:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
    transform: translateY(-1px);
}

.price-preset-chip.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

/* Footer Actions */
.filters-footer {
    position: relative;
    padding: 18px 24px;
    padding-bottom: max(18px, env(safe-area-inset-bottom));
    border-top: 1px solid #f1f5f9;
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 20;
    flex-shrink: 0;
}

.filters-btn-reset {
    flex: 1;
    height: 48px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    color: #475569;
    font-weight: 600;
    font-size: 0.9375rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filters-btn-reset i {
    font-size: 18px;
    color: #64748b;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.filters-btn-reset:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
    transform: translateY(-1px);
}

.filters-btn-reset:hover i {
    transform: rotate(-90deg);
    color: #0f172a;
}

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

.filters-btn-apply {
    flex: 1.4;
    height: 48px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
}

.filters-btn-apply i {
    font-size: 18px;
    color: #ffffff;
}

.filters-btn-apply:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    transform: translateY(-1px);
}

.filters-btn-apply:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* ===================== INLINE FILTERS ===================== */
.inline-filters-wrapper {
    background: #fff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 24px 30px;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}

.inline-filters-info {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.inline-filters-info h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    color: #18293b;
}

.found-count {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
}

.inline-filters-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-pill {
    flex: 1;
    position: relative;
    display: flex;
    align-items: center;
}

.search-pill i,
.search-pill iconify-icon {
    position: absolute;
    left: 18px;
    font-size: 1.4rem;
    color: var(--color-text-muted);
}

.search-pill input {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 14px 20px 14px 48px;
    font-size: 1rem;
    transition: all 0.3s;
    color: #18293b;
}

.search-pill input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.filter-actions-group {
    display: flex;
    gap: 10px;
}

.inline-filters-actions .sort-dropdown {
    margin-left: 0;
}

.inline-filters-actions .sort-header {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 10px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    /* Slightly increased gap */
    cursor: pointer;
    transition: all 0.3s;
    color: #94a3b8;
    font-weight: 500;
    font-size: 0.9rem;
}

.inline-filters-actions .sort-header i,
.inline-filters-actions .sort-header iconify-icon {
    font-size: 1.3rem;
    /* Increased size */
}

.inline-filters-actions .sort-header:hover {
    background: #fff;
    border-color: var(--color-primary);
}

.btn-icon-filter {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--color-primary);
}

.btn-icon-filter i,
.btn-icon-filter iconify-icon {
    font-size: 1.6rem;
}

.btn-icon-filter:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: #fff;
}

.btn-icon-filter.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}

/* Inline Price Filter */
.inline-price-filter {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
}

.inline-price-filter.active {
    max-height: 200px;
    opacity: 1;
    padding-top: 10px;
}

.price-slider-container {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 20px;
}

.price-slider-container label {
    display: block;
    font-weight: 600;
    margin-bottom: 25px;
    color: #18293b;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #0f172a;
}

/* Light theme adjustments for range slider inside inline filter */
.inline-filters-wrapper .range-track {
    background: #e2e8f0;
}

.inline-filters-wrapper .range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 769px) {
    .inline-filters-info {
        flex-direction: column;
        gap: 5px;
    }

    .inline-filters-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .filter-actions-group {
        justify-content: space-between;
    }

    .inline-filters-actions .sort-dropdown {
        flex: 1;
    }

    .inline-filters-actions .sort-header {
        justify-content: center;
    }
}

@media (max-width: 1024px) {
    .floating-actions {
        bottom: 85px;
        /* Above mobile bottom nav */
        right: 20px;
    }

    .btn-callback-float {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* ===================== CITY DROPDOWN ===================== */
.city-input-wrapper {
    position: relative;
    width: 100%;
}

.city-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 250px;
    background: var(--color-bg-white);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-elevated);
    z-index: 100;
    overflow-y: auto;
    display: none;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    animation: fadeInUp 0.3s ease;
}

.city-dropdown.active {
    display: block;
}

.city-item {
    padding: 14px 20px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    white-space: normal;
    line-height: 1.4;
}

.city-item:last-child {
    border-bottom: none;
}

.city-item:hover {
    background: var(--color-primary) !important;
    color: #fff !important;
    padding-left: 24px;
}

/* Custom Scrollbar for Dropdown */
.city-dropdown::-webkit-scrollbar {
    width: 6px;
}

.city-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.city-dropdown::-webkit-scrollbar-thumb {
    background: var(--color-text-muted);
    border-radius: 10px;
}

.city-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Sub-method Groups (NP/UP) */
.sub-method-group {
    display: none;
    gap: 10px;
    margin-top: 20px;
}

.sub-method-group.active {
    display: flex;
}

.toggle-option {
    flex: 1;
    cursor: pointer;
}

.toggle-option input {
    display: none;
}

.toggle-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    height: 100%;
    justify-content: center;
}

.toggle-option input:checked+.toggle-box {
    background: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-text-primary);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.15);
}

.toggle-box iconify-icon {
    font-size: 1.5rem;
}

/* API Loader */
.input-loader {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* Dropdown tweaks */
.city-item.loading {
    text-align: center;
    color: var(--color-text-muted);
    font-style: italic;
    pointer-events: none;
}


/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 50px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.page-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--color-bg-white);
    border: 1.5px solid rgba(0, 0, 0, 0.05);
    color: var(--color-text-secondary);
    font-weight: 600;
    font-family: var(--font-heading);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.page-btn-nav {
    font-size: 1.2rem;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--color-primary);
    color: var(--color-primary);
    transform: translateY(-2px);
}

.page-btn.active {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.3);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    background: rgba(0, 0, 0, 0.02);
}

.page-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 44px;
    color: var(--color-text-secondary);
    font-weight: 700;
    letter-spacing: 2px;
    user-select: none;
}

/* ===================== MOBILE SIDEBAR ===================== */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
}

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

.mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%;
    width: 340px;
    max-width: 85vw;
    height: 100vh;
    background: #fff;
    z-index: 10001;
    transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    font-family: var(--font-body);
}

.mobile-sidebar.open {
    left: 0;
}

.ms-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
}

.ms-header .logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--color-text);
}

.ms-header .logo-icon {
    color: var(--color-primary);
}

.ms-close {
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--color-text-muted);
    padding: 4px;
    cursor: pointer;
}

.ms-categories {
    border-bottom: 1px solid #eee;
}

.ms-cat-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text);
    cursor: pointer;
    background: #fcfcfc;
}

.ms-cat-header i:first-child {
    font-size: 1.25rem;
    color: var(--color-primary);
}

.ms-cat-caret {
    margin-left: auto;
    transition: transform 0.3s;
}

.ms-cat-header.active .ms-cat-caret {
    transform: rotate(180deg);
}

.ms-cat-list {
    display: none;
    background: #fff;
    padding: 10px 0;
}

.ms-cat-list.open {
    display: block;
}

.ms-cat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 32px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.ms-cat-item:hover {
    background: #f9fafb;
    color: var(--color-primary);
}

.ms-cat-item i {
    font-size: 1.1rem;
    color: #94a3b8;
}

.ms-categories .ms-cat-item {
    border-bottom: 1px solid #f9fafb;
}

.ms-categories .ms-cat-item:last-child {
    border-bottom: none;
}

.ms-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.ms-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border: none;
}

.ms-btn-primary {
    background: var(--color-primary);
    color: #fff;
}

.ms-btn-outline {
    background: #fff;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
}

.ms-btn-dark {
    background: #111;
    color: #fff;
}

.ms-settings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    font-size: 0.9rem;
}

.ms-setting-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ms-label {
    color: #888;
    font-size: 0.85rem;
}

.ms-lang-switch {
    display: flex;
    gap: 6px;
}

.ms-lang-btn {
    background: none;
    border: none;
    font-weight: 600;
    color: #bbb;
    padding: 0;
    cursor: pointer;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.ms-lang-btn.active {
    color: var(--color-primary);
}

.ms-section {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.ms-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #555;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.ms-section-title iconify-icon {
    font-size: 1.2rem;
}

.ms-phone-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.ms-phone-item:last-child {
    margin-bottom: 0;
}

.ms-phone-item strong {
    color: #888;
    font-weight: 700;
    margin-bottom: 2px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.ms-phone-item a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
}

.ms-phone-item a:hover {
    color: var(--color-primary);
}

.ms-messengers {
    padding-top: 10px;
}

.ms-messenger-item {
    margin-bottom: 12px;
}

.ms-messenger-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #3b82f6;
    /* Blue as in the image */
    font-size: 0.95rem;
}

.ms-messenger-icon {
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ms-address-text {
    font-size: 0.95rem;
    color: var(--color-text);
    line-height: 1.5;
}

.ms-group-title {
    font-weight: 700;
    color: #555;
    margin-bottom: 12px;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.ms-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ms-link-list li {
    margin-bottom: 12px;
}

.ms-link-list li:last-child {
    margin-bottom: 0;
}

.ms-link-list li a {
    color: #555;
    text-decoration: none;
    font-size: 0.95rem;
    display: block;
    transition: color 0.2s;
}

.ms-link-list li a:hover {
    color: var(--color-primary);
}

.ms-subscribe {
    background: var(--color-primary);
    padding: 25px 20px;
    border-bottom: none;
}

.ms-subscribe h4 {
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    font-size: 1rem;
}

.ms-sub-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ms-sub-form input {
    padding: 12px;
    border: none;
    border-radius: 4px;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
}

.ms-footer {
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    background: #fff;
}

.ms-social-label {
    color: #bbb;
    font-size: 0.85rem;
    font-weight: 500;
}

.ms-social-links {
    display: flex;
    gap: 15px;
}

.ms-social-links a {
    color: #555;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.ms-social-links a:hover {
    color: var(--color-primary);
}

/* Sidebar allowed on desktop as hamburger is now visible there */
/* Footer Mobile Styles - Only for mobile */
@media (max-width: 769px) {
    .footer-links {
        border-bottom: 1px solid #e5e7eb;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

    .footer-links h4,
.footer-links .footer-heading {
        margin-bottom: 15px;
        font-size: 1.1rem;
        font-weight: 700;
        color: #111827;
        text-align: center;
        /* Center titles on mobile */
    }

    .footer-links ul {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        /* Center list items on mobile */
        opacity: 1 !important;
        max-height: none !important;
        margin-top: 0 !important;
    }

    .footer-schedule {
        align-items: center;
        text-align: center;
    }

    .footer-schedule-row {
        justify-content: center;
    }

    .f-social-list {
        justify-content: center;
    }

    .footer-categories-strip-inner {
        justify-content: flex-start;
        /* Left aligned on mobile */
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer-strip-title {
        text-align: center;
        margin-bottom: 20px;
    }
}

/* Global Footer Chevron Base */
.footer-chevron {
    display: none;
}

/* ============================================================
   SIDEBAR FILTERS (CHECKBOXES)
   ============================================================ */
/* ============================================================
   SIDEBAR FILTERS (PREMIUM REDESIGN)
   ============================================================ */

/* Generic Filter Block (Used also by mobile drawer) */
.sidebar-filter-block {
    margin-top: 25px;
}

#mobileDynamicFiltersContainer {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 18px;
}

#mobileDynamicFiltersContainer .sidebar-filter-block {
    margin-top: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

/* ============================================================
   CATEGORY SIDEBAR COLUMN - SENIOR DESIGN SYSTEM
   ============================================================ */

/* Common Card Base Styling */
.category-sidebar-column .hero-categories-sidebar,
.category-sidebar-column .price-slider-container,
.category-sidebar-column .sidebar-filter-block {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
    transition: border-color 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-sidebar-column .hero-categories-sidebar:hover,
.category-sidebar-column .price-slider-container:hover,
.category-sidebar-column .sidebar-filter-block:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.07), 0 2px 6px rgba(15, 23, 42, 0.03);
}

/* 1. Hero Categories Sidebar in Category Page Sidebar */
.category-sidebar-column .hero-categories-sidebar {
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
    min-height: 0;
    border-radius: 16px;
}

.category-sidebar-column .hero-cat-header {
    padding: 12px 16px;
}

.category-sidebar-column .hero-cat-header-title {
    font-size: 0.92rem;
}

.category-sidebar-column .hero-cat-header-sub,
.category-sidebar-column .hero-cat-count-badge,
.category-sidebar-column .hero-cat-footer {
    display: none !important;
}

.category-sidebar-column .hero-cat-item {
    padding: 7px 14px;
    min-height: 36px;
}

.category-sidebar-column .hero-cat-icon-wrap {
    width: 28px;
    height: 28px;
    font-size: 0.95rem;
}

.category-sidebar-column .hero-cat-name {
    font-size: 0.85rem;
}

.category-sidebar-column .hero-cat-arrow {
    font-size: 0.85rem;
}

/* 2. Price Filter Card */
.category-sidebar-column .inline-price-filter {
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
}

.category-sidebar-column .price-slider-container {
    padding: 16px 18px 18px;
    margin-top: 0;
}

.price-filter-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.price-filter-header .filter-card-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.price-filter-header .currency-tag {
    font-size: 0.7rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.price-badges-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}

.price-badge-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 7px 11px;
    transition: all 0.2s ease;
}

.price-badge-box:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.price-badge-sub {
    font-size: 0.68rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.price-badge-val {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
    font-family: var(--font-heading, inherit);
}

.price-badge-separator {
    color: #cbd5e1;
    font-weight: 600;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.category-sidebar-column .range-slider-wrapper {
    position: relative;
    width: 100%;
    height: 24px;
    display: flex;
    align-items: center;
}

.category-sidebar-column .range-slider-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 6px;
    background: #e2e8f0;
    border-radius: 999px;
}

.category-sidebar-column .range-track {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    border-radius: 999px;
    z-index: 1;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.35);
}

.category-sidebar-column .range-slider-wrapper input[type="range"] {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    z-index: 2;
    margin: 0;
}

.category-sidebar-column .range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid #2563eb;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15), 0 0 0 1px rgba(37, 99, 235, 0.1);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-sidebar-column .range-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35), 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.category-sidebar-column .range-slider-wrapper input[type="range"]::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.5), 0 0 0 5px rgba(37, 99, 235, 0.2);
}

.category-sidebar-column .range-slider-wrapper input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ffffff;
    border: 2.5px solid #2563eb;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.15);
    cursor: grab;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-sidebar-column .range-slider-wrapper input[type="range"]::-moz-range-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.35), 0 0 0 4px rgba(37, 99, 235, 0.15);
}

/* 3. Status & Attribute Filter Cards */
.category-sidebar-column .sidebar-filter-block {
    padding: 16px 18px;
    margin-top: 0;
}

.category-sidebar-column #dynamicFiltersContainer {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Titles & Accordions */
.filter-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
    color: #0f172a;
    cursor: pointer;
    user-select: none;
    letter-spacing: -0.01em;
    transition: color 0.15s ease;
}

.filter-title:hover {
    color: #2563eb;
}

.filter-accordion-icon {
    font-size: 0.95rem;
    color: #94a3b8;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.15s ease;
}

.filter-title:hover .filter-accordion-icon {
    color: #2563eb;
}

.sidebar-filter-block.collapsed .filter-accordion-icon {
    transform: rotate(-90deg);
}

.sidebar-filter-block.collapsed .filter-title {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.sidebar-filter-block.collapsed .filter-options {
    display: none;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

/* Checkbox Rows */
.custom-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.88rem;
    color: #475569;
    user-select: none;
    position: relative;
    padding: 7px 10px;
    margin: 0 -6px;
    border-radius: 8px;
    transition: background-color 0.15s ease, color 0.15s ease;
    width: auto;
}

.custom-checkbox:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    background-color: #ffffff;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-checkbox:hover input ~ .checkmark {
    border-color: #2563eb;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #0f172a;
    border-color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.2);
}

.checkmark:after {
    content: "";
    display: none;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox input[type="radio"]:checked ~ .checkmark:after {
    border: none;
    width: 8px;
    height: 8px;
    background-color: #ffffff;
    border-radius: 50%;
    transform: none;
    margin: 0;
}

/* Status Indicator Dots */
.status-indicator-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-right: -2px;
}

.status-indicator-dot.in-stock {
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

.status-indicator-dot.out-of-stock {
    background: #94a3b8;
}

.custom-checkbox .check-label {
    flex: 1;
    font-weight: 500;
    line-height: 1.35;
}

.custom-checkbox input:checked ~ .check-label {
    font-weight: 600;
    color: #0f172a;
}

.custom-checkbox .filter-count {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 999px;
    margin-left: auto;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.custom-checkbox:hover .filter-count {
    color: #0f172a;
    background: #e2e8f0;
}

.custom-checkbox input:checked ~ .filter-count {
    color: #ffffff;
    background: #0f172a;
}

/* 4. Reset All Filters Button */
.sidebar-reset-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 18px;
    background: #ffffff;
    border: 1.5px solid #fecaca;
    border-radius: 12px;
    color: #dc2626;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.05);
}

.sidebar-reset-btn:hover {
    background: linear-gradient(135deg, #fff1f2 0%, #fee2e2 100%);
    border-color: #f87171;
    color: #b91c1c;
    box-shadow: 0 4px 14px rgba(220, 38, 38, 0.15);
    transform: translateY(-1px);
}

.sidebar-reset-btn i {
    font-size: 1.05rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sidebar-reset-btn:hover i {
    transform: rotate(-180deg);
}

.product-card-filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: 6px 0 10px 0;
}

.product-filter-tag {
    font-size: 11px;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    line-height: 1.3;
}

/* Final Category Page Refinements */
html body.category-page .site-header,
html body.category-page .site-header .header-inner,
html body.category-page header.site-header {
    background: #1a2b4a !important;
    background-color: #1a2b4a !important;
}

body.category-page .site-header .logo,
body.category-page .site-header .logo-icon,
body.category-page .site-header .nav-phone,
body.category-page .site-header .header-cart,
body.category-page .site-header .main-nav a,
.site-header .logo,
.site-header .logo-icon,
.site-header .nav-phone,
.site-header .header-cart,
.site-header .main-nav a {
    color: #ffffff !important;
}

.site-header .main-nav a:hover {
    color: #ffbd28 !important;
}

/* ===================== PROMO BANNER ===================== */
.promo-banner-section {
    padding: 20px 0;
}

.promo-banner-card {
    background: linear-gradient(135deg, #dcfce7 0%, #ccfbf1 100%);
    /* Minty/Teal gradient */
    border-radius: 24px;
    padding: 36px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.promo-banner-content {
    max-width: 55%;
    position: relative;
    z-index: 2;
}

.promo-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #0d9488;
    text-transform: uppercase;
}

.promo-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #111827;
}

.promo-subtitle {
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: #374151;
    font-weight: 500;
}

.promo-btn {
    padding: 14px 40px;
    font-size: 1.05rem;
    background: #0077b6 !important;
    border-radius: 100px !important;
    color: #fff !important;
    box-shadow: 0 10px 25px rgba(0, 119, 182, 0.4) !important;
    border: none !important;
    text-decoration: none;
    display: inline-block;
}

.promo-btn:hover {
    background: #005f8d !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 119, 182, 0.5) !important;
}

.promo-banner-image {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 48%;
    z-index: 1;
}

.promo-banner-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.15));
    transform: rotate(-8deg) scale(1.1);
}


@media (max-width: 576px) {
    #bestsellersCarousel.products-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
    }

    #bestsellersCarousel.products-grid .product-card {
        background: var(--glass-bg) !important;
        backdrop-filter: var(--glass-blur) !important;
        -webkit-backdrop-filter: var(--glass-blur) !important;
        border: 1px solid var(--glass-border) !important;
        box-shadow: var(--shadow-card) !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 8px !important;
        border-radius: 12px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        transition: transform var(--transition-smooth) !important;
    }

    #bestsellersCarousel.products-grid .product-card:active {
        transform: scale(0.98) !important;
    }

    #bestsellersCarousel.products-grid .product-card * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #bestsellersCarousel.products-grid .product-card .card-image {
        margin-bottom: 6px !important;
        aspect-ratio: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #bestsellersCarousel.products-grid .product-card .card-image img {
        max-height: 100% !important;
        object-fit: contain !important;
        filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.1)) !important;
    }

    #bestsellersCarousel.products-grid .product-card .product-title {
        white-space: normal !important;
        word-break: break-word !important;
        font-size: 0.72rem !important;
        font-weight: 600 !important;
        line-height: 1.25 !important;
        margin-bottom: 4px !important;
        text-align: left !important;
        color: var(--color-text) !important;
        min-height: unset !important;
        height: auto !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
    }

    #bestsellersCarousel.products-grid .product-card .card-meta {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-top: auto !important;
        margin-bottom: 4px !important;
    }

    #bestsellersCarousel.products-grid .product-card .card-meta .card-rating {
        font-size: 0.6rem !important;
        margin-bottom: 2px !important;
        gap: 1px !important;
        display: flex !important;
        justify-content: flex-start !important;
    }

    #bestsellersCarousel.products-grid .product-card .card-meta .card-availability {
        font-size: 0.6rem !important;
        margin-bottom: 4px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 5px !important;
    }

    #bestsellersCarousel.products-grid .product-card .price-block {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 2px !important;
        margin-bottom: 8px !important;
    }

    #bestsellersCarousel.products-grid .product-card .price-new {
        font-size: 0.95rem !important;
        font-weight: 800 !important;
    }

    #bestsellersCarousel.products-grid .product-card .btn-one-click-card {
        width: 100% !important;
        padding: 10px !important;
        font-size: 0.75rem !important;
        border-radius: 10px !important;
        background: var(--color-primary) !important;
        color: #fff !important;
        border: none !important;
        margin-top: 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
    }

    #bestsellersCarousel.products-grid .product-card .btn-one-click-card i {
        font-size: 1rem !important;
    }

    #bestsellersCarousel.products-grid .product-card .product-specs {
        display: none;
    }
}

html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}

/* ===================== MOBILE OVERFLOW FIXES ===================== */
@media (max-width: 992px) {

    /* Force hero section to clip all children */
    .hero-section {
        overflow: hidden !important;
        width: 100% !important;
    }

    .hero-section .container {
        overflow: hidden !important;
    }

    .hero-main-layout {
        overflow: hidden !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .hero-right-column {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Trust bar */
    .trust-bar-inline {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .trust-inner {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    .trust-item {
        min-width: 0 !important;
    }

    /* Bestsellers */
    .bestsellers-sidebar {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .products-grid-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .bestsellers-sidebar .products-grid,
    #bestsellersCarousel.products-grid {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .bestsellers-sidebar .products-grid .product-card,
    #bestsellersCarousel .product-card {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Deal of week mobile */
    .deal-of-week.mobile-only {
        max-width: 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .deal-of-week .deal-card {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .deal-of-week .deal-image-wrap {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .deal-of-week .deal-image-wrap img {
        max-width: 100% !important;
    }

    .deal-of-week .deal-timer {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
}

/* ============================================================
   HEADER SEARCH RESULTS DROPDOWN
   ============================================================ */
.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 8px 16px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    max-height: 480px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: #cbd5e1 transparent;
}

.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.search-results-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Single Result Item */
.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    text-decoration: none;
    color: var(--color-text);
    transition: background 0.15s ease;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8fafc;
}

.search-result-item:active {
    background: #f1f5f9;
}

/* Product Image in Search */
.search-result-img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f1f5f9;
}

.search-result-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}

/* Product Info */
.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-result-name mark {
    background: #fef08a;
    color: #1e293b;
    border-radius: 2px;
    padding: 0 2px;
}

.search-result-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-old-price {
    font-size: 0.78rem;
    color: #94a3b8;
    text-decoration: line-through;
    font-weight: 400;
}

/* No Results */
.search-no-results {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px;
    color: #94a3b8;
    font-size: 0.9rem;
}

.search-no-results i {
    font-size: 1.5rem;
    opacity: 0.5;
}

/* Show All Results */
.search-show-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    border-top: 1px solid #e5e7eb;
    transition: background 0.15s ease;
}

.search-show-all:hover {
    background: var(--color-primary-light);
}

/* Mobile adjustments */
@media (max-width: 769px) {
    .search-results-dropdown {
        max-height: 60vh;
        border-radius: 0 0 8px 8px;
    }

    .search-result-item {
        padding: 10px 12px;
        gap: 10px;
    }

    .search-result-img {
        width: 44px;
        height: 44px;
        border-radius: 8px;
    }

    .search-result-name {
        font-size: 0.82rem;
    }

    .search-result-price {
        font-size: 0.84rem;
    }
}

/* ============================================================
   MOBILE RESPONSIVENESS AND READABILITY IMPROVEMENTS
   ============================================================ */
@media (max-width: 768px) {
    /* Fix top gap below fixed header */
    body {
        padding-top: 70px !important;
    }

    /* Spacing between sections - remove large empty spaces */
    .categories {
        padding: 35px 0 !important;
    }

    /* Category Cards Mobile Improvements */
    .category-card {
        padding: 14px 10px 14px !important;
        min-height: 220px !important;
        gap: 6px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        border-radius: 16px !important;
    }

    .category-spec-pill {
        font-size: 0.65rem !important;
        padding: 2px 7px !important;
        max-width: 95% !important;
    }

    .category-image-wrap {
        height: 100px !important;
        margin: 4px 0 !important;
    }

    .category-card img,
    .category-card .category-img,
    .category-featured img {
        width: auto !important;
        max-width: 90% !important;
        max-height: 90px !important;
        height: 90px !important;
        object-fit: contain !important;
    }

    .category-card-footer {
        gap: 4px !important;
    }

    .category-label {
        font-size: 0.85rem !important;
        letter-spacing: -0.01em !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        text-align: center !important;
        width: 100% !important;
        padding: 0 4px !important;
        line-height: 1.25 !important;
    }

    .category-featured .category-label {
        font-size: 0.85rem !important;
    }

    .category-cta-link {
        font-size: 0.7rem !important;
    }
    
    .featured-products {
        padding: 30px 0 35px 0 !important;
    }
    
    .testimonials {
        padding: 35px 0 !important;
    }
    
    .articles {
        padding: 0 0 35px 0 !important;
    }

    .promo-banner-section {
        padding: 8px 0 !important;
    }

    /* Main Slider (Hero Banner) Readability & Size adjustments */
    .hero-section {
        padding: 10px 0 15px 0 !important;
    }

    /* Main Slider (Hero Banner) Mobile Optimization - High Image Visibility & Clean Typography */
    .hero-section {
        padding: 8px 0 12px 0 !important;
    }

    .hero-slider-box {
        height: 290px !important;
        border-radius: 14px !important;
        overflow: hidden !important;
    }
    
    .slide {
        padding: 0 18px !important;
        align-items: center !important;
        overflow: hidden !important;
    }

    .slide-bg {
        background-position: 35% center !important;
        background-size: cover !important;
        transform: scale(1.08) !important;
        transform-origin: 35% center !important;
    }

    .slide:last-child .slide-bg {
        background-position: 25% center !important;
        transform-origin: 25% center !important;
    }
    
    /* Subtle directional scrim: keeps text 100% readable on left while letting the product on the right be 100% vivid and clear */
    .slide-overlay {
        background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.86) 42%, rgba(255, 255, 255, 0.15) 66%, rgba(255, 255, 255, 0) 80%) !important;
    }
    
    /* Constrain text to left 58% so it never overlaps the camera on the right */
    .slide-content {
        max-width: 58% !important;
        z-index: 5 !important;
    }

    .slide-tag-badge {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
        margin-bottom: 6px !important;
        letter-spacing: 0.5px !important;
        border-radius: 10px !important;
    }

    .slide-content h1, .slide-content h2, .slide-content .slide-heading {
        font-size: 1.25rem !important;
        line-height: 1.2 !important;
        margin-bottom: 8px !important;
        letter-spacing: -0.3px !important;
        font-weight: 800 !important;
        color: #18293b !important;
    }
    
    /* Remove text clutter on mobile slider */
    .slide-content p {
        display: none !important;
    }

    .slide-content div:has(.btn),
    .slide-content div[style*="margin-top"] {
        margin-top: 8px !important;
    }

    .slide-content .btn {
        padding: 8px 16px !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(99, 102, 241, 0.25) !important;
    }
    
    .sale-badge {
        font-size: 1rem !important;
        margin-top: 2px !important;
    }
    
    .sale-badge .percent {
        font-size: 2.4rem !important;
        margin-left: 3px !important;
    }

    /* Swipe-friendly: hide desktop arrows on mobile */
    .slider-arrow {
        display: none !important;
    }

    /* Sleek compact pagination dots instead of bulky wide text buttons */
    .slider-dots {
        left: 18px !important;
        bottom: 12px !important;
        gap: 6px !important;
    }

    .slider-dot {
        width: 8px !important;
        min-width: 8px !important;
        height: 8px !important;
        padding: 0 !important;
        border-radius: 4px !important;
        background: rgba(24, 41, 59, 0.22) !important;
        border: none !important;
        box-shadow: none !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .slider-dot span {
        display: none !important;
    }

    .slider-dot.active {
        width: 22px !important;
        background: var(--color-primary, #6366f1) !important;
        border-radius: 4px !important;
    }

    /* Promo Banner (Mobile Copy) Readability & Stacked Layout */
    .promo-banner-card {
        padding: 16px !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        border-radius: 16px !important;
        gap: 8px !important;
        display: flex !important;
    }
    
    .promo-banner-content {
        display: contents !important;
    }
    
    .promo-label {
        order: 1 !important;
        font-size: 0.75rem !important;
        margin-bottom: 2px !important;
        letter-spacing: 1.5px !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .promo-title {
        order: 2 !important;
        font-size: 1.35rem !important;
        margin-bottom: 2px !important;
        line-height: 1.2 !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .promo-subtitle {
        order: 3 !important;
        font-size: 0.88rem !important;
        margin-bottom: 4px !important;
        width: 100% !important;
        text-align: left !important;
    }
    
    .promo-banner-image {
        order: 4 !important;
        position: relative !important;
        right: 0 !important;
        top: 0 !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 4px 0 !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .promo-banner-image img {
        transform: none !important;
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08)) !important;
        width: 100% !important;
        height: auto !important;
        max-height: 190px !important;
        object-fit: contain !important;
    }

    .promo-btn {
        order: 5 !important;
        padding: 10px 24px !important;
        font-size: 0.9rem !important;
        width: 100% !important;
        text-align: center !important;
        display: block !important;
        margin-top: 4px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    /* Micro-device scaling */
    body {
        padding-top: 60px !important;
    }

    .hero-slider-box {
        height: 270px !important;
    }
    
    .slide-content {
        max-width: 58% !important;
    }

    .slide-content h1, .slide-content h2, .slide-content .slide-heading {
        font-size: 1.15rem !important;
        line-height: 1.18 !important;
    }

    .slide-content .btn {
        padding: 7px 14px !important;
        font-size: 0.78rem !important;
    }
    
    .sale-badge .percent {
        font-size: 2.2rem !important;
    }
    
    .promo-title {
        font-size: 1.3rem !important;
    }
    
    .promo-subtitle {
        font-size: 0.88rem !important;
    }
}

@media (max-width: 360px) {
    .hero-slider-box {
        height: 250px !important;
    }

    .slide-content {
        max-width: 60% !important;
    }

    .slide-content h1, .slide-content h2, .slide-content .slide-heading {
        font-size: 1.05rem !important;
    }

    .slide-content .btn {
        padding: 6px 12px !important;
        font-size: 0.74rem !important;
    }
}

/* ============================================================
   CHECKOUT AGREEMENT STYLES
   ============================================================ */
.checkout-agreement {
    margin-top: 20px;
    padding: 16px;
    background: #f8fafc;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(26, 43, 74, 0.05);
}

.checkout-agreement .checkbox-label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    cursor: pointer;
    font-size: 0.92rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.checkout-agreement input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--color-primary);
}

.checkout-agreement a {
    color: var(--color-primary);
    text-decoration: underline;
    font-weight: 600;
}

.checkout-agreement a:hover {
    color: var(--color-primary-dark);
}

/* =============================================
   COOKIE CONSENT BANNER (PREMIUM GLASSMORPHISM)
   ============================================= */
#cookie-consent-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.02);
    padding: 24px 30px;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    font-family: var(--font-body), sans-serif;
    animation: cookieSlideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    gap: 18px;
    text-align: left;
}

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

.cookie-banner-fade-out {
    animation: cookieFadeOut 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

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

@media (max-width: 768px) {
    #cookie-consent-banner {
        bottom: 76px; /* Avoid mobile bottom nav */
        left: 16px;
        right: 16px;
        flex-direction: column;
        padding: 20px;
        gap: 16px;
        border-radius: 16px;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .cookie-banner-btn {
        width: 100%;
        justify-content: center;
    }
}
/* Fix white gap between header and category header */
body.category-page { padding-top: 72px !important; /* Adjust if needed */ }
@media (min-width: 992px) { body.category-page { padding-top: 68px !important; } }


/* Better fix for white gap */
body.category-page { padding-top: 0 !important; }
body.category-page .site-header { position: sticky !important; top: 0; }
body.category-page main { margin-top: 0 !important; padding-top: 0 !important; }


/* Category header text, title and breadcrumbs in black for desktop & mobile */
.category-header-section,
.category-header-section h1,
.category-header-section .category-page-title {
    color: #111827 !important;
}

.category-header-section .category-page-icon {
    color: var(--color-primary, #6366f1) !important;
}

.category-header-section .cart-breadcrumbs {
    color: #64748b !important;
}

.category-header-section .cart-breadcrumbs a {
    color: #475569 !important;
}

.category-header-section .cart-breadcrumbs a:hover {
    color: #111827 !important;
}

.category-header-section .cart-breadcrumbs span {
    color: #111827 !important;
    font-weight: 600;
}

.category-header-section .cart-breadcrumbs i {
    color: #94a3b8 !important;
}

/* =============================================
   CUSTOMER AUTH MODAL & REVIEW GATING
   ============================================= */
.auth-modal-tabs {
    display: flex;
    gap: 8px;
    background: rgba(0, 0, 0, 0.04);
    padding: 6px;
    border-radius: 12px;
    margin-bottom: 24px;
}
.auth-tab-btn {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-muted, #6b7280);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}
.auth-tab-btn.active {
    background: #ffffff;
    color: var(--color-primary, #6366f1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.auth-form-pane {
    display: none;
}
.auth-form-pane.active {
    display: block;
    animation: fadeInAuth 0.3s ease;
}
@keyframes fadeInAuth {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-form .form-group {
    margin-bottom: 16px;
    text-align: left;
}
.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--color-text, #1f2937);
}
.auth-form input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.auth-form input:focus {
    border-color: var(--color-primary, #6366f1);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
    outline: none;
}
.auth-error-msg {
    display: none;
    padding: 10px 14px;
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    text-align: left;
    line-height: 1.4;
}
.auth-switch-link {
    display: block;
    margin-top: 18px;
    font-size: 14px;
    color: var(--color-primary, #6366f1);
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
}
.auth-switch-link:hover {
    text-decoration: underline;
}

/* =============================================
   DESKTOP USER REGISTRATION / AUTH IN MAIN-NAV
   ============================================= */
.nav-user-group {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    z-index: 10;
    transition: all 0.25s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.nav-user-group:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.35);
}
.nav-user-icon {
    color: #ffbd28;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
}
.nav-auth-link {
    color: #ffffff !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    padding: 2px 4px;
    font-weight: 600;
}
.nav-auth-link:hover {
    color: #ffbd28 !important;
}
.nav-auth-reg {
    color: #ffbd28 !important;
}
.nav-auth-reg:hover {
    color: #ffffff !important;
}
.nav-auth-sep {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
    font-size: 0.85rem;
    user-select: none;
}
.nav-user-group.logged-in {
    background: rgba(99, 102, 241, 0.18);
    border-color: rgba(99, 102, 241, 0.4);
}
.nav-user-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 600;
}
.nav-user-profile-btn i {
    color: #818cf8;
    font-size: 1.2rem;
}
.nav-user-name {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.nav-user-logout-hint {
    color: #f87171 !important;
    font-size: 0.78rem;
    font-weight: 500;
    margin-left: 2px;
    transition: color 0.2s ease;
}
.nav-user-logout-hint:hover {
    color: #ef4444 !important;
    text-decoration: underline !important;
}

/* Mobile: strictly hide desktop auth and right nav from header */
@media (max-width: 768px) {
    .nav-user-group,
    #navUserGroup,
    .main-nav-right,
    .header-user-btn {
        display: none !important;
    }
}

/* Tablet / Desktop: explicitly ensure visibility */
@media (min-width: 769px) {
    .main-nav-right {
        display: flex !important;
    }
    .nav-user-group,
    #navUserGroup {
        display: inline-flex !important;
    }
}

/* Compact layout for tablet / small desktop (769px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .main-nav {
        gap: 0.75rem !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
    }
    .main-nav a {
        padding: 2px 0;
    }
    .main-nav-right {
        gap: 8px !important;
        flex-shrink: 0 !important;
    }
    .nav-phone {
        font-size: 0.88rem !important;
        padding: 2px 4px !important;
        gap: 5px !important;
    }
    .nav-phone i {
        font-size: 1.1rem !important;
    }
    .nav-user-group {
        padding: 3px 8px !important;
        font-size: 0.78rem !important;
        gap: 5px !important;
    }
    .nav-user-icon {
        font-size: 1.05rem !important;
    }

    /* Proportional compact site name / logo */
    .site-header .logo,
    .logo {
        flex: 0 0 auto !important;
        font-size: 1.25rem !important;
        letter-spacing: 1px !important;
        gap: 8px !important;
    }
    .site-header .logo-icon,
    .logo-icon {
        font-size: 1.55rem !important;
    }
    .site-header .logo-icon-img,
    .site-header .logo-icon-svg,
    .logo-icon-img,
    .logo-icon-svg {
        height: 28px !important;
        width: auto !important;
        max-width: 50px !important;
    }
    .site-header .logo-img,
    .logo-img {
        height: 32px !important;
        width: auto !important;
    }
}

/* =============================================
   MOBILE SIDEBAR AUTH (ONLY IN SIDEBAR ON MOBILE)
   ============================================= */
.ms-auth {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(99, 102, 241, 0.03) 100%);
    border-bottom: 1px solid #eef2f6;
}
.ms-auth-icon {
    font-size: 32px;
    color: var(--color-primary, #6366f1);
    flex-shrink: 0;
}
.ms-auth-links {
    flex: 1;
    min-width: 0;
}
.ms-auth-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}
.ms-auth-top a {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-text, #111);
    text-decoration: none;
    transition: all 0.2s ease;
}
.ms-auth-top a:hover {
    color: var(--color-primary, #6366f1);
}
.ms-auth-top a.ms-reg {
    color: var(--color-primary, #6366f1);
    background: rgba(99, 102, 241, 0.1);
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
}
.ms-auth-top a.ms-reg:hover {
    background: var(--color-primary, #6366f1);
    color: #fff;
}
.ms-auth p {
    margin: 0;
    font-size: 0.75rem;
    color: #888;
    line-height: 1.35;
}

/* PDP Review Section Auth Card */
.pdp-review-auth-card {
    margin-top: 28px;
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.04) 0%, rgba(99, 102, 241, 0.09) 100%);
    border: 1.5px dashed rgba(99, 102, 241, 0.35);
    border-radius: 16px;
    text-align: center;
    box-sizing: border-box;
}
.pdp-review-auth-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 16px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--color-primary, #6366f1);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}
.pdp-review-auth-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-text, #111827);
    margin-bottom: 8px;
}
.pdp-review-auth-desc {
    font-size: 14px;
    color: var(--color-text-muted, #6b7280);
    max-width: 480px;
    margin: 0 auto 20px;
    line-height: 1.5;
}
.pdp-review-auth-actions {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}
.pdp-review-auth-actions .btn {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Logged-in Review Form */
.pdp-logged-review-box {
    margin-top: 28px;
    padding: 24px;
    background: var(--color-surface, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.pdp-user-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.pdp-user-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--color-text, #1f2937);
}
.pdp-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-primary, #6366f1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}
.pdp-user-logout-link {
    font-size: 13px;
    color: #ef4444;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}
.pdp-user-logout-link:hover {
    text-decoration: underline;
}

/* ============================================================
   PDP COMMERCIAL BLOCKS & INTERNAL LINKING (SEO & CONVERSION)
   ============================================================ */
.pdp-commercial-wrapper {
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid rgba(26, 43, 74, 0.08);
}

.pdp-section-header {
    margin-bottom: 24px;
}

.pdp-section-title-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pdp-section-icon {
    font-size: 1.6rem;
    color: var(--color-primary, #1a2b4a);
}

.pdp-section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text, #111827);
    margin: 0;
}

.pdp-section-subtitle {
    font-size: 0.92rem;
    color: var(--color-text-secondary, #64748b);
    margin: 6px 0 0 0;
}

/* Cross-Sell / Frequently Bought Together Grid */
.pdp-crosssell-section {
    margin-bottom: 40px;
}

.pdp-crosssell-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.pdp-crosssell-card {
    background: var(--color-bg-white, #ffffff);
    border: 1px solid rgba(26, 43, 74, 0.08);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    text-decoration: none;
    color: inherit;
    position: relative;
}

.pdp-crosssell-card:hover {
    border-color: rgba(99, 102, 241, 0.4);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.pdp-crosssell-img-wrap {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.pdp-crosssell-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.pdp-crosssell-info {
    flex: 1;
    min-width: 0;
}

.pdp-crosssell-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4f46e5;
    background: #eef2ff;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 6px;
}

.pdp-crosssell-name {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--color-text, #1e293b);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

.pdp-crosssell-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.pdp-crosssell-price {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-primary, #1a2b4a);
}

.pdp-crosssell-btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 6px;
    background: var(--color-primary, #1a2b4a);
    color: #fff;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: background 0.2s;
}

.pdp-crosssell-btn:hover {
    background: #2563eb;
}

/* Similar Products Section */
.pdp-related-section {
    margin-bottom: 44px;
}

/* SEO Tags Cloud & Clusters */
.pdp-seo-tags-section {
    background: #f8fafc;
    border: 1px dashed rgba(26, 43, 74, 0.15);
    border-radius: 12px;
    padding: 20px 24px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.pdp-seo-tags-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text, #1e293b);
    margin-bottom: 14px;
}

.pdp-seo-tags-title i {
    color: var(--color-primary, #1a2b4a);
    font-size: 1.1rem;
}

.pdp-seo-tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
}

.pdp-seo-tag-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid rgba(26, 43, 74, 0.1);
    border-radius: 20px;
    font-size: 0.84rem;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pdp-seo-tag-item:hover {
    background: var(--color-primary, #1a2b4a);
    color: #ffffff;
    border-color: var(--color-primary, #1a2b4a);
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(26, 43, 74, 0.15);
}

.pdp-seo-tag-item i {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Phosphor spinning animation */
.ph-spin {
    display: inline-block;
    animation: ph-spin 1s linear infinite;
}
@keyframes ph-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* =============================================
   PRODUCT IMAGE ZOOM LIGHTBOX MODAL
   ============================================= */
.product-img-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
    user-select: none;
    -webkit-user-select: none;
}

.product-img-modal.active {
    opacity: 1;
    visibility: visible;
}

.product-img-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 15, 29, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    cursor: zoom-out;
}

.product-img-modal-dialog {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    width: 920px;
    max-width: 92vw;
    height: 85vh;
    max-height: 85vh;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transform: scale(0.92) translateY(15px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img-modal.active .product-img-modal-dialog {
    transform: scale(1) translateY(0);
}

/* Modal Header */
.product-img-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #ffffff;
    gap: 16px;
    flex-shrink: 0;
}

.product-img-modal-title-wrap {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-img-modal-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s;
    font-family: inherit;
}

.product-img-modal-title:hover {
    color: var(--color-primary, #2563eb);
}

.product-img-modal-sku {
    font-size: 0.8rem;
    color: #64748b;
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 6px;
    white-space: nowrap;
    font-weight: 500;
}

.product-img-modal-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.product-img-modal-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-img-modal-btn:hover {
    background: #f8fafc;
    color: var(--color-primary, #2563eb);
    border-color: var(--color-primary, #2563eb);
    transform: translateY(-1px);
}

.product-img-modal-btn.btn-close:hover {
    background: #fee2e2;
    color: #ef4444;
    border-color: #fca5a5;
}

/* Modal Stage */
.product-img-modal-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-height: 320px;
    height: 100%;
    background: #ffffff;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.product-img-modal-img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

.product-img-modal-stage.is-zoomed,
.product-img-modal-img-wrap.is-zoomed {
    cursor: zoom-out;
}

.product-img-modal-stage.is-dragging,
.product-img-modal-img-wrap.is-dragging {
    cursor: grabbing !important;
}

.product-img-modal-img {
    max-width: calc(100% - 32px);
    max-height: calc(100% - 32px);
    width: auto;
    height: auto;
    object-fit: contain;
    transform-origin: center center;
    pointer-events: auto;
    user-select: none;
    -webkit-user-drag: none;
    will-change: transform;
}

/* Nav arrows */
.product-img-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.product-img-modal-nav.btn-prev { left: 16px; }
.product-img-modal-nav.btn-next { right: 16px; }

.product-img-modal-nav:hover {
    background: var(--color-primary, #2563eb);
    color: #ffffff;
    border-color: var(--color-primary, #2563eb);
    transform: translateY(-50%) scale(1.08);
}

.product-img-modal-counter {
    position: absolute;
    top: 14px;
    left: 20px;
    background: rgba(15, 23, 42, 0.7);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    z-index: 10;
    pointer-events: none;
}

/* Modal Footer */
.product-img-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    gap: 16px;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.product-img-modal-thumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 2px;
    max-width: 50%;
    scrollbar-width: thin;
}

.product-img-modal-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid transparent;
    padding: 2px;
    background: #ffffff;
    cursor: pointer;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.product-img-modal-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-img-modal-thumb:hover {
    border-color: #93c5fd;
    transform: translateY(-2px);
}

.product-img-modal-thumb.active {
    border-color: var(--color-primary, #2563eb);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.product-img-modal-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.product-img-modal-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-primary, #2563eb);
}

.product-img-modal-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-img-modal-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-img-modal-buy.added {
    background: #10b981 !important;
    border-color: #10b981 !important;
    color: #ffffff !important;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .product-img-modal-dialog {
        width: 96vw;
        max-width: 96vw;
        max-height: 94vh;
        border-radius: 16px;
    }
    .product-img-modal-header {
        padding: 12px 16px;
    }
    .product-img-modal-title {
        font-size: 0.95rem;
    }
    .product-img-modal-stage {
        min-height: 280px;
    }
    .product-img-modal-footer {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .product-img-modal-thumbs {
        max-width: 100%;
        justify-content: center;
    }
    .product-img-modal-actions {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }
    .product-img-modal-nav {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
    .product-img-modal-nav.btn-prev { left: 8px; }
    .product-img-modal-nav.btn-next { right: 8px; }
}

/* ============================================================
   CART PAGE — SENIOR REDESIGN (20261023)
   ============================================================ */
.cart-page {
    background: linear-gradient(180deg, #f1f5f9 0%, #f8fafc 320px);
    padding: 20px 0 72px;
}

.cart-page .cart-breadcrumbs {
    margin-bottom: 14px;
    font-weight: 500;
}

.cart-page .cart-breadcrumbs a {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
}

.cart-page .cart-breadcrumbs a:hover {
    color: #2563eb;
    border-color: #bfdbfe;
    background: #eff6ff;
}

.cart-page .cart-heading {
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    letter-spacing: -0.03em;
    color: #0f172a;
    margin-bottom: 28px;
}

/* Empty state */
.cart-page .cart-empty {
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 24px;
    padding: 72px 24px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.04);
}

.cart-page .cart-empty > i {
    width: 112px;
    height: 112px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb !important;
    font-size: 3.2rem !important;
}

.cart-page .cart-empty p {
    font-size: 1.15rem;
    font-weight: 600;
    color: #334155;
}

/* Layout */
.cart-page .cart-layout {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 32px;
}

/* Items card */
.cart-page .cart-items-section {
    min-width: 0;
}

.cart-page .cart-table-header {
    background: transparent;
    padding: 0 20px 12px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0;
}

.cart-page .cart-table-header span:not(.cart-col-product) {
    text-align: center;
}

.cart-page .cart-items-list {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.04);
    overflow: hidden;
}

.cart-page .cart-item {
    margin: 0;
    padding: 20px;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #f1f5f9;
    background: #fff;
    transition: background 0.2s ease;
}

.cart-page .cart-item:last-child {
    border-bottom: none;
}

.cart-page .cart-item:hover {
    background: #fafcff;
    box-shadow: none;
}

.cart-page .cart-item-img {
    width: 84px;
    height: 84px;
    padding: 8px;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-page .cart-item:hover .cart-item-img {
    transform: scale(1.04);
}

.cart-page .cart-item-name {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: #0f172a;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cart-page .cart-col-price,
.cart-page .cart-col-qty,
.cart-page .cart-col-total {
    display: flex;
    justify-content: center;
}

.cart-page .cart-item-price {
    font-weight: 500;
    color: #64748b;
    font-size: 0.92rem;
    white-space: nowrap;
}

.cart-page .cart-item-total {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    white-space: nowrap;
}

/* Quantity stepper */
.cart-page .qty-controls {
    background: #f1f5f9;
    border: none;
    border-radius: 12px;
    padding: 3px;
    gap: 2px;
}

.cart-page .qty-btn {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: #fff;
    color: #334155;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.cart-page .qty-btn:hover {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.cart-page .qty-btn:active {
    transform: scale(0.92);
}

.cart-page .qty-value {
    width: 36px;
    background: transparent;
    font-family: var(--font-body);
    font-weight: 800;
    color: #0f172a;
}

.cart-page .cart-remove-btn {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    color: #94a3b8;
}

.cart-page .cart-remove-btn:hover {
    background: #fee2e2;
    color: #ef4444;
    transform: scale(1.06);
}

/* Checkout form → cards */
.cart-page .checkout-section {
    margin-top: 28px;
    padding: 0;
    border-top: none;
}

.cart-page .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-page .checkout-block,
.cart-page .payment-block {
    margin: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 26px 28px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04), 0 12px 32px rgba(15, 23, 42, 0.04);
}

.cart-page .checkout-block-title {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-page .checkout-block-title > i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    color: #2563eb;
    font-size: 1.2rem;
}

.cart-page .checkout-grid {
    gap: 18px;
}

.cart-page .form-group > label {
    display: block;
    text-align: left;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #475569;
    margin-bottom: 8px;
}

.cart-page .form-group input[type="text"],
.cart-page .form-group input[type="tel"],
.cart-page .form-group input[type="email"] {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: #0f172a;
    transition: all 0.2s ease;
}

.cart-page .form-group input:hover {
    border-color: #cbd5e1;
}

.cart-page .form-group input:focus {
    outline: none;
    background: #fff;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.cart-page .form-group input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

/* Method cards */
.cart-page .method-content {
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1.5px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: none;
    background: #fff;
}

.cart-page .method-content svg {
    height: 36px;
    width: 36px;
    margin: 0 !important;
    flex-shrink: 0;
}

.cart-page .method-content > i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f1f5f9;
    font-size: 1.3rem;
    color: #475569;
}

.cart-page .method-content span {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.cart-page .method-card:hover .method-content {
    transform: none;
    border-color: #bfdbfe;
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.cart-page .method-card input:checked + .method-content {
    border-color: #2563eb;
    background: linear-gradient(135deg, #f5f9ff, #eff6ff);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.cart-page .method-card input:checked + .method-content > i {
    background: #2563eb;
    color: #fff;
}

.cart-page .method-card input:checked + .method-content span {
    color: #1d4ed8;
}

.cart-page .cod-fee-alert {
    margin-top: 14px !important;
    border-radius: 12px !important;
    background: #fffbeb !important;
    border: 1px solid #fde68a !important;
    color: #92400e !important;
}

.cart-page .cod-fee-alert i {
    color: #d97706 !important;
}

.cart-page .checkout-agreement {
    padding: 0;
}

/* Summary */
.cart-page .cart-summary {
    margin-top: 0;
    top: 96px;
    padding: 28px;
    border-radius: 22px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05), 0 24px 56px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.cart-page .cart-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #38bdf8, #6366f1);
}

.cart-summary-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-summary-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border: 1px solid #bfdbfe;
    color: #2563eb;
    font-size: 1.25rem;
}

.cart-page .cart-summary h3 {
    margin: 0;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #0f172a;
}

.cart-page .summary-row {
    padding: 9px 0;
    gap: 16px;
    font-size: 0.92rem;
    color: #64748b;
}

.cart-page .summary-row span:last-child {
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

.cart-page .summary-divider {
    background: repeating-linear-gradient(90deg, #e2e8f0 0 6px, transparent 6px 12px);
    height: 1px;
    margin: 14px 0;
}

.cart-page .summary-total {
    align-items: baseline;
    color: #0f172a;
}

.cart-page .summary-total span:last-child {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #1d4ed8;
}

.cart-page .cart-checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 54px;
    padding: 0 20px;
    margin-top: 22px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(37, 99, 235, 0.35);
}

.cart-page .cart-checkout-btn i {
    font-size: 1.25rem;
}

.cart-page .cart-checkout-btn:hover {
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.45);
}

.cart-page .cart-checkout-btn:active {
    transform: translateY(0);
}

.cart-page .cart-continue-link {
    margin-top: 14px;
    font-weight: 600;
    color: #64748b;
}

.cart-page .cart-continue-link:hover {
    color: #2563eb;
}

.cart-trust {
    list-style: none;
    margin: 22px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cart-trust li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    font-weight: 500;
    color: #475569;
}

.cart-trust li i {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #ecfdf5;
    color: #059669;
    font-size: 1rem;
}

@media (max-width: 960px) {
    .cart-page .cart-layout {
        grid-template-columns: 1fr;
    }
    .cart-page .cart-summary {
        position: relative;
        top: auto;
    }
}

@media (max-width: 769px) {
    .cart-page .cart-table-header {
        display: none;
    }
    .cart-page .cart-item {
        padding: 16px;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        gap: 14px 12px;
    }
    .cart-page .cart-col-product {
        grid-column: 1 / 2;
        grid-row: 1;
    }
    .cart-page .cart-col-remove {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
    }
    .cart-page .cart-col-price {
        display: none;
    }
    .cart-page .cart-col-qty {
        grid-column: 1;
        grid-row: 2;
        justify-content: flex-start;
    }
    .cart-page .cart-col-total {
        grid-column: 2;
        grid-row: 2;
        justify-content: flex-end;
    }
    .cart-page .cart-item-img {
        width: 72px;
        height: 72px;
    }
    .cart-page .checkout-block,
    .cart-page .payment-block {
        padding: 20px 16px;
        border-radius: 16px;
    }
    .cart-page .cart-summary {
        margin-top: 0;
        padding: 22px 18px;
    }
}





/* ==========================================================================
   CATEGORY SEO & FAQ ACCORDION STYLES
   ========================================================================== */
.category-seo-section {
    padding: 50px 0 65px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    margin-top: 50px;
}

.category-seo-wrap {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 16px;
}

.category-seo-article {
    background: #ffffff;
    border-radius: 16px;
    padding: 38px 34px;
    border: 1px solid #e2e8f0;
    margin-bottom: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.category-seo-article h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    line-height: 1.35;
}

.category-seo-article h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 26px 0 14px;
    line-height: 1.4;
}

.category-seo-article p {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 16px;
}

.category-seo-article p:last-child {
    margin-bottom: 0;
}

.category-seo-article ul,
.category-seo-article ol {
    margin: 14px 0 20px 22px;
    color: #475569;
    line-height: 1.75;
}

.category-seo-article li {
    margin-bottom: 8px;
}

.category-seo-links-box {
    margin-top: 26px;
    padding: 18px 22px;
    background: #f1f5f9;
    border-left: 4px solid #3b82f6;
    border-radius: 8px;
    font-size: 0.96rem;
    line-height: 1.65;
    color: #334155;
}

.category-seo-links-box a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.category-seo-links-box a:hover {
    color: #1d4ed8;
}

/* FAQ Accordion Block */
.category-faq-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 38px 34px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.category-faq-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 24px;
    line-height: 1.35;
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-faq-card h2 i {
    color: #3b82f6;
    font-size: 1.85rem;
}

.faq-accordion-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    background: #ffffff;
}

.faq-item:hover {
    border-color: #93c5fd;
}

.faq-item[open] {
    border-color: #3b82f6;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.08);
}

.faq-summary {
    padding: 18px 20px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    background: #f8fafc;
    color: #2563eb;
}

.faq-item[open] .faq-summary {
    background: #eff6ff;
    color: #1d4ed8;
}

.faq-summary-title {
    display: inline-block;
    flex: 1;
}

.faq-summary-icon {
    font-size: 1.15rem;
    color: #94a3b8;
    transition: transform 0.25s ease, color 0.25s ease;
    flex-shrink: 0;
}

.faq-item[open] .faq-summary-icon {
    transform: rotate(180deg);
    color: #2563eb;
}

.faq-content {
    padding: 16px 20px 22px;
    font-size: 0.98rem;
    line-height: 1.75;
    color: #475569;
    border-top: 1px solid #f1f5f9;
    background: #ffffff;
}

@media (max-width: 768px) {
    .category-seo-section {
        padding: 34px 0 48px;
        margin-top: 32px;
    }
    .category-seo-article,
    .category-faq-card {
        padding: 24px 18px;
        border-radius: 12px;
    }
    .category-seo-article h2,
    .category-faq-card h2 {
        font-size: 1.35rem;
    }
    .category-seo-article h3 {
        font-size: 1.15rem;
    }
    .faq-summary {
        padding: 15px 16px;
        font-size: 0.98rem;
    }
    .faq-content {
        padding: 14px 16px 18px;
        font-size: 0.93rem;
    }
}


/* ==========================================================================
   PDP RELATED PRODUCTS & ARTICLE SHOWCASE STYLES
   ========================================================================== */
.related-products-section {
    padding: 56px 0 64px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    margin-top: 48px;
}
.related-products-section .section-header {
    text-align: center;
    margin-bottom: 32px;
}
.related-products-section .section-title {
    font-size: 1.85rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}
.related-products-section .section-subtitle {
    font-size: 1.02rem;
    color: #64748b;
}
.related-products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}
@media (max-width: 992px) {
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }
}
@media (max-width: 576px) {
    .related-products-section {
        padding: 36px 0 44px;
        margin-top: 32px;
    }
    .related-products-section .section-title {
        font-size: 1.4rem;
    }
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
}

/* Article Featured Products Showcase */
.article-featured-products {
    margin: 36px 0 28px;
    padding: 28px 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}
.article-featured-products h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.article-featured-products h3 i {
    color: #3b82f6;
    font-size: 1.45rem;
}
.article-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
@media (max-width: 860px) {
    .article-products-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 14px;
    }
}

/* Sidebar Helpful Guide Card */
.pdp-service-item.pdp-item-guide {
    border-left: 3px solid #3b82f6;
    background: #f8fafc;
}
.pdp-service-item.pdp-item-guide:hover {
    background: #eff6ff;
}
.pdp-service-item.pdp-item-guide .pdp-service-icon-box {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}


/* Single Article Semantic Layout */
.single-article {
    width: 100%;
}
.article-header {
    margin-bottom: 24px;
}
.article-meta-top {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: #64748b;
}
.article-meta-top span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 20px;
    font-weight: 500;
}
.article-meta-top span i {
    color: #3b82f6;
}
.article-main-title {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    margin-bottom: 20px;
}
.article-hero-wrap {
    margin: 24px 0 32px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    background: #f8fafc;
}
.article-hero-wrap img {
    width: 100%;
    height: auto;
    max-height: 480px;
    object-fit: cover;
    display: block;
}
.article-lead-box {
    background: rgba(59, 130, 246, 0.06);
    border-left: 4px solid #3b82f6;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 32px;
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.7;
    color: #1e293b;
}
.article-content-body {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #334155;
}
.article-content-body h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0f172a;
    margin: 36px 0 16px;
    line-height: 1.35;
}
.article-content-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin: 28px 0 12px;
}
.article-content-body p {
    margin-bottom: 18px;
}
.article-content-body ul, .article-content-body ol {
    margin: 16px 0 24px 24px;
}
.article-content-body li {
    margin-bottom: 10px;
    line-height: 1.7;
}
.article-content-body a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}
.article-content-body a:hover {
    color: #1d4ed8;
    text-decoration: none;
}
.article-bottom-box {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e2e8f0;
}
.article-related-cat-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px 28px;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    border: 1px solid #bfdbfe;
    border-radius: 14px;
}
.article-related-cat-card .related-cat-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 6px;
}
.article-related-cat-card .related-cat-text p {
    font-size: 0.98rem;
    color: #475569;
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .article-main-title {
        font-size: 1.65rem;
    }
    .article-lead-box {
        padding: 16px 18px;
        font-size: 1.02rem;
    }
    .article-content-body h2 {
        font-size: 1.35rem;
    }
    .article-related-cat-card {
        flex-direction: column;
        align-items: flex-start;
    }
}


/* SEO Tag Landing Pages & Filter Pills */
.seo-tag-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 14px 0 20px;
    padding: 12px 18px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}
.tag-bar-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tag-bar-title i {
    color: #3b82f6;
    font-size: 1.15rem;
}
.tag-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #334155;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.tag-pill i {
    color: #3b82f6;
    font-size: 1rem;
}
.tag-pill:hover {
    background: #eff6ff;
    border-color: #93c5fd;
    color: #1d4ed8;
    transform: translateY(-1px);
}
.tag-pill.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}
.tag-pill.active i {
    color: #ffffff;
}
@media (max-width: 768px) {
    .seo-tag-bar {
        padding: 10px 12px;
        margin: 10px 0 16px;
        gap: 8px;
    }
    .tag-bar-title {
        width: 100%;
        margin-bottom: 2px;
        font-size: 0.88rem;
    }
    .tag-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
        width: 100%;
    }
    .tag-pill {
        font-size: 0.8rem;
        padding: 5px 11px;
        flex-shrink: 0;
    }
}


/* Unified Grid Card Sizing for Related Products & Article Showcases */
.related-products-grid .product-card,
.article-products-grid .product-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 1 1 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, 0.95) !important;
    border-radius: 20px !important;
    padding: 16px 14px !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease !important;
    box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02) !important;
}

.related-products-grid .product-card:hover,
.article-products-grid .product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 22px 38px -10px rgba(15, 23, 42, 0.09), 0 10px 20px -6px rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.35) !important;
}

.related-products-grid .product-card .card-image,
.article-products-grid .product-card .card-image {
    width: 100% !important;
    height: 195px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    border-radius: 14px !important;
    background: radial-gradient(circle at 50% 50%, #f8fafc 0%, #f1f5f9 100%) !important;
    overflow: hidden !important;
}

.related-products-grid .product-card .product-title,
.article-products-grid .product-card .product-title,
.category-page-grid .product-title,
.products-carousel .product-title {
    font-family: var(--font-heading, 'Manrope', sans-serif) !important;
    font-size: 0.94rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    line-height: 1.4 !important;
    margin: 4px 0 10px !important;
    min-height: 2.8em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
}

.related-products-grid .product-card .card-footer,
.article-products-grid .product-card .card-footer {
    display: flex !important;
    align-items: baseline !important;
    justify-content: space-between !important;
    margin-top: auto !important;
    margin-bottom: 12px !important;
    padding-top: 10px !important;
    border-top: 1px dashed rgba(226, 232, 240, 0.85) !important;
}

.related-products-grid .product-card .price-new,
.article-products-grid .product-card .price-new {
    font-family: var(--font-heading, 'Manrope', sans-serif) !important;
    font-size: 1.32rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    color: #0f172a !important;
    line-height: 1 !important;
}

.related-products-grid .product-card .btn-add-cart,
.article-products-grid .product-card .btn-add-cart {
    width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-size: 0.86rem !important;
    font-family: var(--font-heading, 'Manrope', sans-serif) !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.related-products-grid .product-card .btn-add-cart:hover,
.article-products-grid .product-card .btn-add-cart:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%) !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px -3px rgba(37, 99, 235, 0.45) !important;
}

.article-featured-products .article-featured-subtitle {
    font-size: 0.98rem;
    color: #64748b;
    margin-top: -12px;
    margin-bottom: 22px;
}

@media (max-width: 576px) {
    .related-products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }
    .article-products-grid {
        grid-template-columns: repeat(1, 1fr) !important;
        gap: 12px !important;
    }
    .related-products-grid .product-card {
        padding: 10px 8px !important;
        border-radius: 16px !important;
        min-height: auto !important;
    }
    .related-products-grid .product-card .card-image {
        height: 140px !important;
        margin-bottom: 8px !important;
        border-radius: 10px !important;
    }
    .related-products-grid .product-card .product-title {
        font-size: 0.8rem !important;
        min-height: 2.6em !important;
        margin: 2px 0 6px !important;
        line-height: 1.3 !important;
    }
    .related-products-grid .product-card .price-new {
        font-size: 1.15rem !important;
    }
    .related-products-grid .product-card .btn-add-cart {
        padding: 9px 10px !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
    }
}


/* GMC Compliance: Hide 1-click lead-gen button so all checkouts use full Cart & Checkout flow */
#pdpBuyNow,
.pdp-buy-now,
.btn-buy-now-quick {
    display: none !important;
}

.pdp-buttons .pdp-add-cart {
    flex: 1 1 100% !important;
    width: 100% !important;
}
