/* 
   Copyark - Premium Design System 
   Color Palette: Black, Orange, Blue
   Mobile First, High-Performance, Conversion Focused
*/

:root {
    /* Color Palette - Premium Tech Theme: Black, Orange, Blue */
    --primary-color: #0A0D14;
    /* Deep Obsidian / Black - Luxury, Authority & High Contrast */
    --primary-light: #161D2A;
    /* Charcoal Slate Black - Cards/Sections/Borders */
    --primary-dark: #05070A;
    /* Purest Midnight Black */

    --accent-color: #1E6BFF;
    /* Vibrant Royal Blue - Tech Precision & Trust */
    --accent-hover: #1455CC;
    /* Deep Royal Blue - Hover State */

    --orange-color: #FF6600;
    /* Iconic Premium Orange - Energy, Highlights & CTAs */
    --orange-hover: #E05300;
    /* Deep Rich Orange - Hover State */
    --orange-glow: rgba(255, 102, 0, 0.25);
    --blue-glow: rgba(30, 107, 255, 0.25);

    --action-color: #FF6600;
    /* Vibrant Orange - Discounts/Urgency/Badges */

    /* Text Colors */
    --text-main: #0A0D14;
    /* Deep Black for headings & bold authority */
    --text-body: #334155;
    /* Slate for body text */
    --text-light: #64748B;
    /* Muted text */
    --text-white: #FFFFFF;
    /* Text on dark backgrounds */

    /* Backgrounds */
    --bg-body: #F8FAFC;
    /* Clean light slate - Luxury contrast */
    --bg-white: #FFFFFF;
    /* Card backgrounds */
    --bg-dark: #0A0D14;
    /* Obsidian dark background */
    --bg-glass: rgba(255, 255, 255, 0.95);
    /* Glassmorphism backdrop */

    /* Spacing & Layout */
    --container-width: 1400px;
    --header-height: 210px;
    /* Increased to fit larger logo */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shadows - Soft & Expensive */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
html {
    scroll-behavior: smooth;
}

/* Core Section Scroll-Margin-Top offsets for sticky header alignment */
#about,
.products-section,
.services-section,
.faqs-section,
#service-hub,
.contact-section {
    scroll-margin-top: 290px; /* Aligns perfectly below the frozen header and yellow toolbar on desktop */
}

@media (max-width: 768px) {
    #about,
    .products-section,
    .services-section,
    .faqs-section,
    #service-hub,
    .contact-section {
        scroll-margin-top: 210px; /* Aligns perfectly below the mobile sticky bars */
    }
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.flex {
    display: flex;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.hidden-desktop {
    display: none !important;
}

/* Flexbox & Margin Utilities */
.justify-between {
    justify-content: space-between;
}

.items-center {
    align-items: center;
}

.items-end {
    align-items: flex-end;
}

.flex-1 {
    flex: 1;
}

.mb-8 {
    margin-bottom: 2rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-12 {
    gap: 3rem;
}

/* View All Link Branding */
.view-all-link {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.view-all-link:hover {
    color: var(--orange-color);
}

.view-all-link i {
    transition: transform var(--transition-fast);
}

.view-all-link:hover i {
    transform: translateX(3px);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-hover) 100%);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(30, 107, 255, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, #0F3FA0 100%);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(30, 107, 255, 0.45);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background-color: var(--orange-color);
    border-color: var(--orange-color);
    color: var(--text-white);
    box-shadow: 0 4px 14px rgba(255, 102, 0, 0.35);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* --- Component Styles --- */

/* Header */
.main-header {
    background-color: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    /* Vertically center everything */
    justify-content: space-between;
    /* Space out logo and nav */
    gap: 3rem;
    /* Move logo away from menus */
}

/* Header Contact Info */
.header-contact-info {
    margin-right: auto;
    /* Push nav to the right */
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    /* Prevent crushing */
}

.header-contact-info .phones {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

.logo-image {
    height: 200px;
    max-width: 320px;
    width: auto;
    object-fit: contain;
    padding: 0.25rem 0;
}

.highlight {
    color: var(--accent-color);
}

.desktop-nav {
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
}

.desktop-nav a {
    margin: 0 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-body);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--accent-color);
}

.desktop-nav a.active {
    background-color: var(--accent-color);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* Login Button */
.btn-login {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.6rem 1.2rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-login:hover {
    background: linear-gradient(135deg, var(--accent-hover), #1d4ed8);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    color: white;
}

.icon-btn {
    background: transparent;
    font-size: 1.1rem;
    color: var(--text-main);
    padding: 0.5rem;
    position: relative;
    transition: var(--transition-fast);
}

.icon-btn:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--action-color);
    color: white;
    font-size: 0.7rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Search Toolbar - Premium Signature Orange */
.main-search-toolbar {
    background: linear-gradient(90deg, #FF6600 0%, #FF7A18 100%);
    padding: 0.6rem 0;
    box-shadow: 0 4px 15px rgba(255, 102, 0, 0.25);
    position: sticky;
    top: var(--header-height);
    z-index: 998;
}

/* Ensure container behaves as flex row */
.main-search-toolbar .container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dept-header-label {
    width: 280px;
    font-weight: 700;
    color: #0A0D14;
    font-size: 1rem;
    flex-shrink: 0;
    padding-right: 1rem;
}

.search-widget {
    background: white;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    padding: 2px 4px;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
    flex: 1;
    /* Forces widget to fill remaining space */
}

/* Ensure the input itself grows to fill the widget */
.search-widget input {
    flex: 1;
    border: none;
    background: transparent;
    min-width: 0;
    outline: none;
    /* Remove focus outline */
}

.search-widget input:focus {
    outline: none;
    /* Explicitly remove focus outline */
}

.category-select-wrapper {
    position: relative;
    border-left: 1px solid #e5e7eb;
    margin-right: 1rem;
    /* Space before button */
    padding-right: 0.5rem;
    /* Extra internal space */
}

.search-btn {
    background-color: #0A0D14;
    /* Deep Black */
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: var(--accent-color);
    transform: scale(1.05);
}

.toolbar-icons {
    display: flex;
    align-items: center;
    gap: 2rem;
    /* Uniform spacing */
    margin-left: 2rem;
    /* Separate from search bar */
}

.toolbar-icons a {
    color: #0A0D14;
    font-size: 1.25rem;
    transition: var(--transition-fast);
}

.toolbar-icons a:hover {
    color: #FFFFFF;
}

.main-search-toolbar .badge {
    background: #0A0D14;
    color: #FFFFFF;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 500px;
    background: linear-gradient(rgba(10, 13, 20, 0.85), rgba(10, 13, 20, 0.88)), url('assets/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-color: var(--primary-color);
    padding: 0;
    min-height: 420px;
}

/* Sidebar */
.hero-sidebar {
    width: 280px;
    background: white;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    /* Flush top */
    overflow: hidden;
    margin: 0;
    /* Touches toolbar */
    z-index: 2;
    align-self: flex-start;
    /* Stays at top */
    flex-shrink: 0;
}

/* Hero Carousel */
.hero-carousel-wrapper {
    width: 450px;
    max-width: 50%;
    height: 400px;
    position: relative; /* Normal flex-child behavior, aligned perfectly by .hero-content align-items:center */
    will-change: transform;
    flex-shrink: 0;
    z-index: 10;
}

/* Premium Rounded Card */
.hero-carousel {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 102, 0, 0.2);
    background: radial-gradient(circle at center, #161D2A 0%, #080A0F 100%);
    height: 100%;
    position: relative;
    /* Prevents GPU compositing blur from border-radius + overflow:hidden + transform */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
    isolation: isolate;
}

/* Loading shimmer placeholder shown before JS loads */
.hero-slide--loading {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1rem;
    background: linear-gradient(135deg, #0A0D14 0%, #161D2A 100%);
}

.hero-slide--loading::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.04) 50%,
        transparent 100%);
    animation: shimmer 1.8s infinite;
    background-size: 200% 100%;
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.carousel-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: var(--orange-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    z-index: 2;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.carousel-loading-text {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.9s ease-in-out;
    background: radial-gradient(circle at center, #161D2A 0%, #080A0F 100%);
    overflow: hidden;
    /* Prevent compositing blur during opacity transitions */
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;        /* contain by default — never stretch/warp */
    display: block;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* Standard smooth photographic scaling — crisp-edges was pixelating high-res banners */
    image-rendering: auto; 
    transform: translateZ(0);
    /* 3D premium floating drop-shadow for machines */
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.55));
}

/* Product images — padded so they don't touch carousel edges */
.hero-slide.slide-product img {
    object-fit: contain;
    padding: 1.5rem;
}

.hero-slide.active {
    opacity: 1;
    z-index: 10;
}

/* Slide overlay text with modern premium glass backdrop */
.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.75rem 2rem;
    background: linear-gradient(to top,
        rgba(10, 13, 20, 0.95) 0%,
        rgba(10, 13, 20, 0.5) 60%,
        transparent 100%);
    z-index: 5;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.slide-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--orange-color) 0%, #FF8800 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.35);
}

.slide-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.4rem 0;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.slide-desc {
    font-size: 0.85rem;
    color: rgba(241, 245, 249, 0.9);
    margin: 0 0 1rem 0;
    line-height: 1.5;
}

/* Beautiful Premium Floating Action Button Pill */
.slide-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--orange-color);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.slide-action:hover {
    gap: 0.7rem;
    background: #FFFFFF;
    color: var(--orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 102, 0, 0.3);
}

/* Carousel dot indicators */
.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 20;
}

.carousel-indicators button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.carousel-indicators button.active {
    background: var(--orange-color);
    width: 22px;
    border-radius: 4px;
    transform: none;
}

.sidebar-header {
    display: none;
    /* Removed */
}

/* Sidebar List */
.sidebar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-list li a {
    display: block;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
    color: var(--text-color);
    transition: 0.2s;
    font-size: 0.95rem;
}

.sidebar-list li a:hover {
    background: #f8f9fa;
    color: var(--accent-color);
    padding-left: 1.5rem;
}

/* Hero Content - Transparent to show background */
/* Hero Content - Adjusted for Carousel */
.hero-content {
    color: white;
    display: flex;
    flex-direction: row;
    /* Horizontal Layout */
    justify-content: space-between;
    /* Space out text and carousel */
    align-items: center;
    /* Center Vertically */
    padding-left: 3rem;
    padding-right: 3rem;
    flex: 1;
    z-index: 2;
    min-height: 420px;
    /* Reduced specific height */
}

.hero-text {
    margin-right: 500px;
    /* Force huge gap for carousel */
    max-width: 600px;
    /* Allow text to be slightly wider but stopped by margin */
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-align: left;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
}

.hero-content h1 span {
    color: var(--orange-color);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    text-align: left;
    max-width: 600px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-content .btn {
    position: relative;
    z-index: 2;
}


/* Grids */
.section-padding {
    padding: 4rem 0;
}

.section-header {
    margin-bottom: 3rem;
}

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-light);
}

.grid-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 300px;
    position: relative;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(59, 130, 246, 0.2);
}

.category-image-wrapper {
    flex: 1;
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    position: relative;
}

.category-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform var(--transition-smooth);
}

