/* Premium Bioverax Styling - Enhanced */
/* #################################
   File: static/css/style.css
   Bioverax Theme
   Developed by: Md. Omar Faruk
################################# */
:root {
    --primary: #0066cc;
    --primary-dark: #0052a3;
    --primary-light: #3385d6;
    --secondary: #6c757d;
    --success: #28a745;
    --success-dark: #218838;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Premium Bioverax Brand Colors */
    --bioverax-blue: #0066cc;
    --bioverax-teal: #20c997;
    --bioverax-purple: #6f42c1;
    --bioverax-gradient: linear-gradient(135deg, var(--bioverax-blue) 0%, var(--bioverax-teal) 100%);
    --bioverax-gradient-2: linear-gradient(135deg, var(--bioverax-purple) 0%, var(--bioverax-blue) 100%);
    --success-gradient: linear-gradient(135deg, var(--success), var(--bioverax-teal));
    --warning-gradient: linear-gradient(135deg, var(--warning), #fd7e14);
    --danger-gradient: linear-gradient(135deg, var(--danger), #e83e8c);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.15);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.18);
    --shadow-premium: 0 10px 40px rgba(0,0,0,0.1);
    
    /* Border Radius */
    --border-radius-sm: 10px;
    --border-radius-md: 14px;
    --border-radius-lg: 18px;
    --border-radius-xl: 22px;
    
    /* Transitions */
    --transition-fast: 0.25s ease;
    --transition-normal: 0.4s ease;
    --transition-slow: 0.6s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    font-weight: 400;
}

/* Premium Navigation - Enhanced and Fixed */
.navbar-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand-premium {
    font-weight: 800;
    font-size: 2rem;
    background: var(--bioverax-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: all var(--transition-normal);
}

.navbar-brand-premium:hover {
    transform: scale(1.05);
}

.nav-link-premium {
    font-weight: 600;
    color: var(--gray-700) !important;
    padding: 0.625rem 1rem !important;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-normal);
    margin: 0 0.2rem;
    position: relative;
    overflow: visible !important; /* FIXED: Changed from hidden to visible for cart badge */
    display: inline-flex !important; /* FIXED: Force inline layout */
    align-items: center !important; /* FIXED: Vertically center icon and text */
    white-space: nowrap !important; /* FIXED: Prevent text wrapping */
}

.nav-link-premium::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--bioverax-gradient);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link-premium:hover::before {
    width: 80%;
}

.nav-link-premium:hover {
    color: var(--bioverax-blue) !important;
    background: rgba(0, 102, 204, 0.06);
    transform: translateY(-2px);
}

.nav-link-premium.active {
    background: var(--bioverax-gradient);
    color: var(--white) !important;
    box-shadow: var(--shadow-md);
}

.nav-link-premium.active::before {
    display: none;
}

/* Dropdown Menu Premium */
.dropdown-menu-premium {
    border: none;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

/* FIXED: Nav link icons spacing */
.nav-link-premium i {
    margin-right: 0.35rem !important;
    flex-shrink: 0 !important;
}

/* FIXED: Dropdown toggle alignment */
.nav-link-premium.dropdown-toggle {
    display: inline-flex !important;
    align-items: center !important;
}

.dropdown-item {
    padding: 0.75rem 1.25rem;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
    margin: 0.1rem 0;
    display: flex !important;
    align-items: center !important;
}

.dropdown-item:hover {
    background: var(--bioverax-gradient);
    color: white !important;
    transform: translateX(5px);
}

/* Premium Cards - Enhanced */
.premium-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-premium);
    transition: all var(--transition-normal);
    overflow: hidden;
    position: relative;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--bioverax-gradient);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
}

.premium-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.premium-card-header {
    background: var(--bioverax-gradient);
    color: var(--white);
    padding: 1.75rem;
    border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
    border: none;
    font-weight: 700;
    font-size: 1.2rem;
}

.premium-card-body {
    padding: 2.5rem;
}

