/**
 * VOLT CORE CSS V3 - Enterprise Cyberpunk Dark Edition
 * Cart Drawer, Currency Switcher, Scratch Card, Live Sales Toast, Animations & Glassmorphism
 * Location: c:\xampp\htdocs\volt\assets\css\volt.css
 */

:root {
    --bg-dark: #08090e;
    --bg-surface: #0f121d;
    --bg-card: rgba(18, 22, 34, 0.72);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 242, 254, 0.4);
    
    --volt-cyan: #00f2fe;
    --volt-blue: #4facfe;
    --volt-purple: #7928ca;
    --volt-pink: #ff0080;
    --volt-amber: #f59e0b;
    --volt-emerald: #10b981;
    --volt-rose: #f43f5e;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --glow-cyan: 0 0 25px rgba(0, 242, 254, 0.35);
    --glow-purple: 0 0 25px rgba(121, 40, 202, 0.35);
    --glow-amber: 0 0 25px rgba(245, 158, 11, 0.35);
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #090a10;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--volt-cyan), var(--volt-purple));
    border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--volt-cyan);
}

/* Background Canvas */
#volt-canvas-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
}

/* =======================================================
   1. ORGANIC FLOATING AMBIENT NEON ORBS (VISUAL DEPTH)
   ======================================================= */
.volt-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
}
.volt-orb-1 {
    top: 3%;
    left: 8%;
    width: 520px;
    height: 520px;
    filter: blur(140px);
    background: radial-gradient(circle, rgba(0, 242, 254, 0.28) 0%, rgba(79, 172, 254, 0.12) 50%, transparent 70%);
    animation: orbOrganicFloat1 20s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
}
.volt-orb-2 {
    top: 35%;
    right: 5%;
    width: 560px;
    height: 560px;
    filter: blur(150px);
    background: radial-gradient(circle, rgba(121, 40, 202, 0.26) 0%, rgba(168, 85, 247, 0.12) 50%, transparent 70%);
    animation: orbOrganicFloat2 24s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
    animation-delay: -6s;
}
.volt-orb-3 {
    top: 68%;
    left: 12%;
    width: 480px;
    height: 480px;
    filter: blur(130px);
    background: radial-gradient(circle, rgba(255, 0, 128, 0.22) 0%, rgba(244, 63, 94, 0.10) 50%, transparent 70%);
    animation: orbOrganicFloat3 22s cubic-bezier(0.45, 0.05, 0.55, 0.95) infinite alternate;
    animation-delay: -11s;
}

@keyframes orbOrganicFloat1 {
    0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.18; }
    50% { transform: translate3d(60px, -50px, 0) scale(1.15) rotate(15deg); opacity: 0.28; }
    100% { transform: translate3d(-40px, 40px, 0) scale(0.92) rotate(-10deg); opacity: 0.20; }
}

@keyframes orbOrganicFloat2 {
    0% { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); opacity: 0.20; }
    50% { transform: translate3d(-70px, 60px, 0) scale(1.18) rotate(-18deg); opacity: 0.30; }
    100% { transform: translate3d(50px, -40px, 0) scale(0.94) rotate(12deg); opacity: 0.18; }
}

@keyframes orbOrganicFloat3 {
    0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.16; }
    50% { transform: translate3d(50px, 50px, 0) scale(1.12); opacity: 0.26; }
    100% { transform: translate3d(-50px, -30px, 0) scale(0.95); opacity: 0.18; }
}

/* =======================================================
   2. INTERACTIVE CURSOR AURA SPOTLIGHT (DESKTOP)
   ======================================================= */
#cursor-aura-spotlight {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
    opacity: 0.85;
    mix-blend-mode: screen;
    background: radial-gradient(
        500px circle at var(--cursor-x, -1000px) var(--cursor-y, -1000px),
        rgba(0, 242, 254, 0.08) 0%,
        rgba(121, 40, 202, 0.05) 45%,
        transparent 75%
    );
    transition: opacity 0.4s ease;
}

/* Dynamic border highlight illuminated by cursor on cards */
.product-card, .catalog-hub-card {
    --card-mouse-x: -500px;
    --card-mouse-y: -500px;
}
.product-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    background: radial-gradient(
        350px circle at var(--card-mouse-x, -500px) var(--card-mouse-y, -500px),
        rgba(0, 242, 254, 0.45) 0%,
        rgba(121, 40, 202, 0.2) 40%,
        transparent 70%
    );
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}
.product-card:hover::before {
    opacity: 1;
}