.category-card:hover .category-img {
    transform: scale(1.08);
}

.category-info-overlay {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.03), transparent);
    border-top: 1px solid rgba(15, 23, 42, 0.03);
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.category-info-overlay h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.explore-btn {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: var(--transition-smooth);
}

.category-card:hover .explore-btn {
    color: var(--accent-hover);
}

.category-card:hover .explore-btn i {
    transform: translateX(4px);
}

.explore-btn i {
    transition: transform var(--transition-fast);
}

/* Product Group Headers (Collections grouping) */
.product-group-header {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin: 1rem 0 0.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(15, 23, 42, 0.02) 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    position: relative;
    overflow: hidden;
}

.product-group-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.05), transparent);
    pointer-events: none;
}

.product-group-header-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.35);
}

.product-group-header-text {
    flex: 1;
}

.product-group-header-text h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.2;
}

.product-group-header-text span {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.product-group-count {
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    flex-shrink: 0;
}

/* First group header has no top margin */
.product-group-header:first-child {
    margin-top: 0;
}

/* Product Card */
.grid-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid rgb(241, 245, 249);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 12px 28px -6px rgba(10, 13, 20, 0.12), 0 0 0 1px rgba(30, 107, 255, 0.3);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.product-image {
    height: 180px;
    width: 100%;
    object-fit: contain;
    margin-bottom: 1rem;
    background: #fff;
    /* Ensure white bg for product images */
}

.product-info h3 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    height: 2.4em;
    /* Limit to 2 lines */
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    color: var(--primary-color);
    font-weight: 800;
    font-size: 1.15rem;
}