/* Premium Buttons - Enhanced */
.btn-premium {
    background: var(--bioverax-gradient);
    color: var(--white);
    border: none;
    padding: 14px 35px;
    border-radius: var(--border-radius-md);
    font-weight: 700;
    font-size: 1.1rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left var(--transition-slow);
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-premium-primary {
    background: var(--bioverax-gradient-2);
}

.btn-premium-success {
    background: var(--success-gradient);
}

.btn-premium-warning {
    background: var(--warning-gradient);
}

.btn-premium-danger {
    background: var(--danger-gradient);
}

.btn-premium-outline {
    background: transparent;
    border: 2px solid var(--bioverax-blue);
    color: var(--bioverax-blue);
}

.btn-premium-outline:hover {
    background: var(--bioverax-gradient);
    color: white;
}

/* Hero Section - Enhanced */
.hero-premium {
    background: var(--bioverax-gradient);
    color: var(--white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><path fill="rgba(255,255,255,0.1)" d="M0,0 Q500,200 1000,0 L1000,1000 Q500,800 0,1000 Z"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* Premium Badges - Enhanced */
.premium-badge {
    background: var(--bioverax-gradient);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: var(--shadow-sm);
}

.status-paid {
    background: var(--success-gradient);
    color: var(--white);
}

.status-quoted {
    background: var(--warning-gradient);
    color: var(--white);
}

.status-pending {
    background: var(--gray-600);
    color: var(--white);
}

.status-draft {
    background: var(--gray-400);
    color: var(--gray-800);
}

/* Amount Display - Enhanced */
.amount-display {
    font-size: 3rem;
    font-weight: 800;
    background: var(--bioverax-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin: 1.5rem 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

/* Payment Options - Enhanced */
.payment-option-card {
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-normal);
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.6) 100%);
    backdrop-filter: blur(10px);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.payment-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bioverax-gradient);
}

.payment-option-card:hover {
    border-color: var(--bioverax-blue);
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-xl);
}

.payment-option-card .icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--bioverax-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Feature Icons - Enhanced */
.feature-icon-premium {
    width: 90px;
    height: 90px;
    background: var(--bioverax-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-icon-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255,255,255,0.1);
    transform: rotate(45deg);
    transition: all var(--transition-slow);
}

.feature-icon-premium:hover::before {
    transform: rotate(45deg) translate(50%, 50%);
}

.feature-icon-premium:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

