/* ═══════════════════════════════════════════
   PREMIUM EXTRAS CSS
   Voice Search, Dark Mode, Page Loader,
   Quiz Modal, Quick View, Notifications
   ═══════════════════════════════════════════ */

/* ─── PAGE LOADER ─── */
.premium-loader {
    position: fixed; inset: 0; z-index: 99999;
    background: #fff;
    display: grid; place-items: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.premium-loader.is-loaded { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-content { text-align: center; }
.loader-logo {
    width: 64px; height: 64px; border-radius: 1rem; margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #B72CDB, #741B8E);
    color: #fff; font-weight: 800; font-size: 1.4rem;
    display: grid; place-items: center;
    animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse {
    0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(183,44,219,0.3); }
    50% { transform: scale(1.08); box-shadow: 0 0 0 20px rgba(183,44,219,0); }
}
.loader-bar {
    width: 180px; height: 3px; background: #e8e8e8; border-radius: 4px; overflow: hidden;
}
.loader-bar-fill {
    width: 0; height: 100%; background: linear-gradient(90deg, #B72CDB, #FF7A45);
    border-radius: 4px;
    animation: loaderFill 1.5s ease-out forwards;
}
@keyframes loaderFill { to { width: 100%; } }

/* ─── SCROLL INDICATOR ─── */
.scroll-indicator {
    position: fixed; top: 0; left: 0; height: 3px;
    background: linear-gradient(90deg, #B72CDB, #FF7A45, #FF6B35);
    z-index: 99990; width: 0;
    transition: width 0.1s linear;
}

/* ─── VOICE SEARCH ─── */
.voice-search-btn {
    border: none; background: none; color: #B72CDB;
    padding: 0.5rem; cursor: pointer; font-size: 1rem;
    transition: color 0.2s ease;
    display: flex; align-items: center;
    flex: 0 0 auto;
}
.voice-search-btn:hover { color: #FF6B35; }
.voice-search-btn.is-disabled {
    color: #b8b8b8;
    cursor: not-allowed;
}
.voice-search-btn.is-listening {
    color: #FF6161;
    animation: voicePulse 1s ease-in-out infinite;
}
@keyframes voicePulse {
    0%,100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

/* ─── DARK MODE ─── */
.dark-mode-toggle {
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.1);
    color: #F6C9FF; cursor: pointer;
    display: grid; place-items: center;
    font-size: 0.9rem; transition: all 0.3s ease;
}
.dark-mode-toggle:hover { background: rgba(255,255,255,0.2); }

/* ═══ COMPREHENSIVE DARK MODE ═══ */
body.dark-mode {
    background: #1a1a2e !important;
    color: #e0e0e0 !important;
}

/* ─ Global text overrides ─ */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3,
body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 { color: #f0f0f0 !important; }
body.dark-mode p { color: #c0c0c0; }
body.dark-mode a:not(.btn):not(.nav-link):not(.navbar-brand) { color: #8ab4f8; }
body.dark-mode .text-dark, body.dark-mode .text-body,
body.dark-mode .text-muted { color: #b0b0b0 !important; }
body.dark-mode .text-black { color: #e0e0e0 !important; }
body.dark-mode .fw-bold, body.dark-mode strong,
body.dark-mode b, body.dark-mode label { color: #e0e0e0 !important; }
body.dark-mode small { color: #aaa !important; }

/* ─ Backgrounds ─ */
body.dark-mode .bg-white, body.dark-mode .bg-light,
body.dark-mode .bg-body { background: #16213e !important; }
body.dark-mode .container, body.dark-mode main { color: #e0e0e0; }
body.dark-mode section { color: #e0e0e0; }

/* ─ Header & Nav ─ */
body.dark-mode .site-header {
    background: linear-gradient(180deg, #16213e, #0f3460) !important;
}
body.dark-mode .mp-subnav,
body.dark-mode .mp-category-strip,
body.dark-mode .mp-deal-section,
body.dark-mode .mp-trust-strip {
    background: #16213e !important;
    border-color: rgba(255,255,255,0.08) !important;
}
body.dark-mode .mp-subnav-link { color: #ccc !important; }
body.dark-mode .mp-subnav-link:hover { color: #FF7A45 !important; border-bottom-color: #FF7A45 !important; }
body.dark-mode .mp-subnav-link i { color: inherit !important; }
body.dark-mode .mp-announce-bar { background: linear-gradient(90deg, #16213e, #0f3460) !important; color: #FF7A45 !important; }
body.dark-mode .mp-announce-bar strong { color: #F6C9FF !important; }

/* ─ Category strip ─ */
body.dark-mode .mp-category-icon { background: rgba(183,44,219,0.2) !important; border-color: rgba(183,44,219,0.3) !important; }
body.dark-mode .mp-category-icon i { color: #8ab4f8 !important; }
body.dark-mode .mp-category-name { color: #ccc !important; }
body.dark-mode .mp-category-item:hover .mp-category-name { color: #FF7A45 !important; }

/* ─ Product Cards ─ */
body.dark-mode .shop-product-card,
body.dark-mode .landing-product-card,
body.dark-mode article.shop-product-card,
body.dark-mode .product-card {
    background: #16213e !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e0e0e0 !important;
}
body.dark-mode .shop-product-card h3 a,
body.dark-mode .shop-product-body h3,
body.dark-mode .shop-product-card h3,
body.dark-mode .product-card h3 { color: #e0e0e0 !important; }
body.dark-mode .shop-product-card p,
body.dark-mode .shop-product-card .text-muted,
body.dark-mode .shop-product-card small { color: #aaa !important; }
body.dark-mode .shop-product-card .price,
body.dark-mode .shop-product-card .fw-bold { color: #e0e0e0 !important; }
body.dark-mode .shop-product-card .text-decoration-line-through { color: #888 !important; }
body.dark-mode .shop-card-actions .btn-outline-dark,
body.dark-mode .shop-card-actions .btn-outline-secondary {
    border-color: rgba(255,255,255,0.2) !important;
    color: #ccc !important;
}
body.dark-mode .shop-card-actions .btn-outline-dark:hover,
body.dark-mode .shop-card-actions .btn-outline-secondary:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
}

/* ─ Deal section ─ */
body.dark-mode .mp-deal-section { background: #16213e !important; }
body.dark-mode .mp-deal-title { color: #f0f0f0 !important; }
body.dark-mode .mp-deal-timer-block { background: #FF7A45 !important; }
body.dark-mode .mp-deal-timer-label { color: #ccc !important; }

/* ─ Trust strip ─ */
body.dark-mode .mp-trust-label { color: #bbb !important; }
body.dark-mode .mp-trust-icon { color: #8ab4f8 !important; }

/* ─ Filter sidebar / Shop page ─ */
body.dark-mode .filter-sidebar,
body.dark-mode .shop-filter-card,
body.dark-mode .sidebar-filter,
body.dark-mode aside,
body.dark-mode .card {
    background: #16213e !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e0e0e0 !important;
}
body.dark-mode .accordion-button,
body.dark-mode .accordion-item {
    background: #16213e !important;
    color: #e0e0e0 !important;
    border-color: rgba(255,255,255,0.08) !important;
}
body.dark-mode .accordion-button::after { filter: invert(1); }
body.dark-mode .accordion-body { background: #1a1a2e !important; color: #ccc !important; }
body.dark-mode .list-group-item {
    background: #16213e !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #ccc !important;
}
body.dark-mode .form-check-label { color: #ccc !important; }
body.dark-mode .form-select {
    background-color: #16213e !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #e0e0e0 !important;
}
body.dark-mode input[type="text"],
body.dark-mode input[type="search"],
body.dark-mode input[type="email"],
body.dark-mode input[type="number"],
body.dark-mode textarea,
body.dark-mode select,
body.dark-mode .form-control {
    background: #16213e !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #e0e0e0 !important;
}
body.dark-mode .form-control::placeholder { color: #888 !important; }

/* ─ Product Detail page ─ */
body.dark-mode .product-detail-card,
body.dark-mode .detail-card,
body.dark-mode .premium-detail-card {
    background: #16213e !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e0e0e0 !important;
}
body.dark-mode .product-detail-card h1,
body.dark-mode .product-detail-card h2,
body.dark-mode .product-detail-card h3,
body.dark-mode .product-detail-card p { color: #e0e0e0 !important; }
body.dark-mode .detail-price-row strong { color: #e0e0e0 !important; }
body.dark-mode .detail-price-row .text-decoration-line-through { color: #888 !important; }
body.dark-mode .detail-badge-row span { color: #ccc !important; }
body.dark-mode .premium-detail-brand { color: #8ab4f8 !important; }
body.dark-mode .nav-tabs { border-color: rgba(255,255,255,0.1) !important; }
body.dark-mode .nav-tabs .nav-link { color: #aaa !important; }
body.dark-mode .nav-tabs .nav-link.active {
    color: #FF7A45 !important;
    background: transparent !important;
    border-color: rgba(255,255,255,0.1) !important;
    border-bottom-color: transparent !important;
}
body.dark-mode .tab-content { color: #ccc !important; }
body.dark-mode .breadcrumb { color: #aaa; }
body.dark-mode .breadcrumb-item a { color: #8ab4f8 !important; }
body.dark-mode .breadcrumb-item.active { color: #ccc !important; }
body.dark-mode .breadcrumb-item + .breadcrumb-item::before { color: #666 !important; }

/* ─ Cart page ─ */
body.dark-mode .cart-line-card,
body.dark-mode .cart-totals-card,
body.dark-mode .coupon-panel {
    background: #16213e !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: #e0e0e0 !important;
}
body.dark-mode .cart-line-card h5,
body.dark-mode .cart-line-card p,
body.dark-mode .cart-totals-card th,
body.dark-mode .cart-totals-card td { color: #e0e0e0 !important; }

/* ─ Footer ─ */
body.dark-mode .site-footer { background: #0a0a1a !important; color: #aaa !important; }
body.dark-mode .site-footer h5, body.dark-mode .site-footer h6 { color: #e0e0e0 !important; }
body.dark-mode .site-footer a { color: #aaa !important; }
body.dark-mode .site-footer a:hover { color: #FF7A45 !important; }
body.dark-mode .footer-bottom { border-color: rgba(255,255,255,0.08) !important; }

/* ─ Search ─ */
body.dark-mode .smart-search-dropdown { background: #16213e !important; }
body.dark-mode .ss-item { color: #ccc !important; }
body.dark-mode .ss-item:hover { background: #1a1a2e !important; color: #FF7A45 !important; }
body.dark-mode .ss-section-title { color: #888 !important; }

/* ─ AI Chatbot ─ */
body.dark-mode .ai-chat-body { background: #1a1a2e !important; }
body.dark-mode .ai-msg-bot .ai-msg-bubble { background: #16213e !important; color: #e0e0e0 !important; }
body.dark-mode .ai-msg-user .ai-msg-bubble { background: #B72CDB !important; }
body.dark-mode .ai-chat-input { background: #16213e !important; border-color: rgba(255,255,255,0.1) !important; }
body.dark-mode .ai-chat-input input { background: transparent !important; color: #e0e0e0 !important; }
body.dark-mode .ai-quick-chip { background: #16213e !important; color: #ccc !important; border-color: rgba(255,255,255,0.15) !important; }
body.dark-mode .ai-quick-chip:hover { background: #B72CDB !important; color: #fff !important; }

/* ─ Bootstrap overrides ─ */
body.dark-mode .table { color: #e0e0e0 !important; }
body.dark-mode .table th, body.dark-mode .table td { border-color: rgba(255,255,255,0.08) !important; color: #e0e0e0 !important; }
body.dark-mode .alert { background: #16213e !important; color: #e0e0e0 !important; border-color: rgba(255,255,255,0.1) !important; }
body.dark-mode .modal-content { background: #16213e !important; color: #e0e0e0 !important; }
body.dark-mode .dropdown-menu { background: #16213e !important; border-color: rgba(255,255,255,0.1) !important; }
body.dark-mode .dropdown-item { color: #ccc !important; }
body.dark-mode .dropdown-item:hover { background: #1a1a2e !important; color: #FF7A45 !important; }
body.dark-mode .btn-outline-dark {
    border-color: rgba(255,255,255,0.25) !important;
    color: #ccc !important;
}
body.dark-mode .btn-outline-dark:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
}
body.dark-mode hr { border-color: rgba(255,255,255,0.1) !important; }
body.dark-mode .border { border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .border-bottom { border-bottom-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .shadow, body.dark-mode .shadow-sm { box-shadow: 0 2px 8px rgba(0,0,0,0.3) !important; }
body.dark-mode .badge.bg-light { background: #16213e !important; color: #ccc !important; }
body.dark-mode .page-link { background: #16213e !important; border-color: rgba(255,255,255,0.1) !important; color: #8ab4f8 !important; }
body.dark-mode .page-item.active .page-link { background: #B72CDB !important; border-color: #B72CDB !important; }

/* ─ Misc sections with inline styles ─ */
body.dark-mode [style*="background: #f"] { background: #16213e !important; }
body.dark-mode [style*="background:#f"] { background: #16213e !important; }
body.dark-mode [style*="background: white"] { background: #16213e !important; }
body.dark-mode [style*="background: rgb(248"] { background: #16213e !important; }
body.dark-mode [style*="color: #212121"] { color: #e0e0e0 !important; }
body.dark-mode [style*="color: #666"] { color: #aaa !important; }
body.dark-mode [style*="color:#212121"] { color: #e0e0e0 !important; }

/* ─ Homepage sections with inline bg ─ */
body.dark-mode .mp-hero-section { background: #0f1b30 !important; }
body.dark-mode .mp-brand-strip { background: #16213e !important; border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .mp-brand-chip { background: #1a1a2e !important; color: #ccc !important; border-color: rgba(255,255,255,0.12) !important; }
body.dark-mode .recently-viewed-strip { background: #16213e !important; }
body.dark-mode .rv-card { background: #1a1a2e !important; border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .rv-card span { color: #ccc !important; }

/* ─ Icons ─ */
body.dark-mode i.bi { color: inherit; }
body.dark-mode .bi-star-fill { color: #FF7A45 !important; }
body.dark-mode .bi-star-half { color: #FF7A45 !important; }

/* ─ Catalog / Shop page ─ */
body.dark-mode .catalog-toolbar {
    background: #16213e !important;
    border-color: rgba(255,255,255,0.08) !important;
}
body.dark-mode .catalog-toolbar h2 { color: #e0e0e0 !important; }
body.dark-mode .catalog-toolbar p { color: #aaa !important; }
body.dark-mode .catalog-toolbar .eyebrow { color: #8ab4f8 !important; }
body.dark-mode .catalog-hero { color: #e0e0e0 !important; }
body.dark-mode .catalog-shell { background: #1a1a2e !important; }
body.dark-mode .catalog-filter-column { color: #e0e0e0 !important; }
body.dark-mode .catalog-filter-column h2,
body.dark-mode .catalog-filter-column h3,
body.dark-mode .catalog-filter-column h4,
body.dark-mode .catalog-filter-column label { color: #e0e0e0 !important; }
body.dark-mode .eyebrow { color: #8ab4f8 !important; }

/* ─ Shop buttons ─ */
body.dark-mode .shop-product-card .btn,
body.dark-mode article .btn {
    color: #e0e0e0 !important;
}
body.dark-mode .btn-dark {
    background: #0f1b30 !important;
    border-color: rgba(255,255,255,0.15) !important;
    color: #fff !important;
}
body.dark-mode .btn-outline-light {
    border-color: rgba(255,255,255,0.2) !important;
    color: #e0e0e0 !important;
}
body.dark-mode .shop-view-btn,
body.dark-mode a.btn-outline-dark,
body.dark-mode a.btn-outline-secondary {
    border-color: rgba(255,255,255,0.2) !important;
    color: #ccc !important;
    background: transparent !important;
}
body.dark-mode .shop-view-btn:hover,
body.dark-mode a.btn-outline-dark:hover,
body.dark-mode a.btn-outline-secondary:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
}

/* ─ Wishlist/Profile pages ─ */
body.dark-mode .wishlist-grid { color: #e0e0e0; }
body.dark-mode .profile-card { background: #16213e !important; color: #e0e0e0 !important; border-color: rgba(255,255,255,0.08) !important; }

/* ─ Auth pages ─ */
body.dark-mode .auth-card { background: #16213e !important; color: #e0e0e0 !important; border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .auth-card h1, body.dark-mode .auth-card h2 { color: #f0f0f0 !important; }
body.dark-mode .auth-card label { color: #ccc !important; }

/* ─ Blog/About pages ─ */
body.dark-mode article { color: #e0e0e0; }
body.dark-mode article p { color: #ccc; }
body.dark-mode .blog-card { background: #16213e !important; border-color: rgba(255,255,255,0.08) !important; }
body.dark-mode .blog-card h3 { color: #e0e0e0 !important; }

/* ─ Quiz CTA & inline-styled sections ─ */
.quiz-cta-section {
    background: linear-gradient(135deg, #FFF8FF, #F6D7F9);
    padding: 2.5rem 0;
    margin-top: 0.75rem;
}
.quiz-cta-badge {
    background: #FF6B35; color: #fff; padding: 0.2rem 0.7rem;
    border-radius: 999px; font-size: 0.72rem; font-weight: 700;
}
.quiz-cta-title { font-size: 1.6rem; font-weight: 700; color: #212121; margin-bottom: 0.5rem; }
.quiz-cta-desc { color: #666; font-size: 0.95rem; max-width: 500px; }
.quiz-cta-circle {
    width: 80px; height: 80px; border-radius: 50%; background: #fff;
    display: grid; place-items: center; margin: 0 auto 0.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.quiz-cta-arrow { padding-top: 1.5rem; color: #ccc; font-size: 1.2rem; }
.quiz-cta-label { font-weight: 600; font-size: 0.72rem; color: #333; }

body.dark-mode .quiz-cta-section {
    background: linear-gradient(135deg, #0f1b30, #16213e) !important;
}
body.dark-mode .quiz-cta-title { color: #f0f0f0 !important; }
body.dark-mode .quiz-cta-desc { color: #bbb !important; }
body.dark-mode .quiz-cta-label { color: #ccc !important; }
body.dark-mode .quiz-cta-circle {
    background: #16213e !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3) !important;
}
body.dark-mode .quiz-cta-arrow { color: #666 !important; }

/* ─── NOTIFICATION PANEL ─── */
.notif-panel {
    position: absolute; top: 100%; right: 0; width: 340px;
    background: #fff; border-radius: 0.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 9999; overflow: hidden;
    transform: translateY(10px); opacity: 0; pointer-events: none;
    transition: all 0.25s ease;
}
.notif-panel.is-open { transform: translateY(4px); opacity: 1; pointer-events: all; }
.notif-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 0.85rem 1rem; border-bottom: 1px solid #f0f0f0;
}
.notif-header strong { font-size: 0.95rem; }
.notif-count {
    background: #FF6B35; color: #fff; padding: 0.15rem 0.5rem;
    border-radius: 999px; font-size: 0.68rem; font-weight: 700;
}
.notif-list { max-height: 300px; overflow-y: auto; }
.notif-item {
    display: flex; align-items: flex-start; gap: 0.65rem;
    padding: 0.75rem 1rem; border-bottom: 1px solid #f8f8f8;
    transition: background 0.2s ease; cursor: pointer;
}
.notif-item:hover { background: #f5f7fa; }
.notif-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 0.1rem; }
.notif-text { margin: 0; font-size: 0.82rem; color: #212121; line-height: 1.4; }
.notif-time { color: #878787; font-size: 0.7rem; }

body.dark-mode .notif-panel { background: #16213e; }
body.dark-mode .notif-item { border-color: rgba(255,255,255,0.06); }
body.dark-mode .notif-item:hover { background: #1a1a2e; }
body.dark-mode .notif-text { color: #e0e0e0; }

/* ─── QUICK VIEW MODAL ─── */
.qv-overlay {
    position: fixed; inset: 0; z-index: 99995;
    background: rgba(0,0,0,0.5);
    display: grid; place-items: center;
    opacity: 0; transition: opacity 0.3s ease;
}
.qv-overlay.is-open { opacity: 1; }
.qv-modal {
    background: #fff; border-radius: 0.75rem;
    width: 720px; max-width: calc(100vw - 2rem); max-height: calc(100vh - 4rem);
    overflow-y: auto; position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    transform: scale(0.9) translateY(20px);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.qv-overlay.is-open .qv-modal { transform: scale(1) translateY(0); }
.qv-close {
    position: absolute; top: 0.75rem; right: 0.75rem;
    border: none; background: rgba(0,0,0,0.06); width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer; display: grid; place-items: center;
    z-index: 2; font-size: 0.85rem;
}
.qv-close:hover { background: rgba(0,0,0,0.1); }
.qv-grid { display: grid; grid-template-columns: 1fr 1fr; }
.qv-image { padding: 1.5rem; display: grid; place-items: center; background: #f8f8f8; }
.qv-image img { max-width: 100%; max-height: 320px; object-fit: contain; border-radius: 0.375rem; }
.qv-info { padding: 1.5rem; display: flex; flex-direction: column; gap: 0.75rem; }
.qv-info h3 { font-size: 1.15rem; font-weight: 600; margin: 0; line-height: 1.3; }
.qv-price { font-size: 1.3rem; font-weight: 700; color: #212121; }
.qv-rating { display: flex; align-items: center; gap: 0.25rem; color: #FF7A45; font-size: 0.85rem; }
.qv-rating span { color: #878787; font-size: 0.78rem; margin-left: 0.3rem; }
.qv-offers { display: flex; flex-direction: column; gap: 0.4rem; }
.qv-offer {
    font-size: 0.78rem; color: #212121; display: flex; align-items: center; gap: 0.5rem;
}
.qv-offer-tag {
    background: #388E3C; color: #fff; padding: 0.1rem 0.4rem;
    border-radius: 0.2rem; font-size: 0.68rem; font-weight: 700;
}
.qv-actions { display: flex; gap: 0.65rem; margin-top: 0.5rem; }
.qv-btn-primary {
    background: #FF6B35 !important; color: #fff !important;
    border: none !important; flex: 1; font-weight: 600 !important;
}
.qv-btn-primary:hover { background: #E65A2F !important; }
.qv-btn-secondary {
    background: #FF7A45 !important; color: #fff !important;
    border: none !important; flex: 1; font-weight: 600 !important;
}
.qv-btn-secondary:hover { background: #E85E34 !important; }
.qv-trust {
    display: flex; gap: 1rem; font-size: 0.72rem; color: #878787;
    border-top: 1px solid #f0f0f0; padding-top: 0.75rem; margin-top: auto;
}
.qv-trust i { color: #B72CDB; margin-right: 0.2rem; }

.quick-preview-tag {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: rgba(0,0,0,0.7); color: #fff;
    text-align: center; padding: 0.5rem;
    font-size: 0.78rem; font-weight: 600;
    cursor: pointer; opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}
.shop-product-media:hover .quick-preview-tag,
.position-relative:hover .quick-preview-tag {
    opacity: 1; transform: translateY(0);
}

/* ─── AI QUIZ MODAL ─── */
.quiz-overlay {
    position: fixed; inset: 0; z-index: 99996;
    background: rgba(0,0,0,0.6);
    display: grid; place-items: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s ease;
}
.quiz-overlay.is-open { opacity: 1; pointer-events: all; }
.quiz-modal {
    background: #fff; border-radius: 1rem;
    width: 500px; max-width: calc(100vw - 2rem);
    max-height: calc(100vh - 4rem); overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    position: relative;
    transform: scale(0.85) translateY(30px);
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
}
.quiz-overlay.is-open .quiz-modal { transform: scale(1) translateY(0); }
.quiz-close {
    position: absolute; top: 0.75rem; right: 0.75rem;
    border: none; background: rgba(0,0,0,0.06); width: 36px; height: 36px;
    border-radius: 50%; cursor: pointer; display: grid; place-items: center;
    z-index: 2;
}
.quiz-progress-bar {
    height: 4px; background: #e8e8e8;
    border-radius: 1rem 1rem 0 0; overflow: hidden;
}
.quiz-progress-fill {
    height: 100%; background: linear-gradient(90deg, #B72CDB, #FF7A45);
    transition: width 0.5s ease; width: 0;
}
.quiz-body { padding: 2rem; }
.quiz-step { text-align: center; }
.quiz-step-number {
    font-size: 0.72rem; font-weight: 700; color: #B72CDB;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem;
}
.quiz-step-icon { font-size: 2.5rem; color: #B72CDB; display: block; margin-bottom: 0.75rem; }
.quiz-title { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.35rem; }
.quiz-subtitle { font-size: 0.88rem; color: #878787; margin-bottom: 1.5rem; }
.quiz-options { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.quiz-option {
    display: flex; align-items: center; gap: 0.65rem;
    border: 2px solid #e0e0e0; background: #fff; border-radius: 0.625rem;
    padding: 0.85rem; cursor: pointer; text-align: left;
    transition: all 0.25s ease;
}
.quiz-option:hover { border-color: #B72CDB; background: #fff8ff; }
.quiz-option.selected { border-color: #B72CDB; background: #F3DCFB; }
.quiz-option-icon { font-size: 1.5rem; }
.quiz-option strong { display: block; font-size: 0.88rem; }
.quiz-option small { display: block; font-size: 0.72rem; color: #878787; }

.quiz-result { text-align: center; padding: 1rem 0; }
.quiz-result-sparkle { font-size: 3rem; animation: sparkleFloat 2s ease-in-out infinite; }
@keyframes sparkleFloat {
    0%,100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-8px) scale(1.1); }
}
.quiz-rec-card {
    background: linear-gradient(135deg, #fff8ff, #F3DCFB);
    border: 2px solid #B72CDB; border-radius: 0.75rem;
    padding: 1.5rem; margin: 1.25rem 0; position: relative;
}
.quiz-rec-badge {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, #B72CDB, #741B8E);
    color: #fff; padding: 0.2rem 0.8rem; border-radius: 999px;
    font-size: 0.72rem; font-weight: 700; white-space: nowrap;
}
.quiz-rec-card h4 { font-size: 1.2rem; font-weight: 700; margin: 0.75rem 0 0.35rem; }
.quiz-rec-card p { font-size: 0.88rem; color: #878787; margin: 0; }
.quiz-shop-btn {
    background: #FF6B35 !important; color: #fff !important;
    border: none !important; margin-top: 1rem; font-weight: 600 !important;
}
.quiz-retake {
    border: none; background: none; color: #B72CDB;
    font-size: 0.85rem; font-weight: 600; cursor: pointer;
    margin-top: 0.75rem;
}
.quiz-retake:hover { text-decoration: underline; }

/* ─── STATS COUNTER BAR ─── */
.stats-bar {
    background: linear-gradient(135deg, #B72CDB, #741B8E);
    padding: 2rem 0; color: #fff;
}
.stats-grid {
    display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap;
    text-align: center;
}
.stat-item { min-width: 120px; }
.stat-number { font-size: 2rem; font-weight: 800; display: block; line-height: 1.2; }
.stat-label { font-size: 0.78rem; opacity: 0.8; margin-top: 0.2rem; font-weight: 500; }

/* ─── RESPONSIVE ─── */
@media (max-width: 767.98px) {
    .qv-grid { grid-template-columns: 1fr; }
    .qv-image { padding: 1rem; }
    .qv-info { padding: 1rem; }
    .quiz-options { grid-template-columns: 1fr; }
    .notif-panel { width: calc(100vw - 2rem); right: -1rem; }
    .stats-grid { gap: 1.5rem; }
    .stat-number { font-size: 1.5rem; }
}

/* ==============================================================
   LUXURY UI OVERHAUL & ANIMATIONS
   ============================================================== */

/* ── Product Cards ── */
.shop-product-card,
article.shop-product-card {
    border: 1px solid rgba(0, 0, 0, 0.04) !important;
    border-radius: 1.25rem !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.03) !important;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    background: #ffffff !important;
    overflow: hidden !important;
}

.shop-product-card:hover,
article.shop-product-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
    border-color: rgba(183, 44, 219, 0.15) !important;
}

.shop-product-media,
.shop-product-card .position-relative[style*="padding-top"] {
    border-radius: 1.25rem 1.25rem 0 0 !important;
    overflow: hidden !important;
}

.shop-product-media img,
.shop-product-card .position-relative[style*="padding-top"] img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.shop-product-card:hover .shop-product-media img,
.shop-product-card:hover .position-relative[style*="padding-top"] img {
    transform: scale(1.08) !important;
}

/* ── Product Card Badges ── */
.shop-badge, .mp-discount-badge {
    background: linear-gradient(135deg, #B72CDB, #741B8E) !important;
    color: #fff !important;
    border-radius: 0.35rem !important;
    font-weight: 700 !important;
    padding: 0.25rem 0.6rem !important;
    box-shadow: 0 4px 10px rgba(183,44,219,0.2) !important;
    border: none !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
}

.shop-badge.dark { background: #111 !important; box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important; }

/* ── Category Cards ── */
.premium-category-card {
    border-radius: 1.25rem !important;
    overflow: hidden !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06) !important;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.premium-category-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12) !important;
}

.premium-category-card img {
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.premium-category-card:hover img {
    transform: scale(1.1) !important;
}

.premium-category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.3) 60%, transparent 100%) !important;
    transition: all 0.5s ease !important;
}

.premium-category-card:hover .premium-category-overlay {
    padding-bottom: 2rem !important;
}

/* ── Trust Badges ── */
.mp-trust-strip {
    background: linear-gradient(to right, #FAFAF8, #ffffff, #FAFAF8) !important;
    border-top: 1px solid rgba(0,0,0,0.03) !important;
    border-bottom: 1px solid rgba(0,0,0,0.03) !important;
    padding: 3rem 0 !important;
}

.mp-trust-item {
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.mp-trust-item:hover {
    transform: translateY(-6px) !important;
}

.mp-trust-icon {
    background: #fff !important;
    color: #B72CDB !important;
    width: 64px !important;
    height: 64px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 1.6rem !important;
    margin-bottom: 1rem !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(183, 44, 219, 0.1) !important;
}

.mp-trust-item:hover .mp-trust-icon {
    background: linear-gradient(135deg, #B72CDB, #741B8E) !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(183,44,219,0.3) !important;
    transform: scale(1.1) !important;
}

/* ── Deal of the Day Timer ── */
.mp-deal-timer-block {
    background: linear-gradient(135deg, #111, #222) !important;
    color: #fff !important;
    border-radius: 0.4rem !important;
    padding: 0.35rem 0.5rem !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15) !important;
    font-size: 0.95rem !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
}

/* ── Add to Cart Button Hover ── */
.shop-card-actions .btn-dark, .btn-dark {
    transition: all 0.3s ease !important;
    background: #111 !important;
    border-color: #111 !important;
}

.shop-card-actions .btn-dark:hover, .btn-dark:hover {
    background: linear-gradient(135deg, #B72CDB, #741B8E) !important;
    border-color: transparent !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(183,44,219,0.3) !important;
}

.btn-outline-dark {
    transition: all 0.3s ease !important;
    border-radius: 0.5rem !important;
}
.btn-outline-dark:hover {
    background: #111 !important;
    color: #fff !important;
}

/* ─── CURSOR STAR ANIMATION ─── */
.cursor-star {
    position: fixed;
    pointer-events: none;
    z-index: 999999;
    animation: starFadeOut 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    transform: translate(-50%, -50%);
}

@keyframes starFadeOut {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0.2) rotate(0deg); }
    100% { opacity: 0; transform: translate(-50%, calc(-50% + 20px)) scale(1.5) rotate(90deg); }
}

/* ─── COMPARE BUTTON (PRODUCT CARDS) ─── */
.compare-add-btn {
    position: absolute;
    top: 4.5rem; /* Just below the wishlist heart */
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.94);
    color: #111;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 5;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 0;
    transform: translateX(10px);
}

.shop-product-card:hover .compare-add-btn,
article.shop-product-card:hover .compare-add-btn {
    opacity: 1;
    transform: translateX(0);
}

.compare-add-btn:hover {
    background: linear-gradient(135deg, #B72CDB, #741B8E);
    color: #fff;
    box-shadow: 0 10px 24px rgba(183, 44, 219, 0.3);
}

.compare-add-btn i {
    font-size: 1.1rem;
}