.product-price .old-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-right: 0.5rem;
    font-weight: 400;
}

/* Footer */
.main-footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 4rem;
    border-top: 3px solid var(--orange-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-col ul li a:hover {
    color: white;
}

.hidden-desktop {
    display: none !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .hidden-desktop {
        display: block !important;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .grid-products {
        grid-template-columns: repeat(2, 1fr);
        /* 2 cols on mobile */
        gap: 1rem;
    }
}

/* Mobile Nav State */
.mobile-active {
    display: flex !important;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    flex-direction: column;
    background: white;
    padding: 1rem;
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border);
}

.mobile-active a {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    width: 100%;
}

/* Services & Contact */
.grid-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.service-card {
    padding: 2rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    border-top: 3px solid transparent;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px -6px rgba(10, 13, 20, 0.12);
    border-top-color: var(--orange-color);
}

.service-card h3 {
    margin: 1rem 0;
    color: var(--primary-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e1;
    /* Faint Gray Border */
    border-radius: var(--radius-md);
    background-color: #ffffff;
    margin-bottom: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    background-color: white;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.contact-info .info-item i {
    width: 40px;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links a {


    display: inline-flex;
    width: 40px;
    height: 40px;
    background: var(--bg-body);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--accent-color);
    color: white;
}


@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* --- WhatsApp Button (Corrected) --- */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.9);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-btn {
    background-color: #25D366;
    color: white;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: pulse-green 2s infinite;
    transition: transform 0.3s ease;
    margin-left: 1.5rem;
    flex-shrink: 0;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1001;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    background-color: #128C7E;
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* --- Product Modal Styles (Mobile Optimized) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.85);
    /* Deep slate backdrop */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    backdrop-filter: blur(5px);
}

.modal-overlay.hidden {
    display: none;
}

.modal-content {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-hover);
    animation: fadeIn 0.3s ease-out;
}

.modal-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    color: #475569;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    z-index: 10;
}

.modal-close-btn:hover {
    background: #e2e8f0;
    color: var(--action-color);
}

.modal-body {
    display: flex;
    flex-direction: column;
}

/* Desktop layout */
@media (min-width: 768px) {
    .modal-body {
        flex-direction: row;
    }

    .modal-gallery {
        flex: 1;
        border-right: 1px solid #e2e8f0;
    }

    .modal-info {
        flex: 1;
    }
}

.modal-gallery {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-img-wrapper {
    width: 100%;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1rem;
    background: #fff;
}

#modal-main-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    border-radius: var(--radius-md);
}

.thumbnail-list {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    width: 100%;
    justify-content: center;
}

.thumb-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.thumb-img:hover {
    border-color: var(--accent-color);
    transform: scale(1.05);
}

.modal-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

#modal-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

#modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

#modal-price .old-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
    margin-right: 0.5rem;
}

.modal-desc-container {
    flex: 1;
    margin-bottom: 2rem;
}

.modal-desc-container h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 0.5rem;
}

.modal-desc {
    color: var(--text-body);
    line-height: 1.6;
    font-size: 0.95rem;
}

.modal-actions {
    margin-top: auto;
}

/* --- Brands Section --- */
.brands-section {
    background-color: var(--bg-body);
    border-top: 1px solid rgba(15, 23, 42, 0.05);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.brands-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
    padding: 1.5rem 0;
}

.brands-carousel-container::before,
.brands-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.brands-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-body), transparent);
}

.brands-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-body), transparent);
}

.brands-track {
    display: flex;
    width: max-content;
    gap: 2.5rem;
    align-items: center;
    animation: scrollMarquee 35s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes scrollMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.25rem));
    }
}

.brand-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    width: 220px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(15, 23, 42, 0.03);
    transition: var(--transition-smooth);
    flex-shrink: 0;
}

.brand-item img {
    max-height: 90px;
    max-width: 170px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.brand-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(59, 130, 246, 0.2);
}

.brand-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    text-transform: uppercase;
}

/* Custom stylized text logos */
.brand-logo-text.hp {
    font-style: italic;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.brand-logo-text.ricoh {
    color: #E60012; /* Ricoh Red */
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
}

.brand-logo-text.bizhub {
    color: #005A9C; /* Konica Minolta Blue */
    font-size: 1.1rem;
    border-bottom: 2px dashed #005A9C;
    padding-bottom: 2px;
}

.brand-logo-text.dell {
    border: 2px solid #007DB8; /* Dell Blue */
    border-radius: 4px;
    padding: 2px 8px;
    color: #007DB8;
}

.brand-logo-text.kyocera {
    color: #E60012; /* Kyocera Red */
    letter-spacing: 0.15em;
}

.brand-logo-text.canon {
    color: #CC0000; /* Canon Red */
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.05em;
}

/* --- Testimonials Section (Our Happy Customers) --- */
.testimonials-section {
    background-color: #FFFFFF;
}

.bg-slate {
    background-color: #F8FAFC !important;
}

.testimonials-carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 3rem;
}