/* Tables - Enhanced */
.premium-table {
    background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.premium-table thead th {
    background: var(--bioverax-gradient);
    color: var(--white);
    border: none;
    padding: 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.premium-table tbody td {
    padding: 1.25rem;
    border-color: rgba(0, 0, 0, 0.05);
    vertical-align: middle;
    font-weight: 500;
}

.premium-table tbody tr {
    transition: all var(--transition-fast);
}

.premium-table tbody tr:hover {
    background: rgba(0, 102, 204, 0.08);
    transform: scale(1.01);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.animate-pulse-slow {
    animation: pulse 3s infinite;
}

.animate-gradient {
    animation: gradientShift 3s ease infinite;
}

/* Loading Animation */
.loading-premium {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Footer - Enhanced */
.footer-premium {
    background: linear-gradient(135deg, var(--gray-900) 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 4rem 0 2.5rem;
    margin-top: 6rem;
    position: relative;
}

.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bioverax-gradient);
}

.footer-premium a {
    color: var(--gray-300);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-weight: 500;
}

.footer-premium a:hover {
    color: var(--white);
    transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-premium {
        padding: 5rem 0;
    }
    
    .premium-card-body {
        padding: 2rem;
    }
    
    .amount-display {
        font-size: 2.25rem;
    }
    
    .btn-premium {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .feature-icon-premium {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--bioverax-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-premium {
    background: var(--bioverax-gradient);
}

.shadow-premium {
    box-shadow: var(--shadow-premium);
}

.border-radius-premium {
    border-radius: var(--border-radius-lg);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--bioverax-gradient);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Print Styles */
@media print {
    .navbar-premium,
    .footer-premium {
        display: none;
    }
    
    .premium-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Add to your CSS file */
.status-delivered {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
    color: white;
}

.status-shipped {
    background: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    color: white;
}

.status-processing {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
}





/* Navbar Toggler Styles Start */

/* Premium Navbar Toggler */
.navbar-toggler {
    border: 2px solid rgba(0, 102, 204, 0.3);
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    border-color: #0066cc;
    background: rgba(255, 255, 255, 0.1);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.25);
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230052a3' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e") !important;
    width: 24px;
    height: 24px;
}

/* Navbar Toggler Styles End */


/* ########## Style for the logo image in navbar Start ########## */
/* Logo only styling - when logo is an image Start */

.navbar-brand-premium .navbar-logo {
    height: 60px;
    width: auto;
    transition: all var(--transition-normal);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

/* Slightly reduce vertical padding on navbar brand to compensate */
.navbar-brand-premium {
    padding-top: 0.1rem !important;
    padding-bottom: 0.1rem !important;
}

/* Responsive logo sizes - better proportions */
@media (max-width: 1200px) {
    .navbar-brand-premium .navbar-logo {
        height: 58px;
    }
}

@media (max-width: 992px) {
    .navbar-brand-premium .navbar-logo {
        height: 54px;
    }
    .navbar-brand-premium {
        padding-top: 0.15rem !important;
        padding-bottom: 0.15rem !important;
    }
}

@media (max-width: 768px) {
    .navbar-brand-premium .navbar-logo {
        height: 50px;
    }
    .navbar-brand-premium {
        padding-top: 0.2rem !important;
        padding-bottom: 0.2rem !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand-premium .navbar-logo {
        height: 46px;
    }
    .navbar-brand-premium {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
}

/* Extra small phones */
@media (max-width: 400px) {
    .navbar-brand-premium .navbar-logo {
        height: 42px;
    }
    .navbar-brand-premium {
        padding-top: 0.3rem !important;
        padding-bottom: 0.3rem !important;
    }
}

/* Logo only styling - when logo is an image End */
/* ########## Style for the logo image in navbar End ########## */







/* ==============================================
   Category Products - Independent Scrolling
   ============================================== */

/* Main wrapper */
.category-products-wrapper {
    height: calc(100vh - 200px);
    min-height: 600px;
    display: flex;
    gap: 24px;
    overflow: hidden;
    margin-top: 20px;
}

/* Sidebar with independent scrolling */
.category-sidebar-scroll {
    flex: 0 0 300px;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    cursor: grab;
}

.category-sidebar-scroll:active {
    cursor: grabbing;
}

/* Main content with independent scrolling */
.category-main-content-scroll {
    flex: 1;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    cursor: grab;
}

.category-main-content-scroll:active {
    cursor: grabbing;
}

/* Custom scrollbars */
.category-sidebar-scroll::-webkit-scrollbar,
.category-main-content-scroll::-webkit-scrollbar {
    width: 8px;
}

.category-sidebar-scroll::-webkit-scrollbar-track,
.category-main-content-scroll::-webkit-scrollbar-track {
    background: rgba(0, 102, 204, 0.05);
    border-radius: 4px;
}

.category-sidebar-scroll::-webkit-scrollbar-thumb,
.category-main-content-scroll::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--bioverax-blue), var(--bioverax-teal));
    border-radius: 4px;
}

.category-sidebar-scroll::-webkit-scrollbar-thumb:hover,
.category-main-content-scroll::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, var(--primary-dark), var(--bioverax-blue));
}

/* Sticky header */
.category-main-header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.9) 100%);
    backdrop-filter: blur(10px);
    z-index: 100;
    padding-top: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Scroll indicators */
.scroll-indicator {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to top, rgba(255,255,255,0.95), transparent);
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-sidebar-scroll:hover .scroll-indicator,
.category-main-content-scroll:hover .scroll-indicator {
    opacity: 1;
}

.scroll-indicator i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .category-products-wrapper {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }
    
    .category-sidebar-scroll {
        flex: 0 0 auto;
        height: 300px;
        max-height: 50vh;
        width: 100%;
    }
    
    .category-main-content-scroll {
        height: auto;
        max-height: none;
        overflow: visible;
    }
    
    .category-main-header {
        position: static;
        background: transparent;
        backdrop-filter: none;
        padding-top: 0;
    }
}

@media (max-width: 768px) {
    .category-sidebar-scroll {
        height: 250px;
    }
    
    .category-products-wrapper {
        gap: 16px;
    }
}

/* Accessibility */
.category-sidebar-scroll:focus-within,
.category-main-content-scroll:focus-within {
    outline: 2px solid var(--bioverax-blue);
    outline-offset: 2px;
}

/* Scrolling state */
.scrolling {
    cursor: grabbing !important;
}

/* Loading animation */
.loading-scroll {
    opacity: 0.7;
    pointer-events: none;
}

/* Ensure no horizontal scroll on mobile */
@media (max-width: 576px) {
    .category-sidebar-scroll,
    .category-main-content-scroll {
        overflow-x: hidden;
    }
}
/* ==============================================
   End Category Products - Independent Scrolling
   ============================================== */


/* ==============================
   START PREMIUM TOAST NOTIFICATIONS
   ============================== */
.bioverax-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 99999;
    min-width: 300px;
    max-width: 400px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    transform: translateX(120%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 5px solid;
    font-family: 'Inter', sans-serif;
    border: 1px solid rgba(0,0,0,0.08);
}

.bioverax-toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.5rem;
    margin-right: 12px;
}

/* Toast Types with SOLID backgrounds */
.toast-success {
    border-left-color: #10b981;
    background: #ffffff;
}

.toast-error {
    border-left-color: #ef4444;
    background: #ffffff;
}

