/* Online Shop - Frontend Styles */
:root {
    --primary: #2563eb;
    --secondary: #2C2C2C;
    --accent: #3b82f6;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;

    /* Surface / card tokens — used for dark cards, offer cards, countdown, newsletter */
    --surface-dark:   #1e293b;
    --surface-darker: #0f172a;
    --surface-border: #334155;
    --surface-text:   #ffffff;
    --surface-text-muted: rgba(255,255,255,0.72);

    /* Light card / page surface tokens */
    --card-bg:        #ffffff;
    --card-border:    #e2e8f0;
    --page-surface:   #f8fafc;
    --page-surface-alt: #f5f0eb;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--secondary);
    line-height: 1.6;
    /* Do NOT use overflow-x:hidden on body — it silently hides content on mobile.
       Each section controls its own overflow. */
    overflow-x: clip;
}

h1, h2, h3, h4, h5, h6, .section-title, .brand-text {
    font-family: var(--font-heading);
}

a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary); }

/* Header */
.top-bar { background: var(--secondary); color: #fff; padding: 8px 0; font-size: 0.85rem; overflow: hidden; }
.top-bar a { color: #fff; margin-left: 12px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.top-bar-phone i,
.top-bar-hours { white-space: nowrap; }
@media (max-width: 767px) {
    .top-bar { padding: 6px 0; font-size: 0.72rem; }
    .top-bar-inner { justify-content: center; gap: 4px 10px; text-align: center; }
    .top-bar-social { display: none; }
    .top-bar-hours { display: inline-block; }
}
.site-header { background: #fff; box-shadow: 0 2px 20px rgba(0,0,0,.06); position: sticky; top: 0; z-index: 1000; }
.navbar-brand img { background: transparent; object-fit: contain; max-height: 36px !important; width: auto !important; }

.navbar-brand .brand-text { font-size: 1.6rem; font-weight: 600; color: var(--primary); letter-spacing: 1px; }
.nav-link { font-weight: 500; padding: 0.5rem 1rem !important; }
.navbar { display: flex; align-items: center; flex-wrap: wrap; }
.navbar .container { display: flex; align-items: center; width: 100%; }
.header-actions .action-icon,
.header-quick-actions .action-icon { position: relative; font-size: 1.3rem; color: var(--secondary); background: transparent; border: none; padding: 0; box-shadow: none; line-height: 1; appearance: none; -webkit-appearance: none; outline: none; border-radius: 0; width: auto; height: auto; cursor: pointer; }
.header-actions .badge,
.header-quick-actions .badge { position: absolute; top: -8px; right: -10px; background: var(--primary); color: #fff; font-size: 0.65rem; border-radius: 50%; width: 18px; height: 18px; display: flex; align-items: center; justify-content: center; }
.header-quick-actions { order: 2; }
.navbar-toggler {
    order: 3;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 10px;
    padding: 0.35rem 0.55rem;
    background: transparent;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.navbar-toggler:focus,
.navbar-toggler:active {
    box-shadow: none;
    border-color: var(--primary);
}
.navbar-collapse { order: 4; }
@media (min-width: 992px) {
    .header-quick-actions { order: 4; margin-left: 1rem !important; }
    .navbar-collapse { order: 2; }
}

/* Mobile Header & Modern Drawer */
@media (max-width: 991px) {
    .navbar { padding: 0.5rem 0; }
    .navbar-collapse { display: none !important; }
    .header-quick-actions { margin-left: auto; z-index: 10; }
    .navbar-toggler { order: 4; }
    .navbar-brand { flex: 1; }

    .header-quick-actions { display: flex !important; align-items: center; gap: 0.75rem !important; }
    .header-quick-actions .action-icon { display: inline-flex !important; align-items: center; justify-content: center; padding: 0.25rem; min-width: 0; min-height: 0; }
    #mobileSearchBtn {
        display: inline-flex !important;
        appearance: none;
        -webkit-appearance: none;
        background: transparent !important;
        border: none !important;
        outline: none;
        border-radius: 0 !important;
        box-shadow: none !important;
        -webkit-tap-highlight-color: transparent;
    }
    #mobileSearchBtn:focus,
    #mobileSearchBtn:active {
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        outline: none;
    }
}

/* Modern Mobile Navigation Drawer */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 1055;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86vw);
    background: var(--card-bg);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    box-shadow: -8px 0 36px rgba(0, 0, 0, 0.14);
    transform: translateX(100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    visibility: hidden;
}
.mobile-drawer.active {
    transform: translateX(0);
    visibility: visible;
}

body.mobile-drawer-open {
    overflow: hidden;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: var(--card-bg);
}

.mobile-drawer-brand {
    display: flex;
    align-items: center;
    max-width: 72%;
}
.mobile-drawer-brand img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
}

.mobile-drawer-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--page-surface);
    border: none;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mobile-drawer-close:hover,
.mobile-drawer-close:active {
    background: var(--card-border);
    color: var(--secondary);
    transform: rotate(90deg);
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

/* Mobile Drawer Search */
.mobile-drawer-search {
    position: relative;
}
.mobile-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.mobile-search-wrapper .search-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}
.mobile-drawer-search input {
    width: 100%;
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    background: var(--page-surface);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    font-size: 0.9rem;
    color: var(--secondary);
    outline: none;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.mobile-drawer-search input:focus {
    background: var(--card-bg);
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
}

/* Nav Groups */
.mobile-nav-group {
    display: flex;
    flex-direction: column;
}
.mobile-nav-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin-bottom: 0.45rem;
    padding-left: 0.35rem;
}
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 0.65rem 0.75rem;
    border-radius: 12px;
    color: var(--secondary);
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
}
.mobile-nav-link:hover,
.mobile-nav-link:active {
    background: var(--page-surface);
    color: var(--primary);
    transform: translateX(2px);
}
.mobile-nav-link .nav-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    background: var(--page-surface);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #64748b;
    margin-right: 0.85rem;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}
.mobile-nav-link:hover .nav-icon {
    background: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.12);
    color: var(--primary);
}
.mobile-nav-link .nav-text {
    flex: 1;
}
.mobile-nav-dropdown .toggle-arrow {
    font-size: 0.85rem;
    color: #94a3b8;
    transition: transform 0.25s ease;
    margin-left: auto;
}
.mobile-nav-dropdown.open .toggle-arrow {
    transform: rotate(180deg);
}

/* Subnav accordion */
.mobile-subnav {
    display: none;
    flex-direction: column;
    padding: 0.35rem 0 0.35rem 1.25rem;
    margin-top: 0.2rem;
    border-left: 2px solid var(--card-border);
    margin-left: 1.25rem;
    gap: 0.15rem;
}
.mobile-subnav.show {
    display: flex;
}
.mobile-subnav-link {
    padding: 0.45rem 0.6rem;
    font-size: 0.88rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.15s, background 0.15s;
}
.mobile-subnav-link:hover,
.mobile-subnav-link:active {
    color: var(--primary);
    background: var(--page-surface);
}

/* Quick Access Cards */
.mobile-quick-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}
.mobile-quick-card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
    background: var(--page-surface);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.2s ease;
}
.mobile-quick-card:hover,
.mobile-quick-card:active {
    border-color: var(--primary);
    background: var(--card-bg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    color: var(--secondary);
}
.mobile-quick-card .quick-icon {
    font-size: 1.2rem;
    color: var(--primary);
    display: flex;
}
.mobile-quick-card .quick-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.mobile-quick-card .quick-title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
}
.mobile-quick-card .quick-desc {
    font-size: 0.72rem;
    color: #64748b;
}