.testimonials-carousel {
    position: relative;
    height: 320px; /* Base height on desktop */
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.testimonial-rating {
    color: #FF8800; /* Warm vibrant orange stars */
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    gap: 0.25rem;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-body);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 2rem;
    max-width: 700px;
}

.testimonial-text::before {
    content: '“';
    font-size: 3rem;
    color: var(--accent-color);
    font-family: serif;
    line-height: 0;
    vertical-align: -0.4em;
    margin-right: 0.1em;
}

.testimonial-text::after {
    content: '”';
    font-size: 3rem;
    color: var(--accent-color);
    font-family: serif;
    line-height: 0;
    vertical-align: -0.4em;
    margin-left: 0.1em;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(59, 130, 246, 0.1);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.author-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.1rem;
}

.author-info span {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Testimonial Controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--bg-white);
    color: var(--text-body);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition-smooth);
    border: 1px solid rgba(15, 23, 42, 0.05);
    z-index: 10;
}

.carousel-control:hover {
    background-color: var(--accent-color);
    color: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-50%) scale(1.05);
}

.carousel-control.prev {
    left: -10px;
}

.carousel-control.next {
    right: -10px;
}

/* Indicators */
.testimonials-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.testimonials-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #E2E8F0;
    transition: var(--transition-smooth);
}

.testimonials-indicators button.active {
    background-color: var(--accent-color);
    width: 24px;
    border-radius: 9999px;
}

/* Responsive testimonial heights */
@media (max-width: 768px) {
    .testimonials-carousel {
        height: 420px; /* Allow more space for wrapped text on smaller screens */
    }

    .testimonials-carousel-wrapper {
        padding: 2rem 1rem;
    }

    .carousel-control {
        display: none; /* Hide arrows on mobile for better touch swipe feel / space savings */
    }

    .testimonial-text {
        font-size: 1.05rem;
        line-height: 1.6;
    }
}

/* Pagination Styling */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    min-width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius-md, 6px);
    border: 1px solid #E2E8F0;
    background: var(--bg-white, #FFFFFF);
    color: var(--text-dark, #1E293B);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    border-color: var(--accent-color);
    color: var(--accent-color);
    background-color: rgba(168, 41, 59, 0.05);
    transform: translateY(-1px);
}

.page-btn.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #F1F5F9;
}

