/* --- Premium WhatsApp Floating UI --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: green;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* --- Back to Top Button --- */
.back-to-top {
    position: fixed !important;
    bottom: 30px;
    left: 30px;
    right: auto;
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10000;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(189, 37, 235, 0.4);
    color: white;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        left: 20px;
        right: auto;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}


.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
    color: #fff;
}

.whatsapp-float .wa-tooltip {
    position: absolute;
    right: 80px;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    right: 70px;
}

/* Eye-Catching Heartbeat Animation */
.heart-beat {
    animation: whatsapp-heartbeat 2s infinite;
}

@keyframes whatsapp-heartbeat {
    0% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.1);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.1);
    }

    70% {
        transform: scale(1);
    }

    100% {
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .whatsapp-float .wa-tooltip {
        display: none;
        /* Hide tooltip on small mobile for cleaner look */
    }
}

:root {
    /* Premium Brand Palette - Blue & Light Black */
    --primary: #bd25eb;
    /* Vibrant Blue */
    --primary-dark: #0b15d4;
    --primary-light: rgba(220, 108, 17, 0.1);
    --secondary: #e5590d;
    /* Slate */
    --accent: #60a5fa;

    /* Global Atmosphere - Charcoal Noir */
    --body-bg: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --glass: rgba(15, 23, 42, 0.85);
    --text: rgba(255, 166, 0, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    --dark: #ffffff;
    --light: #1e293b;
    --border: rgba(255, 255, 255, 0.1);

    /* Soft Glassmorphism & Depth */
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Shadows - Deep & Sophisticated */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);

    /* Animation Timing */
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --radius: 0.75rem;
    --radius-lg: 1.5rem;
    --grad-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --grad-surface: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0));
    --white: #ffffff;
}

/* Blue & Light Black Atmosphere */
body:not(.admin-body) {
    background: linear-gradient(135deg, #000000 30%, #000000 70%, #111111 100%) !important;
    background-attachment: fixed !important;
    color: var(--text) !important;
}

/* Typography Refinement */
h1 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #ffffff;
    margin-bottom: 2rem;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: whitesmoke;
    margin-bottom: 1.75rem;
    position: relative;
    display: block;
}

h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #f8fafc;
    margin-bottom: 1.25rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

/* Responsive Headings */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2.0rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* Global Section Backgrounds to Transparent */
section,
.section,
.bg-light,
.bg-white {
    background: transparent !important;
}

/* Card System - Charcoal Glass */
.product-card,
.service-card,
.stat-card,
.category-card {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
}

.product-card:hover,
.service-card:hover {
    border-color: #2563eb !important;
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7) !important;
}

.product-info h3 a,
.service-card h3 {
    color: #ffffff !important;
}

/* Sidebar Widgets for Shop/Account */
.sidebar-widget,
.account-sidebar,
.account-content {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Modern Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--light);
}

::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
    border: 3px solid var(--light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* Base Refinements */
body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: radial-gradient(circle at top right, var(--primary-light), transparent), var(--light);
    overflow-x: hidden;
    overflow-y: auto;
    height: auto !important;
    min-height: 100vh;
}

