/* laptops.my - Premium Design System (Obsidian Dark & High-End Luxury) */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg-obsidian: #08090C;   /* Deep luxury obsidian dark */
    --bg-panel: #11131E;      /* Rich dark panel face */
    --bg-glass: rgba(17, 19, 30, 0.7); /* Luxury glassmorphism background */
    
    --accent-gold: #F5A623;   /* Premium Amber/Gold primary */
    --accent-teal: #00F2FE;   /* Vibrant Cyan/Teal secondary highlight */
    
    --text-primary: #E2E8F0;  /* Off-white body text for maximum readability */
    --text-muted: #94A3B8;     /* Muted slate text for sub-details */
    --text-highlight: #FFFFFF; /* Headings highlight */
    
    --border-luxury: rgba(255, 255, 255, 0.05); /* Thin luxury borders */
    --border-active: rgba(245, 166, 35, 0.25);
    
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* Reset and Base Layout Sizing */
body {
    font-family: var(--font-sans);
    background-color: var(--bg-obsidian);
    color: var(--text-primary);
    font-size: 0.88rem; /* Compact body font size */
    line-height: 1.6;
    overflow-x: hidden;
    letter-spacing: -0.01em;
}

/* Strict Consistent Typography Scales */
h1, .h1 { font-size: 2.1rem; font-weight: 800; color: var(--text-highlight); letter-spacing: -0.03em; line-height: 1.25; }
h2, .h2 { font-size: 1.45rem; font-weight: 800; color: var(--text-highlight); letter-spacing: -0.02em; line-height: 1.3; }
h3, .h3 { font-size: 1.2rem; font-weight: 700; color: var(--text-highlight); letter-spacing: -0.01em; }
h4, .h4 { font-size: 1.05rem; font-weight: 700; color: var(--text-highlight); }
h5, .h5 { font-size: 0.95rem; font-weight: 700; color: var(--text-highlight); }
h6, .h6 { font-size: 0.85rem; font-weight: 700; color: var(--text-highlight); }

p {
    color: #CBD5E1;
    font-size: 0.88rem;
    margin-bottom: 1rem;
}

/* Text Visibility and Accessibility Overrides */
.text-muted, .text-white-50, .text-secondary {
    color: var(--text-muted) !important;
}

.text-dark {
    color: var(--text-highlight) !important;
}

.text-light {
    color: #FFFFFF !important;
}

/* Premium Gradient Accent Text */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-teal) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Custom Glassmorphism Navigation Bar */
.navbar {
    background: rgba(8, 9, 12, 0.85) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-luxury);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar .navbar-brand {
    font-size: 1.25rem;
    font-weight: 800;
    display: flex;
    align-items: center;
}

.navbar .nav-link {
    font-weight: 600;
    color: var(--text-primary) !important;
    font-size: 0.85rem;
    padding: 8px 16px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    letter-spacing: 0.02em;
}

.navbar .nav-link:hover, 
.navbar .nav-link.active {
    color: var(--accent-gold) !important;
}

/* Elegant bottom accent line under active and hover nav items */
@media (min-width: 992px) {
    .navbar .nav-link::after {
        content: '';
        position: absolute;
        bottom: -4px;
        left: 16px;
        right: 16px;
        height: 2px;
        background: linear-gradient(90deg, var(--accent-gold), var(--accent-teal));
        transform: scaleX(0);
        transform-origin: right;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    
    .navbar .nav-link:hover::after,
    .navbar .nav-link.active::after {
        transform: scaleX(1);
        transform-origin: left;
    }
    
    /* Smooth Desktop Dropdown Slide-In */
    .navbar .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
}

.navbar .dropdown-menu {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-luxury);
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    padding: 6px;
    margin-top: 8px;
}

.navbar .dropdown-item {
    color: var(--text-primary) !important;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.navbar .dropdown-item:hover {
    background-color: rgba(245, 166, 35, 0.08) !important;
    color: var(--accent-gold) !important;
}

.navbar .dropdown-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin: 6px 0 !important;
    height: 0 !important;
    opacity: 1 !important;
}

