/* quick_view.css - Ultra Premium Quick View Modal (Shopee Light Style) */

/* Backdrop */
.qv-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.qv-modal-backdrop.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Modal Container (Desktop) */
.qv-modal-content {
    background: #ffffff;
    width: 90%;
    max-width: 920px;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    overflow: hidden;
    position: relative;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    max-height: 90vh;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.qv-modal-backdrop.show .qv-modal-content {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Close Button (Desktop) */
.qv-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #475569;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.qv-close-btn:hover {
    background: #ef4444;
    color: #fff;
    transform: rotate(90deg) scale(1.05);
}

/* Layout (Desktop) */
.qv-image-section {
    width: 45%;
    background: #f8fafc;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #e2e8f0;
}

.qv-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #ffffff;
    min-height: 400px;
}

.qv-info-section {
    width: 55%;
    padding: 35px;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 90vh;
    background: #ffffff;
}

/* Badges */
.qv-badges {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.qv-badge {
    font-size: 0.58rem !important;
    font-weight: 800 !important;
    padding: 3px 6px !important;
    border-radius: 4px !important;
    text-transform: uppercase !important;
    color: #fff !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 4px !important;
    letter-spacing: 0.3px !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
    margin-right: 6px !important;
    margin-bottom: 5px !important;
}

.qv-badge.gratis-ongkir {
    background: linear-gradient(135deg, #ffe082 0%, #d4a853 100%) !important;
    color: #0b0b0c !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    font-weight: 900 !important;
}

.qv-badge.out-of-stock {
    background: rgba(30, 30, 36, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #94a3b8 !important;
}

.qv-badge.vip {
    background: linear-gradient(135deg, #121212 0%, #262626 50%, #0c0c0c 100%) !important;
    color: #f5e6c8 !important;
    border: 1px solid #d4a853 !important;
    box-shadow: 0 4px 12px rgba(212, 168, 83, 0.3) !important;
    font-weight: 900 !important;
}

.qv-badge.fs-biasa {
    background: linear-gradient(135deg, #e11d48, #9f1239) !important;
    color: #fff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 12px rgba(225, 29, 72, 0.35) !important;
    animation: pulseGlowFS 2s infinite ease-in-out !important;
}

.qv-badge.diskon {
    background: linear-gradient(135deg, #047857, #065f46) !important;
    color: #ecfdf5 !important;
    border: 1px solid rgba(16, 185, 129, 0.25) !important;
}

.qv-badge.terlaris {
    background: linear-gradient(135deg, #27272a, #09090b) !important;
    color: #f5e6c8 !important;
    border: 1px solid rgba(212, 168, 83, 0.3) !important;
}

.qv-badge.top-1 {
    background: linear-gradient(135deg, #ffe082 0%, #d4a853 100%) !important;
    color: #1a0f00 !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    font-weight: 900 !important;
}

.qv-badge.top-2 {
    background: linear-gradient(135deg, #f8fafc, #94a3b8) !important;
    color: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.35) !important;
    font-weight: 900 !important;
}

.qv-badge.top-3 {
    background: linear-gradient(135deg, #ffedd5, #c2410c) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    font-weight: 900 !important;
}

.qv-badge.baru {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
    color: #fff !important;
}

.qv-badge.kondisi-baru {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 800 !important;
}

.qv-badge.kondisi-bekas {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 800 !important;
}

/* Typography */
.qv-brand {
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.qv-title {
    font-size: 22px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.35;
    margin: 0 0 12px 0;
}

.qv-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

.qv-rating i {
    color: #fbbf24;
}

/* Pricing Section */
.qv-price-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f5f9;
}

.qv-price-main {
    font-size: 24px;
    font-weight: 800;
    color: #ef4444;
    /* Shopee Red */
}

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

/* Description & Stock */
.qv-desc {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 18px;
    line-height: 1.5;
}

.qv-qty-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8fafc;
    padding: 10px 14px;
    border-radius: 12px;
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}

.qv-qty-selector {
    display: flex;
    align-items: center;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    overflow: hidden;
}

.qv-qty-selector button {
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #475569;
    cursor: pointer;
    transition: background 0.15s;
}

.qv-qty-selector button:hover {
    background: #f1f5f9;
}

.qv-qty-selector input {
    width: 44px;
    height: 32px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
    border-left: 1px solid #cbd5e1;
    border-right: 1px solid #cbd5e1;
    outline: none;
    background: transparent;
}

.qv-meta {
    display: flex;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 10px 0;
    margin-bottom: 15px;
}

.qv-meta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 14px;
}

.qv-meta-item:first-child {
    border-right: 1px solid #e2e8f0;
}

.qv-meta-label {
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.qv-meta-value {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 4px;
}

/* Action Buttons (Desktop) */
.qv-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    align-items: center;
    width: 100%;
}

.qv-btn-wishlist {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qv-btn-wishlist.active {
    background: #fff1f2 !important;
    border-color: #fecdd3 !important;
    color: #ef4444 !important;
}

.qv-btn-cart {
    flex: 1;
    background: #ffffff !important;
    color: #475569 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    height: 50px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qv-btn-cart:hover {
    background: #f8fafc !important;
    border-color: #94a3b8 !important;
}

.qv-btn-buy {
    flex: 1.2;
    background: #00b050 !important;
    /* Green buy button from screenshot */
    color: #ffffff !important;
    border: none;
    border-radius: 12px !important;
    height: 50px;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 176, 80, 0.3) !important;
    transition: all 0.2s ease;
}

.qv-btn-buy:hover {
    background: #009845 !important;
}

/* ========================================================
   MOBILE VIEW: Shopee-Style Premium Light Layout Override
   ======================================================== */
@media (max-width: 768px) {
    .qv-modal-backdrop {
        height: 100%;
        height: 100dvh;
        background: rgba(0, 0, 0, 0.6);
        align-items: flex-end;
    }

    .qv-modal-content {
        flex-direction: column;
        width: 100%;
        height: 85vh;
        /* Standard bottom sheet height */
        max-height: 85vh;
        border-radius: 20px 20px 0 0;
        transform: translateY(100%);
        background: #ffffff;
        border: none;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.15);
    }

    .qv-modal-backdrop.show .qv-modal-content {
        transform: translateY(0);
    }

    /* Product Image Section */
    .qv-image-section {
        width: calc(100% + 32px) !important;
        max-width: calc(100% + 32px) !important;
        margin-left: -16px !important;
        margin-right: -16px !important;
        margin-top: -15px !important;
        margin-bottom: 20px !important;
        height: 0 !important;
        padding-top: calc(100% + 32px) !important;
        /* Force 1:1 Aspect Ratio Square container spanning 100% width! */
        position: relative !important;
        background: #000000 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    }

    .qv-product-image {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        /* Premium: fit full image without cropping */
        background: #000000 !important;
    }

    /* Swiper gold overrides */
    .qv-image-section .swiper-button-next,
    .qv-image-section .swiper-button-prev {
        color: #d4a853 !important;
        background: rgba(0, 0, 0, 0.6) !important;
        width: 28px !important;
        height: 28px !important;
        border-radius: 50% !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
        transition: all 0.2s ease !important;
    }

    .qv-image-section .swiper-button-next::after,
    .qv-image-section .swiper-button-prev::after {
        font-size: 11px !important;
        font-weight: 900 !important;
    }

    .qv-image-section .swiper-pagination-bullet-active {
        background: #d4a853 !important;
    }

    /* Content Area Scroll Container */
    .qv-mobile-content {
        overflow-y: auto !important;
        flex: 1;
        padding: 15px 16px 140px 16px !important;
        -webkit-overflow-scrolling: touch;
    }

    .qv-info-section {
        width: 100% !important;
        padding: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        background: transparent !important;
    }

    /* Badges list */
    .qv-badges {
        margin-bottom: 8px;
        gap: 6px;
    }

    .qv-badge {
        font-size: 9px;
        padding: 3px 8px;
        border-radius: 4px;
    }

    /* Title */
    .qv-brand {
        font-size: 11px;
        margin-bottom: 3px;
    }

    .qv-title {
        font-size: 15px;
        font-weight: 700;
        color: #1e293b;
        line-height: 1.4;
        margin-bottom: 6px;
    }

    /* Rating stars and text */
    .qv-rating {
        font-size: 11px;
        margin-bottom: 12px;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 10px;
    }

    /* Price tag container styling matching Shopee screenshot */
    .qv-price-container {
        display: flex !important;
        align-items: center !important;
        gap: 8px !important;
        margin-bottom: 12px !important;
        padding-bottom: 0 !important;
        border-bottom: none !important;
    }

    .qv-price-main {
        font-size: 20px !important;
        font-weight: 900 !important;
        color: #ef4444 !important;
        /* Striking Red */
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
    }



    .detail-discount-badge {
        background: #ffe4e6 !important;
        color: #ef4444 !important;
        font-size: 10px !important;
        font-weight: 800 !important;
        padding: 2px 6px !important;
        border-radius: 4px !important;
        border: 1px solid #fecdd3 !important;
        line-height: 1 !important;
        text-transform: uppercase !important;
    }

    .qv-price-old {
        font-size: 12px !important;
        color: #94a3b8 !important;
        margin-left: 2px !important;
        font-weight: 500 !important;
    }

    /* Mock Shopee Coupons Row */
    .qv-mobile-content::before {
        content: '';
        display: none;
    }

    /* Meta data cards */
    .qv-meta {
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        padding: 10px 0 !important;
        margin-bottom: 15px !important;
        box-shadow: none !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
    }

    .qv-meta-item {
        padding: 0 12px !important;
    }

    .qv-meta-item:first-child {
        border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

    .qv-meta-label {
        font-size: 10px !important;
        color: #8a7a5f !important;
        font-weight: 600 !important;
    }

    .qv-meta-value {
        font-size: 12px !important;
        color: #ffffff !important;
        margin-top: 2px !important;
        font-weight: 700 !important;
    }

    /* Qty selector */
    .qv-qty-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
        border-radius: 12px !important;
        padding: 10px 16px !important;
        margin-bottom: 20px !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
    }

    .qv-qty-container #qvQtyLabel {
        color: #ffffff !important;
        font-weight: 700 !important;
        font-size: 13px !important;
    }

    .qv-qty-selector {
        display: flex !important;
        align-items: center !important;
        background: rgba(255, 255, 255, 0.08) !important;
        border-radius: 8px !important;
        padding: 2px !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .qv-qty-selector button {
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        width: 32px !important;
        height: 32px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        font-size: 16px !important;
    }

    .qv-qty-selector input {
        width: 44px !important;
        background: transparent !important;
        border: none !important;
        color: #ffffff !important;
        text-align: center !important;
        font-weight: 700 !important;
        font-size: 14px !important;
    }

    #qvFullDetailLink {
        color: #b8860b !important;
        background: #fdfaf2 !important;
        border: 1px solid #f3e8d3 !important;
        border-radius: 12px !important;
        padding: 12px !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 8px !important;
        text-decoration: none !important;
        box-shadow: 0 2px 6px rgba(212, 168, 83, 0.04) !important;
        transition: all 0.2s ease !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #qvFullDetailLink:hover {
        background: #fbf5e6 !important;
        border-color: #e6d4b8 !important;
        transform: translateY(-2px) !important;
    }

    /* Variations scroll */
    #qvVariationsButtons {
        gap: 8px;
        overflow-x: auto;
    }

    .variant-btn {
        background: #f1f5f9 !important;
        border: 1px solid #cbd5e1 !important;
        color: #475569 !important;
        padding: 6px 12px !important;
        font-size: 11px !important;
        border-radius: 20px !important;
    }

    .variant-btn.active {
        border-color: #00b050 !important;
        background: rgba(0, 176, 80, 0.08) !important;
        color: #00b050 !important;
        box-shadow: 0 0 0 2px rgba(0, 176, 80, 0.15) !important;
    }

    /* Quick View Circular Close Button */
    .qv-close-btn {
        top: 10px !important;
        right: 10px !important;
        width: 32px !important;
        height: 32px !important;
        background: rgba(0, 0, 0, 0.5) !important;
        color: #ffffff !important;
        font-size: 14px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .qv-close-btn:hover {
        background: #ef4444 !important;
    }

    /* Mobile Sheet Gold Luxury Overrides */
    .qv-mobile-sheet {
        background: #111113 !important;
        border-top: 2px solid #d4a853 !important;
        /* Elegant gold indicator top line */
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 76vh !important;
        max-height: 76vh !important;
    }

    .qv-mobile-sheet::before {
        content: '' !important;
        position: absolute !important;
        top: 8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 40px !important;
        height: 4px !important;
        border-radius: 2px !important;
        background: rgba(255, 255, 255, 0.2) !important;
        opacity: 0.8 !important;
        z-index: 11 !important;
    }

    .qv-mobile-sheet .m-modal-header {
        background: transparent !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding: 18px 20px 12px 20px !important;
        /* Account for iOS drag bar */
    }

    .qv-mobile-sheet .m-modal-header h3 {
        color: #d4a853 !important;
        font-weight: 800 !important;
        letter-spacing: 0.5px !important;
    }

    .qv-mobile-sheet .m-modal-close {
        background: rgba(255, 255, 255, 0.05) !important;
        color: #d4a853 !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .qv-mobile-content {
        background: transparent !important;
        overflow-y: auto !important;
        flex: 1;
        padding: 15px 16px 140px 16px !important;
        -webkit-overflow-scrolling: touch !important;
        /* Smooth momentum scrolling on iOS */
        scroll-behavior: smooth !important;
        scrollbar-width: none !important;
        /* Hide Firefox scrollbar */
        -ms-overflow-style: none !important;
        /* Hide IE scrollbar */
    }

    .qv-mobile-content::-webkit-scrollbar {
        display: none !important;
        /* Hide Chrome/Safari scrollbar */
        width: 0 !important;
        height: 0 !important;
    }

    /* Text readability overrides inside the dark mobile sheet */
    .qv-mobile-sheet .qv-brand {
        color: #d4a853 !important;
        /* Gold brand */
        font-weight: 700 !important;
        opacity: 0.9 !important;
    }

    .qv-mobile-sheet .qv-title {
        color: #ffffff !important;
        /* Crisp white title */
        font-weight: 800 !important;
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5) !important;
    }

    .qv-mobile-sheet .qv-desc {
        color: #d6d3d1 !important;
        /* Light stone grey text */
        line-height: 1.6 !important;
        font-weight: 400 !important;
    }

    .qv-mobile-sheet .qv-rating {
        color: #fbbf24 !important;
        /* Amber stars */
    }

    .qv-mobile-sheet .qv-price-main {
        color: #ef4444 !important;
        /* High contrast red price */
    }

    .qv-mobile-sheet .qv-price-old {
        color: #78716c !important;
        /* Muted strike price */
    }

    .qv-mobile-sheet .qv-meta {
        background: rgba(255, 255, 255, 0.03) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }

    .qv-mobile-sheet .qv-meta-label {
        color: #a8a29e !important;
    }

    .qv-mobile-sheet .qv-meta-value {
        color: #ffffff !important;
    }

    .qv-mobile-sheet #qvVariationsContainer {
        color: #ffffff !important;
    }

    .qv-mobile-sheet #qvQtyLabel {
        color: #ffffff !important;
    }

    /* Swiper custom luxury pagination & arrows on mobile */
    .qv-image-section .swiper-pagination {
        position: absolute !important;
        bottom: 12px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        background: rgba(17, 17, 19, 0.7) !important;
        backdrop-filter: blur(4px) !important;
        -webkit-backdrop-filter: blur(4px) !important;
        padding: 5px 10px !important;
        border-radius: 20px !important;
        width: auto !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        display: inline-flex !important;
        gap: 5px !important;
        z-index: 100 !important;
    }

    .qv-image-section .swiper-pagination-bullet {
        width: 6px !important;
        height: 6px !important;
        background: rgba(255, 255, 255, 0.4) !important;
        margin: 0 !important;
        opacity: 1 !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }

    .qv-image-section .swiper-pagination-bullet-active {
        background: #d4a853 !important;
        width: 14px !important;
        border-radius: 4px !important;
    }

    .qv-image-section .swiper-scrollbar {
        display: none !important;
        /* Hide Swiper horizontal/vertical scrollbars completely */
    }

    .qv-image-section .swiper-button-next,
    .qv-image-section .swiper-button-prev {
        color: #d4a853 !important;
        background: rgba(17, 17, 19, 0.75) !important;
        width: 30px !important;
        height: 30px !important;
        border-radius: 50% !important;
        border: 1px solid rgba(212, 168, 83, 0.25) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
        transition: all 0.2s ease !important;
        z-index: 100 !important;
    }

    .qv-image-section .swiper-button-next::after,
    .qv-image-section .swiper-button-prev::after {
        font-size: 10px !important;
        font-weight: 900 !important;
    }

    .qv-info-section {
        background: transparent !important;
    }

    /* Fixed bottom actions bar - Shopee screenshot matching style */
    .qv-total-row {
        position: fixed !important;
        bottom: calc(66px + env(safe-area-inset-bottom, 0px)) !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #161619 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
        padding: 12px 20px !important;
        z-index: 10000 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3) !important;
        box-sizing: border-box !important;
    }

    .qv-total-row span:first-child {
        color: #a8a29e !important;
        font-size: 11px !important;
        text-transform: uppercase !important;
        font-weight: 700 !important;
    }

    #qvTotalBelanja {
        color: #d4a853 !important;
        font-size: 20px !important;
        font-weight: 900 !important;
    }

    .qv-actions {
        position: fixed !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: #111113 !important;
        padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)) 16px !important;
        z-index: 10000 !important;
        display: flex !important;
        gap: 10px !important;
        box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.3) !important;
        box-sizing: border-box !important;
        align-items: center !important;
        border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
    }

    .qv-btn-wishlist {
        display: none !important;
    }

    .qv-btn-cart {
        background: rgba(212, 168, 83, 0.1) !important;
        color: #d4a853 !important;
        border: 1px solid rgba(212, 168, 83, 0.2) !important;
        border-radius: 12px !important;
        height: 46px !important;
        font-weight: 700 !important;
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        flex: 1 !important;
        box-shadow: none !important;
    }

    .qv-btn-buy {
        background: linear-gradient(135deg, #d4a853 0%, #b8860b 100%) !important;
        color: #ffffff !important;
        border: none !important;
        border-radius: 12px !important;
        height: 46px !important;
        font-weight: 800 !important;
        font-size: 13px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        flex: 1.2 !important;
        box-shadow: 0 4px 15px rgba(212, 168, 83, 0.2) !important;
    }
}