@media (max-width: 991px) {
    body:not(.admin-body) {
        background-attachment: scroll !important;
    }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: white;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h6 {
    color: var(--dark);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 700;
}

.container {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-right: auto;
    margin-left: auto;
    max-width: 1280px;
}

/* Utility Classes */
.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

/* Buttons - Refined States */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.75rem;
    font-weight: 700;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.btn-primary {
    background: linear-gradient(135deg, #10ff06, #fd0202);
    color: var(--white);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.3);
    filter: brightness(1.1);
}

.btn-outline {
    background-color: var(--white);
    border: 1px solid var(--border);
    color: var(--text);
    box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* Responsive Helpers */
.d-none {
    display: none !important;
}

.mobile-only-item {
    display: none !important;
}

.desktop-only-icon {
    display: flex !important;
}

.w-100 {
    width: 100% !important;
}

.mt-3 {
    margin-top: 1rem !important;
}

@media (min-width: 768px) {
    .d-md-block {
        display: block !important;
    }

    .d-md-none {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .d-md-none {
        display: block !important;
    }
}

/* Header & Nav */
/* Header & Nav - Premium Glassmorphism */
.header {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.header-top {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 0.6rem 0;
    font-size: 0.85rem;
    display: none;
    letter-spacing: 0.03em;
    font-weight: 500;
}

.header-top .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.header-top-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-top-left span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-top-left i {
    color: var(--primary);
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    right: 1rem;
}

.header-top-right a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.header-top-right a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.navbar {
    padding: 1.25rem 0;
    display: flex;
    align-items: center;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: -0.03em;
    text-transform: uppercase;
    transition: var(--transition);
}

.logo-text {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-mobile {
    display: none;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo i {
    color: var(--primary);
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(37, 99, 235, 0.2));
}

.logo:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

.nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 1rem;
    right: 1rem;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    margin-top: 0.5rem;
}

.nav-menu.show {
    display: flex;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-menu li a {
    display: block;
    padding: 0.8rem 1rem;
    color: var(--text);
    font-weight: 600;
    border-radius: var(--radius);
    transition: var(--transition);
}

.nav-menu li a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 1.5rem;
}

.nav-actions {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-icon {
    font-size: 1.2rem;
    color: rgb(199 187 17 / 90%);
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.nav-icon:hover {
    background: greenyellow;
    color: var(--primary);
    transform: translateY(-2px);
}

.cart-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: var(--primary);
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 50px;
    font-weight: 800;
    border: 2px solid var(--white);
}

.mobile-toggle {
    display: none;
    background: var(--primary-light);
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: var(--primary);
    padding: 0.5rem;
    border-radius: var(--radius);
    transition: var(--transition);
}

.mobile-toggle:hover {
    background: var(--primary);
    color: var(--white);
}

/* Sections */
.section {
    padding: 2.5rem 0;
    /* Reduced from 4rem */
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    /* Reduced from 3rem */
}

.section-header h2 {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: 0.5rem auto 0;
}

.section-categories .section-header h2 {
    background: linear-gradient(135deg, #ebedee 0%, #ff8000 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-categories .section-header h2::after {
    background: linear-gradient(90deg, #38bdf8, #1d4ed8);
    width: 80px;
}

.section-products .section-header h2 {
    background: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.section-products .section-header h2::after {
    background: linear-gradient(90deg, #fbbf24, #d97706);
    width: 80px;
}

.section-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.65) !important;
    max-width: 700px;
    margin: 1.25rem auto 0;
    line-height: 1.6;
    letter-spacing: 0.03em;
    font-weight: 400;
    font-style: italic;
    opacity: 0.85;
}

/* Hero Slider */
/* Hero Slider - High Impact */
.hero-slider {
    position: relative;
    height: 600px;
    background: var(--dark);
    overflow: hidden;
    margin-bottom: 2rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

/* Layered Background Zoom (Ken Burns) */
.slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 8s linear;
    transform: scale(1);
    z-index: 0;
}

.slide.active .slide-bg {
    transform: scale(1.15);
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.3));
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.slide-content.text-left {
    align-items: flex-start;
    text-align: left;
}

.slide-content.text-center {
    align-items: center;
    text-align: center;
}

.slide-content.text-right {
    align-items: flex-end;
    text-align: right;
}

.slide-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    color: var(--white) !important;
    margin-bottom: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    max-width: 800px;
    line-height: 1.05;
    opacity: 0;
    text-transform: uppercase;
}

.slide.active .slide-content h1 {
    animation: fadeInUp 0.8s ease-out forwards;
}

.slide-content p {
    font-size: clamp(1rem, 2vw, 1.35rem);
    margin-bottom: 2.5rem;
    max-width: 650px;
    opacity: 0;
    font-weight: 400;
    color: var(--white) !important;
    line-height: 1.6;
    letter-spacing: 0.02em;
}

.slide.active .slide-content p {
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.slide-content .btn {
    opacity: 0;
}

.slide.active .slide-content .btn {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.25rem;
    z-index: 5;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--white);
    color: var(--primary);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Grids (Mobile First) */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.products-grid,
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* Default 2 columns for mobile/small screens */
    gap: 1.5rem;
}

@media (min-width: 768px) {

    .products-grid,
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {

    .products-grid,
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* On shop page with sidebar, reduce columns */
.shop-layout .products-grid {
    grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 768px) {
    .shop-layout .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .shop-layout .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .categories-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 1.25rem;
    }
}

/* Card Systems - Premium Elevation */
.product-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.product-image {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
    background: var(--light);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 0.75rem 0.85rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.category-name {
    font-size: 0.7rem;
    color: var(--primary);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
    opacity: 0.85;
}

.product-info h3 {
    font-size: 0.9rem;
    margin: 0 0 0.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.product-info h3 a {
    color: var(--dark);
    transition: var(--transition);
}

.product-info h3 a:hover {
    color: var(--primary);
}

.product-price {
    font-weight: 800;
    color: var(--dark);
    font-size: 0.95rem;
    margin-top: auto;
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.4rem;
    align-items: baseline;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 500;
}

.badge-sale,
.badge-featured {
    position: absolute;
    top: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    color: var(--white);
    backdrop-filter: blur(4px);
    z-index: 2;
    box-shadow: var(--shadow-sm);
}

.badge-sale {
    left: 1rem;
    background: rgba(220, 38, 38, 0.9);
}

.badge-featured {
    right: 1rem;
    background: rgba(16, 185, 129, 0.9);
}

/* Category Card - Sleek Minimalist */
.category-card {

    display: block;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.category-card:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
    box-shadow: var(--shadow);
}

.category-image {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-light), #dbeafe);
    color: var(--primary);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    transition: var(--transition);
}

.category-card:hover .category-image {
    transform: rotate(10deg);
    background: var(--primary);
    color: var(--white);
}

.category-card h3 {
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: White;
    text-transform: uppercase;
}

/* Mobile Category Listing Fixes */
@media (max-width: 767px) {
    .section-categories .categories-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
        padding: 0 5px;
    }

    .section-categories .category-card {
        padding: 10px 5px !important;
        text-align: center;
        display: flex !important;
        align-items: center;
        justify-content: center;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.12) !important;
        min-height: 60px !important;
        height: auto !important;
        box-shadow: none !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .section-categories .category-card:hover {
        transform: none !important;
    }

    .section-categories .category-card .category-image,
    .section-categories .category-card .product-count {
        display: none !important;
    }

    .section-categories .category-card h3 {
        margin-bottom: 0 !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        text-transform: none !important;
        letter-spacing: 0 !important;
        color: #fff !important;
        line-height: 1.2 !important;
        width: 100% !important;
        word-wrap: break-word !important;
        overflow: visible !important;
        white-space: normal !important;
    }
}

/* Service Card - Modern Feature List */
.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-10px);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(-5deg);
    background: var(--primary);
    color: var(--white);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-price {
    font-weight: 900;
    color: var(--primary);
    font-size: 1.25rem;
    margin-bottom: 2rem;
    margin-top: auto;
}

/* Banner Card */
.banners-row {
    display: grid;
    gap: 2rem;
}

.banner-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
    aspect-ratio: 16/9;
}

.banner-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.banner-overlay h3 {
    color: rgb(224, 170, 9);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);

}

/* Banners (Responsive) */
@media (min-width: 768px) {
    .banners-row {
        grid-template-columns: 1fr 1fr;
    }
}

/* Footer */
.footer {
    background: var(--dark);
    color: #94a3b8;
    padding-top: 5rem;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--white);
    margin-bottom: 1.75rem;
    font-size: 1.1rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
}

.footer-logo {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    color: var(--white);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

.footer ul li {
    margin-bottom: 0.85rem;
}

.footer a {
    color: #94a3b8;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary);
    margin-top: 0.25rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .footer {
        padding-top: 3rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .footer-col {
        text-align: center;
    }

    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }
}

/* Authentication styles moved to auth.css for premium layout */

/* Cart */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .cart-layout {
        grid-template-columns: 1fr 350px;
        align-items: start;
    }
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.cart-table th {
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid var(--border);
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.cart-product-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product-info img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius);
    object-fit: cover;
}

.cart-summary {
    background: black;
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 700;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    margin-top: 1rem;
}

/* Product/Service Details */
.product-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-detail-layout {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.service-hero-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: var(--radius);
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.service-features-list i {
    color: var(--success);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--dark), #1e293b);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--primary), transparent);
    opacity: 0.2;
}

.page-banner h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.page-banner p {
    font-size: 1.25rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Shop Layout - Flexbox Fallback for Robustness */

/* Global Banner Areas */
.global-banner-area {
    width: 100%;
    margin-bottom: 3rem;
}

.global-banner-item {
    display: block;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.global-banner-item:last-child {
    margin-bottom: 0;
}

.global-banner-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s ease;
}

.global-banner-item:hover img {
    transform: scale(1.05);
}

.gb-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.gb-overlay h3 {
    color: var(--white);
    margin: 0;
    font-size: 1.75rem;
}

.top-banners {
    margin-top: 2rem;
}

@media (max-width: 768px) {}

/* Base shop layout styles */
.shop-layout {
    display: flex;
    gap: 3.5rem;
    align-items: flex-start;
}

.shop-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}

.shop-content {
    flex: 1;
    min-width: 0;
    /* Prevents overflow in flex items */
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2.5rem;
}

.sidebar-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-light);
    color: var(--dark);
}