/* Navigation Unified Action Buttons (Aligning varying shapes/paddings) */
.nav-btn {
    height: 38px;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 16px !important;
    border-radius: 8px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    white-space: nowrap;
    text-decoration: none;
    border: 1.5px solid transparent;
}

.nav-btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #D47A00) !important;
    border: none !important;
    color: #08090C !important;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.15);
}

.nav-btn-primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 18px rgba(245, 166, 35, 0.3);
    background: linear-gradient(135deg, #D47A00, var(--accent-gold)) !important;
    color: #08090C !important;
}

.nav-btn-outline {
    border: 1.5px solid var(--accent-gold) !important;
    color: var(--accent-gold) !important;
    background-color: transparent !important;
}

.nav-btn-outline:hover {
    background-color: var(--accent-gold) !important;
    color: #08090C !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 14px rgba(245, 166, 35, 0.2);
}

/* Custom Buttons (Professional Rectangular Pill Mix) */
.btn {
    font-weight: 700;
    font-size: 0.82rem;
    border-radius: 8px; /* Clean rectangular rounded corners for professional look */
    padding: 8px 18px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

/* Primary Button (Gold/Orange) */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #D47A00) !important;
    border: none !important;
    color: #08090C !important;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.15);
}
.btn-primary:hover {
    transform: translateY(-1.5px);
    box-shadow: 0 8px 18px rgba(245, 166, 35, 0.3);
    background: linear-gradient(135deg, #D47A00, var(--accent-gold)) !important;
}

/* Outline Primary */
.btn-outline-primary {
    border: 1.5px solid var(--accent-gold) !important;
    color: var(--accent-gold) !important;
    background-color: transparent !important;
}
.btn-outline-primary:hover {
    background-color: var(--accent-gold) !important;
    color: #08090C !important;
    transform: translateY(-1.5px);
    box-shadow: 0 6px 14px rgba(245, 166, 35, 0.2);
}

/* Secondary Button */
.btn-secondary {
    background-color: #1E202C !important;
    border: 1px solid var(--border-luxury) !important;
    color: var(--text-primary) !important;
}
.btn-secondary:hover {
    background-color: #272B3C !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.btn-outline-secondary {
    border: 1px solid var(--border-luxury) !important;
    color: var(--text-muted) !important;
    background-color: transparent !important;
}
.btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.03) !important;
    color: var(--text-primary) !important;
}

/* Success Button */
.btn-success {
    background-color: var(--accent-teal) !important;
    border: none !important;
    color: #08090C !important;
}
.btn-success:hover {
    background-color: #00D5E0 !important;
    transform: translateY(-1px);
}

/* Danger Button */
.btn-danger {
    background-color: #EF476F !important;
    border: none !important;
    color: #ffffff !important;
}
.btn-danger:hover {
    background-color: #D83B60 !important;
    transform: translateY(-1px);
}

.btn-outline-danger {
    border: 1.5px solid #EF476F !important;
    color: #EF476F !important;
    background-color: transparent !important;
}
.btn-outline-danger:hover {
    background-color: #EF476F !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

.btn-close {
    filter: invert(1) grayscale(1) brightness(2) !important;
}

/* Dark Button */
.btn-dark {
    background-color: #08090C !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-luxury) !important;
}
.btn-dark:hover {
    background-color: #11131E !important;
}

/* Premium Full-Background Carousel Hero */
#heroCarousel {
    border-radius: 24px;
    overflow: hidden;
    margin: 25px auto;
    max-width: calc(100% - 40px);
    position: relative;
    border: 1px solid var(--border-luxury);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

.carousel-item {
    height: 420px; /* Enhanced height for spacious luxury feel */
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-obsidian);
}

/* Semi-transparent Dark Gradient Overlay to guarantee text legibility */
.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(8, 9, 12, 0.94) 0%, rgba(8, 9, 12, 0.8) 45%, rgba(8, 9, 12, 0.3) 100%);
    z-index: 1;
}