/* Quick View Lightbox Overlay */
.qv-lightbox-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.9) !important;
    z-index: 100000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

.qv-lightbox-overlay.active {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.qv-lightbox-content {
    position: relative !important;
    max-width: 90% !important;
    max-height: 90% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.qv-lightbox-img {
    max-width: 100% !important;
    max-height: 90vh !important;
    object-fit: contain !important;
    border-radius: 12px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
}

.qv-lightbox-close {
    position: absolute !important;
    top: -50px !important;
    right: 0 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    font-size: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    z-index: 100000001 !important;
}

.qv-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

/* ==========================================================================
   Luxury Dark & Gold Mobile Redesign Overrides
   ========================================================================== */

/* SweetAlert2 Z-Index Boost & Global Override */
.swal2-container {
    z-index: 2000000000 !important;
    /* Forces Swal above the 100M z-index mobile sheet */
}

/* Luxury Obsidian & Gold Swal Alert */
.qv-luxury-alert {
    background: rgba(18, 18, 20, 0.96) !important;
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    border: 1.5px solid rgba(212, 168, 83, 0.35) !important;
    border-radius: 24px !important;
    padding: 28px 24px 24px 24px !important;
    font-family: 'Outfit', sans-serif !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 168, 83, 0.15) !important;
}

.qv-luxury-alert .swal2-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.5px !important;
}