/* Modern Category Sidebar Redesign */
.category-sidebar-wrapper {
    margin-top: -10px;
}

.category-accordion {
    list-style: none;
    padding: 0;
    margin: 0;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-link {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: var(--text-muted) !important;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.accordion-link i {
    width: 20px;
    margin-right: 10px;
    color: var(--primary);
}

.accordion-link:hover,
.accordion-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.accordion-link.active {
    background: rgba(189, 37, 235, 0.1) !important;
    color: var(--primary) !important;
    font-weight: 700;
}

.count-badge {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 20px;
    color: var(--text-muted);
}

.accordion-link.active .count-badge {
    background: var(--primary);
    color: var(--white);
}

.accordion-toggle {
    width: 40px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-toggle:hover {
    color: var(--white);
}

.accordion-item.expanded .accordion-toggle {
    transform: rotate(180deg);
    color: var(--primary);
}

/* Subcategory Aesthetics */
.subcategory-list {
    max-height: 0;
    overflow: hidden;
    list-style: none;
    padding: 0 0 0 30px;
    margin: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    margin-left: 25px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.accordion-item.expanded .subcategory-list {
    max-height: 1000px;
    opacity: 1;
    padding-bottom: 12px;
    padding-top: 4px;
}

.subcategory-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    font-size: 0.88rem;
    color: var(--text-muted) !important;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin-bottom: 2px;
}

.subcategory-link:hover,
.subcategory-link.active {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.04);
}

.subcategory-link.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Mobile Category Dropdown Styles */
.mobile-category-dropdown {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
}

.mobile-category-dropdown select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.25rem;
    background-color: var(--black);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.75rem 3rem 0.75rem 1rem;
    /* Ensure right padding is large enough for the arrow */
    width: 100%;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: var(--transition);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* Mobile Dropdown focus */
.mobile-category-dropdown select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Shop Responsiveness */
@media (max-width: 991px) {
    .shop-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .shop-sidebar {
        width: 100% !important;
        position: static !important;
        order: -1;
        /* Sidebar above content on tablet/mobile */
        margin-bottom: 1rem;
    }

    .shop-sidebar .sidebar-widget {
        padding: 1.25rem !important;
    }

    .mobile-category-dropdown select {
        font-size: 0.95rem;
        padding: 0.75rem 2.5rem 0.75rem 1rem !important;
    }
}

/* Subcategory/Mobile Dropdown fixes */

.category-list a.active span {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    box-shadow: none;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    background: var(--white);
    padding: 1.25rem 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
    .shop-header {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
        text-align: center;
    }

    .results-count {
        order: 2;
    }

    .shop-header .search-form {
        order: 1;
        max-width: 100%;
    }
}

.search-form {
    display: flex;
    background: #f8fafc;
    border-radius: 12px;
    padding: 0;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    height: 48px;
    width: 100%;
}

.search-form input {
    border: none;
    background: transparent;
    padding: 0 1rem;
    font-size: 0.95rem;
    flex: 1;
    height: 48px;
    outline: none;
}

.search-form button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 0 1.25rem;
    border-radius: 0;
    cursor: pointer;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================
   Clean Premium Footer
   ========================================= */
.footer {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

/* Subtle background accent */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.footer-main {
    padding: 5rem 0 3rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
}

/* Column Typography */
.footer-col h4 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
    display: inline-block;
}

.footer-col h4::after {
    content: '';
    /* Minimal underline */
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    margin-top: 8px;
    opacity: 0.8;
    border-radius: 2px;
}

/* About Column */
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.footer-logo:hover {
    transform: translateX(5px);
}

.footer-logo i {
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-desktop {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-mobile {
    display: none;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    max-width: 320px;
}

/* Social Icons - Clean Circle Style */
.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Links & Contact Lists */
.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li {
    color: #ffa305;
    font-size: 0.95rem;
}

.footer-links a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-list i {
    color: var(--primary);
    margin-top: 4px;
    font-size: 0.9rem;
}

/* Footer Bottom */
.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.99rem;
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col h4 {
        margin-bottom: 1rem;
    }

    .footer-main {
        padding: 4rem 0 2rem;
    }
}


/* Final Touch: Bottom Section */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    text-align: center;
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    }

    .team-col {
        grid-column: span 2;
    }
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .team-col,
    .about-col {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .logo-mobile {
        display: block;
    }

    .logo-desktop {
        display: none;
    }
}

.bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

.legal-links {
    display: flex;
    gap: 2rem;
}

.legal-links a {
    color: inherit;
}

.legal-links a:hover {
    color: var(--white);
}

@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .bottom-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--grad-primary);
    color: var(--white);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.3);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
    font-weight: 800;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    flex-grow: 1;
}