.toast-warning {
    border-left-color: #f59e0b;
    background: #ffffff;
}

.toast-info {
    border-left-color: #3b82f6;
    background: #ffffff;
}

/* Toast content styling */
.bioverax-toast .d-flex {
    color: #1f2937 !important;
    padding: 1rem;
}

.bioverax-toast .btn-close {
    filter: brightness(0);
    opacity: 0.7;
}

.bioverax-toast .btn-close:hover {
    opacity: 1;
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: currentColor;
    opacity: 0.3;
    width: 100%;
    transform: scaleX(1);
    transform-origin: left;
    animation: progress 5s linear forwards;
}

@keyframes progress {
    to {
        transform: scaleX(0);
    }
}

/* Mobile */
@media (max-width: 768px) {
    .bioverax-toast {
        top: 80px;
        left: 20px;
        right: 20px;
        max-width: none;
        transform: translateY(-150%);
    }
    
    .bioverax-toast.show {
        transform: translateY(0);
    }
}

/* ==============================
   HIDE OLD MESSAGES
   ============================== */
.container.mt-4:has(.alert) {
    display: none !important;
}

.navbar-premium {
    z-index: 9999 !important;
}
/* ==============================
   END PREMIUM TOAST NOTIFICATIONS
   ============================== */






/* Bioverax Cart Button Styling */
.btn-cart-bioverax {
    background: linear-gradient(135deg, #0066cc 0%, #004080 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0.5rem 0.75rem !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.35rem !important;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2) !important;
    min-height: 38px !important;
}

.btn-cart-bioverax:hover {
    background: linear-gradient(135deg, #004080 0%, #003366 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 102, 204, 0.3) !important;
    color: white !important;
}

.btn-cart-bioverax:active {
    transform: translateY(0) !important;
}

.btn-cart-bioverax::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 100%) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.6s ease !important;
}

.btn-cart-bioverax:hover::after {
    transform: translateX(100%) !important;
}

.btn-cart-bioverax i {
    transition: transform 0.3s ease !important;
    font-size: 0.9rem !important;
}

.btn-cart-bioverax:hover i {
    transform: rotate(-10deg) scale(1.1) !important;
}

.btn-cart-bioverax:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Make both buttons equal height */
.btn-premium.btn-sm.flex-fill,
.btn-cart-bioverax.btn-sm.flex-fill {
    min-height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}