/* ==========================================================================
   PREMIUM MOBILE OPTIMIZATION ENGINE
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --header-height: 80px;
    }

    body {
        font-size: 0.95rem;
    }

    /* 1. Header & Logo Optimization */
    .main-header {
        height: var(--header-height);
        position: sticky;
        top: 0;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        display: flex;
        align-items: center;
    }

    .main-header .container {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 1rem;
        width: 100%;
        gap: 1rem;
    }

    .logo-image {
        height: 48px;
        max-width: 160px;
        width: auto;
        object-fit: contain;
        padding: 0;
    }

    /* 2. Hamburger Menu Trigger */
    .mobile-menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        background-color: #F1F5F9;
        color: var(--primary-color);
        font-size: 1.3rem;
        border-radius: var(--radius-md);
        transition: var(--transition-fast);
        border: none;
        cursor: pointer;
    }

    .mobile-menu-toggle:hover {
        background-color: #E2E8F0;
        color: var(--accent-color);
    }

    /* 3. Mobile Navigation Overlay */
    .desktop-nav.mobile-active {
        display: flex !important;
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        height: calc(100vh - var(--header-height));
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 2rem 1.5rem;
        box-shadow: var(--shadow-lg);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        z-index: 999;
        animation: slideDownMenu 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

    @keyframes slideDownMenu {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .desktop-nav.mobile-active a {
        display: block;
        width: 100%;
        padding: 1.25rem 1rem;
        margin: 0;
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--text-main);
        border-bottom: 1px solid #F1F5F9;
        text-align: left;
        border-radius: 0;
        transition: var(--transition-fast);
    }

    .desktop-nav.mobile-active a:hover {
        background-color: rgba(59, 130, 246, 0.05);
        color: var(--accent-color);
        padding-left: 1.5rem;
    }

    .desktop-nav.mobile-active a.active {
        background-color: var(--accent-color) !important;
        color: white !important;
        border-radius: var(--radius-md);
        margin-bottom: 0.5rem;
        box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    }

    /* 4. Mobile Search Toolbar Restructuring */
    .main-search-toolbar {
        display: block !important;
        background: linear-gradient(90deg, #FF6600 0%, #FF7A18 100%);
        padding: 0.75rem 0;
        box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .main-search-toolbar .container {
        display: flex;
        width: 100%;
        padding: 0 1rem;
        gap: 0;
    }

    .search-widget {
        width: 100%;
        flex-wrap: wrap;
        background: white;
        border-radius: var(--radius-lg) !important;
        padding: 0.5rem 1rem !important;
        gap: 0.5rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    }

    .search-widget input {
        width: calc(100% - 50px) !important;
        flex: none !important;
        font-size: 0.95rem;
        padding-left: 0.25rem;
        height: 40px;
    }

    .search-widget .search-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .category-select-wrapper {
        width: 100% !important;
        border-left: none !important;
        border-top: 1px solid #f1f5f9;
        margin: 0 !important;
        padding: 0.5rem 0 0 0 !important;
    }

    .category-select-wrapper select {
        width: 100% !important;
        height: 35px;
        font-size: 0.9rem;
        padding: 0;
    }

    /* 5. Hero Responsive Section */
    .hero-section {
        min-height: auto;
        padding: 3.5rem 0;
    }

    .hero-content {
        flex-direction: column !important;
        text-align: center;
        padding: 0 1rem !important;
        min-height: auto;
        justify-content: center;
    }

    .hero-text {
        margin-right: 0 !important;
        max-width: 100%;
        text-align: center !important;
    }

    .hero-content h1 {
        font-size: 2.2rem !important;
        text-align: center !important;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1.1rem !important;
        text-align: center !important;
        margin-bottom: 1.75rem;
        line-height: 1.5;
    }

    .hero-content .btn {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* 6. Grids & Cards Optimization */
    .grid-categories {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .category-card {
        height: 200px !important;
    }

    .category-image-wrapper {
        padding: 0.75rem !important;
    }

    .category-info-overlay {
        padding: 0.75rem 1rem !important;
    }

    .category-info-overlay h3 {
        font-size: 0.95rem !important;
    }

    .explore-btn {
        font-size: 0.75rem !important;
    }

    .grid-products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .product-card {
        padding: 0.75rem !important;
        border-radius: var(--radius-md) !important;
    }

    .product-image {
        height: 130px !important;
        margin-bottom: 0.75rem !important;
    }

    .product-info h3 {
        font-size: 0.9rem !important;
        height: 2.7em !important;
        margin-bottom: 0.25rem !important;
    }

    .product-price {
        font-size: 1rem !important;
        margin-bottom: 0.5rem;
    }

    .product-card .btn-outline {
        padding: 0.5rem !important;
        font-size: 0.85rem !important;
    }

    /* 7. Services & Testimonials Responsive Grid */
    .grid-services {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
    }

    .service-card {
        padding: 1.5rem !important;
    }

    .brands-track {
        gap: 1.5rem !important;
        animation-duration: 25s !important;
    }

    .brand-item {
        width: 150px !important;
        height: 80px !important;
        padding: 0.75rem !important;
    }

    .brand-item img {
        max-height: 60px !important;
    }

    /* 8. Floating Cart Button Mobile CTA */
    .mobile-cart-floating {
        display: flex !important;
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        background-color: var(--accent-color) !important;
        color: white !important;
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 24px !important;
        box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
        z-index: 1000 !important;
        border: none !important;
        cursor: pointer !important;
        transition: transform 0.2s ease !important;
        animation: pulseBlueMobile 2s infinite !important;
    }

    .mobile-cart-floating .badge {
        position: absolute !important;
        top: -4px !important;
        right: -4px !important;
        background-color: var(--action-color, #EF4444) !important;
        color: white !important;
        font-size: 0.75rem !important;
        font-weight: 700 !important;
        width: 22px !important;
        height: 22px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 2px solid white !important;
        box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    }

    @keyframes pulseBlueMobile {
        0% {
            box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
        }
        70% {
            box-shadow: 0 0 0 15px rgba(59, 130, 246, 0);
        }
        100% {
            box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
        }
    }

    .mobile-cart-floating:active {
        transform: scale(0.9) !important;
    }

    /* 9. Product Details Responsive View */
    .product-detail-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    .detail-image-container {
        padding: 1rem !important;
    }

    #detail-image {
        max-height: 280px !important;
    }

    .detail-info h1 {
        font-size: 1.6rem !important;
    }

    .detail-info .actions {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .detail-info .actions .btn {
        width: 100% !important;
        margin: 0 !important;
    }

    /* 10. Footer Adjustments */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        text-align: center;
    }

    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-col h3, .footer-col h4 {
        margin-bottom: 0.75rem !important;
    }

    .footer-col ul li {
        margin-bottom: 0.6rem !important;
    }

    .footer-bottom {
        margin-top: 1.5rem !important;
        padding-top: 1.5rem !important;
    }
}

/* ==========================================================================
   PREMIUM UX ENHANCEMENTS & BRANDING
   ========================================================================== */

/* Swipeable Category Pills & Responsive Desktop Wrap */
.category-pills-container {
    display: flex;
    flex-wrap: wrap; /* Wrap by default on desktop for perfect visibility of all capsules */
    gap: 0.75rem;
    padding: 0.5rem 0 1rem 0;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .category-pills-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 0.5rem 1rem 1.25rem 1rem;
        margin-left: -1rem;  /* Pull to the edge of .container padding */
        margin-right: -1rem; /* Pull to the edge of .container padding */
        scrollbar-width: none; /* Hide for Firefox */
        -ms-overflow-style: none; /* Hide for IE/Edge */
        -webkit-overflow-scrolling: touch;
    }
    .category-pills-container::-webkit-scrollbar {
        display: none; /* Hide for Chrome/Safari */
    }
    /* Ensure the last pill has right padding so it isn't clipped when scrolled completely to the right */
    .category-pills-container::after {
        content: '';
        padding-right: 1.5rem;
        flex-shrink: 0;
    }
}
.category-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    background-color: var(--bg-white, #FFFFFF);
    color: var(--text-body, #334155);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 9999px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition-smooth, 0.3s ease);
    box-shadow: var(--shadow-sm, 0 1px 3px rgba(0,0,0,0.05));
}
.category-pill:hover, .category-pill.active {
    background-color: var(--accent-color, #3B82F6);
    color: white;
    border-color: var(--accent-color, #3B82F6);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.25);
}

/* Skeleton Loading Pulsar */
@keyframes skeleton-pulse {
    0%, 100% { background-color: #F1F5F9; }
    50% { background-color: #E2E8F0; }
}
.skeleton-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 1rem;
    border: 1px solid #F1F5F9;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 310px;
}
.skeleton-img {
    height: 160px;
    border-radius: var(--radius-sm);
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}
.skeleton-title {
    height: 1.25rem;
    width: 80%;
    border-radius: 4px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}
.skeleton-price {
    height: 1.5rem;
    width: 50%;
    border-radius: 4px;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}
.skeleton-btn {
    height: 2.25rem;
    border-radius: var(--radius-sm);
    margin-top: auto;
    animation: skeleton-pulse 1.5s infinite ease-in-out;
}

/* FAQ Accordion Styling */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-white, #FFFFFF);
    border-radius: var(--radius-md, 8px);
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-smooth);
}
.faq-item:hover {
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: var(--shadow-md);
}
.faq-trigger {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: transparent;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color, #0F172A);
    cursor: pointer;
    transition: color 0.2s ease;
}
.faq-trigger:hover {
    color: var(--accent-color, #3B82F6);
}
.faq-icon {
    font-size: 1rem;
    color: var(--text-light);
    transition: transform var(--transition-smooth);
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--accent-color);
}
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background-color: #F8FAFC;
    border-top: 0 solid #F1F5F9;
}
.faq-item.active .faq-content {
    max-height: 1000px; /* high value for auto expansion */
    border-top-width: 1px;
    transition: max-height 0.4s cubic-bezier(0.86, 0, 0.07, 1);
}
.faq-inner {
    padding: 1.25rem 1.5rem;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Service Hub & Quotation Center */
.service-hub-section {
    background-color: #F8FAFC;
}
.hub-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
}
.hub-card {
    background: var(--bg-white, #FFFFFF);
    border-radius: var(--radius-lg, 16px);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    height: 100%;
}
.hub-card h3 {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hub-card h3 i {
    color: var(--accent-color);
}
.hub-card > p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}
.hub-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: auto;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.hub-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.hub-form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
}
.hub-form-group input, .hub-form-group select, .hub-form-group textarea {
    padding: 0.85rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    background: var(--bg-white);
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.hub-form-group input:focus, .hub-form-group select:focus, .hub-form-group textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}
.hub-submit-btn {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 1rem;
    color: white;
    background-color: var(--accent-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}
.hub-submit-btn:hover {
    background-color: var(--accent-hover);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
    transform: translateY(-1px);
}
.hub-submit-btn.btn-wa {
    background-color: #25D366;
}
.hub-submit-btn.btn-wa:hover {
    background-color: #128C7E;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

/* Quote Calculator Elements */
.quote-preview-box {
    margin-top: 1.5rem;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    background-color: #F8FAFC;
    border: 1px dashed rgba(15, 23, 42, 0.1);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.quote-preview-row {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}
.quote-preview-total {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-color);
    display: flex;
    justify-content: space-between;
}

@media (max-width: 992px) {
    .hub-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    /* ── Hub Section ── */
    .service-hub-section {
        padding: 2rem 0 !important;
    }

    .hub-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 0 0.25rem;
    }

    /* ── Hub Card ── */
    .hub-card {
        padding: 1.5rem 1.25rem !important;
        border-radius: 16px !important;
        height: auto !important;
        box-shadow: 0 2px 12px rgba(15,23,42,0.07) !important;
    }

    .hub-card h3 {
        font-size: 1.2rem !important;
        gap: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .hub-card h3 i {
        font-size: 1.1rem !important;
    }

    .hub-card > p {
        font-size: 0.88rem !important;
        margin-bottom: 1.25rem !important;
        line-height: 1.5 !important;
    }

    /* ── Form Layout: stack 2-col rows to single column ── */
    .form-row {
        grid-template-columns: 1fr !important;
        gap: 0.85rem !important;
    }

    .hub-form {
        gap: 0.85rem !important;
    }

    /* ── Input / Select / Textarea ── */
    .hub-form-group label {
        font-size: 0.82rem !important;
        font-weight: 600 !important;
        color: var(--text-body) !important;
        margin-bottom: 0.25rem !important;
    }

    .hub-form-group input,
    .hub-form-group select,
    .hub-form-group textarea {
        padding: 0.9rem 1rem !important;
        font-size: 1rem !important;           /* Prevents iOS auto-zoom (must be ≥16px on iOS) */
        min-height: 52px !important;          /* Touch-friendly target */
        border-radius: 10px !important;
        border-color: #CBD5E1 !important;
        -webkit-tap-highlight-color: transparent;
        -webkit-appearance: none;             /* Removes iOS default styling */
        appearance: none;
    }

    .hub-form-group select {
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748B' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 1rem center;
        padding-right: 2.5rem !important;
    }

    .hub-form-group input:focus,
    .hub-form-group select:focus,
    .hub-form-group textarea:focus {
        border-color: var(--accent-color) !important;
        box-shadow: 0 0 0 3px rgba(59,130,246,0.12) !important;
        outline: none !important;
    }

    .hub-form-group textarea {
        min-height: 100px !important;
        resize: vertical;
    }

    /* ── Quote Preview Box ── */
    .quote-preview-box {
        padding: 1rem !important;
        margin-top: 1rem !important;
        border-radius: 10px !important;
        font-size: 0.92rem !important;
    }

    .quote-preview-row {
        font-size: 0.9rem !important;
        padding: 0.15rem 0 !important;
    }

    .quote-preview-total {
        font-size: 1.05rem !important;
        padding-top: 0.6rem !important;
        margin-top: 0.4rem !important;
    }

    /* ── Submit Buttons ── */
    .hub-submit-btn {
        padding: 1rem 1.25rem !important;
        font-size: 1rem !important;
        min-height: 54px !important;
        border-radius: 12px !important;
        width: 100% !important;
        margin-top: 0.5rem !important;
        letter-spacing: 0.01em;
        -webkit-tap-highlight-color: transparent;
    }

    .hub-submit-btn i {
        font-size: 1.15rem !important;
    }
}

/* Multi-Step Upload Progress Modal */
.progress-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}
.progress-card {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    text-align: center;
}
.progress-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}
.progress-steps-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    text-align: left;
    margin-bottom: 2rem;
}
.progress-step-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-light);
    transition: all 0.3s ease;
}
.progress-step-item.active {
    color: var(--primary-color);
    font-weight: 600;
}
.progress-step-item.completed {
    color: #10B981;
}
.progress-step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}
.progress-step-item.active .progress-step-icon {
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 8px rgba(59, 130, 246, 0.4);
}
.progress-step-item.completed .progress-step-icon {
    border-color: #10B981;
    background-color: #10B981;
    color: white;
}