/* Setting / Dark Mode Item */
.mobile-setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
    background: var(--page-surface);
    border: 1px solid var(--card-border);
    border-radius: 12px;
}
.mobile-setting-item .setting-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
}
.mobile-setting-item .form-check-input {
    cursor: pointer;
    width: 2.3em;
    height: 1.25em;
}

/* Mobile Drawer Contact / Footer */
.mobile-drawer-contact {
    margin-top: auto;
}

/* Dark mode theme overrides for Mobile Drawer */
body.dark-mode .navbar-toggler {
    border-color: #334155;
}
body.dark-mode .navbar-toggler-icon {
    filter: invert(1);
}
body.dark-mode .mobile-drawer {
    background: #0f172a;
    border-left: 1px solid #1e293b;
    color: #f8fafc;
    box-shadow: -8px 0 36px rgba(0, 0, 0, 0.5);
}
body.dark-mode .mobile-drawer-header {
    background: #0f172a;
    border-bottom-color: #1e293b;
}
body.dark-mode .mobile-drawer-close {
    background: #1e293b;
    color: #cbd5e1;
}
body.dark-mode .mobile-drawer-close:hover {
    background: #334155;
    color: #ffffff;
}
body.dark-mode .mobile-drawer-search input {
    background: #1e293b;
    border-color: #334155;
    color: #ffffff;
}
body.dark-mode .mobile-drawer-search input:focus {
    background: #0f172a;
    border-color: var(--primary);
}
body.dark-mode .mobile-nav-link {
    color: #e2e8f0;
}
body.dark-mode .mobile-nav-link:hover {
    background: #1e293b;
    color: var(--primary);
}
body.dark-mode .mobile-nav-link .nav-icon {
    background: #1e293b;
    color: #94a3b8;
}
body.dark-mode .mobile-subnav {
    border-left-color: #334155;
}
body.dark-mode .mobile-subnav-link {
    color: #94a3b8;
}
body.dark-mode .mobile-subnav-link:hover {
    color: var(--primary);
    background: #1e293b;
}
body.dark-mode .mobile-quick-card {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}
body.dark-mode .mobile-quick-card:hover {
    background: #1e293b;
    border-color: var(--primary);
}
body.dark-mode .mobile-quick-card .quick-desc {
    color: #94a3b8;
}
body.dark-mode .mobile-setting-item {
    background: #1e293b;
    border-color: #334155;
}
body.dark-mode .mobile-setting-item .setting-title {
    color: #f8fafc;
}
body.dark-mode .mobile-drawer-contact {
    border-top-color: #1e293b !important;
}

@media (min-width: 992px) {
    .mobile-drawer-overlay,
    .mobile-drawer {
        display: none !important;
    }
}

/* Search */
.search-box { position: relative; }
.search-box input { border: 1px solid var(--card-border); border-radius: 25px; padding: 6px 16px; width: 200px; font-size: 0.9rem; }
.search-results { position: absolute; top: 100%; left: 0; right: 0; background: var(--card-bg); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.12); z-index: 100; display: none; max-height: 400px; overflow-y: auto; }
.search-results.active { display: block; }
.search-result-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--page-surface); }
.search-result-item:hover { background: var(--page-surface); }
.search-result-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }

/* Mobile Search Modal */
.mobile-search-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 1050; }
.mobile-search-overlay.active { display: block; }
.mobile-search-modal { position: fixed; top: 0; left: 0; right: 0; background: var(--card-bg); z-index: 1051; padding: 16px; display: none; }
.mobile-search-modal.active { display: block; }
.mobile-search-modal .search-box input { width: 100%; }
@media (min-width: 992px) {
    .mobile-search-modal { display: none !important; }
    .mobile-search-overlay { display: none !important; }
    #mobileSearchBtn { display: none !important; }
}

/* Hero */
.hero-section { margin-top: -1px; overflow: hidden; }
.hero-slide { min-height: 70vh; background-size: cover; background-position: center; background-color: var(--secondary); position: relative; display: flex; align-items: center; width: 100%; }
.hero-overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.45); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: calc(100% - 9rem); margin: 0 4.5rem; padding: 2rem 0; }
.hero-title { font-size: clamp(1.5rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1rem; }
.hero-subtitle { font-size: clamp(0.9rem, 2vw, 1.15rem); opacity: 0.9; margin-bottom: 2rem; }
.hero-section .carousel-control-prev,
.hero-section .carousel-control-next {
    position: absolute;
    width: 3rem;
    height: 3rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(0,0,0,.18);
    box-shadow: none;
    border: none;
    opacity: 0.85;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.hero-section .carousel-control-prev { left: 1rem; }
.hero-section .carousel-control-next { right: 1rem; }
.hero-section .carousel-control-prev:hover,
.hero-section .carousel-control-next:hover {
    opacity: 1;
}
.hero-section .carousel-control-prev-icon,
.hero-section .carousel-control-next-icon {
    background-size: 1.1rem 1.1rem;
    filter: invert(1);
}

@media (max-width: 991px) {
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        width: 2.4rem;
        height: 2.4rem;
        top: 70%;
        left: 0.75rem;
        right: 0.75rem;
    }
    .hero-content {
        max-width: calc(100% - 4rem);
        margin: 0 2rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 767px) {
    .hero-section .carousel-control-prev,
    .hero-section .carousel-control-next {
        display: none;
    }
}

.animate-up { animation: fadeUp 0.8s ease forwards; opacity: 0; }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Sections */
.section { padding: 80px 0; overflow-x: hidden; }
.section-title { font-size: clamp(1.35rem, 4vw, 2rem); margin-bottom: 0.5rem; }
.section-subtitle { color: #888; margin-bottom: 2rem; }
/* Section headers that use justify-content-between must wrap on mobile */
.section-header { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; margin-bottom: 1.5rem; }
.section-header > div { flex: 1 1 200px; min-width: 0; }
.section-header > a, .section-header > .btn { flex-shrink: 0; white-space: nowrap; }

/* Buttons */
.btn-primary { background: var(--primary); border-color: var(--primary); border-radius: 4px; font-weight: 500; letter-spacing: 0.5px; }
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }

/* Modern Product Cards */
.product-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    position: relative;
    box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.04);
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px -4px rgba(0, 0, 0, 0.1);
    border-color: rgba(var(--bs-primary-rgb, 13, 110, 253), 0.35);
}

.product-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--page-surface);
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}
.product-thumb {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-thumb {
    transform: scale(1.06);
}

/* Badges */
.product-badge-group {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 3;
    pointer-events: none;
}
.product-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    display: inline-block;
}
.badge-sale {
    background: #dc2626;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(220, 38, 38, 0.25);
}
.badge-new {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Wishlist Button */
.product-wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.95rem;
    cursor: pointer;
    z-index: 4;
    transition: all 0.15s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}
.product-wishlist-btn:hover {
    color: #dc2626;
    background: var(--card-bg);
    transform: scale(1.08);
}
.product-wishlist-btn.active,
.product-wishlist-btn .bi-heart-fill {
    color: #dc2626;
}