/* Bioverax Icon Button Base */
.btn-icon-details,
.btn-icon-cart {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* Details Icon Button - Bioverax Blue Light */
.btn-icon-details {
    background: rgba(0, 102, 204, 0.1);
    color: #0066cc;
    border: 1px solid rgba(0, 102, 204, 0.2);
}

.btn-icon-details:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

/* Cart Icon Button - Bioverax Blue Solid */
.btn-icon-cart {
    background: #0066cc;
    color: white;
    border: 1px solid #0066cc;
}

.btn-icon-cart:hover {
    background: #004080;
    border-color: #004080;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

/* Quote Button - Bioverax Purple Gradient */
.btn-quote-purple {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 0.7rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-quote-purple:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    color: white;
}

/* Hover animations */
.btn-icon-details:hover i,
.btn-icon-cart:hover i {
    transform: scale(1.15);
}

.btn-icon-details i,
.btn-icon-cart i {
    transition: transform 0.3s ease;
}
















/* ###################################################### */
/* ##################### Search CSS ##################### */
/* ###################################################### */
/* ==============================================
   FIXED SEARCH BAR - WHITE BACKGROUND
   Matches other dropdowns
   ============================================== */

/* Search container */
.navbar-search-form {
    position: relative;
    width: 100%;
}

/* Search wrapper - matches navbar premium style */
.search-minimal-wrapper {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(0, 102, 204, 0.15);
    border-radius: 30px;
    padding: 8px 16px;
    transition: all 0.3s ease;
    height: 44px;
    backdrop-filter: blur(10px);
}

.search-minimal-wrapper:focus-within {
    background: white;
    border-color: var(--bioverax-blue);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

/* Submit button */
.search-submit-btn {
    background: transparent;
    border: none;
    color: var(--bioverax-blue);
    padding: 0;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.2s ease;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.search-submit-btn:hover {
    transform: scale(1.1);
    color: var(--primary-dark);
}

/* Input field */
.search-minimal-input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--gray-800);
    font-size: 0.95rem;
    padding: 0;
    outline: none;
    font-weight: 500;
    width: 100%;
}

.search-minimal-input::placeholder {
    color: var(--gray-600);
    font-weight: 400;
}



/* ----------------------------------------------------------------
   FIX: SEARCH SUGGESTIONS DROPDOWN
   - Fixed wide width (520px) so content never forces horizontal scroll
   - overflow-x: hidden — horizontal scroll is impossible
   - overflow-y: auto — vertical scroll only when needed
   ---------------------------------------------------------------- */
.search-suggestions-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    /* FIX: Wide fixed width, never narrower than the input */
    width: 520px !important;
    min-width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(0, 102, 204, 0.12);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    /* FIX: Never scroll horizontally */
    overflow-x: hidden !important;
    overflow-y: hidden;
    padding: 0;
}

.search-suggestions-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Scrollable inner content */
.suggestions-content {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden !important; /* FIX: No horizontal scroll ever */
    padding: 0.5rem 0;
}


/* ----------------------------------------------------------------
   FIX: SUGGESTION ITEMS
   - Full width, no overflow causing horizontal scroll
   - Text truncates with ellipsis
   - Uses thumbnail layout (image or icon)
   ---------------------------------------------------------------- */
.suggestion-item {
    display: flex !important;
    align-items: center !important;
    padding: 0.7rem 1rem !important;
    text-decoration: none !important;
    color: var(--gray-800) !important;
    transition: all 0.2s ease !important;
    border-radius: 8px !important;
    margin: 2px 0.5rem !important;
    /* FIX: Full width, no overflow */
    width: auto !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    min-width: 0 !important;
    gap: 0 !important;
    cursor: pointer;
}

.suggestion-item:hover {
    background: rgba(0, 102, 204, 0.07) !important;
    color: var(--bioverax-blue) !important;
    /* FIX: Use padding instead of translateX to avoid overflow */
    padding-left: 1.25rem !important;
    border-left: 3px solid var(--bioverax-blue) !important;
    transform: none !important;
}

/* ----------------------------------------------------------------
   FIX: THUMBNAIL WRAPPER (image or icon)
   ---------------------------------------------------------------- */

/* The fixed-size thumbnail box */
.suggestion-thumb-wrap {
    width: 40px;
    min-width: 40px; /* Never shrink */
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    margin-right: 12px;
    background: rgba(0, 102, 204, 0.07);
    border: 1px solid rgba(0, 102, 204, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

/* Real product image */
.suggestion-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Icon fallback (shown when no image or image fails to load) */
.suggestion-thumb-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 102, 204, 0.07);
}

.suggestion-thumb-fallback i {
    font-size: 1rem;
    color: var(--bioverax-blue);
}

/* Category icon variant */
.suggestion-cat-wrap {
    background: rgba(32, 201, 151, 0.08);
    border-color: rgba(32, 201, 151, 0.2);
}

.suggestion-cat-icon i {
    color: var(--bioverax-teal) !important;
}

/* Popular search icon variant */
.suggestion-popular-wrap {
    background: rgba(255, 193, 7, 0.08);
    border-color: rgba(255, 193, 7, 0.2);
}

.suggestion-popular-icon i {
    color: #f59e0b !important;
}

/* ----------------------------------------------------------------
   FIX: TEXT CONTENT — truncate, never overflow
   ---------------------------------------------------------------- */
.suggestion-item-content {
    flex: 1;
    min-width: 0; /* FIX: Required for ellipsis to work in flex */
    overflow: hidden;
}

.suggestion-item-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-800);
    /* FIX: Truncate long names */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-bottom: 2px;
}