/* Glassmorphism Panel */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-card);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-panel:hover {
    border-color: var(--border-hover);
    box-shadow: 0 10px 30px -10px rgba(0, 242, 254, 0.15);
}

/* Text Gradients */
.text-gradient-cyan {
    background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-volt {
    background: linear-gradient(135deg, #00f2fe 0%, #7928ca 50%, #ff0080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-gradient-amber {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* =======================================================
   PRELOADER PREMIUM
   ======================================================= */
#volt-preloader {
    position: fixed;
    inset: 0;
    background: #06070a;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.7s;
}
#volt-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.preloader-core {
    position: relative;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.reactor-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px dashed rgba(0, 242, 254, 0.3);
    animation: spinClockwise 12s linear infinite;
}
.reactor-ring-inner {
    position: absolute;
    inset: 12px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--volt-cyan);
    border-bottom-color: var(--volt-purple);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.4);
    animation: spinCounterClockwise 3s cubic-bezier(0.68, -0.55, 0.27, 1.55) infinite;
}
.reactor-center {
    width: 68px;
    height: 68px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.25) 0%, rgba(15, 18, 29, 0.9) 80%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.6);
    animation: pulseCore 2s ease-in-out infinite;
}
.reactor-center svg {
    color: var(--volt-cyan);
    filter: drop-shadow(0 0 8px var(--volt-cyan));
}
.preloader-counter {
    margin-top: 28px;
    font-size: 32px;
    font-weight: 800;
    font-family: monospace;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #fff 0%, var(--volt-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.preloader-status {
    margin-top: 8px;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    font-family: monospace;
}
.preloader-bar-wrap {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    margin-top: 14px;
    overflow: hidden;
    position: relative;
}
.preloader-bar-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--volt-cyan), var(--volt-purple));
    box-shadow: 0 0 10px var(--volt-cyan);
    transition: width 0.15s ease-out;
}

@keyframes spinClockwise { 100% { transform: rotate(360deg); } }
@keyframes spinCounterClockwise { 100% { transform: rotate(-360deg); } }
@keyframes pulseCore {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px var(--volt-cyan)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 25px var(--volt-cyan)); }
}

/* =======================================================
   TOAST NOTIFICATION ENGINE (VoltToast)
   ======================================================= */
#volt-toast-container {
    position: fixed !important;
    top: 88px !important;
    right: 24px !important;
    z-index: 9999999 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 400px !important;
    width: calc(100vw - 48px) !important;
    pointer-events: none !important;
    font-family: 'Outfit', sans-serif !important;
}
@media (max-width: 640px) {
    #volt-toast-container {
        top: 76px !important;
        right: 16px !important;
        left: 16px !important;
        width: calc(100vw - 32px) !important;
        max-width: 100% !important;
    }
}
.volt-toast {
    pointer-events: auto !important;
    position: relative !important;
    background: rgba(11, 15, 26, 0.98) !important;
    backdrop-filter: blur(28px) !important;
    -webkit-backdrop-filter: blur(28px) !important;
    border-radius: 16px !important;
    padding: 14px 44px 14px 16px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 242, 254, 0.12) !important;
    overflow: hidden !important;
    animation: voltToastSlideIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
    box-sizing: border-box !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
    width: 100% !important;
    max-width: 400px !important;
}
.volt-toast.dismissing {
    animation: voltToastSlideOut 0.3s cubic-bezier(0.7, 0, 0.84, 0) forwards !important;
}
.volt-toast.pulse-shake {
    animation: voltToastShake 0.4s ease-in-out !important;
}
.volt-toast.toast-success {
    background: linear-gradient(135deg, rgba(10, 24, 20, 0.98), rgba(10, 18, 30, 0.99)) !important;
    border-color: rgba(16, 185, 129, 0.6) !important;
    box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.92), 0 0 24px rgba(16, 185, 129, 0.25) !important;
}
.volt-toast.toast-error {
    background: linear-gradient(135deg, rgba(22, 12, 22, 0.98), rgba(15, 12, 26, 0.99)) !important;
    border-color: rgba(244, 63, 94, 0.6) !important;
    box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.92), 0 0 24px rgba(244, 63, 94, 0.3) !important;
}
.volt-toast.toast-warning, .volt-toast.toast-promo {
    background: linear-gradient(135deg, rgba(26, 20, 10, 0.98), rgba(18, 16, 24, 0.99)) !important;
    border-color: rgba(245, 158, 11, 0.6) !important;
    box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.92), 0 0 24px rgba(245, 158, 11, 0.25) !important;
}
.volt-toast.toast-info {
    background: linear-gradient(135deg, rgba(10, 20, 32, 0.98), rgba(12, 16, 30, 0.99)) !important;
    border-color: rgba(0, 242, 254, 0.6) !important;
    box-shadow: 0 20px 45px -8px rgba(0, 0, 0, 0.92), 0 0 24px rgba(0, 242, 254, 0.25) !important;
}