/* Quick Add Overlay */
.product-quick-action {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    z-index: 4;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn-quick-add {
    width: 100%;
    background: var(--surface-darker);
    color: var(--surface-text);
    border: none;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 7px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    cursor: pointer;
}
.btn-quick-add:hover {
    background: var(--primary);
    color: var(--surface-text);
}
@media (min-width: 992px) {
    .product-card:hover .product-quick-action {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Product Info Area */
.product-info {
    padding: 12px 14px 14px;
}
.product-brand-tag {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
    font-weight: 700;
    margin-bottom: 2px;
}
.product-name {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
    margin: 2px 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.45em;
    font-family: var(--font-body) !important;
}
.product-name a {
    color: var(--secondary);
    text-decoration: none;
    transition: color 0.15s;
}
.product-name a:hover {
    color: var(--primary);
}

/* Rating & Social Proof */
.product-rating-row {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 6px;
    font-size: 0.72rem;
}
.stars-gold {
    color: #f59e0b;
    display: inline-flex;
    gap: 1px;
    font-size: 0.75rem;
}
.rating-num {
    font-weight: 700;
    color: #475569;
}

/* Price */
.product-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}
.product-price-row .current-price {
    font-weight: 800;
    font-size: 1rem;
    color: var(--secondary);
}
.product-price-row .original-price {
    text-decoration: line-through;
    color: #94a3b8;
    font-size: 0.8rem;
}

/* Stock Pill */
.product-stock-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.product-stock-pill.in-stock {
    color: #10b981;
}
.product-stock-pill.out-of-stock {
    color: #ef4444;
}
.stock-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    display: inline-block;
}
.product-stock-pill.in-stock .stock-dot {
    animation: stockPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes stockPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Dual Actions */
.product-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}
.product-card-actions .btn-whatsapp-order {
    flex: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    background: #25D366 !important;
    color: #ffffff !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    padding: 7px 8px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.15s ease !important;
    letter-spacing: 0.2px;
}
.product-card-actions .btn-whatsapp-order:hover {
    background: #1eb853 !important;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15) !important;
}
.product-card-actions .btn-cart-icon {
    width: 33px;
    height: 33px;
    border-radius: 8px;
    background: var(--page-surface);
    border: 1px solid var(--card-border);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.product-card-actions .btn-cart-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--surface-text);
    transform: translateY(-1px);
}

/* Value Proposition Trust Bar */
.store-trust-bar {
    background: var(--card-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 24px 0;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}
.trust-card {
    display: flex;
    align-items: center;
    gap: 12px;
}
.trust-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--page-surface);
    border: 1px solid var(--card-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--primary);
    flex-shrink: 0;
}
.trust-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--secondary);
}
.trust-desc {
    font-size: 0.76rem;
    color: #64748b;
    margin-bottom: 0;
    line-height: 1.35;
}
@media (max-width: 991px) {
    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 575px) {
    .trust-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .store-trust-bar {
        padding: 16px 0;
    }
}

/* Modern Category Tiles (Non-Circle, Clean & Optimized for Mobile) */
.category-tile-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    color: var(--secondary);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.category-tile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
    color: var(--secondary);
}
.category-tile-media {
    position: relative;
    aspect-ratio: 4 / 3;
    background: var(--page-surface);
    overflow: hidden;
    border-bottom: 1px solid var(--page-surface);
}
.category-tile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-tile-card:hover .category-tile-img {
    transform: scale(1.06);
}
.category-tile-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--text-muted, #94a3b8);
    background: var(--page-surface);
}
.category-tile-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--card-bg);
}
.category-tile-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: var(--font-body) !important;
}
.category-tile-meta {
    margin-top: 2px;
}
.category-tile-count {
    font-size: 0.72rem;
    color: #64748b;
    font-weight: 500;
}
.category-tile-arrow {
    font-size: 0.8rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}
.category-tile-card:hover .category-tile-arrow {
    transform: translateX(3px);
}

@media (max-width: 575px) {
    .category-tile-card {
        border-radius: 8px;
    }
    .category-tile-media {
        aspect-ratio: 1 / 1;
    }
    .category-tile-body {
        padding: 8px 10px 10px;
    }
    .category-tile-name {
        font-size: 0.82rem;
    }
    .category-tile-count {
        font-size: 0.68rem;
    }
}

body.dark-mode .category-tile-card {
    background: var(--dm-surface);
    border-color: var(--dm-border);
}
body.dark-mode .category-tile-media {
    background: var(--dm-surface-alt);
    border-bottom-color: var(--dm-border);
}
body.dark-mode .category-tile-body {
    background: var(--dm-surface);
}
body.dark-mode .category-tile-name {
    color: var(--dm-text);
}
body.dark-mode .category-tile-count {
    color: #94a3b8;
}


/* Offers — fixed 16:9 landscape cards; image cannot expand card height */
.offers-section .row > .col-md-4 { align-items: flex-start; }
.offer-card {
    display: block;
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff !important;
    transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
    background: #0f172a;
}
.offer-card:hover {
    transform: translateY(-6px);
    color: #ffffff !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}
.offer-card-media {
    position: relative;
    width: 100%;
    height: 280px;
    background: #0f172a;
    overflow: hidden;
}
.offer-card-media .offer-image {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.offer-card:hover .offer-image {
    transform: scale(1.06);
}
/* Strong dark gradient overlay across the entire card so background appears darker and text is 100% visible */
.offer-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.48) 0%,
        rgba(15, 23, 42, 0.68) 40%,
        rgba(15, 23, 42, 0.94) 100%
    );
    pointer-events: none;
    z-index: 1;
    transition: background 0.35s ease;
}
.offer-card:hover .offer-card-shade {
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.58) 0%,
        rgba(15, 23, 42, 0.78) 40%,
        rgba(15, 23, 42, 0.98) 100%
    );
}
.offer-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1.4rem 1.4rem;
    gap: 0.45rem;
    pointer-events: none;
}
.offer-card-content .offer-badge {
    background: var(--primary, #e91e8c);
    color: #ffffff !important;
    padding: 0.32rem 0.8rem;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.offer-card-content .offer-title {
    margin: 0;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    font-weight: 800;
    line-height: 1.25;
    color: #ffffff !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85), 0 1px 2px rgba(0, 0, 0, 0.9);
}
.offer-card-content .offer-description {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.45;
    color: #f1f5f9 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Text-only fallback cards */
.offer-card-media--text {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}
.offer-card-media--text .offer-card-shade {
    background: rgba(0, 0, 0, 0.3);
}
.offer-card-media--text .offer-card-content {
    justify-content: center;
    align-items: center;
    text-align: center;
}
.offer-card-media--text .offer-card-content .offer-title {
    font-size: 1.25rem;
    text-shadow: none;
    color: #ffffff !important;
}
.offer-card-media--text .offer-card-content .offer-description {
    text-shadow: none;
    color: #f1f5f9 !important;
    -webkit-line-clamp: unset;
}
/* Countdown mini on card */
.offer-countdown-mini {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin-top: 0.15rem;
}
.offer-countdown-label {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
}
.offer-countdown-values {
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* Countdown Offer Section */
.countdown-offer-section { padding: 60px 0; background: var(--surface-darker); }
.countdown-offer-card {
    color: var(--surface-text);
    position: relative;
    border-radius: 20px;
    padding: 3.5rem 3rem;
    overflow: hidden;
    background-color: var(--surface-darker);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
@media (max-width: 767px) {
    .countdown-offer-card { padding: 2.25rem 1.25rem; }
}
.countdown-offer-eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--surface-text-muted); margin-bottom: 10px; }
.countdown-offer-badge { display: inline-block; background: var(--primary); color: var(--surface-text); font-weight: 700; font-size: 0.8rem; padding: 6px 14px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.countdown-offer-title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 12px 0; color: var(--surface-text); }
.countdown-offer-desc { color: var(--surface-text-muted); font-size: 1.05rem; max-width: 520px; margin-bottom: 0; }
.countdown-timer { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.countdown-unit { min-width: 72px; text-align: center; background: var(--surface-dark); border: 1px solid var(--surface-border); border-radius: 8px; padding: 14px 10px; }
.countdown-value { display: block; font-size: 1.75rem; font-weight: 700; line-height: 1; font-variant-numeric: tabular-nums; color: var(--primary); }
.countdown-label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--surface-text-muted); margin-top: 6px; }
.countdown-sep { font-size: 1.5rem; font-weight: 700; color: rgba(255,255,255,.35); line-height: 1; padding-bottom: 18px; }
.countdown-offer-ends { font-size: 0.85rem; color: var(--surface-text-muted); }
.countdown-timer.is-expired .countdown-value { color: #ccc; }
.offer-countdown-mini { margin-top: 8px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.03em; color: #fff; background: rgba(0,0,0,.35); padding: 4px 10px; border-radius: 999px; display: inline-flex; align-items: center; gap: 6px; }
.offer-countdown-label { opacity: 0.85; text-transform: uppercase; font-size: 0.65rem; }
.offer-countdown-values { font-variant-numeric: tabular-nums; }
@media (max-width: 767px) {
    .countdown-offer-section { padding: 40px 0; }
    .countdown-unit { min-width: 60px; padding: 10px 6px; }
    .countdown-value { font-size: 1.35rem; }
    .countdown-sep { padding-bottom: 14px; }
}

/* Why Choose Us */
.why-card { padding: 1.5rem; }
.why-icon { width: 60px; height: 60px; border-radius: 50%; background: rgba(var(--primary-rgb, 201,169,110),.15); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; font-size: 1.5rem; color: var(--primary); }

/* Blog */
.blog-card { background: var(--card-bg); border-radius: 8px; overflow: hidden; transition: var(--transition); height: 100%; }
.blog-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,.1); }
.blog-image { aspect-ratio: 16/10; overflow: hidden; background: var(--page-surface-alt); }
.blog-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); }
.blog-content { padding: 1.25rem; }
.blog-content h5 { font-family: var(--font-body); font-weight: 600; margin: 8px 0; }