/* Confetti Check Animation */
.success-animation-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}
.success-checkmark {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #10B981;
    stroke-miterlimit: 10;
    box-shadow: inset 0 0 0 #10B981;
    animation: success-fill .4s ease-in-out .4s forwards, success-scale .3s ease-in-out .9s both;
}
.success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #10B981;
    fill: none;
    animation: success-stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: success-stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}
@keyframes success-stroke { 100% { stroke-dashoffset: 0; } }
@keyframes success-scale { 0%, 100% { transform: none; } 50% { transform: scale3d(1.1, 1.1, 1); } }
@keyframes success-fill { 100% { box-shadow: inset 0 0 0 32px #10B981; stroke: white; } }

/* Mobile Inventory Grid for Admin */
.mobile-inventory-cards {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
.mobile-inventory-card {
    background: var(--surface, #FFFFFF);
    border-radius: 12px;
    padding: 1.25rem;
    border: 1px solid var(--border, #E2E8F0);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.card-header-main {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.card-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border, #E2E8F0);
    flex-shrink: 0;
}
.card-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.card-meta h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary, #0F172A);
}
.card-cat-badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    background-color: #F1F5F9;
    color: var(--text, #334155);
    width: max-content;
}
.card-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border, #E2E8F0);
    padding-top: 0.75rem;
    margin-top: 0.25rem;
}
.card-price-label {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--accent, #3B82F6);
}
.card-actions-wrapper {
    display: flex;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    #view-list table {
        display: none !important;
    }
    .mobile-inventory-cards {
        display: flex !important;
    }
}

/* Image Upload Reorder Previews */
.preview-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md, 8px);
    overflow: hidden;
    border: 2px solid var(--border, #E2E8F0);
    background: #fff;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.preview-item.cover-item {
    border-color: var(--accent-color, #3B82F6);
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}
.primary-cover-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    background-color: var(--accent-color, #3B82F6);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 5;
}
.preview-item-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.85);
    display: flex;
    justify-content: space-around;
    padding: 0.35rem;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 5;
}
.preview-item:hover .preview-item-controls {
    opacity: 1;
}
.control-btn-item {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.15s ease;
}
.control-btn-item:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}
.control-btn-item.btn-danger-hover:hover {
    background: var(--danger, #EF4444);
}

/* About Us Section Styling */
.about-section {
    background-color: #FFFFFF;
}
.about-grid-content {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 3.5rem;
    align-items: center;
}
.about-media-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-media-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.about-stats-badge {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: rgba(10, 13, 20, 0.92);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 102, 0, 0.2);
    color: white;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}
