/* Online Shop - Frontend Styles */
:root {
    --primary: #C9A96E;
    --secondary: #2C2C2C;
    --accent: #E8B4B8;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--secondary);
    line-height: 1.6;
    overflow-x: hidden;
}

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; }
.top-bar a { color: #fff; margin-left: 12px; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.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; flex-wrap: wrap; gap: 4px 10px; text-align: center; }
    .top-bar-social { display: none; }
}
.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; }
.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; }
.navbar-collapse { order: 4; }
@media (min-width: 992px) {
    .header-quick-actions { order: 4; margin-left: 1rem !important; }
    .navbar-collapse { order: 2; }
}

/* Mobile Header Improvements */
@media (max-width: 991px) {
    .navbar { padding: 0.5rem 0; }
    .navbar-collapse { display: none !important; }
    .navbar-collapse.show { display: flex !important; width: 100%; order: 5; margin-top: 12px; padding-top: 12px; border-top: 1px solid #f0f0f0; }
    .header-quick-actions { margin-left: auto; z-index: 10; }
    .navbar-toggler { order: 4; }
    .navbar-brand { flex: 1; }

    /* Ensure header quick action icons (search, wishlist, cart) are visible on mobile */
    .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;
    }
}

/* Search */
.search-box { position: relative; }
.search-box input { border: 1px solid #e0e0e0; border-radius: 25px; padding: 6px 16px; width: 200px; font-size: 0.9rem; }
.search-results { position: absolute; top: 100%; left: 0; right: 0; background: #fff; 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 #f0f0f0; }
.search-result-item:hover { background: #fafafa; }
.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: #fff; 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; }
.hero-slide { min-height: 70vh; background-size: cover; background-position: center; background-color: var(--secondary); position: relative; display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,.5), rgba(0,0,0,.2)); }
.hero-content { position: relative; z-index: 2; color: #fff; max-width: 600px; padding: 2rem 0; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 1rem; }
.hero-subtitle { font-size: 1.15rem; opacity: 0.9; margin-bottom: 2rem; }
.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; }
.section-title { font-size: 2rem; margin-bottom: 0.5rem; }
.section-subtitle { color: #888; margin-bottom: 2rem; }

/* Buttons */
.btn-primary { background: var(--primary); border-color: var(--primary); border-radius: 4px; font-weight: 500; letter-spacing: 0.5px; }
.btn-primary:hover { background: #b8944f; border-color: #b8944f; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background: var(--primary); border-color: var(--primary); }

/* Product Cards */
.product-card { background: #fff; border-radius: 8px; overflow: hidden; transition: var(--transition); position: relative; }
.product-card:hover { box-shadow: 0 10px 40px rgba(0,0,0,.1); transform: translateY(-4px); }
.product-image { position: relative; overflow: hidden; aspect-ratio: 1; background: #f8f8f8; }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }
.product-actions { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%) translateY(20px); opacity: 0; transition: var(--transition); display: flex; gap: 8px; }
.product-card:hover .product-actions { opacity: 1; transform: translateX(-50%) translateY(0); }
@media (max-width: 991px) {
    .product-actions { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.btn-action { width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.15); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: var(--transition); }
.btn-action:hover { background: var(--primary); color: #fff; }
.badge-sale { position: absolute; top: 12px; left: 12px; background: #e74c3c; color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: 600; z-index: 2; }
.badge-new { position: absolute; top: 12px; right: 12px; background: var(--primary); color: #fff; padding: 4px 10px; border-radius: 4px; font-size: 0.75rem; z-index: 2; }
.product-info { padding: 16px; }
.product-brand { font-size: 0.75rem; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.product-name { font-size: 0.95rem; margin: 4px 0 8px; font-family: var(--font-body); font-weight: 500; }
.product-name a:hover { color: var(--primary); }
.product-price .current-price { font-weight: 600; color: var(--secondary); }
.product-price .original-price { text-decoration: line-through; color: #999; margin-left: 8px; font-size: 0.85rem; }

/* Categories */
.category-card { text-align: center; display: block; transition: var(--transition); color: inherit; }
.category-card:hover { transform: translateY(-4px); color: inherit; }
.category-image { aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 12px; background: #f5f0eb; border: 3px solid transparent; transition: var(--transition); }
.category-card:hover .category-image { border-color: var(--primary); box-shadow: 0 8px 24px rgba(201,169,110,.25); }
.category-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.category-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: var(--primary); background: linear-gradient(135deg, #f5f0eb, #ebe3da); }
.category-card h5 { font-size: 0.95rem; margin-bottom: 4px; font-weight: 600; }
.product-count { font-size: 0.8rem; color: #999; }

/* 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: 16px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: var(--transition);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.offer-card:hover {
    transform: translateY(-4px);
    color: #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.14);
}
.offer-card-media {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    background: linear-gradient(135deg, var(--secondary) 0%, #4a4038 100%);
    overflow: hidden;
}
@supports (aspect-ratio: 16 / 9) {
    .offer-card-media {
        height: auto;
        padding-bottom: 0;
        aspect-ratio: 16 / 9;
    }
}
.offer-card-media .offer-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: contain;
    object-position: center;
    display: block;
    background: #f5f0eb;
}
.offer-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.05) 30%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
    z-index: 1;
}
.offer-card-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    gap: 0.35rem;
    pointer-events: none;
}
.offer-card-content .offer-badge {
    background: rgba(255,255,255,0.22);
    color: #fff;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(8px);
    display: inline-block;
}
.offer-card-content .offer-title {
    margin: 0;
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}
.offer-card-content .offer-description {
    margin: 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: rgba(255,255,255,0.92);
    text-shadow: 0 1px 6px rgba(0,0,0,0.35);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* Text-only cards (no image uploaded) */
.offer-card-media--text .offer-card-content {
    justify-content: center;
}
.offer-card-media--text .offer-card-content .offer-badge {
    background: var(--primary);
    backdrop-filter: none;
}
.offer-card-media--text .offer-card-content .offer-title {
    font-size: 1.2rem;
    text-shadow: none;
}
.offer-card-media--text .offer-card-content .offer-description {
    text-shadow: none;
    -webkit-line-clamp: unset;
}

/* Countdown Offer Section */
.countdown-offer-section { padding: 60px 0; background: linear-gradient(135deg, #1a1a1a 0%, var(--secondary) 55%, #3d3428 100%); }
.countdown-offer-card { color: #fff; }
.countdown-offer-eyebrow { display: inline-block; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.countdown-offer-badge { display: inline-block; background: var(--primary); color: #fff; font-weight: 700; font-size: 0.8rem; padding: 6px 14px; border-radius: 999px; margin-left: 8px; vertical-align: middle; }
.countdown-offer-title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 12px 0; color: #fff; }
.countdown-offer-desc { color: rgba(255,255,255,.82); 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: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px 10px; backdrop-filter: blur(8px); }
.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: rgba(255,255,255,.65); 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: rgba(255,255,255,.6); }
.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(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: #fff; 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: #f5f0eb; }
.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; }

/* Newsletter */
.newsletter-section { background: linear-gradient(135deg, var(--secondary), #444); padding: 80px 0; }

/* Brands */
.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; }

/* 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: 999; 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: #1a1a1a;
    --dm-surface: #2c2c2c;
    --dm-surface-alt: #333333;
    --dm-border: #444444;
    --dm-text: #f0f0f0;
    --dm-text-muted: #b0b0b0;
    --dm-text-subtle: #999999;
    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 { 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 { background: #222 !important; color: var(--dm-text); }
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: linear-gradient(135deg, var(--dm-surface-alt), #3a3a3a);
}

/* 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); }

/* Responsive */
@media (max-width: 768px) {
    .hero-slide { min-height: 50vh; }
    .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; }
}

/* ── 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: linear-gradient(135deg, #25D366, #1aad52) !important;
    background-color: #25D366 !important;
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    padding: 14px 20px !important;
    border-radius: 10px !important;
    text-decoration: none !important;
    box-shadow: 0 4px 18px rgba(37,211,102,.35) !important;
    transition: all 0.2s ease !important;
    position: relative !important;
    overflow: hidden !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(-2px) !important;
    box-shadow: 0 8px 28px rgba(37,211,102,.55) !important;
    background: linear-gradient(135deg, #1ebe5d, #179944) !important;
}
.btn-whatsapp-order-lg i { font-size: 1.3rem; }

/* Pulse animation */
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 18px rgba(37,211,102,.35); }
    50%       { box-shadow: 0 4px 30px rgba(37,211,102,.7); }
}
.btn-whatsapp-order-lg { animation: wa-pulse 2.5s ease-in-out infinite; }
.btn-whatsapp-order-lg:hover { animation: none; }