/* Modern Newsletter Section */
.newsletter-section-modern {
    padding: 70px 0;
    background: var(--page-surface);
    position: relative;
    overflow: hidden;
}
body.dark-mode .newsletter-section-modern {
    background: var(--surface-darker);
}
.newsletter-inner-box {
    position: relative;
    max-width: 820px;
    background: linear-gradient(135deg, var(--surface-darker) 0%, var(--surface-dark) 50%, var(--surface-darker) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 56px 40px;
    box-shadow: 0 20px 50px -15px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}
.newsletter-inner-box::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--primary, #2563eb) 0%, transparent 70%);
    opacity: 0.22;
    pointer-events: none;
}
.newsletter-inner-box::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent, #e8b4b8) 0%, transparent 70%);
    opacity: 0.16;
    pointer-events: none;
}
.newsletter-icon-circle {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary, #2563eb);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
}
.newsletter-title {
    font-family: var(--font-heading, 'Poppins', sans-serif);
    font-size: clamp(1.6rem, 3.5vw, 2.3rem);
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
}
.newsletter-desc {
    font-size: 1.02rem;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 540px;
    margin: 0 auto 28px;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}
.newsletter-form-modern {
    max-width: 560px;
    position: relative;
    z-index: 2;
    margin: 0 auto;
}
.newsletter-pill-group {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px !important;
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: var(--transition, all 0.3s ease);
    display: flex;
    align-items: center;
}
.newsletter-pill-group:focus-within {
    border-color: var(--primary, #2563eb);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(201, 169, 110, 0.25);
}
.newsletter-pill-group .form-control {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.98rem;
    padding: 12px 20px !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}
.newsletter-pill-group .form-control::placeholder {
    color: rgba(255, 255, 255, 0.55) !important;
}
.newsletter-pill-group .btn-primary {
    border-radius: 999px !important;
    padding: 12px 28px !important;
    font-weight: 600;
    font-size: 0.95rem;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition, all 0.3s ease);
    flex-shrink: 0;
}
.newsletter-pill-group .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}
.newsletter-trust-note {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.8rem;
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    z-index: 2;
}
@media (max-width: 576px) {
    .newsletter-section-modern {
        padding: 45px 0;
    }
    .newsletter-inner-box {
        padding: 36px 18px;
        border-radius: 18px;
    }
    .newsletter-pill-group {
        flex-direction: column;
        border-radius: 16px !important;
        padding: 8px;
        gap: 8px;
    }
    .newsletter-pill-group .form-control {
        text-align: center;
        padding: 10px 14px !important;
        width: 100%;
    }
    .newsletter-pill-group .btn-primary {
        width: 100%;
        border-radius: 12px !important;
        padding: 12px 20px !important;
    }
}

/* Brands We Love — infinite scrolling marquee */
.brands-marquee-outer {
    overflow: hidden;
    position: relative;
    padding: 8px 0;
}
.brands-marquee-outer::before,
.brands-marquee-outer::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 2;
    pointer-events: none;
}
.brands-marquee-outer::before { left: 0;  background: linear-gradient(to right, var(--bg, #f8f9fa), transparent); }
.brands-marquee-outer::after  { right: 0; background: linear-gradient(to left,  var(--bg, #f8f9fa), transparent); }
.brands-marquee-track {
    display: flex;
    gap: 1.2rem;
    width: max-content;
    animation: brandMarquee 28s linear infinite;
}
.brands-marquee-track:hover { animation-play-state: paused; }
@keyframes brandMarquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.brand-logo-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 1.2rem 1.4rem 0.9rem;
    border-radius: 14px;
    background: #fff;
    border: 1.5px solid rgba(0,0,0,0.07);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: var(--transition);
    flex-shrink: 0;
    min-width: 150px;
}
.brand-logo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.12);
    border-color: var(--primary);
}
.brand-logo-inner {
    width: 110px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.brand-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(30%);
    transition: var(--transition);
}
.brand-logo-card:hover .brand-logo-img {
    filter: none;
    transform: scale(1.05);
}
.brand-logo-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1.3rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 1px;
}
.brand-logo-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: #999;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color var(--transition);
    white-space: nowrap;
}
.brand-logo-card:hover .brand-logo-name { color: var(--primary); }
/* Legacy selectors kept for backwards compat */
.brand-item { padding: 1rem 2rem; opacity: 0.7; transition: var(--transition); }
.brand-item:hover { opacity: 1; }
.brand-item img { max-height: 40px; filter: grayscale(100%); transition: var(--transition); }
.brand-item:hover img { filter: none; }
.brand-item-modern { display:inline-flex; align-items:center; justify-content:center; min-width:130px; }
.brand-item-text { font-weight:600; color: var(--secondary); }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); padding: 60px 0 30px; }
.site-footer h5, .site-footer h6 { color: var(--footer-text); opacity: 0.95; filter: brightness(1.1); margin-bottom: 1rem; }
.footer-brand { font-family: var(--font-heading); color: var(--primary) !important; opacity: 1 !important; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: var(--footer-text); opacity: 0.75; transition: var(--transition); }
.footer-links a:hover { color: var(--primary) !important; opacity: 1; }
.site-footer .social-links a { color: var(--footer-text); opacity: 0.75; font-size: 1.2rem; margin-right: 12px; transition: var(--transition); }
.site-footer .social-links a:hover { color: var(--primary) !important; opacity: 1; }
.contact-info p { font-size: 0.9rem; margin-bottom: 8px; }
.contact-info i { color: var(--primary); margin-right: 8px; }
.site-footer .text-muted { color: var(--footer-text) !important; opacity: 0.7 !important; }

