/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* --- CSS Variables --- */
:root {
    --bg-dark: #000000;
    --accent-purple: #622bd1; 
    --accent-purple-hover: #5021ad;
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --panel-bg: #161125;   
    --panel-dark: #211833; 
}

/* ========================================= */
/* --- GLOBAL LINK & BUTTON FIX --- */
/* ========================================= */
a { text-decoration: none !important; transition: all 0.3s ease !important; color: inherit; }

[href*="/cart"], [href*="discord"], .nav-link, .navbar a {
    color: #ffffff !important; 
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

[href*="/cart"]:hover, [href*="discord"]:hover, .btn:hover {
    transform: translateY(-3px) !important;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* --- HERO DISCORD ICON SPIN ANIMATION --- */
.sa-hero-buttons [href*="discord"] svg, 
.sa-hero-buttons [href*="discord"] i {
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important; 
}
.sa-hero-buttons [href*="discord"]:hover svg, 
.sa-hero-buttons [href*="discord"]:hover i {
    transform: rotate(-360deg) scale(1.15) !important; 
}

/* ========================================= */
/* --- PAGE LAYOUT, GLOBALS & FADE-IN --- */
/* ========================================= */
@keyframes fadeUpIn { 0% { opacity: 0; transform: translateY(40px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes fadeUpInFixed { 0% { opacity: 0; transform: translate(-50%, 30px); } 100% { opacity: 1; transform: translate(-50%, 0); } }

/* THIS MAKES ALL PAGES FADE IN ON LOAD/REFRESH */
.main-content, 
.cart-page-wrapper, 
.sa-product-view-wrapper, 
.sa-dashboard-wrapper, 
.sa-custom-hero, 
.sa-products-section {
    opacity: 0; /* Starts invisible */
    animation: fadeUpIn 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

main, .main-content, .flex-grow, .cart-page-wrapper, .sa-product-view-wrapper, .sa-dashboard-wrapper {
    padding-top: 115px !important; 
}

.sa-product-view-wrapper .row { border-top: none !important; border-bottom: none !important; }

/* EXPANDED LAYOUT (Background container removed) */
.sa-product-view-wrapper .container { 
    margin-right: auto !important; 
    margin-left: auto !important; 
    max-width: 1500px !important; 
}

/* ========================================= */
/* --- GLOBAL BACKGROUND MIST --- */
/* ========================================= */
body {
    background-color: var(--bg-dark) !important; 
    background-image: 
        linear-gradient(to bottom, #000 0%, #000 150px, transparent 300px),
        radial-gradient(ellipse at 50% 45%, rgba(98, 43, 209, 0.22) 0%, transparent 70%),
        radial-gradient(circle at 15% 40%, rgba(98, 43, 209, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 85% 40%, rgba(98, 43, 209, 0.12) 0%, transparent 50%) !important;
    background-repeat: no-repeat !important;
    background-attachment: fixed !important; 
}
.main-content, .component, .sa-custom-hero { background: transparent !important; }

/* ========================================= */
/* --- GLOBAL CARDS (FIXES HOME PAGE) --- */
/* ========================================= */
.card {
    background: var(--panel-bg) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4) !important;
    color: var(--text-main) !important;
    overflow: hidden;
}
.aspect-product-card-image { border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; }

/* ========================================= */
/* --- NAVBAR (FIXED MODE) --- */
/* ========================================= */
.sa-navbar { position: fixed !important; top: 25px !important; left: 50% !important; transform: translateX(-50%) !important; z-index: 9999 !important; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; margin: 0 !important; width: 95%; max-width: 1600px; padding: 0.8rem 2rem; background: rgba(8, 4, 14, 0.85) !important; backdrop-filter: blur(16px) saturate(180%) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: 100px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); animation: fadeUpInFixed 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards; }
.sa-navbar.scrolled-1 { top: 15px !important; max-width: 1400px; padding: 0.7rem 2rem; background: rgba(8, 4, 14, 0.88) !important; }
.sa-navbar.scrolled-1 .sa-logo-img { height: 50px; }
.sa-navbar.scrolled-2 { top: 15px !important; max-width: 1250px; padding: 0.6rem 2rem; background: rgba(8, 4, 14, 0.92) !important; }
.sa-navbar.scrolled-2 .sa-logo-img { height: 45px; }
.sa-navbar.scrolled-3 { top: 15px !important; max-width: 1100px; padding: 0.5rem 1.8rem; background: rgba(8, 4, 14, 0.96) !important; }
.sa-navbar.scrolled-3 .sa-logo-img { height: 40px; }
.sa-navbar.scrolled-3 .sa-nav-logo a { font-size: 1.35rem; }
.sa-navbar.scrolled-4 { top: 15px !important; max-width: 1020px; padding: 0.5rem 1.8rem; background: rgba(8, 4, 14, 0.98) !important; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.sa-navbar.scrolled-4 .sa-logo-img { height: 38px; } 
.sa-nav-logo { justify-self: start; }
.sa-nav-logo a { display: flex; align-items: center; gap: 0.75rem; color: var(--text-main); font-size: 1.5rem; font-weight: 700; transition: all 0.4s ease; }
.sa-nav-logo strong { color: var(--accent-purple); }
.sa-logo-img { height: 55px; width: auto; max-width: 250px; object-fit: contain; }
.sa-nav-links { justify-self: center; display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0.35rem 0.5rem; background: rgba(20, 10, 26, 0.6) !important; backdrop-filter: blur(14px) saturate(160%) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: 50px !important; }
.sa-nav-links a { color: rgba(255, 255, 255, 0.8) !important; font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease; padding: 0.5rem 1.2rem; border-radius: 50px; }
.sa-nav-links a:hover { color: #ffffff !important; background: rgba(255, 255, 255, 0.12); }
.sa-nav-links a.active { color: #ffffff !important; background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-hover)); box-shadow: 0 4px 15px rgba(98, 43, 209, 0.3); }

/* ========================================= */
/* --- NEW CART BUTTON & BADGE --- */
/* ========================================= */
.sa-nav-actions { justify-self: end; display: flex; align-items: center; gap: 1.5rem; }

.sa-cart-btn { 
    position: relative; 
    display: flex; 
    align-items: center; 
    gap: 0.4rem; 
    color: var(--text-main) !important; 
    font-size: 0.9rem; 
    font-weight: 500;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}
.sa-cart-btn:hover {
    transform: translateY(-3px) !important;
}

[x-cloak] { display: none !important; }

/* The Notification Badge */
.sa-cart-count {
    position: absolute;
    top: -12px;
    right: -16px;
    background: #a855f7; 
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex; 
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4); 
    pointer-events: none; 
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sa-cart-count.bump { 
    transform: scale(1.3); 
}

.sa-client-btn { background: var(--accent-purple); color: var(--text-main) !important; padding: 0.6rem 1.2rem; border-radius: 50px; font-size: 0.9rem; font-weight: 600; transition: all 0.3s ease; display: inline-block; border: none;}
.sa-client-btn:hover { background: var(--accent-purple-hover); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(98, 43, 209, 0.4); }

/* ========================================= */
/* --- HERO SECTION & BADGE FIX --- */
/* ========================================= */
.sa-custom-hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; overflow: hidden; }
.sa-hero-overlay { display: none; } 
.sa-hero-content { position: relative; z-index: 10; flex-grow: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; max-width: 900px; margin: 3rem auto 0 auto; }
.sa-badge { background: rgba(98, 43, 209, 0.12); color: #f1daff; border: 1px solid rgba(98, 43, 209, 0.4); padding: 0.5rem 1.5rem; border-radius: 999px; font-size: 1rem; font-weight: 500; margin-bottom: 1.2rem; display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; line-height: 1;}
.sa-badge svg, .sa-badge i { color: var(--accent-purple); display: block; margin-top: -2px; }
.sa-headline { font-size: 6.5rem; font-weight: 700; line-height: 0.95; margin: 0 0 1.2rem 0; letter-spacing: -3.5px; background: linear-gradient(180deg, #ffffff 15%, var(--accent-purple) 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sa-subheadline { font-size: 1.15rem; color: #d1d5db; line-height: 1.5; margin: 0 0 2rem 0; max-width: 750px; }
.sa-btn-primary, .sa-btn-secondary { width: 210px; justify-content: center; padding: 0.8rem 1.5rem; border-radius: 8px; font-size: 0.95rem; font-weight: 600; display: inline-flex; align-items: center; gap: 0.5rem; transition: all 0.3s ease; color: var(--text-main) !important; margin: 0 0.8rem; }
.sa-btn-primary { background: var(--accent-purple); box-shadow: 0 0 20px rgba(98, 43, 209, 0.5); }
.sa-btn-primary:hover { background: var(--accent-purple-hover); transform: translateY(-3px); box-shadow: 0 0 35px rgba(98, 43, 209, 0.8); }
.sa-btn-secondary { background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); }
.sa-btn-secondary:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-3px); }

/* ========================================= */
/* --- PRODUCT PAGE THEME --- */
/* ========================================= */
.sa-gradient-title { font-size: 2.8rem !important; font-weight: 700 !important; letter-spacing: -1.5px !important; background: linear-gradient(180deg, #ffffff 10%, #9ca3af 100%) !important; -webkit-background-clip: text !important; -webkit-text-fill-color: transparent !important; display: inline-block; text-align: center; width: 100%; margin-bottom: 2rem; }

/* PANELS */
.sa-panel, .sa-panel-right { background: var(--panel-dark) !important; border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 2rem !important; box-shadow: 0 10px 30px rgba(0,0,0,0.4); }
.sa-product-title-small { font-size: 2.2rem !important; font-weight: 700; letter-spacing: -0.5px; margin-bottom: 0.8rem; color: #ffffff; }

/* Image Container */
.sa-main-image-container { background: #000 !important; border: 1px solid rgba(255, 255, 255, 0.05) !important; border-radius: 12px !important; overflow: hidden !important; margin-bottom: 0 !important; aspect-ratio: 16 / 9; position: relative; }
.sa-main-image-container img { width: 100% !important; height: 100% !important; object-fit: cover !important; cursor: pointer !important; }
.sa-main-image-container::after, .sa-main-image-container::before { display: none !important; }

/* Custom Dark Circle Navigation Arrows */
.sa-carousel-control { width: 56px !important; height: 56px !important; background: rgba(0, 0, 0, 0.6) !important; border-radius: 50% !important; top: 50% !important; transform: translateY(-50%); margin: 0 1rem; border: none !important; opacity: 0.8 !important; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
.sa-carousel-control:hover { background: rgba(0, 0, 0, 0.9) !important; opacity: 1 !important; }
.sa-carousel-control-prev-icon, .sa-carousel-control-next-icon { width: 1.8rem !important; height: 1.8rem !important; }

/* Pill Indicators */
.custom-pill-indicators { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; margin: 0; padding: 8px 16px; background: rgba(0, 0, 0, 0.4); border-radius: 20px; list-style: none; z-index: 15; }
.custom-pill-indicators button { width: 10px !important; height: 10px !important; border-radius: 50% !important; background-color: rgba(255, 255, 255, 0.4) !important; border: none !important; padding: 0 !important; margin: 0 !important; transition: all 0.3s ease !important; text-indent: -999px; }
.custom-pill-indicators button.active { width: 30px !important; border-radius: 5px !important; background-color: #ffffff !important; }

/* Thumbnail Bar */
.sa-thumbnail-bar { display: flex; gap: 14px; padding: 1.2rem !important; background: var(--panel-dark); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 12px; margin-top: 1.2rem; overflow-x: auto; }
.sa-thumb-btn { width: 100px !important; height: 64px !important; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: #000; padding: 0; flex-shrink: 0; opacity: 0.5; transition: all 0.3s ease; }
.sa-thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.sa-thumb-btn:hover { opacity: 0.8; }
.sa-thumb-btn.active { opacity: 1; border-color: var(--accent-purple); box-shadow: 0 0 15px rgba(98, 43, 209, 0.5); }

/* Lightbox Modal */
.sa-lightbox-modal { z-index: 100000 !important; }
.sa-lightbox-modal .modal-content { background: transparent !important; border: none !important; box-shadow: none !important; }
.sa-lightbox-modal img { border-radius: 24px !important; pointer-events: none !important; }
.sa-lightbox-close { position: absolute; top: 15px; right: 15px; width: 48px; height: 48px; background: rgba(0, 0, 0, 0.6) !important; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; border: none; z-index: 1060; cursor: pointer; transition: all 0.2s ease; }
.sa-lightbox-close:hover { background: rgba(0, 0, 0, 0.9) !important; transform: scale(1.05) translateY(-3px); }

body.modal-open, body:has(.sa-lightbox-modal.show), body:has(.modal.show) { overflow: hidden !important; height: 100% !important; touch-action: none !important; }
.sa-lightbox-modal .modal-dialog { overflow: hidden !important; pointer-events: none; }
.sa-lightbox-modal .modal-dialog > * { pointer-events: all; }
.sa-lightbox-modal .modal-body { overflow: hidden !important; overscroll-behavior: none !important; }
body:has(.sa-lightbox-modal.show) .sa-carousel-control, body:has(.sa-lightbox-modal.show) .carousel-control-prev, body:has(.sa-lightbox-modal.show) .carousel-control-next, body:has(.modal.show) .sa-carousel-control, body:has(.modal.show) .carousel-control-prev, body:has(.modal.show) .carousel-control-next { pointer-events: none !important; opacity: 0 !important; visibility: hidden !important; }

/* Solid Price Box */
.sa-price-display-box { background: var(--panel-bg) !important; border: 1px solid rgba(255, 255, 255, 0.03); border-radius: 12px; padding: 1rem 1.5rem; margin: 1.2rem 0; display: flex; align-items: center; }
.sa-price-huge { font-size: 2.2rem; font-weight: 700; color: #ffffff; margin: 0; letter-spacing: -0.5px; }
.sa-form-label { font-size: 1.1rem; color: rgba(255, 255, 255, 0.8); font-weight: 600; margin-bottom: 0.6rem; display: block; }

/* ========================================= */
/* --- NEW SIDE-BY-SIDE VARIANT PILLS --- */
/* ========================================= */
.sa-variant-container { display: flex !important; flex-direction: column !important; gap: 0.5rem !important; width: 100% !important; }
.sa-variant-btn { width: 100% !important; flex: unset !important; min-width: unset !important; background: var(--panel-bg) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: 14px !important; padding: 1.1rem 1.5rem !important; color: var(--text-main) !important; transition: all 0.2s ease !important; cursor: pointer !important; display: flex !important; align-items: center !important; min-height: 68px !important; }
.sa-variant-btn:hover:not(:disabled) { border-color: rgba(98, 43, 209, 0.5) !important; background: rgba(98, 43, 209, 0.06) !important; }
.sa-variant-btn.active { background: rgba(98, 43, 209, 0.1) !important; border-color: var(--accent-purple) !important; box-shadow: 0 0 18px rgba(98, 43, 209, 0.25) !important; }
.sa-variant-btn:disabled { opacity: 0.4; cursor: not-allowed; }

.sa-variant-btn .d-flex.align-items-center.w-100 { width: 100% !important; display: flex !important; align-items: center !important; }
.sa-variant-radio { order: 3 !important; width: 22px !important; height: 22px !important; min-width: 22px !important; border-radius: 6px !important; border: 2px solid rgba(255, 255, 255, 0.2) !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: all 0.2s ease !important; flex-shrink: 0 !important; margin-left: 1.5rem !important; margin-right: 0 !important; background: transparent !important; }
.sa-variant-radio::after { content: '' !important; width: 5px !important; height: 9px !important; border-right: 2px solid transparent !important; border-bottom: 2px solid transparent !important; transform: rotate(45deg) translateY(-1px) !important; transition: all 0.2s ease !important; display: block !important; }
.sa-variant-btn.active .sa-variant-radio { border-color: var(--accent-purple) !important; background: var(--accent-purple) !important; }
.sa-variant-btn.active .sa-variant-radio::after { border-color: #ffffff !important; }
.sa-variant-btn .d-flex.flex-column.align-items-start { order: 1 !important; flex: 1 !important; }
.sa-variant-name { font-size: 1rem !important; font-weight: 600 !important; margin: 0 !important; display: block !important; line-height: 1.2 !important; color: #ffffff !important; }
.sa-variant-stock { font-size: 0.78rem !important; color: #10b981 !important; margin: 0 !important; display: block !important; line-height: 1.2 !important; }
.sa-variant-btn:disabled .sa-variant-stock { color: #ef4444 !important; }
.sa-variant-btn .ms-auto.text-end { order: 2 !important; flex-shrink: 0 !important; margin-left: auto !important; padding-left: 1rem !important; }
.sa-variant-price { font-size: 1.05rem !important; font-weight: 600 !important; color: rgba(255,255,255,0.9) !important; white-space: nowrap !important; }

/* Quantity Wrapper */
.sa-qty-wrapper { background: var(--panel-bg) !important; border: 1px solid rgba(255, 255, 255, 0.05) !important; border-radius: 12px; padding: 0.4rem; display: flex; align-items: center; justify-content: space-between; }
.sa-qty-wrapper .btn { border: none !important; color: rgba(255,255,255,0.5) !important; width: 44px; height: 44px; display: flex; justify-content: center; align-items: center; padding: 0;}
.sa-qty-wrapper .btn:hover:not(:disabled) { color: #fff !important; }
.sa-qty-wrapper input { background: transparent !important; border: none !important; color: #fff !important; text-align: center; font-weight: 600; font-size: 1.15rem; flex-grow: 1; height: 44px; padding: 0;}
.sa-qty-wrapper input:focus { box-shadow: none !important; }

/* Buttons */
.buy-buttons { margin-top: 0.5rem !important; display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 0.75rem !important; }
.sa-btn-cart, .sa-btn-buy { width: 100% !important; height: 58px !important; display: flex !important; align-items: center !important; justify-content: center !important; gap: 0.5rem !important; font-weight: 600 !important; font-size: 1rem !important; border-radius: 12px !important; padding: 0 1rem !important; transition: all 0.3s ease !important; box-sizing: border-box !important; white-space: nowrap !important; }
.sa-btn-cart { background: rgba(98, 43, 209, 0.1) !important; color: #f1daff !important; border: 1px solid rgba(98, 43, 209, 0.4) !important; }
.sa-btn-cart:hover { background: rgba(98, 43, 209, 0.25) !important; color: white !important; border-color: rgba(98, 43, 209, 0.6) !important; }
.sa-btn-buy { background: var(--accent-purple) !important; color: #ffffff !important; border: none !important; box-shadow: 0 0 15px rgba(98, 43, 209, 0.3) !important; }
.sa-btn-buy:hover { background: var(--accent-purple-hover) !important; box-shadow: 0 0 20px rgba(98, 43, 209, 0.5) !important; transform: translateY(-2px); }

/* ========================================= */
/* --- STATUS BADGES --- */
/* ========================================= */
.status { border-radius: 50px; transition: all 0.4s ease; padding: 0.5rem 1.2rem !important;}
.label { margin-bottom: 0; line-height: 1; font-size: 1rem !important; font-weight: 700 !important;}
@keyframes pulsateStatus { 0% { transform: scale(0.6); opacity: 0.8; } 50% { transform: scale(1.4); opacity: 0.3; } 100% { transform: scale(0.6); opacity: 0.8; } }
.pulsating { width: 8px; height: 8px; border-radius: 50%; animation: pulsateStatus 2.2s ease-out infinite; }

/* ========================================= */
/* --- SMALL GREEN SUCCESS TOAST --- */
/* ========================================= */
.sa-toast-success { position: fixed; bottom: 40px; left: 50%; transform: translateX(-50%) translateY(0); background: linear-gradient(135deg, #10b981, #059669) !important; color: #ffffff !important; padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 1rem; display: flex; align-items: center; gap: 10px; box-shadow: 0 8px 30px rgba(16, 185, 129, 0.45), 0 0 0 1px rgba(16,185,129,0.2); z-index: 10000; animation: toastSlideUp 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards; width: max-content !important; max-width: 90vw !important; }
@keyframes toastSlideUp { 0% { opacity: 0; transform: translateX(-50%) translateY(80px) scale(0.85); } 60% { opacity: 1; transform: translateX(-50%) translateY(-6px) scale(1.02); } 100% { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); } }

/* ================= ======================= */
/* --- CART PAGE THEME --- */
/* ================= ======================= */
.cart-page-wrapper { max-width: 1400px; margin: 0 auto; font-family: 'Inter', sans-serif; color: var(--text-main); }
.cart-title { font-size: 3rem; font-weight: 700; letter-spacing: -1px; margin-bottom: 2.5rem; color: var(--text-main); }

.cart-item-bg { background: var(--panel-bg) !important; border: 1px solid rgba(255, 255, 255, 0.06) !important; border-radius: 16px !important; padding: 1.2rem !important; transition: border-color 0.2s ease; }
.cart-item-bg:hover { border-color: rgba(98, 43, 209, 0.3) !important; }
.cart-qty-btn { color: rgba(255,255,255,0.6) !important; background: transparent !important; border: none !important; transition: color 0.2s; }
.cart-qty-btn:hover:not(:disabled) { color: #fff !important; }
.cart-qty-input { background: transparent !important; border: none !important; color: white !important; font-weight: 600; font-size: 1rem !important; }
.cart-remove-desktop, .cart-remove-mobile { color: rgba(255,255,255,0.3) !important; transition: color 0.2s ease, transform 0.2s ease; }
.cart-remove-desktop:hover, .cart-remove-mobile:hover { color: #ef4444 !important; transform: scale(1.15); }

.sa-order-summary { background: var(--panel-bg) !important; border: 1px solid rgba(255, 255, 255, 0.06) !important; border-radius: 16px !important; padding: 1.8rem !important; box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important; position: sticky; top: 100px; }
.sa-order-summary label { font-size: 1.2rem; font-weight: 700; color: #ffffff; display: block; margin-bottom: 1rem; }
.sa-order-summary .border-bottom { border-color: rgba(255,255,255,0.06) !important; padding-bottom: 1rem; margin-bottom: 1rem; }
.cart-product-link { transition: color 0.2s; font-size: 1.1rem !important; font-weight: 600;}
.cart-product-link:hover { color: var(--accent-purple) !important; }
.sa-checkout-btn { background: var(--accent-purple) !important; color: var(--text-main) !important; border: none !important; border-radius: 12px !important; padding: 1.2rem !important; font-size: 1.15rem !important; font-weight: 700 !important; width: 100%; display: flex; justify-content: center; align-items: center; gap: 0.5rem; transition: all 0.3s ease !important; box-shadow: 0 0 15px rgba(98, 43, 209, 0.3) !important; }
.sa-checkout-btn:hover:not(:disabled) { background: var(--accent-purple-hover) !important; transform: translateY(-2px); box-shadow: 0 0 25px rgba(98, 43, 209, 0.6) !important; }
.sa-checkout-btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* ========================================= */
/* --- CUSTOMER DASHBOARD THEME --- */
/* ========================================= */
.sa-dashboard-wrapper { min-height: 100vh; font-family: 'Inter', sans-serif;}
.sa-dashboard-wrapper .container { max-width: 1400px !important; }
.sa-dashboard-wrapper .card { background: var(--panel-bg) !important; border: 1px solid rgba(255, 255, 255, 0.05) !important; border-radius: 16px !important; padding: 2.5rem !important; box-shadow: 0 10px 40px rgba(0,0,0,0.5) !important; color: var(--text-main) !important;}

.sa-stat-title { font-size: 1.15rem; font-weight: 600; color: var(--text-muted); margin-bottom: 1rem; }
.sa-stat-value { font-size: 2.2rem; font-weight: 700; color: #ffffff; margin-bottom: 0; letter-spacing: -1px; background: linear-gradient(145deg, var(--panel-dark), rgba(0,0,0,0.5)) !important; border: 1px solid rgba(255, 255, 255, 0.05) !important; padding: 1rem 1.8rem !important; border-radius: 12px !important; display: inline-block !important; box-shadow: inset 0 2px 15px rgba(0, 0, 0, 0.3), 0 4px 10px rgba(0,0,0,0.2) !important; }

.sa-sidebar-link, .sa-dashboard-wrapper .list-group-item { background: transparent !important; color: rgba(255, 255, 255, 0.6) !important; border: none !important; border-radius: 10px !important; padding: 1rem 1.2rem !important; transition: all 0.3s ease !important; font-weight: 600; font-size: 1.1rem !important; margin-bottom: 0.3rem; display: block;}
.sa-sidebar-link:hover, .sa-dashboard-wrapper .list-group-item:hover { background: rgba(98, 43, 209, 0.1) !important; color: #ffffff !important; transform: translateX(4px) !important; }
.sa-sidebar-link.active, .sa-dashboard-wrapper .list-group-item.active { background: var(--accent-purple) !important; color: #ffffff !important; box-shadow: 0 0 15px rgba(98, 43, 209, 0.4) !important; }

.text-danger, .sa-sidebar-link.text-danger { color: #ef4444 !important; }
.sa-sidebar-link.text-danger:hover { background: rgba(239, 68, 68, 0.1) !important; color: #ef4444 !important; }
.btn-outline-danger { border-color: rgba(239, 68, 68, 0.5) !important; color: #ef4444 !important; border-radius: 10px !important; padding: 0.8rem 1.5rem !important; font-weight: 600 !important; transition: all 0.3s ease; }
.btn-outline-danger:hover { background: #ef4444 !important; color: #fff !important; border-color: #ef4444 !important; box-shadow: 0 0 15px rgba(239, 68, 68, 0.4) !important; transform: translateY(-2px) !important; }

.table { color: #ffffff !important; margin-bottom: 0 !important; border-color: rgba(255,255,255,0.05) !important; }
.table th { background: var(--panel-dark) !important; color: #ffffff !important; border-bottom: 2px solid var(--accent-purple) !important; padding: 1.2rem 1rem !important; font-size: 1.1rem; font-weight: 600; border-top: none !important; }
.table td { background: transparent !important; border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; padding: 1.2rem 1rem !important; font-size: 1.05rem; vertical-align: middle; }
.table-hover tbody tr:hover td { background: rgba(255, 255, 255, 0.02) !important; }

.alert-info { background: rgba(98, 43, 209, 0.1) !important; border: 1px solid rgba(98, 43, 209, 0.3) !important; color: #f1daff !important; border-radius: 12px !important; padding: 1.2rem 1.5rem !important; font-size: 1.05rem !important; }
.alert-info a { color: #ffffff !important; font-weight: 700; text-decoration: underline !important; }

/* Modals */
#customer-login-modal .modal-content, #customerAuthModal .modal-content, #customer-delete-modal .modal-content { background: rgba(10, 5, 18, 0.98) !important; backdrop-filter: blur(20px) saturate(180%) !important; border: 1px solid rgba(255, 255, 255, 0.08) !important; border-radius: 16px !important; padding: 1.5rem !important; color: var(--text-main) !important; box-shadow: 0 15px 50px rgba(0, 0, 0, 0.7); font-family: 'Inter', sans-serif; }
#customer-login-modal .modal-header, #customerAuthModal .modal-header { border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important; padding: 1rem 1rem 0.5rem 1rem !important; }
#customer-login-modal input.form-control { background: var(--panel-dark) !important; border: 1px solid rgba(255, 255, 255, 0.05) !important; color: #ffffff !important; border-radius: 10px !important; padding: 0.8rem 1.2rem !important; font-size: 1rem !important; transition: all 0.3s ease !important; }
#customer-login-modal input.form-control:focus { border-color: var(--accent-purple) !important; }
#customer-login-modal button[type="submit"] { background: var(--accent-purple) !important; color: #ffffff !important; border: none !important; border-radius: 10px !important; padding: 1rem 1.5rem !important; font-weight: 600 !important; width: 100% !important; margin-top: 0.5rem !important; transition: all 0.3s ease !important; }
#customer-login-modal button[type="submit"]:hover { background: var(--accent-purple-hover) !important; transform: translateY(-2px); }

/* Editor text fixes */
.editor, .editor p, .editor span, .editor li { color: rgba(255, 255, 255, 0.8) !important; font-size: 1.1rem !important; line-height: 1.7 !important; }

/* ========================================= */
/* --- "OUR REVIEWS" LOOPING MARQUEE THEME --- */
/* ========================================= */

.our-reviews-section {
    padding: 6rem 1rem;
    max-width: 1600px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    overflow: hidden; /* Important for the marquee */
}

/* --- THE GRADIENT HEADER (REQ: OUR REVIEWS) --- */
.reviews-header {
    text-align: center;
    margin-bottom: 4rem;
}

.reviews-header h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    letter-spacing: -2px;
    
    /* THE GRADIENT MAGIC */
    background: linear-gradient(135deg, var(--text-main) 20%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.reviews-header p {
    font-size: 1.1rem;
    color: rgba(161, 161, 170, 0.8);
    max-width: 700px;
    margin: 0 auto;
}

/* --- THE LOOPING ANIMATION (MARQUEE) --- */
.reviews-wrapper {
    position: relative;
    width: 100%;
    margin-bottom: -1rem; /* Adjusting for shadow */
}

.reviews-marquee {
    display: flex;
    gap: 1.5rem;
    width: max-content; /* Important for full width content */
    will-change: transform;
    animation: marquee-loop 75s linear infinite; /* Control speed with the '35s' */
}

@keyframes marquee-loop {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } /* Scrolls half-way (half of original content + copy) */
}

/* --- THE INDIVIDUAL REVIEW CARD STYLING --- */
.review-card {
    background: rgba(16, 10, 26, 0.8) !important;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 1.8rem;
    width: 380px; /* Standardizing card width */
    max-width: 380px;
    height: 230px; /* Fixed height for consistency */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.2rem;
}

.review-user {
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.review-user img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.review-name {
    display: block;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
}

.review-source {
    display: block;
    font-size: 0.75rem;
    color: rgba(16, 185, 129, 0.8);
    font-weight: 500;
}

.review-stars {
    color: #facc15;
    font-size: 0.85rem;
    display: flex;
    gap: 2px;
}

.review-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 0.5rem 0;
}

.review-card p {
    font-size: 0.95rem;
    color: rgba(161, 161, 170, 0.9);
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/* ========================================= */
/* --- SYSTEM STATUS PAGE THEME --- */
/* ========================================= */
.sa-status-wrapper {
    max-width: 900px !important;
    margin: 0 auto;
    padding-top: 140px !important; /* This pushes everything down below the navbar */
    color: var(--text-main);
}

.sa-status-header { 
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 2.5rem; 
    text-align: center; 
}

/* The Live Badge */
.sa-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #a1a1aa;
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.sa-live-badge svg { color: var(--accent-purple); }

/* The Master Gradient Title */
.sa-status-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-main) 20%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
    display: inline-block;
}
.sa-status-subtitle { color: #a1a1aa; font-size: 1.1rem; }

/* Search Bar */
.sa-status-search-container { margin-bottom: 2rem; }
.sa-search-input-wrapper {
    position: relative;
    background: rgba(20, 15, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    padding: 0 1.2rem;
    transition: all 0.3s ease;
}
.sa-search-input-wrapper:focus-within {
    border-color: rgba(98, 43, 209, 0.5);
    box-shadow: 0 0 15px rgba(98, 43, 209, 0.2);
}
.sa-search-input-wrapper .search-icon { width: 18px; height: 18px; color: #71717a; }
.sa-status-search {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    padding: 1.2rem 1rem;
    font-size: 1rem;
    outline: none;
}
.sa-status-search::placeholder { color: #52525b; }

/* Card Layout & Groups */
.sa-status-list { display: flex; flex-direction: column; gap: 0.8rem; }
.sa-status-group-title { font-size: 1.2rem; font-weight: 600; color: #a1a1aa; margin: 1.5rem 0 0.8rem 0; padding-left: 0.5rem; }
.sa-status-cards { display: flex; flex-direction: column; gap: 0.8rem; }

/* Individual Status Card */
.sa-status-card-wrapper {
    display: flex;
    background: var(--panel-dark);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.sa-status-card-wrapper:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.1);
}

.sa-status-indicator { width: 4px; flex-shrink: 0; }
.sa-status-indicator.online { background: #10b981; }

.sa-status-card-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.2rem 1.5rem;
    gap: 1rem;
}
.sa-status-info { display: flex; align-items: center; gap: 1.2rem; flex-grow: 1; }

/* Product Images inside Card */
.sa-status-img {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(255,255,255,0.1);
}
.sa-status-img-placeholder {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sa-status-name { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.2rem 0; color: #fff; }
.sa-status-desc { font-size: 0.85rem; color: #71717a; margin: 0; }

.sa-status-actions { display: flex; align-items: center; gap: 1rem; }

/* The Online Pill */
.sa-status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}
.sa-status-pill .dot { width: 6px; height: 6px; border-radius: 50%; }

.sa-status-pill.online { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #10b981; }
.sa-status-pill.online .dot { background: #10b981; box-shadow: 0 0 8px #10b981; }

/* The little Checkmark bubble */
.sa-status-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: #52525b;
}
.sa-status-check svg { width: 14px; height: 14px; }

/* ========================================= */
/* --- DYNAMIC STATUS CARD COLORS --- */
/* ========================================= */

.sa-status-card-wrapper .sa-status-indicator { width: 4px; flex-shrink: 0; }

/* 🟢 GREEN (Undetected / Online) */
.status-green .sa-status-indicator { background: #10b981; }
.status-green .sa-status-pill { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #10b981; }
.status-green .sa-status-pill .dot { background: #10b981; box-shadow: 0 0 8px #10b981; }
.status-green .sa-status-check { background: rgba(16, 185, 129, 0.1); border: 1px solid rgba(16, 185, 129, 0.2); color: #10b981; box-shadow: inset 0 0 10px rgba(16, 185, 129, 0.1); }

/* 🔴 RED (Detected / Offline) */
.status-red .sa-status-indicator { background: #ef4444; }
.status-red .sa-status-pill { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: #ef4444; }
.status-red .sa-status-pill .dot { background: #ef4444; box-shadow: 0 0 8px #ef4444; }
.status-red .sa-status-check { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: #ef4444; box-shadow: inset 0 0 10px rgba(239, 68, 68, 0.1); }

/* 🟠 ORANGE (Updating) */
.status-orange .sa-status-indicator { background: #f97316; }
.status-orange .sa-status-pill { background: rgba(249, 115, 22, 0.1); border: 1px solid rgba(249, 115, 22, 0.2); color: #f97316; }
.status-orange .sa-status-pill .dot { background: #f97316; box-shadow: 0 0 8px #f97316; }
.status-orange .sa-status-check { background: rgba(249, 115, 22, 0.1); border: 1px solid rgba(249, 115, 22, 0.2); color: #f97316; box-shadow: inset 0 0 10px rgba(249, 115, 22, 0.1); }

/* 🟡 YELLOW (Use At Own Risk) */
.status-yellow .sa-status-indicator { background: #eab308; }
.status-yellow .sa-status-pill { background: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.2); color: #eab308; }
.status-yellow .sa-status-pill .dot { background: #eab308; box-shadow: 0 0 8px #eab308; }
.status-yellow .sa-status-check { background: rgba(234, 179, 8, 0.1); border: 1px solid rgba(234, 179, 8, 0.2); color: #eab308; box-shadow: inset 0 0 10px rgba(234, 179, 8, 0.1); }

/* 🔵 BLUE (Under Maintenance) */
.status-blue .sa-status-indicator { background: #3b82f6; }
.status-blue .sa-status-pill { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); color: #3b82f6; }
.status-blue .sa-status-pill .dot { background: #3b82f6; box-shadow: 0 0 8px #3b82f6; }
.status-blue .sa-status-check { background: rgba(59, 130, 246, 0.1); border: 1px solid rgba(59, 130, 246, 0.2); color: #3b82f6; box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.1); }