/* Hero Badge Styling */
.hero-badge {
    padding: 6px 14px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Custom indicator styles as requested - modern pill/capsule style */
#heroCarousel .carousel-indicators {
    bottom: 25px;
    gap: 8px;
    margin-bottom: 0;
    z-index: 4;
}

#heroCarousel .carousel-indicators [data-bs-target] {
    width: 28px;
    height: 6px;
    border-radius: 3px;
    background-color: rgba(255, 255, 255, 0.2) !important;
    border: none;
    margin: 0;
    opacity: 0.5;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#heroCarousel .carousel-indicators .active {
    width: 50px;
    background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-teal) 100%) !important;
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.3);
    opacity: 1;
}

/* Custom premium navigation control arrows as requested */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    z-index: 5;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

#heroCarousel:hover .carousel-control-prev,
#heroCarousel:hover .carousel-control-next {
    opacity: 0.85;
}

#heroCarousel .carousel-control-prev:hover,
#heroCarousel .carousel-control-next:hover {
    opacity: 1;
}

#heroCarousel .carousel-control-prev {
    left: 25px;
}

#heroCarousel .carousel-control-next {
    right: 25px;
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(17, 19, 30, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    background-size: 35%;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

#heroCarousel .carousel-control-prev-icon:hover,
#heroCarousel .carousel-control-next-icon:hover {
    background-color: var(--accent-gold) !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.5);
    transform: scale(1.1);
    filter: invert(1) grayscale(1) brightness(0);
}

/* Sliders Caption Typographies & Animated content */
.heading-slide {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.25;
    background: linear-gradient(135deg, #FFFFFF 60%, #E2E8F0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.02em;
}

.text-slide {
    line-height: 1.6;
}

/* Slide Entrance Animations */
.carousel-item .hero-badge {
    opacity: 0;
    transform: translateY(-20px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
}
.carousel-item .heading-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, opacity 0.8s ease 0.1s;
}
.carousel-item .text-slide {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s, opacity 0.8s ease 0.2s;
}
.carousel-item .hero-btn-container {
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s, opacity 0.8s ease 0.3s;
}

.carousel-item.active .hero-badge,
.carousel-item.active .heading-slide,
.carousel-item.active .text-slide,
.carousel-item.active .hero-btn-container {
    opacity: 1;
    transform: translateY(0);
}

/* Glass Search Bar Overlay */
.glass-search-bar {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-luxury);
    border-radius: 16px;
    padding: 8px;
}

.glass-search-bar input {
    background: #08090C !important;
    border-radius: 12px !important;
    padding: 8px 12px;
    font-size: 0.82rem;
    border: 1px solid var(--border-luxury);
    color: #FFFFFF !important;
}

.glass-search-bar input:focus {
    box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15);
    border-color: var(--accent-teal);
}

/* Default Card Layout (Strictly Left Aligned for professional forms/sidebar layout) */
.card {
    background-color: var(--bg-panel);
    border: 1px solid var(--border-luxury);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left; /* Left align for professional dashboard panels and forms */
}

/* Align text strictly left inside all generic card bodies, grids, sidebars, tables */
.card-body, .sidebar, form {
    text-align: left !important;
}

/* Center catalog product cards explicitly */
.product-card {
    text-align: center !important;
}

.product-card .card-body {
    text-align: center !important;
    align-items: center !important;
    display: flex;
    flex-direction: column;
    padding: 15px;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45) !important;
    border-color: var(--border-active);
}

/* Floating Action Circle Buttons inside product cards */
.card-action-btn-left,
.card-action-btn-right {
    position: absolute;
    top: 15px;
    width: 34px;
    height: 34px;
    background: #11131E;
    border: 1px solid var(--border-luxury);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94A3B8;
    font-size: 0.8rem;
    z-index: 10;
    transition: all 0.3s ease;
    text-decoration: none;
}

.card-action-btn-left {
    left: 15px;
}