/* WhatsApp Float */
.whatsapp-float { position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; box-shadow: 0 4px 20px rgba(37,211,102,.4); z-index: 1035; transition: var(--transition); }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* Cookie Consent */
.cookie-consent { position: fixed; bottom: 0; left: 0; right: 0; background: var(--secondary); color: #fff; padding: 16px 24px; display: flex; align-items: center; justify-content: center; gap: 16px; z-index: 998; }
.cookie-consent.hidden { display: none; }

/* Product Page */
.product-gallery .main-image { aspect-ratio: 1; background: #f8f8f8; border-radius: 8px; overflow: hidden; }
.product-gallery .main-image img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.thumbnail-btn { border: 2px solid transparent; border-radius: 4px; overflow: hidden; padding: 0; width: 70px; height: 70px; cursor: pointer; }
.thumbnail-btn.active, .thumbnail-btn:hover { border-color: var(--primary); }
.thumbnail-btn img { width: 100%; height: 100%; object-fit: cover; }
.quantity-selector { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; }
.qty-btn { border: none; background: none; padding: 8px 14px; font-size: 1.1rem; cursor: pointer; }
.quantity-selector input { border: none; text-align: center; width: 50px; }
.share-buttons { display: flex; align-items: center; gap: 12px; margin-top: 1rem; }
.share-buttons a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #ddd; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.share-buttons a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Filter Sidebar */
.filter-sidebar { background: #fff; padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.filter-group { margin-bottom: 1.25rem; }
.filter-group h6 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }

/* Cart */
.cart-item-image { object-fit: cover; border-radius: 4px; }
.cart-summary { position: sticky; top: 100px; }

/* Contact */
.contact-item { display: flex; gap: 12px; margin-bottom: 1.25rem; }
.contact-item i { font-size: 1.3rem; color: var(--primary); margin-top: 4px; }
.map-section {
    height: 450px;
    min-height: 300px;
    background: #f0f0f0;
}
.map-section iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Pagination */
.pagination .page-link { color: var(--primary); }
.pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); }

/* Dark Mode */
body.dark-mode {
    --dm-bg: #0f172a;
    --dm-surface: #111c31;
    --dm-surface-alt: #1e293b;
    --dm-border: #334155;
    --dm-text: #e2e8f0;
    --dm-text-muted: #94a3b8;
    --dm-text-subtle: #64748b;
    background: var(--dm-bg);
    color: var(--dm-text);
}

/* Typography & links */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6,
body.dark-mode .section-title, body.dark-mode .page-title,
body.dark-mode .product-title, body.dark-mode strong {
    color: var(--dm-text);
}
body.dark-mode p, body.dark-mode li, body.dark-mode label,
body.dark-mode .form-label, body.dark-mode .form-check-label {
    color: var(--dm-text);
}
body.dark-mode a { color: var(--dm-text); }
body.dark-mode a:hover { color: var(--primary); }
body.dark-mode .text-muted,
body.dark-mode .text-secondary,
body.dark-mode .text-dark,
body.dark-mode .lead,
body.dark-mode .page-content,
body.dark-mode .about-section p,
body.dark-mode .about-section .lead,
body.dark-mode .team-card p,
body.dark-mode .dynamic-page .card .text-secondary,
body.dark-mode .dynamic-page .card .text-dark,
body.dark-mode .dynamic-page .lead,
body.dark-mode .dynamic-page h2,
body.dark-mode .dynamic-page p,
body.dark-mode .dynamic-page .page-content,
body.dark-mode .about-section h2,
body.dark-mode .about-section p,
body.dark-mode .about-section .lead,
body.dark-mode .page-header h1,
body.dark-mode .page-header p {
    color: var(--dm-text) !important;
}
body.dark-mode .text-muted { color: var(--dm-text-muted) !important; }
body.dark-mode .section-subtitle,
body.dark-mode .product-brand,
body.dark-mode .product-count { color: var(--dm-text-muted); }
body.dark-mode .product-price .original-price { color: var(--dm-text-subtle); }
body.dark-mode .product-price .current-price { color: var(--dm-text); }
body.dark-mode hr, body.dark-mode .border-bottom { border-color: var(--dm-border) !important; }

/* Surfaces */
body.dark-mode .site-header,
body.dark-mode .product-card,
body.dark-mode .blog-card,
body.dark-mode .filter-sidebar,
body.dark-mode .card,
body.dark-mode .cart-table,
body.dark-mode .testimonial-card {
    background: var(--dm-surface);
    color: var(--dm-text);
}
body.dark-mode .site-header { box-shadow: 0 2px 20px rgba(0,0,0,.3); }
body.dark-mode .bg-light,
body.dark-mode .page-header.bg-light,
body.dark-mode .bg-white,
body.dark-mode .card.bg-white,
body.dark-mode .dynamic-page .card,
body.dark-mode .about-placeholder {
    background: var(--dm-surface) !important;
    color: var(--dm-text) !important;
    border-color: var(--dm-border) !important;
}
body.dark-mode .product-image,
body.dark-mode .product-gallery .main-image,
body.dark-mode .blog-image { background: var(--dm-surface-alt); }
body.dark-mode .category-image { background: var(--dm-surface-alt); }
body.dark-mode .category-placeholder {
    background: var(--dm-surface-alt);
}

/* Header & navigation */
body.dark-mode .nav-link { color: var(--dm-text) !important; }
body.dark-mode .nav-link:hover,
body.dark-mode .nav-link:focus { color: var(--primary) !important; }
body.dark-mode .header-actions .action-icon,
body.dark-mode .header-quick-actions .action-icon { color: var(--dm-text); }
body.dark-mode .navbar-toggler { border-color: var(--dm-border); }
body.dark-mode .navbar-toggler-icon { filter: invert(1); }
body.dark-mode .dropdown-menu {
    background: var(--dm-surface);
    border-color: var(--dm-border);
}
body.dark-mode .dropdown-item { color: var(--dm-text); }
body.dark-mode .dropdown-item:hover,
body.dark-mode .dropdown-item:focus {
    background: var(--dm-surface-alt);
    color: #fff;
}