.suggestion-item-subtitle {
    font-size: 0.78rem;
    color: var(--gray-600);
    /* FIX: Truncate long subtitles */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* Arrow icon on the right */
.suggestion-item-arrow {
    flex-shrink: 0;
    margin-left: 8px;
    color: var(--gray-400);
    font-size: 0.75rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.suggestion-item:hover .suggestion-item-arrow {
    color: var(--bioverax-blue);
    transform: translateX(3px);
}

/* ----------------------------------------------------------------
   Section headers inside dropdown
   ---------------------------------------------------------------- */
.suggestions-section {
    margin-bottom: 4px;
}

.suggestions-section h6 {
    padding: 0.5rem 1.25rem;
    margin: 0 0 2px 0;
    color: var(--bioverax-blue);
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    background: rgba(0, 102, 204, 0.04);
    border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    display: flex;
    align-items: center;
    /* FIX: Never let header overflow horizontally */
    overflow: hidden;
    white-space: nowrap;
}

.suggestions-section h6 i {
    color: var(--bioverax-blue);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* ----------------------------------------------------------------
   "View all results" footer link
   ---------------------------------------------------------------- */
.view-all-results {
    padding: 0.6rem 1.25rem;
    border-top: 1px solid rgba(0, 102, 204, 0.08);
    margin-top: 4px;
}

.view-all-link {
    display: flex;
    align-items: center;
    color: var(--bioverax-blue) !important;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: gap 0.2s ease;
    /* FIX: Truncate if too long */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.view-all-link:hover {
    color: var(--primary-dark) !important;
}

/* ----------------------------------------------------------------
   Custom scrollbar inside suggestions
   ---------------------------------------------------------------- */
.suggestions-content::-webkit-scrollbar {
    width: 5px;
}
.suggestions-content::-webkit-scrollbar-track {
    background: transparent;
}
.suggestions-content::-webkit-scrollbar-thumb {
    background: rgba(0, 102, 204, 0.25);
    border-radius: 3px;
}
.suggestions-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 102, 204, 0.45);
}


/* ----------------------------------------------------------------
   RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1200px) {
    .search-suggestions-dropdown {
        width: 420px !important;
    }
}

@media (max-width: 992px) {
    .search-suggestions-dropdown {
        /* On mobile: full width relative to viewport */
        position: fixed !important;
        top: 90px !important;
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        max-height: 70vh;
        overflow-y: auto;
    }

    .suggestions-content {
        max-height: calc(70vh - 1rem);
    }
}

@media (max-width: 576px) {
    .suggestion-item {
        padding: 0.6rem 0.75rem !important;
        margin: 2px 0.25rem !important;
    }

    .suggestion-thumb-wrap {
        width: 36px;
        min-width: 36px;
        height: 36px;
    }
}



/* ----------------------------------------------------------------
   FIX: MOBILE DUPLICATE SEARCH ICON
   The "Search" nav link on mobile (d-lg-none) is the only one
   needed. Hide nothing extra — the desktop search (d-none d-lg-block)
   is already hidden by Bootstrap. No change needed in HTML.
   
   BUT: if you see a double icon, it means the desktop search form
   is also rendering on mobile. This rule makes sure it stays hidden:
   ---------------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* Hide the desktop-only search li on mobile (belt-and-suspenders) */
    .nav-item.d-none.d-lg-block {
        display: none !important;
    }
}



/* ###################################################### */
/* ############ CART BADGE FIX - CRITICAL ############### */
/* ###################################################### */

/* FIXED: Cart icon wrapper must allow overflow */
.nav-item:has(.shop-cart-count) {
    overflow: visible !important;
}

.nav-item:has(.shop-cart-count) .nav-link-premium {
    overflow: visible !important;
    position: relative !important;
}

/* FIXED: Shop cart badge positioning */
.shop-cart-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    min-width: 22px !important;
    height: 22px !important;
    font-size: 0.7rem !important;
    font-weight: 800 !important;
    padding: 0.25em 0.4em !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.5) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    background: #dc3545 !important;
    border-radius: 50% !important;
    line-height: 1 !important;
}

/* Ensure parent allows visibility */
.navbar-nav {
    overflow: visible !important;
}

.navbar-collapse {
    overflow: visible !important;
}









/* ==============================================
   CUSTOM CART HOVER CARD - REPLACES TOOLTIP START
        (this is the card that appears when you hover over the cart icon in the navbar)
   ============================================== */

/* ==============================================
   PREMIUM COMPACT CART HOVER CARD - Bioverax Theme
   ============================================== */

.cart-hover-container {
    position: relative;
    overflow: visible !important;
}

/* Invisible bridge for smooth transition */
.cart-hover-container::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
    z-index: 99998;
}

/* Extended hover area for cart icon */
.cart-icon-link {
    display: inline-block;
    position: relative;
}

.cart-icon-link::before {
    content: '';
    position: absolute;
    bottom: -12px;
    left: -15px;
    right: -15px;
    height: 20px;
    background: transparent;
    z-index: 99998;
}

/* Premium Compact Cart Card */
.cart-hover-card {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0;
    min-width: 280px;
    max-width: 320px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cart-hover-container:hover .cart-hover-card,
.cart-hover-card:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Card Container */
.cart-hover-card-inner {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 102, 204, 0.1);
    overflow: hidden;
    position: relative;
}

/* Arrow Indicator - Connects to cart icon */
.cart-hover-card-inner::before {
    content: '';
    position: absolute;
    top: -7px;
    right: 18px;
    width: 14px;
    height: 14px;
    background: white;
    transform: rotate(45deg);
    border-top: 1px solid rgba(0, 102, 204, 0.15);
    border-left: 1px solid rgba(0, 102, 204, 0.15);
    z-index: 100000;
}