.card-action-btn-right {
    right: 15px;
}

.card-action-btn-left:hover,
.card-action-btn-right:hover {
    background-color: var(--accent-gold);
    color: #08090C !important;
    border-color: var(--accent-gold);
    transform: scale(1.06);
}

/* Image Container with Absolute Aspect Fit Rules */
.product-img-container {
    position: relative;
    height: 160px; /* Taller height for landscape laptop pictures */
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: rgba(8, 9, 12, 0.5);
    border: 1px solid var(--border-luxury);
    border-radius: 12px;
    z-index: 2;
    margin-top: 25px;
    margin-bottom: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Laptop pictures fill the box completely */
    z-index: 2;
    filter: brightness(0.95) contrast(1.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img-container {
    border-color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.15);
}

.product-card:hover .product-img-container img {
    transform: scale(1.04);
    filter: brightness(1.05) contrast(1.1);
}

/* Alternating colors for matching prices */
.product-card:nth-of-type(3n+1) .card-price,
.col-lg-4:nth-child(3n+1) .card-price,
.col-md-6:nth-child(3n+1) .card-price {
    color: var(--accent-gold) !important;
}

.product-card:nth-of-type(3n+2) .card-price,
.col-lg-4:nth-child(3n+2) .card-price,
.col-md-6:nth-child(3n+2) .card-price {
    color: #4895EF !important;
}

.product-card:nth-of-type(3n+3) .card-price,
.col-lg-4:nth-child(3n+3) .card-price,
.col-md-6:nth-child(3n+3) .card-price {
    color: var(--accent-teal) !important;
}

/* Badges styling */
.badge-grade {
    font-size: 0.62rem;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 6px;
    background-color: var(--bg-obsidian) !important;
    border: 1px solid var(--border-luxury);
    color: var(--accent-gold) !important;
}

/* Spec Chips tag styles */
.spec-chip {
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.02);
    color: #94A3B8;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid var(--border-luxury);
    transition: all 0.3s ease;
}

.card-hover:hover .spec-chip {
    background: rgba(245, 166, 35, 0.05);
    color: var(--accent-gold);
    border-color: rgba(245, 166, 35, 0.15);
}

/* Card Price layout styling */
.card-price {
    font-size: 1.05rem;
    font-weight: 800;
    margin-top: 4px;
    display: inline-block;
}

/* Detail view specific pricing block */
.price-container {
    background: rgba(245, 166, 35, 0.03);
    border-left: 3px solid var(--accent-gold);
    border-radius: 8px;
    padding: 10px;
}

/* Sidebar styling */
.sidebar {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--border-luxury) !important;
    border-radius: 16px;
    padding: 20px 12px !important;
}

.sidebar .nav-link {
    color: #94A3B8 !important;
    font-weight: 500;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 8px;
    margin-bottom: 3px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar .nav-link i {
    font-size: 0.95rem;
    color: #64748B;
    transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
    color: var(--accent-gold) !important;
    background: rgba(245, 166, 35, 0.05);
}

.sidebar .nav-link:hover i {
    color: var(--accent-gold);
}

.sidebar .nav-link.active {
    color: #FFFFFF !important;
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.15) 0%, rgba(0, 242, 254, 0.05) 100%);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 8px 8px 0;
    font-weight: 700;
}

.sidebar .nav-link.active i {
    color: var(--accent-gold);
}

.sidebar-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.sidebar-section:last-of-type {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-header {
    color: #E2E8F0 !important;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 10px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.sidebar-header:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #FFFFFF !important;
}

.sidebar-header .toggle-icon {
    font-size: 0.65rem;
    color: #64748B;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-header:not(.collapsed) .toggle-icon {
    transform: rotate(180deg);
    color: var(--accent-gold);
}

.sidebar-submenu {
    padding-left: 8px;
    margin-top: 4px;
}

/* Section typography markers */
.section-title {
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-teal));
    border-radius: 2px;
}

.section-title-left::after {
    left: 0;
    transform: none;
}