.qv-luxury-alert .swal2-html-container {
    font-size: 13.5px !important;
    color: #d1d5db !important;
    line-height: 1.6 !important;
    margin-bottom: 24px !important;
}

.qv-luxury-alert .swal2-actions {
    width: 100% !important;
    margin-top: 15px !important;
    gap: 12px !important;
}

/* Success Checkmark Gold Theme Overrides */
.qv-luxury-alert .swal2-icon.swal2-success {
    border-color: #d4a853 !important;
}
.qv-luxury-alert .swal2-icon.swal2-success [class^='swal2-success-line'] {
    background-color: #d4a853 !important;
}
.qv-luxury-alert .swal2-icon.swal2-success .swal2-success-ring {
    border: 4px solid rgba(212, 168, 83, 0.25) !important;
}

/* Confirmation Button (Lanjut Belanja) */
.swal-luxury-btn-confirm {
    background: linear-gradient(135deg, #ffe082 0%, #d4a853 50%, #a87e21 100%) !important;
    color: #0b0b0c !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: none !important;
    padding: 0 24px !important;
    box-shadow: 0 4px 15px rgba(212, 168, 83, 0.3) !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.swal-luxury-btn-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(212, 168, 83, 0.45) !important;
    filter: brightness(1.08) !important;
}
.swal-luxury-btn-confirm:active {
    transform: scale(0.97) !important;
}

/* Cancel Button (Lihat Keranjang) */
.swal-luxury-btn-cancel {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    height: 44px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 0 24px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.swal-luxury-btn-cancel:hover {
    background: rgba(255, 255, 255, 0.14) !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-2px) !important;
}
.swal-luxury-btn-cancel:active {
    transform: scale(0.97) !important;
}

/* Lock Body Scroll when Quick View is active */
body.qv-open {
    overflow: hidden !important;
    height: 100vh !important;
    max-height: 100vh !important;
}

/* Complete Side Scrollbar Hiding on Mobile */
.qv-mobile-content::-webkit-scrollbar,
.dt-var-scroll::-webkit-scrollbar,
.qv-mobile-sheet::-webkit-scrollbar,
.var-buttons::-webkit-scrollbar,
.dt-quick-tabs::-webkit-scrollbar,
.filter-chips::-webkit-scrollbar,
.floating-thumb-container::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

/* High Contrast Luxury Gold Price on Mobile */
.qv-mobile-sheet .qv-price-main {
    color: #d4a853 !important;
    font-weight: 900 !important;
}

.product-out-of-stock-overlay {
    background: rgba(10, 10, 12, 0.62) !important;
    backdrop-filter: grayscale(100%) blur(4px) !important;
    -webkit-backdrop-filter: grayscale(100%) blur(4px) !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 20 !important;
}

.product-out-of-stock-badge {
    background: rgba(10, 10, 12, 0.92) !important;
    border: 1.5px solid #d4a853 !important;
    color: #d4a853 !important;
    padding: 8px 18px !important;
    border-radius: 30px !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    letter-spacing: 2px !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 168, 83, 0.25) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    text-transform: uppercase !important;
}