/* Header - Compact */
.cart-hover-header {
    background: var(--bioverax-gradient, linear-gradient(135deg, #0066cc 0%, #20c997 100%));
    color: white;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    position: relative;
}

.cart-hover-header strong {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-hover-header i {
    font-size: 0.9rem;
}

/* Compact Cart Count Badge */
.cart-hover-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Body - Compact */
.cart-hover-body {
    padding: 10px 12px 12px 12px;
}

/* Cart Items Preview - Compact */
.cart-items-preview {
    max-height: 180px;
    overflow-y: auto;
    margin-bottom: 8px;
}

.cart-preview-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 102, 204, 0.08);
    transition: all 0.2s ease;
}

.cart-preview-item:last-child {
    border-bottom: none;
}

.cart-preview-img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    background: rgba(0, 102, 204, 0.05);
    border: 1px solid rgba(0, 102, 204, 0.1);
    flex-shrink: 0;
}

.cart-preview-info {
    flex: 1;
    min-width: 0;
}

.cart-preview-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}

.cart-preview-meta {
    font-size: 0.65rem;
    color: var(--gray-500);
    display: flex;
    gap: 8px;
}

.cart-preview-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bioverax-blue);
    white-space: nowrap;
}

/* "More items" badge - Clean & Compact */
.more-items-badge {
    text-align: center;
    padding: 6px 0 2px 0;
    font-size: 0.7rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid rgba(0, 102, 204, 0.08);
    margin-top: 4px;
    padding-top: 6px;
}

.more-items-badge i {
    font-size: 0.65rem;
    color: var(--bioverax-blue);
}

/* Total Section - Compact Premium */
.cart-hover-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 10px 8px;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.03) 0%, rgba(32, 201, 151, 0.03) 100%);
    border-radius: 10px;
    margin: 8px 0 10px 0;
    border: 1px solid rgba(0, 102, 204, 0.08);
}

.cart-hover-total span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cart-hover-total strong {
    font-size: 1.2rem;
    font-weight: 800;
    background: var(--bioverax-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Action Buttons - Compact */
.cart-hover-actions {
    display: flex;
    gap: 8px;
}

.btn-cart-view {
    flex: 1;
    background: var(--bioverax-gradient);
    color: white;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
}

.btn-cart-view::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.4s ease;
}

.btn-cart-view:hover::before {
    left: 100%;
}

.btn-cart-view:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
    color: white;
}

.btn-cart-checkout {
    flex: 1;
    background: transparent;
    border: 1.5px solid var(--bioverax-blue);
    color: var(--bioverax-blue);
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-cart-checkout:hover {
    background: var(--bioverax-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.2);
}

/* Empty Cart State - Compact */
.cart-empty-state {
    text-align: center;
    padding: 20px 16px;
}

.cart-empty-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #0066cc 0%, #20c997 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.cart-empty-state p {
    color: var(--gray-500);
    font-size: 0.75rem;
    margin-bottom: 12px;
}

.btn-empty-shop {
    background: transparent;
    border: 1.5px solid var(--bioverax-blue);
    color: var(--bioverax-blue);
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-empty-shop:hover {
    background: var(--bioverax-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-1px);
}

/* Animation */
@keyframes cartSlideIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-hover-container:hover .cart-hover-card {
    animation: cartSlideIn 0.2s cubic-bezier(0.34, 1.2, 0.64, 1);
}

/* Custom Scrollbar for Items */
.cart-items-preview::-webkit-scrollbar {
    width: 3px;
}

.cart-items-preview::-webkit-scrollbar-track {
    background: rgba(0, 102, 204, 0.05);
    border-radius: 3px;
}

.cart-items-preview::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #0066cc, #20c997);
    border-radius: 3px;
}