.toast-icon-box {
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}
.toast-success .toast-icon-box { background: rgba(16, 185, 129, 0.18) !important; color: #34d399 !important; border: 1px solid rgba(16, 185, 129, 0.4) !important; }
.toast-error .toast-icon-box { background: rgba(244, 63, 94, 0.18) !important; color: #fb7185 !important; border: 1px solid rgba(244, 63, 94, 0.4) !important; }
.toast-warning .toast-icon-box, .toast-promo .toast-icon-box { background: rgba(245, 158, 11, 0.18) !important; color: #fbbf24 !important; border: 1px solid rgba(245, 158, 11, 0.4) !important; }
.toast-info .toast-icon-box { background: rgba(0, 242, 254, 0.18) !important; color: #00f2fe !important; border: 1px solid rgba(0, 242, 254, 0.4) !important; }

.toast-content { flex: 1 1 auto !important; min-width: 0 !important; margin: 0 !important; }
.toast-title { font-size: 13.5px !important; font-weight: 800 !important; color: #ffffff !important; letter-spacing: -0.01em !important; margin-bottom: 2px !important; line-height: 1.3 !important; }
.toast-desc { font-size: 12px !important; color: #94a3b8 !important; line-height: 1.45 !important; word-break: break-word !important; margin: 0 !important; }
.toast-close {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    color: #e2e8f0 !important;
    cursor: pointer !important;
    width: 26px !important;
    height: 26px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    padding: 0 !important;
    z-index: 10 !important;
    margin: 0 !important;
}
.toast-close:hover {
    background: rgba(244, 63, 94, 0.35) !important;
    border-color: rgba(244, 63, 94, 0.7) !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
}
.toast-progress { position: absolute !important; bottom: 0 !important; left: 0 !important; height: 3px !important; width: 100% !important; background: rgba(255, 255, 255, 0.05) !important; }
.toast-progress-bar { height: 100% !important; width: 100% !important; transition: width linear !important; }
.toast-success .toast-progress-bar { background: linear-gradient(90deg, #10b981, #34d399) !important; }
.toast-error .toast-progress-bar { background: linear-gradient(90deg, #f43f5e, #fb7185) !important; }
.toast-warning .toast-progress-bar, .toast-promo .toast-progress-bar { background: linear-gradient(90deg, #f59e0b, #fbbf24) !important; }
.toast-info .toast-progress-bar { background: linear-gradient(90deg, #00f2fe, #38bdf8) !important; }

@keyframes voltToastSlideIn {
    0% { transform: translateX(110%) scale(0.92); opacity: 0; }
    100% { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes voltToastSlideOut {
    0% { transform: translateX(0) scale(1); opacity: 1; }
    100% { transform: translateX(110%) scale(0.9); opacity: 0; }
}
@keyframes voltToastShake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* =======================================================
   PREMIUM CATALOG HUB CARDS (MINIMALIST & MOBILE FRIENDLY)
   ======================================================= */
.catalog-hub-card {
    position: relative;
    background: rgba(13, 18, 36, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.85rem;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    overflow: hidden;
    min-height: 140px;
    user-select: none;
}
@media (max-width: 640px) {
    .catalog-hub-card {
        padding: 1.15rem 0.75rem;
        gap: 0.65rem;
        min-height: 115px;
        border-radius: 1rem;
    }
}
.catalog-hub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--cat-accent, #00f2fe), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.catalog-hub-card:hover, .catalog-hub-card:active {
    transform: translateY(-4px) scale(1.02);
    border-color: var(--cat-accent, #00f2fe);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.8), 0 0 25px var(--cat-glow, rgba(0, 242, 254, 0.25));
}
.catalog-hub-card:hover::before, .catalog-hub-card:active::before {
    opacity: 1;
}
/* Category Logo Container - Adapts to square & wide logos seamlessly */
.catalog-hub-icon {
    min-width: 68px;
    height: 68px;
    max-width: 120px;
    border-radius: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    overflow: hidden;
    position: relative;
    background: rgba(15, 23, 42, 0.65);
}
@media (max-width: 640px) {
    .catalog-hub-icon {
        min-width: 52px;
        height: 52px;
        max-width: 95px;
        border-radius: 0.95rem;
        padding: 6px 10px;
    }
    .catalog-hub-icon svg {
        width: 26px;
        height: 26px;
    }
}
.catalog-hub-card:hover .catalog-hub-icon {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 0 24px var(--cat-accent, #00f2fe);
}

/* Auto-fit image container: fits any aspect ratio cleanly without manual editing */
.catalog-hub-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.4));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.catalog-hub-card:hover .catalog-hub-img {
    transform: scale(1.12);
}
.catalog-hub-title {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.3;
    transition: color 0.25s ease;
}
@media (max-width: 640px) {
    .catalog-hub-title {
        font-size: 0.8125rem;
        font-weight: 700;
    }
}
.catalog-hub-card:hover .catalog-hub-title {
    color: var(--cat-accent, #00f2fe);
}

/* =======================================================
   LIVE SALES TOAST POPUP (Bottom Left Social Proof)
   ======================================================= */
#live-sales-popup {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 80000;
    max-width: 380px;
    background: rgba(12, 16, 28, 0.94);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 242, 254, 0.25);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 254, 0.15);
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    pointer-events: none;
}
#live-sales-popup.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

/* =======================================================
   CART DRAWER (Right Slide-over)
   ======================================================= */
#cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 420px;
    background: #0b0e19;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -15px 0 50px rgba(0, 0, 0, 0.9);
    z-index: 95000;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}
#cart-drawer.open {
    transform: translateX(0);
}
#cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 94000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#cart-backdrop.open {
    opacity: 1;
    visibility: visible;
}

/* Quantity Selector Controls */
.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.qty-btn:hover {
    background: rgba(0, 242, 254, 0.2);
    border-color: var(--volt-cyan);
    color: var(--volt-cyan);
}

/* Scratch Card Canvas */
#scratch-canvas {
    border-radius: 12px;
    cursor: pointer;
    touch-action: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

/* Modals */
.volt-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 12, 0.85);
    backdrop-filter: blur(14px);
    z-index: 90000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.volt-modal-backdrop.active { opacity: 1; visibility: visible; }
.volt-modal-box {
    position: relative !important;
    background: #0f1322;
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 20px;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px rgba(0, 242, 254, 0.12);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important; /* IE/Edge */
    transform: scale(0.92) translateY(20px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.volt-modal-box::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
.volt-modal-backdrop.active .volt-modal-box { transform: scale(1) translateY(0); }

/* Modal Close Floating Button (Always on top of images with high-contrast) */
.modal-close-btn-floating {
    position: absolute !important;
    top: 14px !important;
    right: 14px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 9999px !important;
    background: rgba(10, 14, 26, 0.92) !important;
    backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.75), 0 0 10px rgba(0, 242, 254, 0.2) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    cursor: pointer !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.modal-close-btn-floating:hover {
    background: #ef4444 !important;
    border-color: #f87171 !important;
    color: #ffffff !important;
    transform: scale(1.1) !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.7) !important;
}

.modal-close-btn-floating svg {
    stroke-width: 2.5 !important;
    width: 18px !important;
    height: 18px !important;
    color: #ffffff !important;
}

/* Buttons */
.btn-volt {
    background: linear-gradient(135deg, var(--volt-cyan) 0%, #00b4d8 100%);
    color: #030712;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 242, 254, 0.35);
    text-decoration: none;
}
.btn-volt:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0, 242, 254, 0.55); color: #000; }

.btn-discord {
    background: #5865f2;
    color: #fff;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-discord:hover { background: #4752c4; transform: translateY(-1px); }

.btn-whatsapp {
    background: #25d366;
    color: #030712;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-whatsapp:hover { background: #20ba5a; transform: translateY(-1px); }

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    font-weight: 600;
    padding: 9px 16px;
    border-radius: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: all 0.2s;
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); }

/* Product Cards */
.product-card {
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-card);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
}
.product-card:hover {
    border-color: rgba(0, 242, 254, 0.45);
    box-shadow: 0 20px 45px -15px rgba(0, 242, 254, 0.25), 0 0 30px rgba(121, 40, 202, 0.2);
}

/* =======================================================
   3. HOLOGRAPHIC FOIL & 3D COLLECTOR CARD TILT
   ======================================================= */
.holo-glare {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    pointer-events: none;
    z-index: 15;
    mix-blend-mode: color-dodge;
    opacity: 0;
    background: linear-gradient(
        var(--glare-angle, 115deg),
        transparent 20%,
        rgba(255, 0, 128, 0.22) 35%,
        rgba(0, 242, 254, 0.32) 48%,
        rgba(255, 230, 0, 0.25) 58%,
        transparent 75%
    );
    background-size: 250% 250%;
    background-position: var(--glare-x, 50%) var(--glare-y, 50%);
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .holo-glare {
    opacity: 0.88;
}

/* =======================================================
   4. FLOATING PROMO BADGES WITH SOFT SHADOW & HOVER SWAY
   ======================================================= */
.product-floating-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 22;
    transform-origin: center center;
    transform: translateZ(24px);
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 10px rgba(0, 242, 254, 0.4));
    animation: badgeGentleFloat 3.4s ease-in-out infinite alternate;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}
.product-card:hover .product-floating-badge {
    transform: translateZ(36px) translateY(-5px) scale(1.08) rotate(3deg);
    filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 20px rgba(0, 242, 254, 0.65));
}
@keyframes badgeGentleFloat {
    0% { transform: translateZ(24px) translateY(0) rotate(-1.5deg); }
    50% { transform: translateZ(28px) translateY(-4px) rotate(1.5deg); }
    100% { transform: translateZ(24px) translateY(1px) rotate(-1deg); }
}

.product-img-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #111422;
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.product-card:hover .product-img-wrap img { transform: scale(1.08); }

.product-badge-promo {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.5);
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-filter-btn {
    background: rgba(18, 22, 34, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.25s ease;
}
.cat-filter-btn:hover { color: #fff; border-color: rgba(0, 242, 254, 0.35); }
.cat-filter-btn.active {
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(121, 40, 202, 0.25) 100%);
    border-color: var(--volt-cyan);
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.3);
}

.feature-item { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.feature-item-icon {
    width: 16px; height: 16px; border-radius: 50%;
    background: rgba(0, 242, 254, 0.15); color: var(--volt-cyan);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}


/* =======================================================
   ANIMATED PRODUCT BADGES (Pulsing Neon, Rainbow, Glitch, Fire)
   ======================================================= */
.badge-effect {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    user-select: none;
}

/* 1. Pulsing Neon */
.badge-pulsing-neon {
    background: rgba(10, 16, 28, 0.85);
    color: #00f2fe;
    border: 1px solid #00f2fe;
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.6), inset 0 0 8px rgba(0, 242, 254, 0.3);
    animation: pulseNeon 1.8s ease-in-out infinite alternate;
}
@keyframes pulseNeon {
    0% {
        box-shadow: 0 0 8px rgba(0, 242, 254, 0.4), inset 0 0 4px rgba(0, 242, 254, 0.2);
        border-color: rgba(0, 242, 254, 0.6);
    }
    100% {
        box-shadow: 0 0 20px rgba(0, 242, 254, 0.9), 0 0 35px rgba(121, 40, 202, 0.6), inset 0 0 12px rgba(0, 242, 254, 0.5);
        border-color: #00f2fe;
        transform: scale(1.03);
    }
}

/* 2. Rainbow Shimmer */
.badge-rainbow-shimmer {
    background: linear-gradient(90deg, #ff007f, #7928ca, #00f2fe, #10b981, #f59e0b, #ff007f);
    background-size: 300% 100%;
    color: #ffffff;
    font-weight: 900;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    box-shadow: 0 4px 15px rgba(121, 40, 202, 0.5);
    animation: rainbowShimmer 3.2s linear infinite;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
@keyframes rainbowShimmer {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* 3. Cyber Glitch */
.badge-cyber-glitch {
    background: #0f1016;
    color: #ffffff;
    border: 1px solid #ff0080;
    box-shadow: 0 0 12px rgba(255, 0, 128, 0.5);
    position: absolute;
    animation: glitchBox 2.5s infinite;
}
.badge-cyber-glitch span {
    display: inline-block;
    position: relative;
    text-shadow: -1.5px -1.5px 0 #00f2fe, 1.5px 1.5px 0 #ff0080;
    animation: glitchText 1.8s infinite;
}
@keyframes glitchBox {
    0%, 85%, 100% { transform: skew(0deg); border-color: #ff0080; }
    86% { transform: skew(-4deg); border-color: #00f2fe; }
    90% { transform: skew(3deg); border-color: #f59e0b; }
    94% { transform: skew(-2deg); border-color: #ff0080; }
}
@keyframes glitchText {
    0%, 90%, 100% { transform: translate(0, 0); }
    91% { transform: translate(-2px, 1px); }
    93% { transform: translate(2px, -1px); }
    95% { transform: translate(-1px, -1px); }
}

/* 4. Fire Glow */
.badge-fire-glow {
    background: linear-gradient(135deg, #ef4444 0%, #f59e0b 50%, #dc2626 100%);
    color: #ffffff;
    font-weight: 900;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.8), 0 0 30px rgba(239, 68, 68, 0.4);
    animation: fireGlow 1.6s ease-in-out infinite alternate;
}
@keyframes fireGlow {
    0% {
        box-shadow: 0 0 10px rgba(245, 158, 11, 0.6), 0 0 20px rgba(239, 68, 68, 0.3);
        transform: translateY(0);
    }
    100% {
        box-shadow: 0 0 22px rgba(245, 158, 11, 1), 0 0 40px rgba(239, 68, 68, 0.7);
        transform: translateY(-2px);
    }
}


/* =======================================================
   CYBER RADAR QUEUE ANIMATION SCREEN
   ======================================================= */
.radar-container {
    position: relative;
    width: 220px;
    height: 220px;
    margin: 0 auto;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.05) 0%, rgba(8, 10, 16, 0.95) 70%);
    border: 2px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.2), inset 0 0 25px rgba(0, 242, 254, 0.15);
    overflow: hidden;
}
.radar-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(0, 242, 254, 0.18);
    pointer-events: none;
}
.radar-ring-1 { width: 70px; height: 70px; }
.radar-ring-2 { width: 140px; height: 140px; }
.radar-ring-3 { width: 210px; height: 210px; border-style: dashed; }
.radar-crosshair-h {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(0, 242, 254, 0.15);
}
.radar-crosshair-v {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(0, 242, 254, 0.15);
}
.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(0, 242, 254, 0.45) 0deg, transparent 75deg, transparent 360deg);
    animation: radarSweep 2.8s linear infinite;
}
@keyframes radarSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.radar-blip {
    position: absolute;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #00f2fe;
    box-shadow: 0 0 10px #00f2fe, 0 0 18px #00f2fe;
    animation: radarBlipPulse 1.8s ease-in-out infinite alternate;
}
.radar-blip-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
}
.radar-blip-target-1 {
    top: 35%;
    left: 68%;
}
.radar-blip-target-2 {
    top: 65%;
    left: 30%;
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}
@keyframes radarBlipPulse {
    0% { transform: scale(0.85); opacity: 0.5; }
    100% { transform: scale(1.3); opacity: 1; }
}

/* =======================================================
   BARGAINING / NEGO GROSIR MODAL STYLES
   ======================================================= */
.bargain-status-card {
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}
.bargain-status-card.accepted {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}
.bargain-status-card.rejected {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: #fbbf24;
}

/* =======================================================
   OFFICIAL INVOICE FUTURISTIC "LUNAS" STAMP
   ======================================================= */
.invoice-stamp-lunas {
    position: absolute;
    top: 24px;
    right: 28px;
    transform: rotate(-13deg);
    pointer-events: none;
    z-index: 25;
    user-select: none;
    animation: stampSlamIn 0.45s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
@media (max-width: 640px) {
    .invoice-stamp-lunas {
        top: 14px;
        right: 14px;
        transform: rotate(-10deg) scale(0.85);
    }
}
.stamp-border-outer {
    border: 3px dashed rgba(16, 185, 129, 0.85);
    border-radius: 12px;
    padding: 3px;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.45), inset 0 0 15px rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.08);
}
.stamp-border-inner {
    border: 2px solid rgba(16, 185, 129, 0.95);
    border-radius: 8px;
    padding: 6px 14px;
    text-align: center;
}
.stamp-header {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #34d399;
    text-transform: uppercase;
    font-family: monospace;
}
.stamp-title {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
    color: #10b981;
    text-shadow: 0 0 12px rgba(16, 185, 129, 0.8);
    line-height: 1.1;
    margin: 1px 0;
    font-family: 'JetBrains Mono', monospace;
}
.stamp-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 7.5px;
    font-weight: 800;
    color: #6ee7b7;
    font-family: monospace;
    border-top: 1px dashed rgba(16, 185, 129, 0.5);
    padding-top: 3px;
    margin-top: 2px;
}
@keyframes stampSlamIn {
    0% {
        transform: scale(2.4) rotate(15deg);
        opacity: 0;
    }
    100% {
        transform: scale(1) rotate(-13deg);
        opacity: 0.95;
    }
}
.click-spark-ripple {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999999;
    transform: translate(-50%, -50%) scale(0);
    border: 2px solid var(--volt-cyan);
    box-shadow: 0 0 18px var(--volt-cyan), inset 0 0 12px rgba(0, 242, 254, 0.6);
    animation: sparkRippleAnim 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sparkRippleAnim {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
        transform: translate(-50%, -50%) scale(0.2);
    }
    100% {
        width: 85px;
        height: 85px;
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.6);
    }
}

/* =======================================================
   5. CYBER DISCORD COMMUNITY WIDGET & VAULT DOOR
   ======================================================= */
.cyber-discord-widget {
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(88, 101, 242, 0.18) 0%, rgba(13, 17, 30, 0.92) 70%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(88, 101, 242, 0.35);
    border-radius: 28px;
    padding: 2.5rem 2rem;
    overflow: hidden;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 40px rgba(88, 101, 242, 0.15);
}
.cyber-discord-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #5865f2, #00f2fe, #5865f2, transparent);
    box-shadow: 0 0 15px #5865f2;
}

/* Cyber Vault Door Button Container */
.cyber-vault-door-container {
    position: relative;
    width: 100%;
    max-width: 340px;
    height: 60px;
    border-radius: 16px;
    background: #06080e;
    border: 2px solid rgba(88, 101, 242, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7), 0 0 20px rgba(88, 101, 242, 0.25);
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    transform-style: preserve-3d;
    perspective: 800px;
    transition: transform 0.25s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.cyber-vault-door-container:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #00f2fe;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 242, 254, 0.4);
}

/* Vault Interior Revealed on Open */
.vault-portal-interior {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1e1f38 0%, #5865f2 50%, #00f2fe 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #ffffff;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    z-index: 1;
}
.vault-portal-interior svg {
    animation: vaultPortalPulse 1s ease-in-out infinite alternate;
}
@keyframes vaultPortalPulse {
    0% { transform: scale(1); filter: drop-shadow(0 0 4px #fff); }
    100% { transform: scale(1.15); filter: drop-shadow(0 0 12px #00f2fe); }
}

/* Heavy Titanium Sliding Blast Doors */
.vault-door-left, .vault-door-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50.5%;
    z-index: 10;
    background: linear-gradient(180deg, #181d2c 0%, #0d101a 50%, #151928 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
    overflow: hidden;
}
.vault-door-left {
    left: 0;
    justify-content: flex-end;
    padding-right: 28px;
    border-right: 2px solid rgba(0, 242, 254, 0.5);
}
.vault-door-right {
    right: 0;
    justify-content: flex-start;
    padding-left: 28px;
    border-left: 2px solid rgba(0, 242, 254, 0.5);
}

/* Hazard diagonal stripes on door edges */
.vault-door-left::before, .vault-door-right::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 14px;
    opacity: 0.25;
    background: repeating-linear-gradient(
        -45deg,
        #f59e0b,
        #f59e0b 4px,
        transparent 4px,
        transparent 8px
    );
}
.vault-door-left::before { right: 2px; }
.vault-door-right::before { left: 2px; }

/* Text labels on doors */
.vault-label-left {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #e2e8f0;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
.vault-label-right {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--volt-cyan);
    white-space: nowrap;
}

/* Center Mechanical Lock Wheel */
.vault-lock-core {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 36px;
    height: 36px;
    margin-top: -18px;
    margin-left: -18px;
    border-radius: 50%;
    background: radial-gradient(circle, #5865f2 0%, #0d111e 75%);
    border: 2px solid #00f2fe;
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.6), inset 0 0 8px rgba(0, 242, 254, 0.4);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}
.vault-lock-core svg {
    filter: drop-shadow(0 0 4px #00f2fe);
}

/* Activated Open State */
.cyber-vault-door-container.vault-opening .vault-door-left {
    transform: translateX(-105%);
}
.cyber-vault-door-container.vault-opening .vault-door-right {
    transform: translateX(105%);
}
.cyber-vault-door-container.vault-opening .vault-lock-core {
    transform: scale(0) rotate(540deg);
    opacity: 0;
}

/* =======================================================
   ADMIN CATEGORY-BASED DATATABLE STYLES
   ======================================================= */
.cat-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 9999px;
    font-size: 11.5px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 23, 42, 0.7);
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
    user-select: none;
}
.cat-pill-btn:hover {
    color: #ffffff;
    border-color: rgba(0, 242, 254, 0.35);
    background: rgba(15, 23, 42, 0.95);
    transform: translateY(-1px);
}
.cat-pill-btn.active {
    color: #00f2fe;
    border-color: rgba(0, 242, 254, 0.65);
    background: rgba(0, 242, 254, 0.12);
    box-shadow: 0 0 16px rgba(0, 242, 254, 0.2), inset 0 0 10px rgba(0, 242, 254, 0.08);
}
.cat-pill-btn .pill-badge {
    padding: 1.5px 7.5px;
    border-radius: 9999px;
    font-size: 10px;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 800;
    background: rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    transition: all 0.2s ease;
}
.cat-pill-btn.active .pill-badge {
    background: rgba(0, 242, 254, 0.25);
    color: #00f2fe;
}
.category-group-card {
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.category-group-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.8), 0 0 24px rgba(0, 242, 254, 0.08);
}
.category-table-wrapper {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.category-table-wrapper.collapsed {
    display: none;
}

/* =======================================================
   MOBILE APP-GRADE RESPONSIVE STYLES & TOUCH OPTIMIZATIONS
   ======================================================= */
html, body {
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-tap-highlight-color: transparent;
}

/* Touch momentum scrolling for scrollable containers */
.overflow-x-auto,
.overflow-y-auto,
#category-filter-nav,
#prod-category-tabs,
#cart-items-list {
    -webkit-overflow-scrolling: touch;
}

/* Mobile viewport adjustments */
@media (max-width: 640px) {
    /* Full-width responsive modal sizing */
    .volt-modal-backdrop {
        padding: 10px !important;
        align-items: flex-end sm:items-center;
    }

    .volt-modal-box {
        border-radius: 18px !important;
        max-height: 92vh !important;
        padding: 16px 14px !important;
        width: 100% !important;
    }

    /* Prevent mobile safari automatic zoom on focus while preserving touch target size */
    input:not([type="checkbox"]):not([type="radio"]),
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Adjust font size inside monospace codes or tags specifically */
    code, pre {
        font-size: 12px !important;
    }

    /* Full width mobile drawers with safe padding */
    #cart-drawer {
        max-width: 100% !important;
        width: 100% !important;
    }

    /* Mobile floating toasts placement */
    #volt-toast-container {
        top: 12px;
        right: 12px;
        left: 12px;
        max-width: calc(100vw - 24px);
    }

    .volt-toast {
        width: 100% !important;
        min-width: 0 !important;
    }

    /* Live sales social proof popup on mobile */
    #live-sales-popup {
        bottom: 74px !important;
        left: 12px !important;
        right: 12px !important;
        max-width: calc(100vw - 24px) !important;
    }
}

/* Cart Badges Perfect Circular Geometry (prevents capsule/pill stretching) */
#cart-count-badge,
#bottom-cart-badge {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 9999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    font-size: 9.5px !important;
    font-weight: 900 !important;
    flex-shrink: 0 !important;
}

#bottom-cart-badge {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    font-size: 9px !important;
}

/* Mobile Bottom Navigation Bar Safe Area */
@media (max-width: 768px) {
    body {
        padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
    }
    #mobile-bottom-nav {
        padding-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px)) !important;
    }
}