.service-price {
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 0.5rem 1rem;
    background: var(--primary-light);
    border-radius: 50px;
}

/* Page Banner (Used across multiple subpages) */
.page-banner {
    background: linear-gradient(135deg, #000000, #000000);
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Product Detail System */
.breadcrumb {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb span {
    color: var(--dark);
    font-weight: 700;
}

.product-gallery {
    margin-bottom: 2rem;
}

.main-image {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    margin-bottom: 1.5rem;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.image-thumbs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.product-thumb {
    cursor: pointer;
    border-radius: var(--radius);
    border: 2px solid transparent;
    overflow: hidden;
    aspect-ratio: 1/1;
    transition: var(--transition);
}

.product-thumb.active {
    border-color: var(--primary);
}

.product-thumb:hover {
    transform: scale(1.05);
}

.category-badge {
    background: var(--primary-light);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.product-info-detail h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    color: var(--dark);
}

.product-price-lg {
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.product-price-lg .price-current {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--dark);
}

.product-price-lg .price-old {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.discount-percent {
    background: #dc2626;
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
}

.short-desc {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.quantity-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.quantity-control {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 5px;
}

.quantity-control button {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: var(--radius);
    transition: var(--transition);
}

.quantity-control button:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.quantity-control input {
    width: 60px;
    text-align: center;
    border: none;
    font-weight: 700;
    font-size: 1.1rem;
}

.quantity-control input:focus {
    outline: none;
}

.action-buttons-group {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: stretch;
}

.action-buttons-group .add-to-cart-form {
    flex: 4;
}

.action-buttons-group .wishlist-form {
    flex: 1;
}

.action-buttons-group .btn-lg {
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

.wishlist-form .fa-heart.fas {
    color: #ff3b3b;
    filter: drop-shadow(0 0 5px rgba(255, 59, 59, 0.4));
}

/* Tabs System */
.product-tabs {
    margin-bottom: 5rem;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
    gap: 3rem;
    margin-bottom: 3rem;
}

.tab-btn {
    background: none;
    border: none;
    padding: 1rem 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary);
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary);
    transition: var(--transition);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeInUp 0.4s ease-out;
}

.tab-pane pre {
    white-space: pre-wrap;
    font-family: inherit;
    color: var(--text);
    line-height: 1.8;
}

.review-item {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    margin-bottom: 1.5rem;
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.review-rating {
    color: #fbbf24;
}

/* Checkout System */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 991px) {
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .checkout-summary {
        order: -1;
        /* Summary shown first on tablet/mobile might be preferred? Or last? Usually last for checkout. */
    }
}

.checkout-section {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
}

.checkout-section h2 {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option:hover {
    border-color: var(--primary-light);
    background: var(--primary-light);
}

.payment-option:has(input:checked) {
    border-color: var(--primary);
    background: var(--primary-light);
}

.payment-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-left: 1rem;
}

.payment-info i {
    font-size: 1.5rem;
    color: var(--primary);
}

.order-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 2rem;
    padding-right: 0.5rem;
}

.order-items::-webkit-scrollbar {
    width: 4px;
}

.order-items::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 10px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.95rem;
}

.coupon-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.coupon-form input {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.summary-totals {
    border-top: 2px solid var(--border);
    padding-top: 1.5rem;
}

.secure-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}

.info-cards {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.info-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: orange;
}

.info-card p {
    color: rgb(255, 255, 255);
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: bold;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.social-links a {
    width: 44px;
    height: 44px;
    background: #612525;
    color: #0afb2b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.3);
}

.contact-form-wrapper {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem;
    border-radius: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form .form-group label {
    color: #fb923c !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    display: block;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: #fb923c !important;
    box-shadow: 0 0 0 4px rgba(251, 146, 60, 0.15);
}

.contact-form .btn-primary {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    border: none;
    padding: 1.25rem 2.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 16px;
    box-shadow: 0 10px 20px -5px rgba(234, 88, 12, 0.4);
    transition: all 0.3s ease;
}

.contact-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px -5px rgba(234, 88, 12, 0.6);
}

.form-disabled {
    pointer-events: none;
    opacity: 0.4;
    filter: blur(2px);
    user-select: none;
}

.login-prompt-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    background: rgba(254, 253, 252, 0.95);
    backdrop-filter: blur(10px);
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
    width: 85%;
    max-width: 400px;
    border: 1px solid var(--border);
}

.login-prompt-box i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

.login-prompt-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: red;
}

.login-prompt-box p {
    color: blue;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-weight: bold;
}

.login-prompt-box .btn {
    width: 100%;
    margin-bottom: 0.75rem;
}

.login-prompt-box .btn:last-child {
    margin-bottom: 0;
}

/* =====================================================
   ACCOUNT SYSTEM - REBUILT FROM SCRATCH
   ===================================================== */

:root {
    --account-bg: linear-gradient(135deg, #1a0000 0%, #000000 100%);
    --account-sidebar-bg: rgba(0, 0, 0, 0.3);
    --account-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    --account-border: rgba(220, 38, 38, 0.2);
    --account-primary: #dc2626;
    --account-primary-soft: rgba(220, 38, 38, 0.1);
    --account-radius: 1rem;
    --account-spacing: 2rem;
}

/* User Panel (Premium Red & Black Theme) */
.account-content,
.account-sidebar {
    background: var(--account-bg) !important;
    border: 1px solid var(--account-border) !important;
    color: #ffffff !important;
}

.account-content h2,
.account-content h3,
.account-content p,
.account-content strong {
    color: #ffffff !important;
}

.account-content p {
    opacity: 0.8;
}

.stat-card {
    background: rgba(220, 38, 38, 0.05) !important;
    border-color: rgba(220, 38, 38, 0.1) !important;
}

.stat-value {
    color: #dc2626 !important;
}

.stat-label {
    color: rgba(255, 255, 255, 0.6) !important;
}

.account-table thead th {
    background: rgba(220, 38, 38, 0.1) !important;
    color: #ffffff !important;
    border-bottom: 1px solid var(--account-border) !important;
}

.account-table tbody td {
    color: rgba(255, 255, 255, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.account-nav a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.account-nav a:hover,
.account-nav a.active {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}

.account-nav a.active {
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4) !important;
}

/* Base Layout */
.account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--account-spacing);
    align-items: start;
    margin-top: calc(var(--account-spacing) * -1);
    /* Offset from page banner margin */
}

@media (min-width: 992px) {
    .account-layout {
        grid-template-columns: 280px 1fr;
    }
}

/* Sidebar & Navigation */
.account-sidebar {
    background: var(--account-bg);
    border-radius: var(--account-radius);
    border: 1px solid var(--account-border);
    box-shadow: var(--account-shadow);
    overflow: hidden;
}

@media (min-width: 992px) {
    .account-sidebar {
        position: sticky;
        top: 100px;
    }
}

.account-nav {
    display: flex;
    overflow-x: auto;
    padding: 1rem;
    gap: 0.5rem;
    background: var(--account-sidebar-bg);
}

.account-nav::-webkit-scrollbar {
    display: none;
}

.account-nav a {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    font-weight: 600;
    border-radius: 100px;
    font-size: 0.9rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.account-nav i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.account-nav a:hover {
    background: var(--white);
    color: var(--account-primary);
    border-color: var(--account-border);
}

.account-nav a.active {
    background: var(--account-primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.account-nav a.logout {
    color: #ef4444;
}

.account-nav a.logout:hover {
    background: #fef2f2;
    border-color: #fee2e2;
}

@media (min-width: 992px) {
    .account-nav {
        flex-direction: column;
        padding: 1rem 0;
        overflow: visible;
        background: transparent;
    }

    .account-nav a {
        border-radius: 0;
        padding: 1rem 1.75rem;
        border: none;
        border-left: 4px solid transparent;
    }

    .account-nav a.active {
        background: var(--account-primary-soft);
        color: var(--account-primary);
        border-left-color: var(--account-primary);
        box-shadow: none;
    }
}

/* Main Content Area */
.account-content {
    background: var(--account-bg);
    padding: 2rem;
    border-radius: var(--account-radius);
    border: 1px solid var(--account-border);
    box-shadow: var(--account-shadow);
}

@media (max-width: 767px) {
    .account-content {
        padding: 1.5rem;
    }
}

.account-content h2 {
    font-size: 1.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dashboard Widgets */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--account-sidebar-bg);
    padding: 1.75rem;
    border-radius: var(--account-radius);
    border: 1px solid var(--account-border);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--account-primary);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--account-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin: 0 auto 1rem;
    box-shadow: var(--shadow-sm);
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

/* Responsive Table Replacement (Card System) */
.mobile-card-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}


.m-card {
    background: #f38600;
    border: 1px solid var(--account-border);
    border-radius: 12px;
    padding: 1.25rem;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.m-card-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light);
}

.m-card-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.m-card-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
}

.m-card-value {
    font-weight: 600;
    color: black;
}

/* Status Badges - Cleaned */
.status-pill {
    display: inline-flex;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-completed {
    background: #dcfce7;
    color: #166534;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

/* Tables (Desktop Only) */
@media (min-width: 768px) {
    .account-table {
        width: 100%;
        border-collapse: collapse;
    }

    .account-table th {
        text-align: left;
        padding: 1rem;
        font-size: 0.8rem;
        text-transform: uppercase;
        color: var(--text-muted);
        border-bottom: 2px solid var(--account-border);
    }

    .account-table td {
        padding: 1.25rem 1rem;
        border-bottom: 1px solid var(--account-border);
        font-size: 0.95rem;
    }

    .account-table tr:hover td {
        background: var(--account-sidebar-bg);
    }
}

/* Profile Form */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.form-actions {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--account-border);
}

/* Wishlist Grid - Cleaned */
.account-wishlist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1rem;
}

@media (min-width: 768px) {
    .account-wishlist-grid {
        gap: 2rem;
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
}

/* =========================================
   Stealth Support Floating System
   Consolidated for absolute mobile visibility
   Bypasses keyword-based ad blockers
   ========================================= */
.support-floating-container {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 2147483647 !important;
    /* Absolute max priority */
    display: flex !important;
    flex-direction: column;
    align-items: flex-end;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.support-floating-toggle {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: s-f-pulse 2s infinite;
    border: none;
    cursor: pointer;
    outline: none;
}

.support-floating-toggle:hover {
    background-color: #128c7e;
    transform: translateY(-5px) scale(1.05);
    color: #FFF;
}

.support-floating-toggle.active {
    background-color: #ef4444;
    transform: rotate(135deg);
}

.support-floating-menu {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    border: 1px solid var(--border);
}

.support-floating-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.s-f-header {
    background: #25d366;
    color: var(--white);
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.s-f-header-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.s-f-header-info span {
    font-size: 0.8rem;
    opacity: 0.9;
}

.s-f-close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.s-f-menu-body {
    padding: 1.25rem;
}

.s-f-greeting {
    margin-bottom: 1rem;
    font-weight: 700;
    color: var(--dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.s-f-options-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.s-f-option-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.875rem 1.25rem;
    background: #f8fafc;
    border-radius: var(--radius);
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.s-f-option-item:hover {
    background: var(--white);
    border-color: #25d366;
    color: #128c7e;
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.s-f-option-item i {
    color: #25d366;
    width: 20px;
    text-align: center;
}

@keyframes s-f-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Mobile Stealth Optimizations */
@media (max-width: 576px) {
    .support-floating-container {
        bottom: 150px !important;
        /* Higher to clear system bars */
        right: 20px !important;
    }

    .support-floating-toggle {
        width: 55px !important;
        height: 55px !important;
        font-size: 26px !important;
    }

    .support-floating-menu {
        width: 290px !important;
        bottom: 70px !important;
        right: -5px !important;
    }

    .s-f-option-item {
        padding: 0.75rem 1rem !important;
    }
}

/* ---------------------------------------------------- */
/* FOOTER REDESIGN - Premium Modern Architecture        */
/* ---------------------------------------------------- */

.footer {
    background-color: var(--dark);
    color: #94a3b8;
    padding-top: 5rem;
    padding-bottom: 2rem;
    position: relative;
    overflow: hidden;
    font-size: 0.95rem;
}

.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    margin-bottom: 3.5rem;
}

.footer-brand-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.footer-logo .logo-text {
    background: linear-gradient(135deg, var(--white) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo i {
    text-shadow: 0 0 20px rgba(37, 99, 235, 0.5);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 320px;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.4);
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul li a {
    color: #94a3b8;
    transition: var(--transition);
    display: inline-block;
    position: relative;
}

.footer-col ul li a:hover {
    color: var(--white);
    transform: translateX(5px);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.contact-list li i {
    color: var(--primary);
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.contact-list li span {
    word-break: break-word;
    font-size: 0.95rem;
}


.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 992px) {
    .footer {
        padding-top: 6rem;
    }

    .footer-grid {
        grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
        gap: 4rem;
    }

    .footer-brand-col {
        padding-right: 3rem;
    }

    .footer-col h4 {
        font-size: 1.25rem;
    }
}

/* Premium Notification Dialogue */
.flash-dialogue {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 10000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.25rem 2rem;
    border-radius: 1.25rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    animation: fd-slideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    min-width: 380px;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@keyframes fd-slideIn {
    from {
        transform: translateX(120%) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.flash-dialogue.hide {
    animation: fd-slideOut 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fd-slideOut {
    to {
        transform: translateX(140%);
        opacity: 0;
    }
}

.fd-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    color: var(--dark);
    font-weight: 700;
    flex: 1;
    font-size: 0.95rem;
}

.fd-content i {
    font-size: 1.75rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.flash-success {
    border-bottom: 4px solid var(--success);
}

.flash-success i {
    color: var(--success);
}

.flash-error {
    border-bottom: 4px solid var(--danger);
}

.flash-error i {
    color: var(--danger);
}

.fd-close {
    background: var(--light);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.fd-close:hover {
    background: var(--dark);
    color: var(--white);
    transform: rotate(90deg);
}

.fd-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.03);
    width: 100%;
    border-radius: 0 0 1.25rem 1.25rem;
    overflow: hidden;
}

.fd-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    animation: fd-progress 5s linear forwards;
}

.flash-success .fd-progress::after {
    background: var(--success);
}

.flash-error .fd-progress::after {
    background: var(--danger);
}

@keyframes fd-progress {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}

@media (max-width: 576px) {
    .flash-dialogue {
        top: auto;
        bottom: 20px;
        left: 20px;
        right: 20px;
        min-width: auto;
    }
}

/* Newsletter Section Base Styles */
.newsletter-section {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-section h5 {
    font-size: 1.1rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: stretch;
}

.newsletter-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

/* --- Mobile Category Optimization --- */
/* --- Mobile Category Optimization --- */
@media (max-width: 768px) {
    .section-categories .categories-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .section-categories .category-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.75rem;
        min-height: auto;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }

    .section-categories .category-card .category-image {
        display: none !important;
    }

    .section-categories .category-card h3 {
        margin: 0;
        font-size: 0.85rem;
        text-align: center;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .section-categories .product-count {
        display: none;
        /* Hide count to save space in grid */
    }
}

/* =========================================
   Our Services Section - Base & Mobile Responsive
   ========================================= */

/* Base Services Grid - Desktop */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.section-services .service-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.section-services .service-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.section-services .service-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 50%;
    margin-bottom: 1.25rem;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.section-services .service-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.section-services .service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.section-services .service-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.section-services .service-price {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.section-services .service-card .btn {
    margin-top: auto;
    width: 100%;
    max-width: 180px;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius);
    color: var(--white);
    text-align: center;
    transition: var(--transition);
}

.section-services .service-card .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

/* TABLET: 768px - 991px */
@media (max-width: 991px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .section-services .service-card {
        padding: 1.5rem 1.25rem;
    }

    .section-services .service-icon {
        width: 60px;
        height: 60px;
    }

    .section-services .service-icon i {
        font-size: 1.5rem;
    }

    .section-services .service-card h3 {
        font-size: 1.15rem;
    }

    .section-services .service-card p {
        font-size: 0.9rem;
    }
}

/* MOBILE: 576px - 767px */
@media (max-width: 767px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .section-services .service-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0.75rem;
        border-radius: 10px;
    }

    .section-services .service-icon {
        width: 36px;
        height: 36px;
        margin-bottom: 0.5rem;
    }

    .section-services .service-icon i {
        font-size: 0.95rem;
    }

    .section-services .service-card h3 {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
        color: #ffffff !important;
        line-height: 1.2;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Hide description on mobile to reduce height */
    .section-services .service-card p {
        display: none !important;
    }

    .section-services .service-price {
        font-size: 0.7rem;
        margin-bottom: 0.35rem;
    }

    /* Book Now Button - Compact for 2-column grid */
    .section-services .service-card .btn {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        max-width: none;
        padding: 0.4rem 0.5rem;
        font-size: 0.65rem;
        font-weight: 700;
        background: linear-gradient(135deg, #10b981, #059669);
        border-radius: 6px;
        color: #ffffff !important;
        justify-content: center;
        align-items: center;
        gap: 0.25rem;
        margin-top: 0.35rem;
        box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
        text-transform: uppercase;
        letter-spacing: 0.02em;
    }

    .section-services .service-card .btn:hover,
    .section-services .service-card .btn:active {
        background: linear-gradient(135deg, #059669, #047857);
        transform: scale(1.02);
        box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    }
}

/* SMALL MOBILE: up to 575px */
@media (max-width: 575px) {
    .section-services {
        padding: 2.5rem 0;
    }

    .section-services .section-header h2 {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }

    .section-services .section-header p {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }

    .services-grid {
        gap: 1rem;
        padding: 0 0.25rem;
    }

    .section-services .service-card {
        padding: 1.25rem;
        border-radius: 14px;
    }

    .section-services .service-icon {
        width: 50px;
        height: 50px;
    }

    .section-services .service-icon i {
        font-size: 1.2rem;
    }

    .section-services .service-card h3 {
        font-size: 1rem;
        font-weight: 700;
    }

    .section-services .service-card p {
        font-size: 0.8rem;
        line-height: 1.5;
    }

    .section-services .service-price {
        font-size: 0.8rem;
    }

    .section-services .service-card .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
}

/* =========================================
   Testimonials Section - Desktop Grid
   ========================================= */
.testimonials-wrapper {
    position: relative;
    max-width: 1200px;
    /* Standardized with experts */
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
    /* Subtle box border */
    border-radius: 20px;
    padding: 2rem 1rem;
    background: rgba(15, 23, 42, 0.2);
    overflow: hidden;
    /* Prevent horizontal bleed */
}

.testimonials-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    flex-shrink: 0 !important;
    /* Ensure robustness */
}

@media (min-width: 992px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
}

/* Show slider controls on all screen sizes now */
.testimonial-slider-controls,
.team-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    position: relative;
    z-index: 10;
    /* Ensure controls stay on top */
}

/* --- Base Team Grid for Slider --- */
.section-team .team-page-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 1.5rem;
    /* Robust gaps */
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.section-team .team-member-card {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0 !important;
}

@media (min-width: 1200px) {

    .section-team .team-member-card,
    .testimonial-card {
        flex: 0 0 calc(33.333% - 1rem) !important;
        width: calc(33.333% - 1rem) !important;
        min-width: calc(33.333% - 1rem) !important;
        max-width: calc(33.333% - 1rem) !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {

    .section-team .team-member-card,
    .testimonial-card {
        flex: 0 0 calc(50% - 0.75rem) !important;
        width: calc(50% - 0.75rem) !important;
        min-width: calc(50% - 0.75rem) !important;
        max-width: calc(50% - 0.75rem) !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {

    .section-team .team-member-card,
    .testimonial-card {
        flex: 0 0 calc(50% - 0.75rem) !important;
        width: calc(50% - 0.75rem) !important;
    }
}

/* =========================================
   Mobile Sliders - Testimonials & Team
   ========================================= */
@media (max-width: 767px) {

    /* --- Testimonials Slider --- */
    /* Full-Width Mobile Slider Strategy */
    .section-testimonials .container,
    .section-team .container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0 !important;
    }

    .section-testimonials .section-header,
    .section-team .section-header {
        padding: 0 1.5rem !important;
        /* Keep headers centered with padding */
    }

    .testimonials-wrapper,
    .team-slider-wrapper {
        width: 100% !important;
        overflow: hidden !important;
        position: relative !important;
        margin: 0 !important;
    }

    /* Grid spans exact multiple of cards */
    .section-team .team-page-grid,
    .testimonials-grid {
        display: flex !important;
        grid-template-columns: none !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
        transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
        will-change: transform;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        justify-content: flex-start !important;
    }

    .testimonial-card {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin: 0 !important;
        padding: 4rem 2rem !important;
        background: transparent !important;
        border: none !important;
        flex-shrink: 0 !important;
    }

    .testimonial-rating {
        margin-bottom: 2rem !important;
        display: flex;
        gap: 0.5rem;
    }

    .testimonial-rating i {
        color: #f59e0b;
        /* Golden stars */
        font-size: 1.25rem;
    }

    .testimonial-text {
        font-size: 1.1rem;
        line-height: 1.8;
        color: #ff9d00;
        /* Golden/Orange text as per screenshot */
        margin-bottom: 2rem !important;
        max-width: 800px;
        font-weight: 500;
    }

    .author-name {
        font-size: 1.25rem !important;
        color: #60a5fa !important;
        /* Light blue/Cyan */
        text-transform: uppercase;
        letter-spacing: 0.1em;
        margin-bottom: 1rem !important;
    }

    .verified-badge {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        color: #f59e0b;
        font-weight: 600;
        font-size: 1rem;
    }

    .verified-badge i {
        font-size: 1.1rem;
    }

    /* Slider Controls Refinement */
    .testimonial-slider-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 1.5rem;
        margin-top: 3rem !important;
        position: relative;
    }

    .testimonial-prev,
    .testimonial-next {
        width: 45px;
        height: 45px;
        background: linear-gradient(135deg, #a855f7, #6366f1);
        /* Purple/Indigo gradient for icons */
        color: white;
        border: none;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
        transition: all 0.3s ease;
    }

    .testimonial-dots {
        display: flex;
        gap: 0.75rem;
        align-items: center;
    }

    .testimonial-dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.2);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .testimonial-dot.active {
        width: 32px;
        height: 10px;
        border-radius: 10px;
        background: #ef4444;
        /* Reddish active dot as per screenshot */
    }

    /* --- Team Slider --- */
    /* Edge-to-Edge logic handled in consolidated block above */

    /* Force override of responsive.css grid styles */
    /* Handled above with consolidated grid/card styles */

    .section-team .member-image-wrapper {
        max-width: 250px;
        margin: 0 auto;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
    }

    .section-team .member-image-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }

    /* Slider Controls */
    .team-slider-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
        margin-top: 2rem !important;
        /* Increased breathing room */
        position: relative;
        z-index: 10;
    }

    .team-prev,
    .team-next {
        width: 38px;
        /* Slightly smaller for mobile */
        height: 38px;
        border: none;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
        font-size: 1rem;
    }

    .team-prev:hover,
    .team-next:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    }

    .team-prev:active,
    .team-next:active {
        transform: scale(0.95);
    }

    .team-dots {
        display: flex;
        gap: 0.5rem;
        align-items: center;
    }

    .team-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #cbd5e1;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .team-dot.active {
        width: 28px;
        border-radius: 5px;
        background: linear-gradient(135deg, var(--primary), var(--secondary));
    }

    .team-dot:hover:not(.active) {
        background: #94a3b8;
    }
}

/* Desktop team grid wrapper */
.team-slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle box border */
    border-radius: 20px;
    /* Standardized radius */
    padding: 1.5rem 1rem;
    background: #f8fafc;
}

/* Mobile Product Image Fixes */
@media (max-width: 768px) {

    /* Reset container height and padding/margin to remove extra gap */
    .product-detail .main-image {
        height: auto !important;
        min-height: auto !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-bottom: 0.5rem !important;
        box-shadow: none !important;
    }

    /* Ensure image fits width and maintains aspect ratio without cropping */
    .product-detail .main-image img {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        object-fit: contain !important;
        border-radius: var(--radius);
    }

    /* Reduce gallery margin */
    .product-detail .product-gallery {
        margin-bottom: 1rem !important;
    }

    /* Reduce general section padding on mobile */
    .section,
    .product-detail {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}