/* Minimal Luxury Footer */
footer {
    background: #050608 !important;
    border-top: 1px solid var(--border-luxury) !important;
    color: #64748B !important;
    padding-top: 35px;
    padding-bottom: 25px;
    font-size: 0.78rem;
}

footer h5, footer h6 {
    color: #FFFFFF !important;
    font-weight: 700;
    letter-spacing: -0.2px;
    margin-bottom: 12px;
}

footer a {
    color: #64748B !important;
    transition: all 0.2s ease;
    text-decoration: none;
}

footer a:hover {
    color: var(--accent-gold) !important;
}

footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.03) !important;
}

/* Alerts custom branding */
.alert {
    border-radius: 10px !important;
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--border-luxury) !important;
    color: var(--text-primary) !important;
    font-size: 0.8rem;
}
.alert-success {
    border-color: rgba(6, 214, 160, 0.2) !important;
    background-color: rgba(6, 214, 160, 0.03) !important;
    color: var(--accent-green) !important;
}
.alert-danger {
    border-color: rgba(239, 71, 111, 0.2) !important;
    background-color: rgba(239, 71, 111, 0.03) !important;
    color: #EF476F !important;
}

/* Form Styling - Strictly Aligned Left to prevent messy centering loops */
form, .form-group, .mb-3, .mb-2, .mb-4, label, input, select, textarea, .form-label {
    text-align: left !important;
}

.form-control, .form-select {
    background-color: #08090C !important;
    border: 1px solid var(--border-luxury) !important;
    color: #FFFFFF !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
    transition: all 0.3s ease !important;
}

.form-control:focus, .form-select:focus {
    background-color: #11131E !important;
    border-color: var(--accent-gold) !important;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1) !important;
}

.form-label, label {
    color: #94A3B8 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    margin-bottom: 4px;
}

/* High-Contrast Bootstrap Utility Overrides for Obsidian Dark Mode */
.bg-white, .card.bg-white {
    background-color: var(--bg-panel) !important;
    background-image: radial-gradient(rgba(245, 166, 35, 0.02) 1px, transparent 1px) !important;
    color: var(--text-primary) !important;
    border: 1px solid var(--border-luxury) !important;
}

/* Text elements inside overridden white-bg containers to keep them highly readable */
.bg-white h1, .bg-white h2, .bg-white h3, .bg-white h4, .bg-white h5, .bg-white h6,
.card.bg-white h1, .card.bg-white h2, .card.bg-white h3, .card.bg-white h4, .card.bg-white h5, .card.bg-white h6 {
    color: #FFFFFF !important;
}
.bg-white p, .bg-white span:not(.badge), .bg-white li, .bg-white td, .bg-white th,
.card.bg-white p, .card.bg-white span:not(.badge), .card.bg-white li, .card.bg-white td, .card.bg-white th {
    color: #E2E8F0 !important;
}
.bg-white a:not(.btn), .card.bg-white a:not(.btn) {
    color: var(--accent-gold) !important;
}
.bg-white .text-muted, .card.bg-white .text-muted {
    color: var(--text-muted) !important;
}

.bg-light {
    background-color: var(--bg-obsidian) !important;
}

.border-top, .border-bottom, .border-start, .border-end, .border {
    border-color: var(--border-luxury) !important;
}

/* List group components customization */
.list-group-item {
    background-color: var(--bg-panel) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-luxury) !important;
    font-size: 0.8rem;
}

/* Tab contents customization */
.nav-tabs {
    border-bottom: 1.5px solid var(--border-luxury) !important;
}
.nav-tabs .nav-link {
    color: #94A3B8 !important;
    font-weight: 600;
    border: none !important;
    padding: 8px 16px;
    transition: all 0.3s ease;
    font-size: 0.82rem;
}
.nav-tabs .nav-link.active {
    background-color: transparent !important;
    color: var(--accent-gold) !important;
    border-bottom: 2.5px solid var(--accent-gold) !important;
}
.nav-tabs .nav-link:hover {
    color: var(--accent-gold) !important;
}