/* Search */
body.dark-mode .search-box input {
    background: var(--dm-surface-alt);
    border-color: var(--dm-border);
    color: var(--dm-text);
}
body.dark-mode .search-box input::placeholder { color: var(--dm-text-subtle); }
body.dark-mode .search-results {
    background: var(--dm-surface);
    box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
body.dark-mode .search-result-item {
    border-color: var(--dm-border);
    color: var(--dm-text);
}
body.dark-mode .search-result-item:hover { background: var(--dm-surface-alt); }

/* Forms */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background: var(--dm-surface-alt);
    border-color: var(--dm-border);
    color: var(--dm-text);
}
body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    background: var(--dm-surface-alt);
    border-color: var(--primary);
    color: var(--dm-text);
    box-shadow: 0 0 0 0.2rem rgba(201,169,110,.2);
}
body.dark-mode .form-control::placeholder { color: var(--dm-text-subtle); }
body.dark-mode .form-select option {
    background: var(--dm-surface);
    color: var(--dm-text);
}
body.dark-mode .form-check-input {
    background-color: var(--dm-surface-alt);
    border-color: var(--dm-border);
}
body.dark-mode .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

/* Buttons */
body.dark-mode .btn-outline-secondary {
    color: var(--dm-text);
    border-color: var(--dm-border);
}
body.dark-mode .btn-outline-secondary:hover {
    background: var(--dm-surface-alt);
    border-color: var(--dm-border);
    color: #fff;
}
body.dark-mode .dark-toggle {
    color: var(--dm-text) !important;
    border-color: var(--dm-border) !important;
}
body.dark-mode .dark-toggle:hover {
    background: var(--dm-surface-alt);
    color: #fff !important;
}
body.dark-mode .btn-action {
    background: var(--dm-surface-alt);
    color: var(--dm-text);
}

/* Product interactions */
body.dark-mode .quantity-selector { border-color: var(--dm-border); }
body.dark-mode .qty-btn { color: var(--dm-text); }
body.dark-mode .quantity-selector input,
body.dark-mode .quantity-selector .form-control {
    background: transparent;
    color: var(--dm-text);
}
body.dark-mode .share-buttons a {
    border-color: var(--dm-border);
    color: var(--dm-text);
}

/* Bootstrap components */
body.dark-mode .breadcrumb-item a { color: var(--primary); }
body.dark-mode .breadcrumb-item.active { color: var(--dm-text-muted); }
body.dark-mode .breadcrumb-item + .breadcrumb-item::before { color: var(--dm-text-subtle); }
body.dark-mode .accordion-item {
    background: var(--dm-surface);
    border-color: var(--dm-border);
}
body.dark-mode .accordion-button {
    background: var(--dm-surface);
    color: var(--dm-text);
}
body.dark-mode .accordion-button:not(.collapsed) {
    background: var(--dm-surface-alt);
    color: var(--dm-text);
    box-shadow: none;
}
body.dark-mode .accordion-button::after { filter: invert(1); }
body.dark-mode .accordion-body { color: var(--dm-text); }
body.dark-mode .page-link {
    background: var(--dm-surface);
    border-color: var(--dm-border);
    color: var(--primary);
}
body.dark-mode .page-item.disabled .page-link {
    background: var(--dm-bg);
    border-color: var(--dm-border);
    color: var(--dm-text-subtle);
}
body.dark-mode .modal-content {
    background: var(--dm-surface);
    color: var(--dm-text);
    border-color: var(--dm-border);
}
body.dark-mode .modal-header,
body.dark-mode .modal-footer { border-color: var(--dm-border); }
body.dark-mode .btn-close { filter: invert(1); }
body.dark-mode .nav-tabs { border-color: var(--dm-border); }
body.dark-mode .nav-tabs .nav-link {
    color: var(--dm-text-muted);
    border-color: transparent;
}
body.dark-mode .nav-tabs .nav-link:hover {
    color: var(--dm-text);
    border-color: var(--dm-border);
}
body.dark-mode .nav-tabs .nav-link.active {
    background: var(--dm-surface);
    color: var(--dm-text);
    border-color: var(--dm-border) var(--dm-border) var(--dm-surface);
}
body.dark-mode .tab-content.border {
    background: var(--dm-surface);
    border-color: var(--dm-border) !important;
    color: var(--dm-text);
}
body.dark-mode .map-section { background: var(--dm-surface-alt); }
body.dark-mode .site-footer { background: var(--dm-bg) !important; }
body.dark-mode .store-trust-bar {
    background: var(--dm-bg) !important;
    border-bottom-color: var(--dm-border);
}
body.dark-mode .trust-title { color: var(--dm-text) !important; }
body.dark-mode .trust-desc { color: var(--dm-text-muted) !important; }
body.dark-mode .trust-icon-box {
    background: var(--dm-surface-alt);
    border-color: var(--dm-border);
    color: var(--primary);
}

/* Keep inline Bootstrap and WhatsApp surfaces in the navy theme. */
body.dark-mode .bg-white,
body.dark-mode .input-group-text,
body.dark-mode .quantity-picker-wrap,
body.dark-mode .wa-modal-product-card,
body.dark-mode .modal-content [style*="background: var(--surface-light"] {
    background: var(--dm-surface-alt) !important;
    color: var(--dm-text) !important;
    border-color: var(--dm-border) !important;
}
body.dark-mode .wa-modal-product-card .text-dark,
body.dark-mode .modal-content .text-dark,
body.dark-mode .quantity-picker-wrap .text-dark {
    color: var(--dm-text) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slide { min-height: 70vh; padding: 2.5rem 0; }
    .section { padding: 50px 0; }
    .search-box input { width: 140px; }
    .header-actions .search-box { display: none; }
    .header-quick-actions { gap: 1rem !important; padding-right: 0.5rem; }
    .header-quick-actions .action-icon { font-size: 1.4rem; padding: 0.25rem; }
}


/* ── Mobile: prevent ALL child elements from causing horizontal overflow ── */
@media (max-width: 767px) {
    .container { max-width: 100%; padding-left: 1rem; padding-right: 1rem; }
    .row { --bs-gutter-x: 1rem; margin-left: 0; margin-right: 0; }
    /* Constrain all images so they never overflow the viewport */
    img { max-width: 100%; height: auto; }
    /* Section header row: always wrap on mobile */
    .section-header.d-flex.justify-content-between,
    .section-header.d-flex {
        flex-wrap: wrap !important;
        gap: 0.75rem !important;
    }
    /* Shop filter on mobile: show in a collapsible panel */
    .shop-filter-toggle { display: flex !important; }
    /* Ensure product grid inside shop is full-width */
    .products-grid { width: 100%; }
}

/* Mobile filter toggle button (hidden on desktop) */
.shop-filter-toggle { display: none; }

/* ── WhatsApp Order Buttons ─────────────────────────── */

/* Card: compact button below product info */
.btn-whatsapp-order,
a.btn-whatsapp-order,
body.dark-mode .btn-whatsapp-order,
body.dark-mode a.btn-whatsapp-order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: #fff !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 8px 12px !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    margin-top: auto !important;
    transition: background 0.2s, transform 0.15s !important;
    letter-spacing: 0.3px !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(37,211,102,.3) !important;
}
.btn-whatsapp-order:hover,
a.btn-whatsapp-order:hover,
body.dark-mode .btn-whatsapp-order:hover {
    background: #1ebe5d !important;
    background-color: #1ebe5d !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(37,211,102,.45) !important;
}
.btn-whatsapp-order i { font-size: 1rem; }

