/**
 * GLAZENIQ - Awwwards-Grade Shop & Cart Stylesheet
 * Glassmorphic E-Commerce Layout, 3D Product Cards, Slide-Over Cart Drawer
 */

/* ==========================================================================
   1. Header Cart Trigger & Badge
   ========================================================================== */
.btn-cart-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary, #ffffff);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    margin-right: 12px;
}

.btn-cart-trigger:hover {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.4);
    color: #34d399;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.25);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: linear-gradient(135deg, #34d399, #10b981);
    color: #070709;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(52, 211, 153, 0.6);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.cart-badge.bump {
    transform: scale(1.4);
}

/* ==========================================================================
   2. Slide-Over Luxury Cart Drawer
   ========================================================================== */
.cart-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(7, 7, 9, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    height: 100dvh;
    background: rgba(14, 14, 18, 0.88);
    backdrop-filter: blur(36px);
    -webkit-backdrop-filter: blur(36px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.is-open {
    transform: translateX(0);
}

/* Drawer Header */
.cart-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.cart-header-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.12em;
    color: #ffffff;
    margin: 0;
}

.cart-item-count-pill {
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.3);
    color: #34d399;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
}

.btn-close-cart {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-close-cart:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: rotate(90deg);
}

/* Drawer Body & Items */
.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 24px 28px;
}

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

.empty-icon-ring {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.empty-title {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #ffffff;
    margin-bottom: 10px;
}

.empty-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 280px;
}