/* =====================================================
   COD Badge & Estimasi Pengiriman - Luxury Shipping Card
   ===================================================== */

/* Container */
.qv-shipping-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf4 100%);
    border: 1px solid #86efac;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

/* Animated road stripe at bottom */
.qv-shipping-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 3px;
    background: repeating-linear-gradient(90deg, #22c55e 0px, #22c55e 12px, transparent 12px, transparent 20px);
    animation: roadStripe 1.5s linear infinite;
}
@keyframes roadStripe {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Top row: COD badge + Estimasi */
.qv-shipping-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 8px;
}

/* COD Pill Badge */
.qv-cod-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #065f46 0%, #047857 100%);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    box-shadow: 0 2px 8px rgba(4, 120, 87, 0.3);
    text-transform: uppercase;
    white-space: nowrap;
}
.qv-cod-badge i {
    font-size: 12px;
}

/* Estimasi text */
.qv-estimasi-text {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 700;
    color: #065f46;
}
.qv-estimasi-text i {
    font-size: 13px;
    color: #10b981;
}
.qv-estimasi-highlight {
    color: #059669;
    font-weight: 900;
    font-size: 12px;
}

/* Truck animation row */
.qv-truck-row {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    height: 32px;
    overflow: hidden;
}

/* Road line */
.qv-truck-road {
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a7f3d0, #6ee7b7, #a7f3d0, transparent);
    border-radius: 2px;
}