/* Product detail: full-width prominent button */
.btn-whatsapp-order-lg,
a.btn-whatsapp-order-lg,
body.dark-mode .btn-whatsapp-order-lg,
body.dark-mode a.btn-whatsapp-order-lg {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 2px !important;
    background: #25D366 !important;
    background-color: #25D366 !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 14px 20px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25) !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    border: none !important;
}
.btn-whatsapp-order-lg:hover,
a.btn-whatsapp-order-lg:hover,
body.dark-mode .btn-whatsapp-order-lg:hover {
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
    background: #20ba5a !important;
    background-color: #20ba5a !important;
}
.btn-whatsapp-order-lg i { font-size: 1.3rem; }


/* ═══════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE RULES
   Covers: product page, shop, cart, filter sidebar,
           blog, footer, admin product images, pagination
   ═══════════════════════════════════════════════════════ */

/* Product Page — Gallery & Actions */
@media (max-width: 767px) {
    /* Stack image above product info */
    .product-gallery { margin-bottom: 1.5rem; }
    .product-gallery .main-image {
        aspect-ratio: 1;
        max-height: 320px;
        border-radius: 8px;
        overflow: hidden;
    }
    .thumbnail-btn { width: 58px; height: 58px; }
    .thumbnail-list { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 4px; }

    /* Add-to-cart form */
    .add-to-cart-form .d-flex.gap-3 {
        flex-wrap: wrap;
        gap: 0.75rem !important;
    }
    .add-to-cart-form .flex-grow-1 { width: 100%; }
    .add-to-cart-form .quantity-selector { width: 100%; justify-content: center; }

    /* Product meta */
    .product-title { font-size: 1.5rem; }
    .product-short-desc { font-size: 0.95rem; }

    /* Tabs */
    .product-tabs .tab-content { padding: 1rem !important; }
}

/* Shop / Listing Page */
@media (max-width: 767px) {
    /* Filter sidebar collapses — keep it scrollable when opened */
    .filter-sidebar { padding: 1rem; border-radius: 8px; margin-bottom: 1rem; }

    /* Product grid — 2 columns on mobile */
    .products-grid .row > [class*='col-'] { padding: 0.4rem; }

    /* Section headings */
    .section-title { font-size: 1.4rem; }
    .section { padding: 40px 0; }
}

/* Product Cards on Mobile */
@media (max-width: 575px) {
    .product-info { padding: 10px 12px; }
    .product-name { font-size: 0.88rem; }
    .product-price .current-price { font-size: 0.9rem; }
    .product-price .original-price { font-size: 0.78rem; }
    /* Always show action buttons on touch devices */
    .product-actions {
        opacity: 1 !important;
        transform: translateX(-50%) translateY(0) !important;
    }
}

/* Cart Page */
@media (max-width: 767px) {
    .cart-summary { position: static; margin-top: 1.5rem; }

    /* Stack cart row: image | info | qty | remove vertically */
    .cart-item-row td { display: block; width: 100%; padding: 0.4rem 0.6rem; }
    .cart-item-row td:first-child { padding-top: 0.75rem; }

    .cart-item-image { width: 64px !important; height: 64px !important; }
}

/* Hero Section */
@media (max-width: 575px) {
    .hero-slide { min-height: 65vh; padding: 2rem 0; }
    .hero-title { font-size: 1.85rem; margin-bottom: 0.75rem; line-height: 1.25; }
    .hero-subtitle { font-size: 1rem; margin-bottom: 1.25rem; }
    .hero-content { padding: 2rem 1rem 2rem 1.25rem; }
    .hero-content .btn { padding-left: 1.25rem; padding-right: 1.25rem; }
}


/* Pagination — scrollable on small screens */
@media (max-width: 575px) {
    nav[aria-label="Page navigation"] ul.pagination,
    .card-footer ul.pagination {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }
    .pagination .page-link { padding: 0.35rem 0.55rem; font-size: 0.82rem; }
}

/* Footer */
@media (max-width: 767px) {
    .site-footer { padding: 40px 0 24px; }
    .site-footer .row > [class*='col-'] { margin-bottom: 1.5rem; }
}

/* Cookie Consent */
@media (max-width: 575px) {
    .cookie-consent { flex-direction: column; text-align: center; padding: 14px 16px; gap: 10px; }
    .cookie-consent p { margin: 0; font-size: 0.85rem; }
}

/* Blog List */
@media (max-width: 575px) {
    .blog-content { padding: 0.9rem 1rem; }
    .blog-content h5 { font-size: 0.95rem; }
}

/* Newsletter Section */
.newsletter-form .input-group {
    display: flex;
    align-items: stretch;
}
.newsletter-form .input-group .form-control {
    min-width: 0;
    flex: 1 1 auto;
}
.newsletter-form .input-group .btn {
    flex: 0 0 auto;
}

@media (max-width: 575px) {
    .newsletter-section { padding: 40px 0; }
    .newsletter-section .input-group,
    .newsletter-form .input-group {
        flex-direction: column;
        gap: 0.5rem;
    }
    .newsletter-section .input-group .form-control,
    .newsletter-form .input-group .form-control {
        border-radius: 4px !important;
        width: 100%;
    }
    .newsletter-section .input-group .btn,
    .newsletter-form .input-group .btn {
        border-radius: 4px !important;
        width: 100%;
    }
}

/* Offer cards — equal height grid on mobile */
@media (max-width: 575px) {
    .offers-section .row > .col-md-4 { margin-bottom: 1rem; }
}

/* Contact page map */
@media (max-width: 575px) {
    .map-section { height: 260px; }
}

/* WhatsApp float button — smaller on tiny screens (handled with dock offset in mobile dock section) */

/* ── Admin: Product image thumbnails — always visible ── */
.table td img { max-width: 100%; height: auto; display: block; }

/* ── Admin: Pagination footer — scrollable on mobile ── */
@media (max-width: 767px) {
    .card-footer.d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .card-footer nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* ── Admin products: pages index header action row ── */
@media (max-width: 575px) {
    .pages-header { flex-direction: column; gap: 0.75rem; }
}

/* ── Admin pages/index: card header with title + button ── */
@media (max-width: 575px) {
    .card-header.d-flex.justify-content-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .card-header.d-flex.justify-content-between .btn { align-self: flex-start; }
}

/* ── Requests page (saas) — header on mobile ── */
@media (max-width: 575px) {
    .d-flex.justify-content-between.align-items-center {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
}

/* ── Blog index/admin: page header ── */
@media (max-width: 575px) {
    .d-flex.justify-content-between.mb-4 {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .d-flex.justify-content-between.mb-4 .btn { align-self: flex-start; }
}

/* ══════════════════════════════════════════════════════════
   HIGH-CONVERSION MOBILE BOTTOM NAVIGATION DOCK & TOOLBARS
   ══════════════════════════════════════════════════════════ */
.mobile-bottom-dock {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 1040;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}
@media (max-width: 767px) {
    body {
        padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)) !important;
    }
    .whatsapp-float {
        bottom: calc(72px + env(safe-area-inset-bottom, 0px));
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.35rem;
        z-index: 1035;
    }
    .cookie-consent {
        bottom: calc(62px + env(safe-area-inset-bottom, 0px));
        z-index: 1045;
    }
}
@media (max-width: 400px) {
    .whatsapp-float {
        bottom: calc(70px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        width: 46px;
        height: 46px;
        font-size: 1.2rem;
    }
}
@media (min-width: 768px) {
    .mobile-bottom-dock {
        display: none !important;
    }
}
.dock-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    background: none;
    border: none;
    padding: 6px 12px;
    transition: color 0.15s ease, transform 0.15s ease;
    cursor: pointer;
    line-height: 1.2;
}
.dock-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
}
.dock-item:hover,
.dock-item:active,
.dock-item.active {
    color: var(--primary);
    transform: translateY(-1px);
}
.dock-badge {
    position: absolute;
    top: 3px;
    right: 14px;
    background: #ef4444;
    color: #ffffff;
    font-size: 0.62rem;
    font-weight: 700;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
}
body.dark-mode .mobile-bottom-dock {
    background: #0f172a;
    border-top-color: #1e293b;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.3);
}
body.dark-mode .dock-item {
    color: #94a3b8;
}
body.dark-mode .dock-item:hover,
body.dark-mode .dock-item.active {
    color: var(--primary);
}