.btn-explore-shop {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 30px;
    background: linear-gradient(135deg, #ffffff, #e2e8f0);
    color: #070709;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-explore-shop:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Item Card */
.cart-item-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.cart-item-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.item-thumb-mini {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: radial-gradient(circle at 30% 30%, rgba(52, 211, 153, 0.15), rgba(7, 7, 9, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-thumb-mini svg {
    color: #34d399;
}

.item-info-main {
    flex: 1;
    min-width: 0;
}

.item-title {
    font-family: 'Syne', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.item-vol {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.item-purity-badge {
    font-size: 10px;
    color: #34d399;
    background: rgba(52, 211, 153, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
}

.item-controls-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.qty-spinner {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2px 8px;
}

.btn-spinner-step {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
}

.btn-spinner-step:hover {
    color: #ffffff;
}

.qty-count-val {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    min-width: 14px;
    text-align: center;
}

.item-price-val {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.btn-remove-item {
    background: none;
    border: none;
    color: rgba(248, 113, 113, 0.6);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s ease;
}

.btn-remove-item:hover {
    color: #f87171;
}

/* Drawer Footer */
.cart-drawer-footer {
    padding: 24px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 14, 0.6);
}

.cart-promo-box {
    margin-bottom: 20px;
}

.promo-input-row {
    display: flex;
    gap: 8px;
}

.promo-input-row input {
    flex: 1;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px 14px;
    color: #ffffff;
    font-size: 12px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    outline: none;
}

.promo-input-row input:focus {
    border-color: rgba(52, 211, 153, 0.5);
}

.btn-promo-apply {
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-promo-apply:hover {
    background: #34d399;
    color: #070709;
}

.promo-feedback-msg {
    display: block;
    font-size: 11px;
    margin-top: 6px;
}

.promo-feedback-msg.success { color: #34d399; }
.promo-feedback-msg.error { color: #f87171; }

.cart-summary-table {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.summary-label {
    color: rgba(255, 255, 255, 0.6);
}

.summary-val {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    color: #ffffff;
}

.badge-exempt { color: rgba(255, 255, 255, 0.4); font-size: 11px; }
.badge-free { color: #34d399; font-size: 11px; font-weight: 700; }
.val-discount { color: #a78bfa; }

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 4px 0;
}

.total-row {
    font-size: 15px;
}

.total-row .summary-label {
    color: #ffffff;
    font-weight: 700;
}

.val-total {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: 20px;
    color: #34d399;
}

.btn-checkout {
    width: 100%;
    height: 52px;
    border-radius: 26px;
    background: linear-gradient(135deg, #34d399, #059669);
    border: none;
    color: #070709;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0 0 25px rgba(52, 211, 153, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-checkout:hover {
    box-shadow: 0 0 35px rgba(52, 211, 153, 0.55);
    transform: translateY(-2px);
}

.cart-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   3. Shop Page Stage & Hero
   ========================================================================== */
.shop-page-body {
    background-color: #070709;
    color: #ffffff;
    min-height: 100vh;
}

.shop-bg-grid {
    position: fixed;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -2;
    pointer-events: none;
}

.shop-vignette {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, transparent 20%, rgba(7, 7, 9, 0.95) 90%);
    z-index: -1;
    pointer-events: none;
}

.shop-stage {
    padding-top: 120px;
    padding-bottom: 100px;
}

.shop-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* Hero Section */
.shop-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px auto;
}

.shop-hero-title {
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5vw, 54px);
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.5));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 16px 0;
}

.shop-hero-subtitle {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

/* Controls Toolbar */
.shop-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    padding: 16px 24px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(20px);
}

.category-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 8px 18px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.filter-pill:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.filter-pill.active {
    background: rgba(52, 211, 153, 0.15);
    border-color: rgba(52, 211, 153, 0.4);
    color: #34d399;
    box-shadow: 0 0 15px rgba(52, 211, 153, 0.2);
}

.sort-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.select-custom-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.select-custom {
    appearance: none;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px 36px 8px 16px;
    color: #ffffff;
    font-size: 13px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    outline: none;
}

.select-arrow {
    position: absolute;
    right: 14px;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.5);
}

/* ==========================================================================
   4. 3D Product Card Grid
   ========================================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.product-card {
    position: relative;
    border-radius: 24px;
    background: rgba(18, 18, 22, 0.6);
    backdrop-filter: blur(28px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(52, 211, 153, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(52, 211, 153, 0.15);
}

.card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: 'Syne', sans-serif;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #ffffff;
    z-index: 2;
}

.badge-bestseller { background: rgba(52, 211, 153, 0.15); border-color: rgba(52, 211, 153, 0.4); color: #34d399; }
.badge-limited { background: rgba(248, 113, 113, 0.15); border-color: rgba(248, 113, 113, 0.4); color: #f87171; }
.badge-vault { background: rgba(167, 139, 250, 0.15); border-color: rgba(167, 139, 250, 0.4); color: #a78bfa; }

/* Product Thumbnail Visuals */
.product-thumb {
    position: relative;
    height: 240px;
    background: radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.08), rgba(7, 7, 9, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thumb-glow {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.2), transparent 70%);
    filter: blur(20px);
    transition: transform 0.5s ease;
}

.product-card:hover .thumb-glow {
    transform: scale(1.4);
}

.product-visual {
    position: relative;
    z-index: 1;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-visual {
    transform: scale(1.08) translateY(-4px);
}

/* CSS Bottle Mockups */
.bottle-mockup {
    width: 60px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bottle-cap {
    width: 30px;
    height: 24px;
    background: linear-gradient(135deg, #e2e8f0, #94a3b8);
    border-radius: 4px 4px 0 0;
}

.bottle-body {
    width: 54px;
    height: 96px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.bottle-label {
    font-family: 'Syne', sans-serif;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.8);
}

.bottle-fluid {
    position: absolute;
    bottom: 4px;
    width: 46px;
    height: 50px;
    background: linear-gradient(180deg, rgba(52, 211, 153, 0.3), rgba(16, 185, 129, 0.7));
    border-radius: 0 0 6px 6px;
}

.dropper-mockup .dropper-top {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
}

.dropper-mockup .dropper-vial {
    width: 48px;
    height: 90px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.device-mockup .device-head {
    width: 60px;
    height: 40px;
    border-radius: 20px 20px 6px 6px;
    background: linear-gradient(135deg, #ffffff, #cbd5e1);
}

.device-mockup .device-handle {
    width: 28px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 14px 14px;
    position: relative;
    display: flex;
    justify-content: center;
}

.device-light {
    position: absolute;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #f87171;
    box-shadow: 0 0 8px #f87171;
}

.jar-mockup .jar-lid {
    width: 70px;
    height: 18px;
    background: linear-gradient(135deg, #a78bfa, #7c3aed);
    border-radius: 6px;
}

.jar-mockup .jar-body {
    width: 64px;
    height: 60px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vial-mockup .vial-cap {
    width: 22px;
    height: 20px;
    background: #34d399;
}

.vial-mockup .vial-tube {
    width: 32px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0 0 16px 16px;
}

.vault-mockup .vault-case {
    width: 100px;
    height: 90px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(167, 139, 250, 0.5);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.2);
}

.vault-seal {
    font-family: 'Syne', sans-serif;
    font-size: 7px;
    font-weight: 800;
    color: #a78bfa;
    letter-spacing: 0.1em;
}

/* Quick View Button */
.btn-quickview {
    position: absolute;
    bottom: 16px;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(7, 7, 9, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 2;
}

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

.btn-quickview:hover {
    background: #ffffff;
    color: #070709;
}

/* Product Info */
.product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.info-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.purity-tag {
    font-size: 11px;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.05em;
}

.vol-tag {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.4);
}

.product-title {
    font-family: 'Syne', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 8px 0;
}

.product-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 20px 0;
    flex: 1;
}

.product-action-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.product-price {
    font-family: 'Syne', sans-serif;
    color: #ffffff;
}

.product-price .currency { font-size: 14px; opacity: 0.7; }
.product-price .amount { font-size: 22px; font-weight: 800; }
.product-price .cents { font-size: 14px; opacity: 0.7; }

.btn-add-cart {
    padding: 10px 18px;
    border-radius: 24px;
    background: rgba(52, 211, 153, 0.12);
    border: 1px solid rgba(52, 211, 153, 0.35);
    color: #34d399;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-add-cart:hover {
    background: #34d399;
    color: #070709;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.4);
    transform: translateY(-2px);
}

/* ==========================================================================
   5. Quick View Modal
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(7, 7, 9, 0.8);
    backdrop-filter: blur(16px);
    z-index: 9998;
}

.quickview-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 840px;
    background: rgba(18, 18, 22, 0.95);
    backdrop-filter: blur(32px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    z-index: 9999;
    padding: 40px;
    overflow: hidden;
}

.btn-close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.quickview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

@media (max-width: 768px) {
    .quickview-content {
        grid-template-columns: 1fr;
    }
    .quickview-modal {
        padding: 24px;
        max-height: 90vh;
        overflow-y: auto;
    }
}

.quickview-media {
    background: radial-gradient(circle at 50% 50%, rgba(52, 211, 153, 0.12), rgba(7, 7, 9, 0.95));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.qv-visual-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qv-specs-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.qv-badge {
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 12px;
}

.qv-purity {
    font-size: 12px;
    font-weight: 700;
    color: #34d399;
    letter-spacing: 0.1em;
}

.qv-title {
    font-family: 'Syne', sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    margin: 6px 0;
}

.qv-price {
    font-family: 'Syne', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 16px;
}

.qv-desc {
    font-size: 13px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 24px;
}

.qv-select-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
}

.volume-options {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
}

.btn-vol-opt {
    padding: 8px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-vol-opt.active {
    background: rgba(52, 211, 153, 0.15);
    border-color: #34d399;
    color: #34d399;
}

.qv-stock-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 10px #34d399;
}

.qv-action-row {
    display: flex;
    gap: 16px;
}

.qty-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 26px;
    padding: 0 12px;
}

.btn-qty {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 16px;
    cursor: pointer;
    padding: 10px;
}

.qty-num {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    min-width: 20px;
    text-align: center;
}

.btn-qv-add {
    flex: 1;
}

.fly-particle {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #34d399, #10b981);
    box-shadow: 0 0 20px #34d399;
    pointer-events: none;
    z-index: 10000;
    transition: all 0.75s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   6. Responsive Breakpoints — Shop Page
   ========================================================================== */

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
    .shop-stage {
        padding-top: 100px;
        padding-bottom: 80px;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 24px;
    }
}

/* Large Mobile (≤768px) */
@media (max-width: 768px) {
    .shop-container {
        padding: 0 20px;
    }
    .shop-stage {
        padding-top: 90px;
    }
    .shop-hero {
        margin-bottom: 40px;
    }
    .shop-controls-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 14px 16px;
    }
    .category-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .category-pills::-webkit-scrollbar { display: none; }
    .sort-wrap {
        width: 100%;
        justify-content: flex-end;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 20px;
    }
    /* Cart drawer — full-width on mobile */
    .cart-drawer {
        max-width: 100%;
    }
    /* Quick view modal — full-screen panel on mobile */
    .quickview-modal {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
        padding: 24px 20px;
        overflow-y: auto;
    }
    .quickview-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Small Mobile (≤640px) */
@media (max-width: 640px) {
    .shop-container {
        padding: 0 16px;
    }
    .product-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }
    .product-thumb {
        height: 180px;
    }
    .product-info {
        padding: 16px;
    }
    .product-title {
        font-size: 15px;
    }
    .product-action-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .btn-add-cart {
        min-height: 44px;
        padding: 10px 14px;
        font-size: 12px;
    }
    .cart-drawer-header,
    .cart-drawer-body,
    .cart-drawer-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* Extra-Small Mobile (≤480px) */
@media (max-width: 480px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .product-thumb {
        height: 200px;
    }
    .shop-hero-title {
        font-size: 28px;
    }
    .filter-pill {
        padding: 7px 14px;
        font-size: 12px;
        white-space: nowrap;
    }
    .btn-checkout {
        height: 48px;
    }
}