/* Tables Styling Customization & Dark Mode Accessibility */
.table {
    color: #CBD5E1 !important;
    border-color: rgba(255, 255, 255, 0.05) !important;
    font-size: 0.8rem;
}
.table th {
    color: #FFFFFF !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.05) !important;
    font-weight: 700;
}
.table td {
    background-color: var(--bg-panel) !important;
    color: #CBD5E1 !important;
}
.table td.bg-light {
    background-color: rgba(255, 255, 255, 0.02) !important;
    color: #FFFFFF !important;
    font-weight: 600;
}
.table-striped tbody tr:nth-of-type(odd) td {
    background-color: rgba(255, 255, 255, 0.015) !important;
}
.table-hover tbody tr:hover td {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

/* Breadcrumbs Dark Mode accessibility styling */
.breadcrumb {
    margin-bottom: 0;
}
.breadcrumb-item, .breadcrumb-item a {
    color: #94A3B8 !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}
.breadcrumb-item a:hover {
    color: var(--accent-gold) !important;
}
.breadcrumb-item.active {
    color: #FFFFFF !important;
    font-weight: 600;
}
.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.15) !important;
}

/* Modals Customization */
.modal-content {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--border-luxury) !important;
    border-radius: 16px !important;
    color: var(--text-primary) !important;
}
.modal-header, .modal-footer {
    border-color: var(--border-luxury) !important;
}
.modal-title {
    color: #FFFFFF !important;
}

/* Pagination Customization */
.pagination .page-link {
    background-color: var(--bg-panel) !important;
    border-color: var(--border-luxury) !important;
    color: #94A3B8 !important;
    font-size: 0.8rem;
    padding: 6px 12px;
}
.pagination .page-link:hover {
    background-color: rgba(245, 166, 35, 0.05) !important;
    color: var(--accent-gold) !important;
}
.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, var(--accent-gold), #D47A00) !important;
    border-color: var(--accent-gold) !important;
    color: #08090C !important;
    font-weight: 800;
}
.pagination .page-item.disabled .page-link {
    background-color: var(--bg-obsidian) !important;
    color: #334155 !important;
    border-color: var(--border-luxury) !important;
}

/* Placeholder Contrast Customization */
::placeholder {
    color: #475569 !important;
    opacity: 1;
}
::-ms-input-placeholder {
    color: #475569 !important;
}