.about-stats-count {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--orange-color);
    line-height: 1;
    margin-bottom: 0.25rem;
}
.about-stats-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94A3B8;
}
.about-text-details h3 {
    font-size: 1.3rem;
    color: var(--orange-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}
.about-text-details h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}
.about-text-details p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-body);
    margin-bottom: 2rem;
}
.about-features-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}
.about-feature-box {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.about-feature-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(59, 130, 246, 0.08);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}
.about-feature-box h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1rem;
    font-weight: 700;
}
.about-feature-box p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .about-grid-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ==========================================================================
   PREMIUM DYNAMIC DISCOUNT OFFERS CAROUSEL STYLE ENGINE
   ========================================================================== */
.hero-slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2.5rem 2rem;
    background: linear-gradient(to top, rgba(10, 13, 20, 0.95) 40%, rgba(10, 13, 20, 0.4) 80%, transparent 100%);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    z-index: 10;
    text-align: left;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.slide-badge {
    background: linear-gradient(135deg, var(--orange-color) 0%, #FF8800 100%);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.4);
    letter-spacing: 0.05em;
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); box-shadow: 0 4px 18px rgba(255, 102, 0, 0.6); }
    100% { transform: scale(1); }
}

/* Premium Ken Burns Smooth Zoom Effect for Active Slide */
.hero-slide img {
    transform: scale(1.02) translateZ(0);
    transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.hero-slide.active img {
    transform: scale(1.08) translateZ(0);
}

/* Responsive adjustments for mobile dynamic carousel */
@media (max-width: 768px) {
    .hero-carousel-wrapper {
        position: relative !important;
        right: auto !important;
        top: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
        height: 320px !important;
        margin-top: 2rem !important;
        align-self: center !important;
    }

    .hero-carousel {
        border-radius: 24px !important;
    }

    .slide-title {
        font-size: 1.4rem !important;
    }

    .slide-desc {
        font-size: 0.85rem !important;
        max-width: 100%;
    }

    .hero-slide-overlay {
        padding: 1.5rem 1.25rem !important;
    }
}

/* ==========================================================================
   PREMIUM SUBMENU DROPDOWN & FLYOUT NAVIGATION
   ========================================================================== */

/* ── 1. Desktop Nav Header Dropdowns ── */
.nav-dropdown-wrapper {
    position: relative;
    display: inline-block;
    z-index: 1001;
}

.dropdown-trigger {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
}

.dropdown-trigger-icon {
    font-size: 0.75rem;
    transition: transform var(--transition-smooth, 0.3s ease);
}

.nav-dropdown-wrapper:hover .dropdown-trigger-icon {
    transform: rotate(180deg);
}

/* First-level dropdown menu */
.nav-dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.15);
    padding: 0.75rem 0;
    min-width: 250px;
    z-index: 1000;
    list-style: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.nav-dropdown-wrapper:hover .nav-dropdown {
    transform: translateX(-50%) translateY(5px) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.nav-dropdown li {
    position: relative;
    padding: 0;
    margin: 0;
}

.nav-dropdown li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.5rem;
    margin: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: var(--text-body, #334155) !important;
    transition: all 0.2s ease !important;
    border-radius: 0 !important;
}

.nav-dropdown li a:hover {
    background-color: rgba(59, 130, 246, 0.05) !important;
    color: var(--accent-color, #3B82F6) !important;
    padding-left: 1.75rem !important;
}

/* Arrow inside submenu list item */
.nav-dropdown li a i {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform var(--transition-fast, 0.2s);
}

.nav-dropdown li a:hover i {
    transform: translateX(4px);
    opacity: 1;
    color: var(--accent-color, #3B82F6);
}

/* Nested (second-level) dropdown flyout menu */
.nav-nested-dropdown {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(15px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.15);
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1010;
    list-style: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.nav-dropdown-item-with-nested:hover .nav-nested-dropdown {
    transform: translateX(5px) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ── 2. Sidebar Categories Flyout Submenus ── */
.sidebar-item-with-submenu {
    position: relative;
}

.submenu-trigger-icon {
    font-size: 0.75rem;
    opacity: 0.5;
    transition: transform var(--transition-fast, 0.2s);
}

.sidebar-item-with-submenu:hover .submenu-trigger-icon {
    transform: rotate(90deg);
    opacity: 1;
}

.sidebar-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(15px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.18);
    padding: 0.75rem 0;
    min-width: 250px;
    z-index: 1000;
    list-style: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.sidebar-item-with-submenu:hover .sidebar-submenu {
    transform: translateX(5px) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.sidebar-submenu li a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 1.25rem !important;
    margin: 0 !important;
    font-size: 0.9rem !important;
    border-bottom: none !important;
    color: var(--text-body, #334155) !important;
    transition: all 0.2s ease !important;
}

.sidebar-submenu li a:hover {
    background: rgba(59, 130, 246, 0.05) !important;
    color: var(--accent-color, #3B82F6) !important;
    padding-left: 1.5rem !important;
}

.sidebar-submenu li a i {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform var(--transition-fast, 0.2s);
}

.sidebar-submenu li a:hover i {
    transform: translateX(4px);
    opacity: 1;
    color: var(--accent-color, #3B82F6);
}

/* Sidebar nested (second-level) submenus */
.sidebar-submenu-item-with-nested {
    position: relative;
}

.sidebar-nested-submenu {
    position: absolute;
    top: 0;
    left: 100%;
    transform: translateX(15px) scale(0.95);
    opacity: 0;
    visibility: hidden;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: var(--radius-md, 8px);
    box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.18);
    padding: 0.5rem 0;
    min-width: 180px;
    z-index: 1010;
    list-style: none;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.sidebar-submenu-item-with-nested:hover .sidebar-nested-submenu {
    transform: translateX(5px) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ── 3. Responsive Accordion Stack for Mobile ── */
@media (max-width: 768px) {
    .nav-dropdown-wrapper {
        width: 100%;
    }
    
    .nav-dropdown,
    .nav-nested-dropdown,
    .sidebar-submenu,
    .sidebar-nested-submenu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: none; /* hidden by default, toggles stacked list on hover/simulate */
        box-shadow: none !important;
        border: none !important;
        border-left: 2px solid rgba(59, 130, 246, 0.2) !important;
        margin-left: 1.5rem !important;
        padding: 0.25rem 0 !important;
        pointer-events: auto !important;
        background: transparent !important;
    }

    .nav-dropdown-wrapper:hover .nav-dropdown,
    .nav-dropdown-item-with-nested:hover .nav-nested-dropdown,
    .sidebar-item-with-submenu:hover .sidebar-submenu,
    .sidebar-submenu-item-with-nested:hover .sidebar-nested-submenu {
        display: block !important;
    }
}

/* --- Footer & Policy Modal Custom Enhancements --- */
.footer-social-icons a {
    color: rgba(255, 255, 255, 0.6) !important;
    background: rgba(255, 255, 255, 0.05);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-icons a:hover {
    color: var(--primary-color) !important;
    background: white !important;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

#policy-text h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
}

#policy-text p {
    margin-bottom: 1rem;
    color: var(--text-body);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Premium E-Commerce Carousel Design Upgrades --- */
@media (min-width: 769px) {
    .hero-slide {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .hero-slide img {
        width: 52% !important;
        height: 100% !important;
        object-fit: contain !important;
        margin-left: auto !important;
        padding: 1.5rem !important;
        z-index: 2 !important;
        filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.6)) !important;
        transition: transform 8s cubic-bezier(0.25, 1, 0.5, 1) !important;
    }

    .hero-slide-overlay {
        width: 55% !important;
        height: 100% !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        padding: 3rem 2.5rem !important;
        background: linear-gradient(to right, rgba(10, 13, 20, 0.98) 50%, rgba(10, 13, 20, 0.6) 80%, transparent 100%) !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: flex-start !important;
        z-index: 5 !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

@media (max-width: 768px) {
    .hero-slide img {
        object-fit: contain !important;
        padding: 1rem !important;
        height: 70% !important;
        width: 100% !important;
    }

    .hero-slide-overlay {
        padding: 1.5rem 1.25rem !important;
        background: linear-gradient(to top, rgba(10, 13, 20, 0.98) 55%, rgba(10, 13, 20, 0.4) 85%, transparent 100%) !important;
    }
}