/* Pickup truck container */
.qv-truck-anim {
    position: relative;
    animation: truckBounce 2s ease-in-out infinite, truckDrive 6s linear infinite;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

/* Truck SVG icon */
.qv-truck-svg {
    width: 36px;
    height: 24px;
}

/* Exhaust smoke particles */
.qv-truck-smoke {
    position: absolute;
    left: -6px;
    top: 4px;
    width: 6px;
    height: 6px;
    background: rgba(156, 163, 175, 0.5);
    border-radius: 50%;
    animation: smokeTrail 0.8s ease-out infinite;
}
.qv-truck-smoke:nth-child(2) {
    animation-delay: 0.3s;
    left: -12px;
    top: 2px;
    width: 4px;
    height: 4px;
}

@keyframes truckBounce {
    0%, 100% { transform: translateY(0); }
    25% { transform: translateY(-2px); }
    75% { transform: translateY(1px); }
}
@keyframes truckDrive {
    0% { margin-left: -10%; }
    100% { margin-left: 90%; }
}
@keyframes smokeTrail {
    0% { opacity: 0.6; transform: scale(1) translateX(0); }
    100% { opacity: 0; transform: scale(2.5) translateX(-12px); }
}

/* Delivery note text */
.qv-delivery-note {
    font-size: 10px;
    color: #6b7280;
    font-weight: 600;
    text-align: center;
    margin-top: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.qv-delivery-note i {
    color: #10b981;
    font-size: 11px;
}

/* ========================================
   Mobile Dark Theme Override for Shipping
   ======================================== */
@media (max-width: 991px) {
    .qv-shipping-card {
        background: linear-gradient(135deg, rgba(4, 120, 87, 0.08) 0%, rgba(16, 185, 129, 0.06) 50%, rgba(4, 120, 87, 0.08) 100%) !important;
        border: 1px solid rgba(16, 185, 129, 0.2) !important;
    }
    .qv-shipping-card::after {
        background: repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.5) 0px, rgba(16, 185, 129, 0.5) 12px, transparent 12px, transparent 20px) !important;
    }
    .qv-cod-badge {
        background: linear-gradient(135deg, #059669 0%, #10b981 100%) !important;
        box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3) !important;
    }
    .qv-estimasi-text {
        color: #a7f3d0 !important;
    }
    .qv-estimasi-highlight {
        color: #6ee7b7 !important;
    }
    .qv-truck-road {
        background: linear-gradient(90deg, transparent, rgba(167, 243, 208, 0.3), rgba(110, 231, 183, 0.4), rgba(167, 243, 208, 0.3), transparent) !important;
    }
    .qv-delivery-note {
        color: #9ca3af !important;
    }
    .qv-delivery-note i {
        color: #6ee7b7 !important;
    }
}

/* =====================================================
   Detail Page Shipping Card (Reuses same classes)
   ===================================================== */
.dt-shipping-card {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf4 100%);
    border: 1px solid #86efac;
    border-radius: 16px;
    padding: 14px 16px;
    margin-bottom: 20px;
    margin-top: 5px;
    position: relative;
    overflow: hidden;
}
.dt-shipping-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 3px;
    background: repeating-linear-gradient(90deg, #22c55e 0px, #22c55e 12px, transparent 12px, transparent 20px);
    animation: roadStripe 1.5s linear infinite;
}

/* Mobile overrides for detail page shipping */
@media (max-width: 991px) {
    .dt-shipping-card {
        background: linear-gradient(135deg, rgba(4, 120, 87, 0.08) 0%, rgba(16, 185, 129, 0.06) 50%, rgba(4, 120, 87, 0.08) 100%) !important;
        border: 1px solid rgba(16, 185, 129, 0.2) !important;
    }
    .dt-shipping-card::after {
        background: repeating-linear-gradient(90deg, rgba(16, 185, 129, 0.5) 0px, rgba(16, 185, 129, 0.5) 12px, transparent 12px, transparent 20px) !important;
    }
}