/* Mobile */
@media (max-width: 768px) {
    .cart-hover-card {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
        min-width: auto;
        max-width: none;
    }
    
    .cart-hover-card-inner::before {
        display: none;
    }
    
    .cart-hover-container::after,
    .cart-icon-link::before {
        display: none;
    }
    
    .cart-hover-container:active .cart-hover-card {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}
/* ==============================================
   CUSTOM CART HOVER CARD - REPLACES TOOLTIP END
   ============================================== */



/* ==============================================
   TOOLTIP FIXES - FORCE ABOVE ALL CONTENT START
     (if you still have tooltips anywhere, this ensures they show above everything else)
   ============================================== */
/* Force tooltips above everything */
.tooltip {
    z-index: 99999 !important;
    opacity: 1 !important;
}

.tooltip.show {
    opacity: 1 !important;
}

.tooltip-inner {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%) !important;
    color: #fff !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}
/* ==============================================
   TOOLTIP FIXES - FORCE ABOVE ALL CONTENT END
   ============================================== */










/* ======================================================================
   PREMIUM ICON STYLES - BIOVERAX VIBRANT GRADIENTS START
     (applies to navbar icons, dropdown icons, and cart hover card icons)
     Each icon gets a unique gradient that matches the Bioverax theme
   ======================================================================= */

/* Base icon styling with enhanced transitions */
.nav-link-premium i,
.dropdown-item i,
.btn-cart-bioverax i,
.btn-icon-details i,
.btn-icon-cart i,
.btn-quote-purple i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===================================================
   NAVIGATION ICONS - Vibrant Gradients
   =================================================== */

/* Home Icon - Vibrant Blue to Green */
.nav-link-premium i.fa-home {
    background: linear-gradient(135deg, #3b82f6, #10b981, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

/* Products Icon - Teal to Purple */
.nav-link-premium i.fa-vial,
.nav-link-premium i.fa-flask {
    background: linear-gradient(135deg, #14b8a6, #8b5cf6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

/* Request Quote Icon - Orange to Gold */
.nav-link-premium i.fa-file-invoice {
    background: linear-gradient(135deg, #f97316, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

/* Contact Icon - Sky Blue to Indigo */
.nav-link-premium i.fa-envelope {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6, #6366f1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

/* About Icon - Purple to Pink */
.nav-link-premium i.fa-info-circle {
    background: linear-gradient(135deg, #a855f7, #ec489a, #f472b6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

/* Dashboard Icon - Emerald to Cyan */
.nav-link-premium i.fa-tachometer-alt {
    background: linear-gradient(135deg, #10b981, #06b6d4, #2dd4bf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

/* ===================================================
   CART ICON - Premium Red to Gold (Navbar Only)
   =================================================== */
.nav-link-premium i.fa-shopping-cart {
    background: linear-gradient(135deg, #ef4444, #f97316, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
    font-size: 1.1rem;
}

/* ===================================================
   USER ICONS - Blue to Teal to Purple
   =================================================== */
.nav-link-premium i.fa-user-circle,
.nav-link-premium i.fa-sign-in-alt,
.nav-link-premium i.fa-user-plus {
    background: linear-gradient(135deg, #3b82f6, #06b6d4, #8b5cf6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% 200%;
    animation: gradientFlow 3s ease infinite;
}

/* ===================================================
   DROPDOWN ICONS - Rich Gradients
   =================================================== */
.dropdown-item i.fa-tachometer-alt {
    background: linear-gradient(135deg, #10b981, #06b6d4, #2dd4bf);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dropdown-item i.fa-file-invoice {
    background: linear-gradient(135deg, #f97316, #f59e0b, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dropdown-item i.fa-shopping-bag {
    background: linear-gradient(135deg, #ef4444, #f97316, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dropdown-item i.fa-shopping-cart {
    background: linear-gradient(135deg, #ef4444, #f97316, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dropdown-item i.fa-user-cog {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6, #a855f7);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.dropdown-item i.fa-sign-out-alt {
    background: linear-gradient(135deg, #ef4444, #dc2626, #b91c1c);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===================================================
   PRODUCT BUTTON ICONS - Keep White
   =================================================== */
.btn-cart-bioverax i,
.btn-icon-cart i {
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    transition: transform 0.3s ease;
}

.btn-icon-details i {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.btn-icon-details:hover i {
    color: white !important;
    background: none !important;
}

/* Quote Button Icon */
.btn-quote-purple i {
    color: white !important;
    background: none !important;
}

/* ===================================================
   SEARCH ICON
   =================================================== */
.search-submit-btn i {
    background: linear-gradient(135deg, #3b82f6, #06b6d4, #14b8a6);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 1.1rem;
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* ===================================================
   HOVER EFFECTS - Enhanced
   =================================================== */
.nav-link-premium:hover i,
.dropdown-item:hover i {
    transform: scale(1.15) rotate(3deg);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.15));
}

/* ===================================================
   ACTIVE STATE - White Icons
   =================================================== */
.nav-link-premium.active i {
    color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    transform: scale(1);
    filter: none;
}

/* ===================================================
   RESPONSIVE ICON SIZES
   =================================================== */
@media (max-width: 768px) {
    .nav-link-premium i {
        font-size: 0.95rem;
    }
}
/* ======================================================================
   PREMIUM ICON STYLES - BIOVERAX VIBRANT GRADIENTS END
   ====================================================================== */