/* Shop Modern Filter Sidebar */
.filter-sidebar-modern {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}
.filter-heading {
    letter-spacing: -0.01em;
}
.filter-label {
    letter-spacing: 0.05em;
}
.shop-toolbar-modern {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

/* Hero Trust Badge — Solid, Natural, Clean (Zero AI Glass) */
.hero-trust-badge,
.hero-tag,
.hero-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #0f172a;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    letter-spacing: 0.2px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}
.hero-trust-badge i,
.hero-tag i,
.hero-pill-badge i {
    font-size: 0.95rem;
    color: #22c55e;
}
.btn-hero-outline {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transition: all 0.2s ease;
}
.btn-hero-outline:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
}

/* Section Eyebrow */
.section-eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    margin-bottom: 4px;
}
.btn-section-viewall {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap 0.2s ease;
}
.btn-section-viewall:hover {
    gap: 8px;
    color: var(--primary);
}

/* Reassurance Strip */
.reassurance-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

/* Dark mode overrides for new components */
body.dark-mode .product-card,
body.dark-mode .filter-sidebar-modern,
body.dark-mode .shop-toolbar-modern,
body.dark-mode .reassurance-card,
body.dark-mode .cart-items-card,
body.dark-mode .free-shipping-card {
    background: var(--dm-surface) !important;
    border-color: var(--dm-border) !important;
    color: var(--dm-text) !important;
}
body.dark-mode .product-image-wrap {
    background: var(--dm-surface-alt) !important;
    border-color: var(--dm-border) !important;
}
body.dark-mode .product-name a {
    color: var(--dm-text) !important;
}
body.dark-mode .product-price-row .current-price {
    color: #ffffff !important;
}
body.dark-mode .btn-cart-icon {
    background: var(--dm-surface-alt) !important;
    border-color: var(--dm-border) !important;
    color: var(--dm-text) !important;
}
body.dark-mode .product-wishlist-btn {
    background: var(--dm-surface-alt) !important;
    border-color: var(--dm-border) !important;
    color: #cbd5e1 !important;
}
body.dark-mode .product-wishlist-btn:hover {
    color: #ef4444 !important;
}

/* ══════════════════════════════════════════════════════════
   WHATSAPP QUICK ORDER MODAL
   ══════════════════════════════════════════════════════════ */
#whatsappOrderModal .modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
}
#whatsappOrderModal .input-group-text {
    background: var(--card-bg);
    border-color: #e2e8f0;
    color: var(--text-muted, #64748b);
    border-right: none;
}
#whatsappOrderModal .form-control {
    border-color: #e2e8f0;
    background: var(--card-bg);
    color: var(--text-body, #1e293b);
    font-size: 0.92rem;
    border-left: none;
}
#whatsappOrderModal .form-control:focus {
    box-shadow: none;
    border-color: #25D366;
}
#whatsappOrderModal .form-control:focus + .input-group-text,
#whatsappOrderModal .input-group:focus-within .input-group-text {
    border-color: #25D366;
}
#whatsappOrderModal .wa-modal-product-card {
    background: var(--surface-light, #f8fafc);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    transition: background 0.2s;
}
body.dark-mode #whatsappOrderModal .modal-content {
    background: var(--dm-card, #1e293b);
    color: var(--dm-text, #e2e8f0);
}
body.dark-mode #whatsappOrderModal .modal-title,
body.dark-mode #whatsappOrderModal h5,
body.dark-mode #whatsappOrderModal h6 {
    color: var(--dm-text, #e2e8f0) !important;
}
body.dark-mode #whatsappOrderModal .input-group-text,
body.dark-mode #whatsappOrderModal .form-control {
    background: var(--dm-surface-alt, #0f172a);
    border-color: var(--dm-border, #334155);
    color: var(--dm-text, #e2e8f0);
}
body.dark-mode #whatsappOrderModal .wa-modal-product-card {
    background: var(--dm-surface-alt, #0f172a);
    border-color: var(--dm-border, #334155);
}
body.dark-mode #whatsappOrderModal .text-dark {
    color: var(--dm-text, #e2e8f0) !important;
}
body.dark-mode #whatsappOrderModal .bg-white {
    background: var(--dm-surface-alt, #0f172a) !important;
}
body.dark-mode #whatsappOrderModal .text-secondary {
    color: #94a3b8 !important;
}
body.dark-mode #whatsappOrderModal .btn-link.text-muted {
    color: #94a3b8 !important;
}
body.dark-mode #whatsappOrderModal .quantity-picker-wrap {
    background: var(--dm-surface-alt, #0f172a) !important;
    border-color: var(--dm-border, #334155) !important;
}
body.dark-mode #whatsappOrderModal .btn-link.text-dark {
    color: var(--dm-text, #e2e8f0) !important;
}
body.dark-mode #whatsappOrderModal .form-label {
    color: #94a3b8 !important;
}
#waOrderSubmitBtn {
    background: #25D366 !important;
    border-color: #25D366 !important;
    transition: background 0.2s, transform 0.15s;
}
#waOrderSubmitBtn:hover:not(:disabled) {
    background: #1da851 !important;
    border-color: #1da851 !important;
    transform: translateY(-1px);
}
#waOrderSubmitBtn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
}
.quantity-picker-wrap {
    border: 1px solid #e2e8f0;
}

/* Modern Pagination Enhancements */
.modern-pagination-nav .pagination {
    gap: 6px;
}
.modern-pagination-nav .page-link {
    min-width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px !important;
    font-weight: 500;
    font-size: 0.9rem;
    color: #475569;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.18s ease-in-out;
}
.modern-pagination-nav .page-link:hover {
    color: var(--primary-color, #2563eb);
    border-color: var(--primary-color, #2563eb);
    background: #f8fafc;
    transform: translateY(-1px);
}
.modern-pagination-nav .page-item.active .page-link {
    background: var(--primary-color, #2563eb) !important;
    border-color: var(--primary-color, #2563eb) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}
.modern-pagination-nav .page-item.disabled .page-link {
    color: #94a3b8;
    background: #f1f5f9;
    border-color: #e2e8f0;
    pointer-events: none;
}
body.dark-mode .modern-pagination-nav .page-link {
    background: var(--dm-surface, #1e293b);
    border-color: var(--dm-border, #334155);
    color: var(--dm-text, #cbd5e1);
}
body.dark-mode .modern-pagination-nav .page-link:hover {
    background: #334155;
    color: #ffffff;
}
body.dark-mode .modern-pagination-nav .page-item.disabled .page-link {
    background: #0f172a;
    border-color: #1e293b;
    color: #64748b;
}