/* Pulsating Floating WhatsApp Button */
.whatsapp-sticky-widget a {
    animation: pulse-whatsapp 2s infinite;
    background-color: #25D366;
    color: #fff;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Badges overall styling (Subtle opacity design matching professional panels) */
.badge {
    font-weight: 700;
    font-size: 0.65rem;
    padding: 4px 8px;
    border-radius: 6px;
}

.bg-primary {
    background-color: rgba(245, 166, 35, 0.1) !important;
    color: var(--accent-gold) !important;
    border: 1px solid rgba(245, 166, 35, 0.2);
}

.bg-success {
    background-color: rgba(6, 214, 160, 0.1) !important;
    color: var(--accent-green) !important;
    border: 1px solid rgba(6, 214, 160, 0.2);
}

.bg-danger {
    background-color: rgba(239, 71, 111, 0.1) !important;
    color: #EF476F !important;
    border: 1px solid rgba(239, 71, 111, 0.2);
}

.bg-warning {
    background-color: rgba(255, 183, 3, 0.1) !important;
    color: #FFB703 !important;
    border: 1px solid rgba(255, 183, 3, 0.2);
}

.bg-info {
    background-color: rgba(0, 242, 254, 0.1) !important;
    color: var(--accent-teal) !important;
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.bg-secondary-subtle, .badge.bg-secondary-subtle {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-muted) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.bg-primary-subtle, .badge.bg-primary-subtle {
    background-color: rgba(245, 166, 35, 0.1) !important;
    color: var(--accent-gold) !important;
    border: 1px solid rgba(245, 166, 35, 0.25) !important;
}

.bg-danger-subtle, .badge.bg-danger-subtle {
    background-color: rgba(239, 71, 111, 0.1) !important;
    color: #EF476F !important;
    border: 1px solid rgba(239, 71, 111, 0.25) !important;
}

.bg-success-subtle, .badge.bg-success-subtle {
    background-color: rgba(6, 214, 160, 0.1) !important;
    color: #06D6A0 !important;
    border: 1px solid rgba(6, 214, 160, 0.25) !important;
}

.bg-info-subtle, .badge.bg-info-subtle {
    background-color: rgba(0, 242, 254, 0.1) !important;
    color: var(--accent-teal) !important;
    border: 1px solid rgba(0, 242, 254, 0.25) !important;
}

/* Category Card Overrides for perfect alignment and center text */
.category-card,
.category-card h5,
.category-card p {
    text-align: center !important;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Category Colored Icon Circles */
.cat-color-default {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: var(--text-primary) !important;
}

.cat-color-gaming {
    background-color: rgba(239, 71, 111, 0.12) !important;
    color: #EF476F !important;
    border: 1px solid rgba(239, 71, 111, 0.25) !important;
    box-shadow: 0 0 15px rgba(239, 71, 111, 0.1);
}

.cat-color-business {
    background-color: rgba(72, 149, 239, 0.12) !important;
    color: #4895EF !important;
    border: 1px solid rgba(72, 149, 239, 0.25) !important;
    box-shadow: 0 0 15px rgba(72, 149, 239, 0.1);
}

.cat-color-student {
    background-color: rgba(6, 214, 160, 0.12) !important;
    color: #06D6A0 !important;
    border: 1px solid rgba(6, 214, 160, 0.25) !important;
    box-shadow: 0 0 15px rgba(6, 214, 160, 0.1);
}

.cat-color-creator {
    background-color: rgba(245, 166, 35, 0.12) !important;
    color: var(--accent-gold) !important;
    border: 1px solid rgba(245, 166, 35, 0.25) !important;
    box-shadow: 0 0 15px rgba(245, 166, 35, 0.1);
}

/* Social Share Buttons */
.share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary) !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-luxury);
    font-size: 0.85rem;
    transition: all 0.25s ease;
    text-decoration: none;
}
.share-btn:hover {
    transform: translateY(-2px);
    color: #08090C !important;
}
.share-btn.fb:hover { background-color: #1877F2 !important; border-color: #1877F2 !important; box-shadow: 0 0 10px rgba(24, 119, 242, 0.4); }
.share-btn.twitter:hover { background-color: #1DA1F2 !important; border-color: #1DA1F2 !important; box-shadow: 0 0 10px rgba(29, 161, 242, 0.4); }
.share-btn.wa:hover { background-color: #25D366 !important; border-color: #25D366 !important; box-shadow: 0 0 10px rgba(37, 211, 102, 0.4); }
.share-btn.linkedin:hover { background-color: #0077B5 !important; border-color: #0077B5 !important; box-shadow: 0 0 10px rgba(0, 119, 181, 0.4); }
.share-btn.pinterest:hover { background-color: #BD081C !important; border-color: #BD081C !important; box-shadow: 0 0 10px rgba(189, 8, 28, 0.4); }

/* Accordion Custom Dark Mode Sizing and Contrast */
.accordion-item {
    background-color: var(--bg-panel) !important;
    border: 1px solid var(--border-luxury) !important;
}

.accordion-button {
    background-color: var(--bg-panel) !important;
    color: var(--text-highlight) !important;
    font-size: 0.88rem;
    box-shadow: none !important;
    border-bottom: 1px solid var(--border-luxury) !important;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(245, 166, 35, 0.05) !important;
    color: var(--accent-gold) !important;
    border-bottom-color: var(--accent-gold) !important;
}

.accordion-button::after {
    filter: invert(1) brightness(2); /* Make the arrow white/visible in dark mode */
}

.accordion-button:focus {
    box-shadow: none !important;
    border-color: var(--border-active) !important;
}

.accordion-body {
    background-color: var(--bg-panel) !important;
    color: var(--text-muted) !important;
    font-size: 0.82rem;
    line-height: 1.6;
}

/* Shop Top Horizontal Single-Line Scrollable Filter Row */
.filter-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE 10+ */
    padding-bottom: 2px;
}
.filter-row::-webkit-scrollbar {
    display: none; /* WebKit */
}
.filter-row .filter-item {
    flex-shrink: 0;
}

/* Promo Sticky Banner */
.promo-sticky-banner, .promo-sticky-banner * {
    color: #08090C !important;
}
.promo-sticky-banner {
    background: linear-gradient(90deg, #F5A623 0%, #FFB63D 50%, #F5A623 100%);
    box-shadow: 0 4px 15px rgba(245, 166, 35, 0.25);
    z-index: 1050;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}
.promo-sticky-banner .btn-close {
    background-color: transparent;
    opacity: 0.8;
    filter: invert(1) brightness(0);
}
.promo-sticky-banner .btn-close:hover {
    opacity: 1;
}

/* Cart icon animation */
.bi-cart3 {
    transition: transform 0.3s ease;
}
.bi-cart3:hover {
    transform: scale(1.15);
    color: var(--accent-gold) !important;
}

/* Accessibility & Visual Contrast Overrides */
.btn-warning, .btn-warning * {
    color: #000000 !important;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
    color: #000000 !important;
    background-color: #e09618 !important;
}

/* Fix Bootstrap warning badges/buttons white-text overrides */
.btn-warning.text-dark, .badge.bg-warning.text-dark {
    color: #000000 !important;
}

/* Table Light Contrast Adjustments */
thead.table-light.text-dark th, thead.table-light.text-dark td {
    color: #1e293b !important;
}

/* Warranty Sticker Layout (300 DPI 50mm x 25mm label simulator) */
.sticker-container {
    width: 320px;
    height: 160px;
    padding: 12px;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000;
    border-radius: 6px;
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
    font-size: 11px;
    line-height: 1.3;
    margin: 20px auto;
    box-sizing: border-box;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.sticker-details {
    flex: 1;
    padding-right: 8px;
    display: flex;
    flex-column: column;
    text-align: left !important;
}
.sticker-logo-img {
    height: 20px;
    width: auto;
    object-fit: contain;
    margin-bottom: 6px;
    filter: grayscale(1) contrast(2) brightness(0); /* Black and white print optimize */
}
.sticker-field {
    font-size: 8.5px;
    margin-bottom: 2px;
    color: #333333 !important;
}
.sticker-val {
    font-weight: 700;
    color: #000000 !important;
    font-family: monospace;
}
.sticker-qr-wrapper {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    padding: 2px;
    border: 1px solid #eeeeee;
}
.sticker-qr-wrapper canvas, .sticker-qr-wrapper img {
    max-width: 100%;
    max-height: 100%;
}

@media print {
    body {
        background-color: #ffffff !important;
        color: #000000 !important;
    }
    header, footer, nav, .navbar, .sidebar, .btn, .no-print, hr {
        display: none !important;
    }
    .sticker-container {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        border: 1px dashed #000000 !important;
        box-shadow: none !important;
        margin: 0 !important;
    }
}

/* General Admin Dropdown Menus styled with Dark Obsidian Theme */
.admin-dropdown-menu {
    background-color: var(--bg-panel, #11131E) !important;
    border: 1px solid var(--border-luxury, rgba(255, 255, 255, 0.08)) !important;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
    padding: 6px !important;
}

.admin-dropdown-item {
    color: var(--text-primary, #E2E8F0) !important;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: transparent !important;
    display: block;
    width: 100%;
    text-align: left;
    text-decoration: none;
}

.admin-dropdown-item:hover {
    background-color: rgba(245, 166, 35, 0.08) !important;
    color: var(--accent-gold, #F5A623) !important;
}

