/*
Theme Name: KARBÜR BURADA - Enterprise Edition
Theme URI: https://karburburada.com
Author: Enterprise WP Solutions
Author URI: https://enterprise-wp.com
Description: Kesici takım sektörü için geliştirilmiş, WooCommerce entegreli profesyonel e-ticaret teması. B2B/B2C uyumlu, çok dilli destek, SEO optimizasyonlu.
Version: 2.0.0
License: GPL v2 or later
Text Domain: karburburada
*/

/* ==================== CSS VARIABLES ==================== */
:root {
    /* Kurumsal Renk Paleti (YENİ - Kırmızı, Grafit ve Altın) */
    --primary: #E31E24;
    /* Ana Kırmızı */
    --primary-dark: #B0171C;
    /* Koyu Kırmızı */
    --primary-light: #F7575C;
    /* Açık Kırmızı */
    --accent: #E31E24;
    /* Accent de artık ana renk */
    --accent-hover: #960f13;
    /* Daha Koyu Kırmızı */

    /* Yeni Altın Rengi */
    --gold: #D4AF37;
    --gold-light: #F1D592;
    --gold-dark: #9A7B1D;
    --gold-gradient: linear-gradient(135deg, #D4AF37, #F1D592, #D4AF37);

    /* Metin renkleri */
    --text: #303030;
    --text-light: #6b7280;
    --text-muted: #9ca3af;

    /* Arka plan renkleri */
    --bg: #f9fafb;
    --white: #ffffff;
    --bg-white: #ffffff;
    --bg-dark: #1a0304;
    /* Çok koyu kırmızı/siyah karışımı footer için */
    --bg-red: #E31E24;

    /* Border ve diğer */
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --success: #059669;
    --warning: #d97706;
    --danger: #dc2626;

    /* Shadow */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Border radius */
    --radius: 8px;
    --radius-lg: 12px;
    --radius-full: 9999px;

    /* Karbur Sistem Değişkenleri */
    --kb-navy: #303030;
    /* Eski Lacivert -> Grafit */
    --kb-blue: #E31E24;
    /* Eski Mavi -> Kırmızı */
    --kb-red: #E31E24;
    --kb-gold: #D4AF37;
    --kb-text: #303030;
    --kb-text-light: #6b7280;
    --kb-border: #e5e7eb;
    --kb-bg: #f9fafb;
    --kb-white: #ffffff;
    --kb-gray: #f1f5f9;

    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    /* Disabled to prevent jump issues - scroll controlled via jQuery */
    /* scroll-behavior: smooth; */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: 140px;
    /* Fixed Header Compensation */
}

@media (max-width: 1100px) {
    body {
        padding-top: 110px;
        /* Adjusted for Header Top + Header Main */
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin-right: auto;
    margin-left: auto;
    padding-right: 20px;
    padding-left: 20px;
}

@media (max-width: 768px) {
    .container {
        padding-right: 15px;
        padding-left: 15px;
    }
}

/* Responsive Typography */
h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4.5vw, 2rem);
}

h3 {
    font-size: clamp(1.25rem, 4vw, 1.5rem);
}

h4 {
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
}

/* ==================== HEADER ==================== */
/* Sticky Header State */
.sticky-header .header-top {
    display: none;
}

.sticky-header .site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: white;
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9990;
    background: var(--bg-white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-lg);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-top {
    background: var(--bg-dark);
    /* Koyu teal - Cutron stili */
    color: rgba(255, 255, 255, 0.9);
    padding: 0.5rem 0;
    font-size: 0.875rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==================== LOGO & BRANDING ==================== */
.site-branding {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-branding a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gold-gradient);
    color: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: var(--radius);
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    white-space: nowrap;
}

.site-title span {
    color: var(--accent);
}

.site-description {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
    line-height: 1;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-contact {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.header-contact a {
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-contact a:hover {
    color: white;
}

/* Header Actions Group (Search + Button) */
.header-actions-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ==================== SEARCH BAR ==================== */
.header-search {
    position: relative;
    width: 320px;
    max-width: 100%;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input {
    width: 100%;
    padding: 0.65rem 3rem 0.65rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.search-submit {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.search-submit:hover {
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.search-submit i {
    font-size: 1rem;
}

/* Search Results Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    max-height: 400px;
    overflow-y: auto;
    z-index: 9999;
    display: none;
}

.search-result-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-light);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.search-result-item:hover,
.search-result-item.active {
    background: var(--bg);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-image {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg);
}

.search-result-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-content {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.25rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.search-result-stock {
    font-size: 0.75rem;
    color: var(--text-light);
}

.search-result-item.out-of-stock .search-result-stock {
    color: var(--accent);
}

/* Loading & Empty States */
.search-loading,
.search-no-results,
.search-error {
    padding: 1.5rem;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
}

.search-loading i {
    margin-right: 0.5rem;
    color: var(--primary);
}

.search-no-results {
    color: var(--text);
}

.search-error {
    color: var(--accent);
}

.header-actions {
    display: flex;
    gap: 1rem;
    /* Reduced from 1.5rem */
    align-items: center;
    background: transparent;
    padding: 0.5rem 1rem;
    border-radius: 0;
}

.header-actions a {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.header-actions .btn-quote {
    background: var(--primary);
    /* Koyu teal buton */
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    /* Yuvarlak köşeler */
    font-weight: 600;
    transition: var(--transition);
    border: none;
}

/* Header Actions (Sağ Taraf) */
.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-actions a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-actions a:hover {
    color: var(--accent);
}

.header-actions .btn-quote {
    background: var(--accent);
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    box-shadow: var(--shadow);
}

.header-actions .btn-quote:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Mobile Toggle - Hidden by default for desktop */
.mobile-menu-toggle {
    display: none;
}

/* Main Navigation - Desktop (Consolidated) */
@media (min-width: 1101px) {
    .main-navigation {
        flex: 1 1 auto;
        display: flex;
        justify-content: center;
        margin: 0 0.5rem;
        /* Reduced margin */
        position: relative;
        z-index: 100;
    }

    .nav-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: 0.8rem;
        /* Reduced from 1.5rem */
        justify-content: center;
    }

    .nav-item {
        position: relative;
    }

    .nav-item a {
        color: var(--text);
        text-decoration: none;
        font-weight: 600;
        font-size: 0.85rem;
        /* Reduced from 0.9375rem */
        padding: 0.5rem 0.5rem;
        /* Reduced padding */
        display: flex;
        align-items: center;
        transition: var(--transition);
        border-radius: var(--radius);
        white-space: nowrap;
    }

    .nav-menu>li:hover>a,
    .nav-menu>li.current-menu-item>a {
        color: var(--accent);
        background: rgba(220, 38, 38, 0.05);
    }

    .mobile-only {
        display: none !important;
    }
}

/* Mobile Toggle & Navigation (Broad Sweep) */
@media (max-width: 1100px) {
    .header-main {
        flex-wrap: nowrap;
        /* Prevent wrapping */
        justify-content: flex-start;
        /* Align start, use margin-auto for spacing */
    }

    .site-branding {
        order: 1;
        margin-right: auto;
        /* Push everything else to the right */
    }

    .header-actions-wrapper {
        order: 2;
    }

    .mobile-menu-toggle {
        order: 3;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: var(--primary);
        color: white;
        border: none;
        width: 40px;
        /* Slightly smaller */
        height: 40px;
        border-radius: 8px;
        font-size: 1.25rem;
        cursor: pointer;
        z-index: 2001;
        transition: var(--transition);
        margin-left: 0.75rem;
        /* Space from actions */
    }

    .mobile-menu-toggle:hover {
        background: var(--accent);
    }

    /* Ensure Account & Compare are visible on mobile in header */
    .header-actions-wrapper {
        display: flex !important;
        align-items: center;
        gap: 0.75rem;
    }

    .header-account span,
    .header-cart span:not(.cart-count) {
        display: none !important;
        /* Hide text on mobile, keep icons */
    }

    .header-compare,
    .header-account,
    .header-cart {
        font-size: 1.25rem;
        color: var(--primary);
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        position: relative;
    }

    .main-navigation {
        position: fixed;
        top: 0;
        right: 0;
        width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        padding: 80px 20px 20px;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        /* Start off-screen */
        display: block !important;
        z-index: 2000;
        overflow-y: auto;
        visibility: hidden;
    }

    .main-navigation.active {
        transform: translateX(0);
        visibility: visible;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
        display: flex;
    }

    .nav-item {
        width: 100%;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-item a {
        padding: 1rem 0;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-weight: 600;
        color: var(--text);
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding-left: 1rem !important;
        display: none !important;
        border: none !important;
    }

    .dropdown-menu.active {
        display: block !important;
    }
}

/* Dropdown Menu */
.menu-item-has-children .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    z-index: 9999;
    border: 1px solid var(--border-light);
    text-align: left;
    display: block;
    /* Keep block but use visibility/opacity for animation */
    /* Prevent clicks when hidden */
}

/* Bridge the gap between menu item and dropdown */
.menu-item-has-children .dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.menu-item-has-children:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

/* Dropdown items */
.dropdown-menu li {
    margin: 0;
    display: block;
    width: 100%;
    position: relative;
    /* For sub-menu positioning */
}

.dropdown-menu a {
    padding: 0.75rem 1.25rem;
    white-space: nowrap;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.2s;
    border-bottom: 1px solid transparent;
}

.dropdown-menu a:hover {
    background: var(--bg-light);
    color: var(--primary);
    padding-left: 1.5rem;
    /* Slide effect */
}

/* ==================== MULTI-LEVEL DROPDOWN SUPPORT (SIDEBAR) ==================== */

/* Parent Link with Arrow */
.dropdown-menu .menu-item-has-children>a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Submenu Position (Right Flyout) */
.dropdown-menu .sub-menu {
    position: absolute;
    top: 0;
    left: 100%;
    /* Move to right */
    background: #ffffff;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    padding: 0.5rem 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease-in-out;
    border: 1px solid var(--border-light);
    z-index: 10000;
    /* Higher than parent */
    pointer-events: none;
    margin-left: 0;
    /* Reset */
    transform: translateX(10px);
}

/* Show Submenu on Hover */
.dropdown-menu li.menu-item-has-children:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

/* Sub-menu items styling override */
.dropdown-menu .sub-menu li {
    margin-bottom: 0;
}

.dropdown-menu .sub-menu a {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
    color: var(--text-light);
}

.dropdown-menu .sub-menu a:hover {
    background-color: var(--bg-light);
    color: var(--primary);
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold);
}

/* Mobile Adjustments */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin-top: 10px;
        display: none;
        /* JS toggle handles this generally, but default hidden */
    }

    .dropdown-menu .sub-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
        display: none;
        /* Hide submenus by default on mobile */
        visibility: visible;
        opacity: 1;
        transform: none;
        margin-top: 0;
        background: transparent;
        min-width: auto;
    }

    .nav-item.active .dropdown-menu {
        display: block;
    }

    /* Reveal submenus on hover/focus - simpler for now, ideally JS click */
    .dropdown-menu .menu-item-has-children:hover>.sub-menu {
        display: block;
    }
}

.dropdown-menu a:hover {
    background: var(--bg);
    color: var(--primary);
}

/* Header Actions */
.header-actions {
    position: relative;
    z-index: 50;
    /* Menüden düşük olmalı */
    margin-left: auto;
    /* Sağa yasla */
}

/* İletişim Butonu Özelleştirme */
.header-actions .btn-quote {
    background: #ffffff;
    /* Beyaz arka plan */
    color: var(--accent) !important;
    /* Kırmızı yazı */
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    animation: pulse-border 2s infinite;
    border: 2px solid white;
    /* Beyaz çerçeve */
}

.header-actions .btn-quote:hover {
    background: var(--bg-red);
    /* Hoverda hafif kırmızımsı beyaz */
    color: var(--accent-hover) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Nabız Animasyonu */
@keyframes pulse-border {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

/* Menüden düşük olmalı */

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    gap: 1rem;
    position: relative;
    width: 100%;
    /* Ensure full occupancy of container */
}

/* Mobile Nav rules consolidated above in Turn 4 fix */

/* Flex children management */
.header-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.header-main>.site-branding {
    flex-shrink: 0;
}

.header-main>.header-actions-wrapper {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-left: auto;
    /* Push to right */
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 0 0 auto;
    margin-right: auto;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
}

.site-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}

.site-title span {
    color: var(--accent);
}

.site-description {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Navigation Styles consolidated above */

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 240px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    list-style: none;
    padding: 0.5rem 0;
    border: 1px solid var(--border-light);
    z-index: 1001;
}

.nav-menu>li:hover>.dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu>li>a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.25rem;
    color: var(--text);
    font-size: 0.9375rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.dropdown-menu>li>a:hover {
    background: var(--bg);
    color: var(--accent);
    border-left-color: var(--accent);
    padding-left: 1.5rem;
}

/* Header Actions Containers */
.header-compare-wrapper,
.header-account-wrapper,
.header-cart-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.header-compare,
.header-account {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-weight: 600;
    padding: 0.4rem 0.6rem;
    border-radius: var(--radius);
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
}

.header-compare:hover,
.header-account:hover {
    background: var(--bg);
    color: var(--accent);
}


.header-cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: var(--bg);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    font-size: 0.9rem;
}

.header-cart:hover {
    background: var(--border-light);
}

.cart-icon {
    font-size: 1rem;
    color: var(--primary);
}

.header-cart i {
    font-size: 1rem !important;
    /* Override inline styles if present */
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-amount {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* Mini Cart Dropdown */
.mini-cart-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 380px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 1002;
    border: 1px solid var(--border-light);
}

.header-cart-wrapper:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-light);
    font-weight: 600;
    color: var(--primary);
}

.mini-cart-items {
    max-height: 320px;
    overflow-y: auto;
    padding: 1rem;
}

.mini-cart-item {
    display: grid;
    grid-template-columns: 60px 1fr auto;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-light);
}

.mini-cart-item:last-child {
    border-bottom: none;
}

.mini-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg);
}

.mini-cart-item-details h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: var(--text);
}

.mini-cart-item-details .quantity {
    color: var(--text-light);
    font-size: 0.875rem;
}

.mini-cart-item-price {
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

.mini-cart-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-light);
    background: var(--bg);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.mini-cart-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    /* Koyu teal - Cutron primary */
    color: white;
}

.btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--bg-dark);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--accent);
    /* Kırmızı/turuncu - Cutron accent */
    color: white;
}

.btn-secondary:hover {
    background: var(--accent-hover);
}

/* Turuncu gradient buton - Cutron stili */
.btn-gradient {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1.125rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
}

/* Consolidated above */

/* ==================== PAGE HEADER ==================== */
.page-header {
    margin-top: 120px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><path d="M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z" fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"/></svg>');
    opacity: 0.3;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-title span {
    color: var(--accent);
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    opacity: 0.9;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumbs a:hover {
    color: white;
}

.breadcrumbs i {
    font-size: 0.75rem;
    opacity: 0.6;
}

/* ==================== CONTENT ==================== */
.site-content {
    padding: 3rem 0;
    min-height: 600px;
}

.content-area {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

/* ==================== BUTTONS ==================== */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-outline {
    border: 2px solid var(--border);
    background: transparent;
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(220, 38, 38, 0.05);
}

/* ==================== PRODUCT GRID ==================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* Cutron Stili - Gradient Ürün Kartı */
.product-card-gradient {
    background: var(--accent-gradient);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.3);
    transition: var(--transition);
    position: relative;
    padding: 2rem;
    color: white;
    text-align: center;
}

.product-card-gradient:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 107, 0, 0.4);
}

.product-card-gradient h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.product-card-gradient .btn {
    background: white;
    color: var(--accent-light);
    font-weight: 600;
}

.product-card-gradient .btn:hover {
    background: rgba(255, 255, 255, 0.9);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--accent);
    color: white;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    text-align: center;
    line-height: 1.2;
}

.product-badge.out-of-stock {
    background: var(--text-muted);
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.product-image img {
    max-height: 80%;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    bottom: 0;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.product-action-btn:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}

.product-info {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}

.product-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    line-height: 1.4;
    color: var(--text);
}

.product-title a:hover {
    color: var(--accent);
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.product-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
}

.product-price ins {
    text-decoration: none;
    color: var(--accent);
}

.product-price del {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.add-to-cart {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background: var(--accent);
    transform: scale(1.1);
}

/* ==================== SINGLE PRODUCT ==================== */
.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.product-gallery {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.product-gallery-main {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border-radius: var(--radius);
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-gallery-main img {
    max-height: 90%;
    transition: transform 0.3s ease;
}

.product-gallery-thumbs {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.product-gallery-thumbs img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg);
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--accent);
}

.product-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
}

.product-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.product-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.product-sku {
    color: var(--text-light);
    font-size: 0.875rem;
}

.product-price-single {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.product-price-single .currency {
    font-size: 1.25rem;
    font-weight: 600;
}

.stock-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.stock-available {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
}

.stock-low {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning);
}

.stock-critical {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger);
}

.stock-out {
    background: rgba(156, 163, 175, 0.1);
    color: var(--text-muted);
}

/* Technical Specs */
.technical-specs {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--accent);
}

.technical-specs h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.specs-table {
    width: 100%;
    font-size: 0.9375rem;
}

.specs-table tr {
    border-bottom: 1px solid var(--border-light);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table th,
.specs-table td {
    padding: 0.75rem 0;
    text-align: left;
}

.specs-table th {
    color: var(--text-light);
    font-weight: 500;
    width: 40%;
}

.specs-table td {
    font-weight: 600;
    color: var(--text);
}

/* Quantity and Add to Cart */
.cart-form {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.quantity-btn {
    width: 48px;
    height: 48px;
    border: none;
    background: var(--bg);
    color: var(--text);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--border);
}

.quantity-input {
    width: 60px;
    height: 48px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.125rem;
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.btn-add-to-cart {
    flex: 1;
    height: 48px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.btn-add-to-cart:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-add-to-cart:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
}

/* Product Tabs */
.product-tabs {
    margin-top: 4rem;
}

.tabs-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border-light);
    margin-bottom: 2rem;
}

.tab-link {
    padding: 1rem 2rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.tab-link:hover {
    color: var(--text);
}

.tab-link.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.tab-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== CART PAGE ==================== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
}

.cart-table {
    width: 100%;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.cart-table-header {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 1fr 1fr 50px;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--primary);
    color: white;
    font-weight: 600;
    font-size: 0.9375rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 2fr 1fr 1fr 1fr 50px;
    gap: 1rem;
    padding: 1.5rem 1.25rem;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.cart-item-details h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.cart-item-meta {
    font-size: 0.875rem;
    color: var(--text-light);
}

.cart-item-price,
.cart-item-subtotal {
    font-weight: 700;
    color: var(--primary);
}

.remove-item {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--bg);
    color: var(--danger);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background: var(--danger);
    color: white;
}

.cart-summary {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 140px;
}

.cart-summary h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-light);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.summary-row.total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    padding-top: 1rem;
    border-top: 2px solid var(--border-light);
    margin-top: 1rem;
}

.coupon-form {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
}

.coupon-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* ==================== CHECKOUT ==================== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 3rem;
}

.checkout-form {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.form-row {
    margin-bottom: 1.5rem;
}

.form-row label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text);
    font-size: 0.9375rem;
}

.form-row input,
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: var(--transition);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.form-row-wide {
    width: 100%;
}

.form-row-first,
.form-row-last {
    width: calc(50% - 0.75rem);
    float: left;
}

.form-row-first {
    margin-right: 1.5rem;
}

.checkout-sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.order-review {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 2px solid var(--border);
}

.order-review h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.review-table {
    width: 100%;
    margin-bottom: 1.5rem;
}

.review-table th,
.review-table td {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-light);
}

.review-table th {
    text-align: left;
    font-weight: 600;
}

.review-table td {
    text-align: right;
}

.review-table .product-name {
    text-align: left;
    font-weight: 500;
}

.review-table .product-quantity {
    color: var(--text-light);
    font-size: 0.875rem;
}

.search-button {
    background: var(--gold-gradient);
    color: var(--bg-dark);
    border: none;
    padding: 0 1.5rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.search-button:hover {
    filter: brightness(1.1);
}

/* Checkout Custom Fields Styling */
.kb-tc-field,
.kb-corporate-field {
    transition: var(--transition);
}

.kb-customer-type select {
    border: 2px solid var(--gold);
    background-color: #fff9e6;
    font-weight: 600;
}

#billing_tc_no_field label,
#billing_tax_office_field label,
#billing_tax_no_field label {
    font-weight: 700;
    color: var(--kb-navy);
}

/* Telefon Zorunlu Görünümü */
#billing_phone_field .optional {
    display: none !important;
}

#billing_phone_field label::after {
    content: " *";
    color: #e31e24;
    margin-left: 4px;
}


/* Checkout Grid Layout */
.kb-checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
}

/* Responsive Checkout Form */
@media (max-width: 768px) {
    .kb-checkout-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }

    .kb-checkout-grid>div {
        grid-column: 1 !important;
    }

    .kb-checkout-form .kb-checkout-grid>div>div {
        padding: 1.5rem !important;
    }

    .woocommerce form .form-row {
        float: none !important;
        width: 100% !important;
        margin: 0 0 1rem 0 !important;
    }

    .woocommerce form .form-row-first,
    .woocommerce form .form-row-last {
        width: 100% !important;
        float: none !important;
    }
}

/* Fix Country Dropdown - Make it selectable */
#billing_country_field .select2-container,
#shipping_country_field .select2-container {
    pointer-events: auto !important;
    cursor: pointer !important;
}

#billing_country_field .select2-selection,
#shipping_country_field .select2-selection {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

#billing_country_field .select2-selection__rendered,
#shipping_country_field .select2-selection__rendered {
    color: #333 !important;
    background: transparent !important;
}

/* Archive Layout Refinements */
.kb-archive-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    margin-top: 30px;
}

@media (max-width: 991px) {
    .kb-archive-layout {
        grid-template-columns: 1fr;
    }

    .kb-sidebar {
        order: -1;
        margin-bottom: 20px;
    }
}

.place-order-btn {
    width: 100%;
    padding: 1.25rem;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: var(--radius);
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.place-order-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==================== MY ACCOUNT ==================== */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.account-nav {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: fit-content;
}

.account-nav-header {
    background: var(--primary);
    color: white;
    padding: 1.5rem;
}

.account-nav-header h3 {
    font-size: 1.125rem;
    font-weight: 700;
}

.account-nav-header p {
    font-size: 0.875rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

.account-menu {
    list-style: none;
    padding: 1rem 0;
}

.account-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.account-menu li a:hover,
.account-menu li.is-active a {
    background: var(--bg);
    color: var(--accent);
    border-left-color: var(--accent);
}

.account-menu li a i {
    width: 24px;
    text-align: center;
    color: var(--text-light);
}

.account-menu li a:hover i,
.account-menu li.is-active a i {
    color: var(--accent);
}

.account-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.account-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

/* Dashboard Cards */
.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Orders Table */
.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th,
.orders-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.orders-table th {
    background: var(--bg);
    font-weight: 600;
    color: var(--text-light);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-processing {
    background: rgba(217, 119, 6, 0.1);
    color: var(--warning);
}

.status-completed {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
}

.status-cancelled {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger);
}

/* ==================== SERVICES PAGE ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.service-image {
    height: 220px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* ==================== ALERTS ==================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.alert-success {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
    border: 1px solid rgba(5, 150, 105, 0.2);
}

.alert-error {
    background: rgba(220, 38, 38, 0.1);
    color: var(--danger);
    border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ==================== SIDEBAR ==================== */
.sidebar {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 3px solid var(--accent);
    color: var(--primary);
}

.widget ul {
    list-style: none;
}

.widget li {
    margin-bottom: 0.75rem;
}

.widget li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
}

.widget li a:hover {
    color: var(--accent);
}

.widget .count {
    background: var(--bg);
    color: var(--text-light);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* ==================== FOOTER ==================== */
.site-footer {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a0304 100%);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding: 4rem 0;
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: white;
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-brand p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: white;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links a::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.footer-contact i {
    color: var(--accent);
    margin-top: 0.25rem;
    font-size: 1.125rem;
    min-width: 20px;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .header-main {
        display: flex;
        /* Switch to flex for easier alignment control */
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        position: relative;
    }

    .site-branding {
        flex: 1;
    }

    .header-cart-wrapper {
        margin-left: auto;
        /* Push to right */
        margin-right: 1rem;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-top: 1px solid var(--border-light);
        padding: 1rem 0;
    }

    .main-navigation.toggled {
        display: block;
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-item {
        width: 100%;
        margin: 0;
    }

    .nav-item a {
        display: block;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--border-light);
        width: 100%;
    }

    .nav-item:last-child a {
        border-bottom: none;
    }

    /* Show mobile items in drawer */
    .mobile-nav-item {
        display: block !important;
    }

    /* Submenu handling for mobile */
    .nav-item.menu-item-has-children:hover .sub-menu,
    .nav-item.menu-item-has-children .sub-menu {
        position: static;
        box-shadow: none;
        background: var(--bg);
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        /* JS push might be needed, or we let them hover/click */
        padding-left: 1rem;
    }

    .nav-item.menu-item-has-children:hover .sub-menu {
        display: block;
    }

    .menu-toggle {
        display: block;
        order: 3;
        font-size: 1.5rem;
        background: none;
        border: none;
        color: var(--primary);
        cursor: pointer;
        padding: 0.5rem;
    }

    .single-product-layout,
    .cart-layout,
    .checkout-layout,
    .account-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary,
    .checkout-sidebar,
    .account-nav {
        position: static;
        order: -1;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    .page-title {
        font-size: 2rem;
    }

    .products-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .cart-table-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .cart-item>*:not(.cart-item-image):not(.cart-item-details) {
        grid-column: 2;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .site-content {
        padding: 2rem 0;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    animation: slideUp 0.5s ease forwards;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* References Slider */
.references-section {
    overflow: hidden;
}

.slider-container {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.slider-track {
    display: flex;
    width: calc(250px * 16);
    /* 8 slides * 2 (duplicate) * width */
    animation: scroll 40s linear infinite;
}

.slide {
    width: 250px;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo {
    background: white;
    width: 100%;
    height: 120px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-light, #3b82f6);
}

.partner-logo img {
    max-width: 80%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-250px * 8));
    }
}

@media (max-width: 768px) {
    .slider-track {
        width: calc(150px * 16);
    }

    .slide {
        width: 150px;
    }

    .partner-logo {
        height: 100px;
    }

    @keyframes scroll {
        0% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(calc(-150px * 8));
        }
    }
}

/* ==================== HERO SLIDER ==================== */
.hero-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: -40px;
    /* Header override */
}

.hero-slider {
    position: relative;
    height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: white;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(48, 48, 48, 0.95) 0%, rgba(26, 3, 4, 0.85) 100%);
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 3;
}

/* Animations */
.hero-slide .slide-content {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.3s;
}

.hero-slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-slide .slide-image {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.5s;
}

.hero-slide.active .slide-image {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 15px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.slider-arrow.prev {
    left: 40px;
}

.slider-arrow.next {
    right: 40px;
}

/* --- Features Section --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.hero-slide-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-desc {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.text-accent {
    color: var(--accent);
}

.hero-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-placeholder-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    color: #1e293b;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.payment-icons {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    color: #cbd5e1;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }

    /* --- Features & Content --- */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    /* --- Hero Slider Mobile --- */
    .hero-slide-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .hero-title {
        font-size: 1.75rem !important;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-placeholder-card {
        padding: 1.5rem;
    }

    .hero-slider {
        height: auto;
        min-height: 400px;
    }

    .hero-slide {
        padding: 60px 0;
    }

    .hero-slide:not(.active) {
        display: none;
    }

    .slider-arrow {
        display: none;
    }

    .hero-slide .slide-image {
        display: none !important;
    }

    /* --- Header & Logo Mobile --- */
    .header-main {
        padding: 0.5rem 0;
        gap: 0.5rem;
    }

    .site-branding {
        flex: 0 1 auto;
        min-width: 0;
        max-width: 70%;
    }

    .logo-icon {
        width: 36px !important;
        height: 36px !important;
        font-size: 0.85rem !important;
        flex-shrink: 0;
    }

    .brand-text {
        overflow: hidden;
    }

    .site-title {
        font-size: 1.1rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .site-description {
        display: none !important;
    }

    /* Hide Account/Compare wrappers completely on mobile */
    .header-compare-wrapper,
    .header-account-wrapper {
        display: none !important;
    }

    /* Simplify Cart */
    .header-cart .cart-amount {
        display: none;
    }

    .header-cart {
        padding: 0.4rem;
        background: transparent;
    }

    .header-cart i {
        font-size: 1.2rem !important;
    }

    /* Menu Toggle Button */
    .menu-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        background: none;
        border: none;
        color: var(--primary);
        cursor: pointer;
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    /* --- Mobile Search --- */
    .mobile-search-item {
        padding: 1rem;
        border-bottom: 2px solid var(--border-light);
        margin-bottom: 1rem;
    }

    .mobile-search-item .search-form {
        margin-bottom: 0;
    }

    .mobile-search-item .search-input {
        background: var(--bg);
        color: var(--text);
        border-color: var(--border-light);
    }

    .mobile-search-item .search-input:focus {
        background: white;
        border-color: var(--primary);
    }

    .mobile-search-item .search-submit {
        color: var(--primary);
    }

    .mobile-search-item .search-results-dropdown {
        position: relative;
        top: 0.5rem;
        margin-top: 0.5rem;
    }

    /* Hide desktop search on mobile */
    .header-search {
        display: none;
    }

    /* --- Spacing & Grids --- */
    .page-header {
        margin-top: 65px;
        padding: 1.5rem 0;
    }

    .hero-wrapper {
        margin-top: 0;
        padding-top: 65px;
    }

    .products-grid,
    .services-grid,
    .footer-grid,
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        padding: 3rem 0;
        gap: 2rem;
    }

    .cart-table-header {
        display: none;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: 1rem;
    }

    .cart-item>*:not(.cart-item-image):not(.cart-item-details) {
        grid-column: 2;
    }

    .site-content {
        padding: 1.5rem 0;
    }
}

/* Header Interactions (Wrappers) */
.header-compare-wrapper,
.header-account-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    margin-right: 2.5rem;
    /* Increased spacing to prevent accidental cart hover */
    z-index: 1005;
    /* Base Z-index */
}

.header-compare-wrapper:hover,
.header-account-wrapper:hover {
    z-index: 1010;
    /* Bring to front on hover */
}

/* Specific Z-index for Cart Wrapper to prevent it covering others unless hovered */
.header-cart-wrapper {
    z-index: 1004;
}

.header-cart-wrapper:hover {
    z-index: 1010;
}

.header-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    /* consistent spacing pushed down */
    right: 0;
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    padding: 1.5rem;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e2e8f0;
}

.header-compare-wrapper:hover .header-dropdown,
.header-account-wrapper:hover .header-dropdown {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Compare Dropdown Items */
.compare-dropdown-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.compare-dropdown-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.compare-dropdown-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
}

.compare-dropdown-item h4 {
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
    color: #334155;
}

.compare-remove {
    color: #ef4444;
    cursor: pointer;
    font-size: 0.8rem;
}

/* Account Dropdown Links */
.account-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu-list li {
    margin-bottom: 0.5rem;
}

.account-menu-list li:last-child {
    margin-bottom: 0;
}

.account-menu-list a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 6px;
    color: #334155;
    transition: background 0.2s;
    font-weight: 500;
}

.account-menu-list a:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.account-menu-list i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* ==============================================
   🚀 2500 YEAR FUTURISTIC PREMIUM ENHANCEMENTS
   ============================================== */

/* ==================== ENHANCED CSS VARIABLES ==================== */
:root {
    /* Futuristic Neon Colors */
    --neon-blue: #00d4ff;
    --neon-purple: #a855f7;
    --neon-pink: #ec4899;
    --neon-cyan: #22d3ee;
    --neon-green: #10b981;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-blur: blur(20px);

    /* Premium Gradients */
    --gradient-premium: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-sunset: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-ocean: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-aurora: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-cosmic: linear-gradient(135deg, #1e3a8a 0%, #7c3aed 50%, #db2777 100%);
    --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);

    /* Enhanced Shadows */
    --shadow-glow-blue: 0 0 20px rgba(0, 212, 255, 0.4);
    --shadow-glow-purple: 0 0 20px rgba(168, 85, 247, 0.4);
    --shadow-glow-accent: 0 0 30px rgba(220, 38, 38, 0.3);
    --shadow-premium: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-3d: 0 20px 40px -15px rgba(30, 58, 95, 0.3);

    /* Animation Timing */
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ==================== ANIMATED BACKGROUND GRADIENTS ==================== */
@keyframes gradient-shift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(0, 212, 255, 0.4), 0 0 60px rgba(0, 212, 255, 0.2);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scale-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes slide-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* ==================== GLASSMORPHISM COMPONENTS ==================== */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
}

.glass-dark {
    background: rgba(30, 58, 95, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==================== PREMIUM BUTTON STYLES ==================== */
.btn-futuristic {
    position: relative;
    padding: 1rem 2rem;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.4s var(--ease-bounce);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.btn-futuristic:hover::before {
    left: 100%;
}

.btn-futuristic:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-premium), var(--shadow-glow-accent);
}

.btn-neon {
    background: transparent;
    border: 2px solid var(--neon-blue);
    color: var(--neon-blue);
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.3), inset 0 0 10px rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.btn-neon:hover {
    background: var(--neon-blue);
    color: #000;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6), 0 0 60px rgba(0, 212, 255, 0.3);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.btn-gradient {
    background: var(--gradient-cosmic);
    background-size: 200% 200%;
    color: white;
    border: none;
    animation: gradient-shift 3s ease infinite;
}

.btn-gradient:hover {
    animation: gradient-shift 1s ease infinite;
    transform: translateY(-3px);
    box-shadow: var(--shadow-premium);
}

/* Shimmer effect on buttons */
.btn-shimmer {
    position: relative;
    overflow: hidden;
}

.btn-shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* ==================== ENHANCED CARD DESIGNS ==================== */
.card-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.6s var(--ease-smooth);
}

.card-3d:hover {
    transform: rotateY(5deg) rotateX(5deg) translateZ(20px);
}

.card-float {
    animation: float 6s ease-in-out infinite;
}

.card-premium {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.05),
        0 10px 20px rgba(0, 0, 0, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s var(--ease-bounce);
}

.card-premium:hover {
    transform: translateY(-12px);
    box-shadow:
        0 12px 24px rgba(0, 0, 0, 0.08),
        0 24px 48px rgba(0, 0, 0, 0.1),
        0 48px 80px rgba(0, 0, 0, 0.08);
}

/* Gradient border cards */
.card-gradient-border {
    position: relative;
    background: white;
    border-radius: 20px;
    padding: 2rem;
    z-index: 1;
}

.card-gradient-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: var(--gradient-cosmic);
    border-radius: 23px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-gradient-border:hover::before {
    opacity: 1;
}

/* ==================== FUTURISTIC FORM INPUTS ==================== */
.input-futuristic {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--border);
    border-radius: 16px;
    outline: none;
    transition: all 0.3s var(--ease-smooth);
}

.input-futuristic:focus {
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1), var(--shadow-lg);
    transform: translateY(-2px);
}

.input-futuristic::placeholder {
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.input-futuristic:focus::placeholder {
    opacity: 0.5;
    transform: translateX(10px);
}

/* Floating label inputs */
.input-floating-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-floating {
    width: 100%;
    padding: 1.5rem 1rem 0.5rem;
    font-size: 1rem;
    background: white;
    border: 2px solid var(--border);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
}

.input-floating-label {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    background: white;
    padding: 0 0.25rem;
}

.input-floating:focus+.input-floating-label,
.input-floating:not(:placeholder-shown)+.input-floating-label {
    top: 0;
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
}

.input-floating:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

/* ==================== SKELETON LOADING ==================== */
@keyframes skeleton-loading {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 4px;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.skeleton-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
}

/* ==================== MODERN BADGES ==================== */
.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 50px;
    background: var(--gradient-cosmic);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.badge-glow {
    animation: pulse-glow 2s infinite;
}

.badge-new {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.badge-hot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.badge-sale {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

/* ==================== ENHANCED PRODUCT CARDS ==================== */
.product-card-futuristic {
    position: relative;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s var(--ease-bounce);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.product-card-futuristic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-cosmic);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.product-card-futuristic:hover::before {
    transform: scaleX(1);
}

.product-card-futuristic:hover {
    transform: translateY(-16px) scale(1.02);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.12),
        0 0 40px rgba(124, 58, 237, 0.1);
}

.product-card-futuristic .product-image {
    position: relative;
    overflow: hidden;
}

.product-card-futuristic .product-image img {
    transition: transform 0.7s var(--ease-smooth);
}

.product-card-futuristic:hover .product-image img {
    transform: scale(1.15);
}

/* Gradient price display */
.price-gradient {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
    font-size: 1.75rem;
}

.price-gradient-large {
    font-size: 2.5rem;
}

/* ==================== PREMIUM NAVIGATION ENHANCEMENTS ==================== */
.nav-item-futuristic {
    position: relative;
}

.nav-item-futuristic::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gradient-cosmic);
    border-radius: 2px;
    transition: width 0.4s var(--ease-bounce);
}

.nav-item-futuristic:hover::after {
    width: 100%;
}

/* Mega Menu Enhancement */
.mega-menu-futuristic {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-smooth);
    min-width: 600px;
}

.nav-item-futuristic:hover .mega-menu-futuristic {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ==================== SCROLL ANIMATIONS ==================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-smooth);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll.delay-1 {
    transition-delay: 0.1s;
}

.animate-on-scroll.delay-2 {
    transition-delay: 0.2s;
}

.animate-on-scroll.delay-3 {
    transition-delay: 0.3s;
}

.animate-on-scroll.delay-4 {
    transition-delay: 0.4s;
}

/* Staggered animations */
.stagger-children>* {
    opacity: 0;
    transform: translateY(30px);
    animation: slide-up 0.6s var(--ease-smooth) forwards;
}

.stagger-children>*:nth-child(1) {
    animation-delay: 0.1s;
}

.stagger-children>*:nth-child(2) {
    animation-delay: 0.2s;
}

.stagger-children>*:nth-child(3) {
    animation-delay: 0.3s;
}

.stagger-children>*:nth-child(4) {
    animation-delay: 0.4s;
}

.stagger-children>*:nth-child(5) {
    animation-delay: 0.5s;
}

.stagger-children>*:nth-child(6) {
    animation-delay: 0.6s;
}

/* ==================== MORPHING BACKGROUNDS ==================== */
.bg-morph {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

.bg-cosmic {
    background: var(--gradient-cosmic);
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

.bg-aurora {
    background: linear-gradient(45deg,
            #ff6b6b, #c56cf0, #7d5fff, #00d2d3, #54a0ff, #ff6b6b);
    background-size: 300% 300%;
    animation: gradient-shift 10s ease infinite;
}

/* Particle effect backgrounds */
.bg-particles {
    position: relative;
    overflow: hidden;
}

.bg-particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(255, 255, 255, 0.05) 0%, transparent 30%);
    pointer-events: none;
}

/* ==================== PREMIUM HERO SECTIONS ==================== */
.hero-futuristic {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: var(--gradient-cosmic);
    overflow: hidden;
}

.hero-futuristic::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate-gradient 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title-futuristic {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    color: white;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-subtitle-futuristic {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 1.5rem;
    max-width: 600px;
}

/* ==================== ENHANCED TOOLTIPS ==================== */
.tooltip-premium {
    position: relative;
}

.tooltip-premium::before {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) scale(0.8);
    padding: 0.75rem 1.25rem;
    background: var(--primary);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-bounce);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.tooltip-premium::after {
    content: '';
    position: absolute;
    bottom: calc(100% + 2px);
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--primary);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-bounce);
}

.tooltip-premium:hover::before,
.tooltip-premium:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) scale(1);
}

/* ==================== ENHANCED MODAL DESIGN ==================== */
.modal-futuristic {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-futuristic.active {
    opacity: 1;
    visibility: visible;
}

.modal-content-futuristic {
    background: white;
    border-radius: 32px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: transform 0.5s var(--ease-bounce);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.3);
}

.modal-futuristic.active .modal-content-futuristic {
    transform: scale(1) translateY(0);
}

/* ==================== SCROLL PROGRESS INDICATOR ==================== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-cosmic);
    z-index: 9999;
    transition: width 0.1s ease;
}

/* ==================== ENHANCED FOOTER ==================== */
/* ==================== ENHANCED FOOTER PREMIUM V2 ==================== */
/* FORCED SPECIFICITY */
html body.home .site-footer.footer-premium,
html body .site-footer.footer-premium {
    background: #0f172a !important;
    color: rgba(255, 255, 255, 0.9) !important;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-footer.footer-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.5;
    z-index: 2;
}

/* Subtle Scanline Overlay */
.site-footer.footer-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
        linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
    background-size: 100% 4px, 3px 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.2;
}

.footer-premium .footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-premium .logo-icon {
    background: var(--primary);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(227, 30, 36, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-premium .logo-icon::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
}

.footer-premium h4 {
    color: white;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.footer-premium h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.footer-premium .footer-links li {
    margin-bottom: 0.75rem;
    transition: transform 0.3s var(--ease-bounce);
}

.footer-premium .footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-premium .footer-links a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-premium .footer-links a::before {
    content: '→';
    font-size: 0.8rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-premium .footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
    color: var(--primary);
}

/* Social Icons Glow */
.footer-social .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
    transition: all 0.4s var(--ease-bounce);
}

.footer-social .social-link:hover {
    background: var(--primary);
    transform: translateY(-5px) rotate(8deg);
    box-shadow: 0 10px 20px rgba(227, 30, 36, 0.4);
    border-color: var(--primary-light);
}

/* Glassmorphism Bottom Bar */
/* Glassmorphism Bottom Bar - Premium V3 */
.footer-premium .footer-bottom {
    margin-top: 4rem;
    padding: 2.5rem 0;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 10;
    overflow: hidden;
}

/* Moving Light Reflection (Sweep) */
.footer-premium .footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.03) 55%,
            transparent 100%);
    animation: reflection-sweep 8s infinite linear;
    pointer-events: none;
}

@keyframes reflection-sweep {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(50%);
    }
}

/* Tech Animated Lines */
.footer-tech-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    overflow: hidden;
}

.tech-line {
    position: absolute;
    top: 0;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    animation: tech-line-move 4s infinite linear;
}

.tech-line:nth-child(2) {
    animation-delay: -2s;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
}

@keyframes tech-line-move {
    0% {
        left: -150px;
    }

    100% {
        left: 100%;
    }
}

.footer-premium .copyright-text {
    font-weight: 500;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Shimmering Brand Text */
.footer-premium .copyright-text strong {
    color: white;
    background: linear-gradient(120deg,
            #ffffff 0%,
            #ffffff 40%,
            var(--primary-light) 50%,
            #ffffff 60%,
            #ffffff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer-text 5s linear infinite;
}

@keyframes shimmer-text {
    to {
        background-position: 200% center;
    }
}

/* Voxelon "Heartbeat" Premium Badge */
.voxelon-badge {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    padding: 6px 14px !important;
    border-radius: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    color: #ef4444 !important;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

.voxelon-badge::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(239, 68, 68, 0.2) 0%, transparent 70%);
    opacity: 0;
    animation: heartbeat 3s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        opacity: 0;
        transform: scale(0.8);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.voxelon-badge:hover {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.6) !important;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* Cutron Premium Animated Link */
.cutron-link {
    color: #ffffff !important;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cutron-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    background-size: 200% auto;
    animation: cutron-line-shimmer 3s infinite linear;
}

@keyframes cutron-line-shimmer {
    0% {
        background-position: -100% 0;
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }

    100% {
        background-position: 100% 0;
        opacity: 0.3;
    }
}

.cutron-link:hover {
    color: var(--primary-light) !important;
    text-shadow: 0 0 10px rgba(227, 30, 36, 0.4);
    transform: translateY(-1px);
}

.cutron-link:hover::after {
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

@media (max-width: 768px) {
    .site-footer.footer-premium {
        padding-top: 3rem;
    }

    .footer-premium .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 20px !important;
    }
}

/* ==================== RESPONSIVE DESIGN ENHANCEMENTS ==================== */

/* Extra Small Devices (phones, 320px - 480px) */
@media (max-width: 480px) {
    :root {
        --radius: 12px;
        --radius-lg: 16px;
    }

    .hero-title-futuristic {
        font-size: 2rem;
    }

    .card-premium {
        padding: 1.25rem;
        border-radius: 16px;
    }

    .btn-futuristic {
        padding: 0.875rem 1.5rem;
        font-size: 0.875rem;
    }

    .modal-content-futuristic {
        padding: 1.5rem;
        border-radius: 24px;
    }

    .price-gradient {
        font-size: 1.25rem;
    }

    .price-gradient-large {
        font-size: 1.75rem;
    }
}

/* Small Devices (landscape phones, 481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .hero-title-futuristic {
        font-size: 2.5rem;
    }

    .card-premium {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .mega-menu-futuristic {
        min-width: 100%;
        left: 0;
        transform: translateY(20px);
    }

    .nav-item-futuristic:hover .mega-menu-futuristic {
        transform: translateY(0);
    }
}

/* Medium Devices (tablets, 768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-futuristic {
        min-height: 60vh;
    }

    .hero-title-futuristic {
        font-size: 3.5rem;
    }

    .mega-menu-futuristic {
        min-width: 500px;
    }
}

/* Large Devices (desktops, 1024px - 1279px) */
@media (min-width: 1024px) and (max-width: 1279px) {
    .hero-title-futuristic {
        font-size: 4.5rem;
    }
}

/* Extra Large Devices (large desktops, 1280px+) */
@media (min-width: 1280px) {
    .hero-title-futuristic {
        font-size: 5rem;
    }

    .card-premium:hover {
        transform: translateY(-16px);
    }
}

/* Ultra Wide Screens (1536px+) */
@media (min-width: 1536px) {
    .container {
        max-width: 1536px;
    }

    .hero-title-futuristic {
        font-size: 6rem;
    }

    .card-premium {
        padding: 2.5rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) {
    .card-3d:hover {
        transform: none;
    }

    .product-card-futuristic:hover {
        transform: translateY(-8px);
    }

    .btn-futuristic:hover {
        transform: translateY(-2px);
    }

    .card-premium:hover {
        transform: translateY(-6px);
    }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .card-float {
        animation: none;
    }

    .bg-morph,
    .bg-cosmic,
    .bg-aurora {
        animation: none;
    }
}

/* Dark Mode Support (Optional Enhancement) */
@media (prefers-color-scheme: dark) {
    .card-premium {
        background: #1e293b;
        border-color: rgba(255, 255, 255, 0.1);
    }

    .input-futuristic {
        background: rgba(30, 41, 59, 0.9);
        border-color: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .input-futuristic:focus {
        background: #1e293b;
    }

    .glass-card {
        background: rgba(30, 41, 59, 0.7);
        border-color: rgba(255, 255, 255, 0.1);
    }
}

/* Print Styles */
@media print {

    .hero-futuristic,
    .bg-morph,
    .bg-cosmic {
        background: white !important;
        color: black !important;
    }

    .btn-futuristic,
    .badge-premium {
        border: 1px solid #333;
        background: white;
        color: #333;
        box-shadow: none;
    }
}

/* ==================== ENHANCED EXISTING COMPONENTS ==================== */

/* Enhanced Site Header */
.site-header {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.95);
}

.site-header.scrolled {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* Enhanced Logo */
.logo-icon {
    background: var(--gradient-cosmic);
    background-size: 200% 200%;
    animation: gradient-shift 5s ease infinite;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Enhanced Navigation Items */
.nav-menu .nav-item a {
    position: relative;
}

.nav-menu .nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--gradient-cosmic);
    border-radius: 2px;
    transition: width 0.4s var(--ease-bounce);
}

.nav-menu .nav-item a:hover::after {
    width: 80%;
}

/* Enhanced Dropdown Menus */
.menu-item-has-children .dropdown-menu {
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.98);
}

.dropdown-menu a {
    border-radius: 10px;
    transition: all 0.3s var(--ease-smooth);
}

.dropdown-menu a:hover {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05), rgba(124, 58, 237, 0.05));
    padding-left: 1.5rem;
}

/* Enhanced Buttons */
.btn,
.btn-primary,
.btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-bounce);
}

.btn::before,
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before,
.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
}

/* Enhanced Product Grid Items */
.product-grid-item {
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s var(--ease-bounce);
}

.product-grid-item:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Enhanced Trust Icons */
.trust-icons .trust-icon {
    transition: all 0.4s var(--ease-bounce);
}

.trust-icons .trust-icon:hover {
    transform: translateY(-8px) scale(1.05);
}

/* Enhanced Footer */
.site-footer {
    background: linear-gradient(180deg, var(--primary) 0%, #0f172a 100%);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 20%, rgba(124, 58, 237, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 212, 255, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.footer-links a {
    transition: all 0.3s var(--ease-smooth);
}

.footer-links a:hover {
    color: var(--neon-cyan);
    transform: translateX(5px);
}

/* Enhanced Search */
.header-search .search-input {
    border-radius: 50px;
    transition: all 0.4s var(--ease-bounce);
}

.header-search .search-input:focus {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

/* Enhanced WhatsApp Widget */
.whatsapp-widget {
    animation: pulse-glow 3s infinite;
}

.whatsapp-widget:hover {
    transform: scale(1.1);
    box-shadow: 0 0 40px rgba(37, 211, 102, 0.5);
}

/* Enhanced Toast Notifications */
.toast {
    border-radius: 16px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* Enhanced Breadcrumbs */
.breadcrumb a {
    transition: all 0.3s var(--ease-smooth);
}

.breadcrumb a:hover {
    color: var(--neon-cyan);
}

/* Loading Spinner Enhancement */
@keyframes spin-gradient {
    0% {
        transform: rotate(0deg);
        border-color: var(--primary) transparent transparent transparent;
    }

    25% {
        border-color: var(--neon-purple) transparent transparent transparent;
    }

    50% {
        border-color: var(--neon-pink) transparent transparent transparent;
    }

    75% {
        border-color: var(--neon-cyan) transparent transparent transparent;
    }

    100% {
        transform: rotate(360deg);
        border-color: var(--primary) transparent transparent transparent;
    }
}

.loading-spinner-premium {
    width: 50px;
    height: 50px;
    border: 4px solid transparent;
    border-radius: 50%;
    animation: spin-gradient 1s linear infinite;
}

/* ==================== CROSS-BROWSER COMPATIBILITY ==================== */

/* Safari Fixes */
@supports (-webkit-touch-callout: none) {

    .glass-card,
    .glass-dark {
        background: rgba(255, 255, 255, 0.85);
    }
}

/* Firefox Fixes */
@-moz-document url-prefix() {

    .glass-card,
    .glass-dark {
        background: rgba(255, 255, 255, 0.9);
    }
}

/* IE/Edge Legacy Fallbacks */
@supports not (backdrop-filter: blur(20px)) {
    .glass-card {
        background: rgba(255, 255, 255, 0.95);
    }

    .site-header {
        background: white;
    }

    .menu-item-has-children .dropdown-menu {
        background: white;
    }
}

/* Appearance standardization */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* ==============================================
   🛒 WOOCOMMERCE PREMIUM PRODUCT STYLES
   ============================================== */

/* Product Archive/Shop Page Layout */
.woocommerce-page .site-content,
.archive .site-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Result Count - Centered */
.woocommerce-result-count {
    text-align: center !important;
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%);
    border-radius: 50px;
    display: inline-block;
    font-weight: 500;
}

/* Ordering Dropdown */
.woocommerce-ordering {
    margin-bottom: 2rem;
}

.woocommerce-ordering select {
    padding: 0.75rem 2rem 0.75rem 1rem;
    border: 2px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.woocommerce-ordering select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.1);
}

/* Products Grid Container */
.woocommerce ul.products,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Individual Product Items */
.woocommerce ul.products li.product,
ul.products li.product {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    float: none !important;
    text-align: center !important;
}

/* Override WooCommerce Default Product Card */
.woocommerce ul.products li.product {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

/* Sale Badge */
.woocommerce ul.products li.product .onsale,
.onsale {
    position: absolute !important;
    top: 1rem !important;
    right: 1rem !important;
    left: auto !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    z-index: 10 !important;
    min-width: auto !important;
    min-height: auto !important;
    line-height: 1 !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4) !important;
}

/* Product Image Container */
.woocommerce ul.products li.product a img,
ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    object-fit: contain !important;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%) !important;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    border-bottom: 1px solid var(--border-light);
}

.woocommerce ul.products li.product:hover a img {
    transform: scale(1.1) !important;
}

/* Product Title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
ul.products li.product h2 {
    text-align: center !important;
    padding: 1.5rem 1.5rem 0.5rem !important;
    margin: 0 !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    color: var(--primary) !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    min-height: 3.2em !important;
}

/* Product Title Link */
.woocommerce ul.products li.product a {
    text-decoration: none !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title:hover,
ul.products li.product h2:hover {
    color: var(--accent) !important;
}

/* Star Rating */
.woocommerce ul.products li.product .star-rating,
ul.products li.product .star-rating {
    margin: 0.5rem auto !important;
    display: block !important;
}

/* Product Price */
.woocommerce ul.products li.product .price,
ul.products li.product .price {
    text-align: center !important;
    padding: 0.5rem 1.5rem 1rem !important;
    margin: 0 !important;
    font-size: 1.75rem !important;
    font-weight: 800 !important;
    color: var(--accent) !important;
    background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Price - Regular + Sale */
.woocommerce ul.products li.product .price del,
ul.products li.product .price del {
    font-size: 1rem !important;
    color: var(--text-muted) !important;
    background: none !important;
    -webkit-text-fill-color: var(--text-muted) !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

.woocommerce ul.products li.product .price ins,
ul.products li.product .price ins {
    text-decoration: none !important;
    display: block !important;
}

/* Add to Cart Button */
.woocommerce ul.products li.product .button,
ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
    display: block !important;
    width: calc(100% - 3rem) !important;
    margin: 0 1.5rem 1.5rem !important;
    padding: 1rem !important;
    background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
    text-align: center !important;
}

.woocommerce ul.products li.product .button:hover,
ul.products li.product .button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.5) !important;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%) !important;
}

/* View Product Button (Variable products) */
.woocommerce ul.products li.product .product_type_variable,
.woocommerce ul.products li.product .product_type_grouped {
    background: linear-gradient(135deg, var(--primary) 0%, #2a5080 100%) !important;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3) !important;
}

.woocommerce ul.products li.product .product_type_variable:hover,
.woocommerce ul.products li.product .product_type_grouped:hover {
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.5) !important;
}

/* Added to Cart */
.woocommerce ul.products li.product .added_to_cart {
    display: block !important;
    width: calc(100% - 3rem) !important;
    margin: 0.5rem 1.5rem 1.5rem !important;
    padding: 0.75rem !important;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-align: center !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

/* Shop Page Header */
.woocommerce-products-header,
.page-header {
    text-align: center !important;
    margin-bottom: 3rem !important;
}

.woocommerce-products-header__title,
.page-title {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    margin-bottom: 0.5rem !important;
}

/* Archive Description */
.term-description,
.woocommerce-products-header__description {
    text-align: center !important;
    max-width: 700px !important;
    margin: 0 auto 2rem !important;
    color: var(--text-light) !important;
    font-size: 1.1rem !important;
    line-height: 1.7 !important;
}

/* Shop Controls (Result count + Ordering) */
.woocommerce-notices-wrapper+.woocommerce-result-count,
.woocommerce-notices-wrapper+.woocommerce-ordering {
    margin-bottom: 2rem;
}

/* Flexbox layout for controls */
.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
    float: none !important;
    display: inline-block;
    vertical-align: middle;
    margin: 0 0.5rem 2rem;
}

/* Center the controls wrapper */
.woocommerce-page .content-area::before,
.archive .content-area::before {
    content: '';
    display: block;
    clear: both;
}

/* Breadcrumb */
.woocommerce-breadcrumb {
    text-align: center !important;
    padding: 1rem 0 !important;
    margin-bottom: 2rem !important;
    color: var(--text-light) !important;
    font-size: 0.9rem !important;
}

.woocommerce-breadcrumb a {
    color: var(--primary) !important;
    transition: color 0.2s !important;
}

.woocommerce-breadcrumb a:hover {
    color: var(--accent) !important;
}

/* Pagination */
.woocommerce-pagination {
    margin-top: 3rem !important;
    text-align: center !important;
}

.woocommerce-pagination ul {
    display: flex !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    list-style: none !important;
    padding: 0 !important;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 48px !important;
    height: 48px !important;
    background: white !important;
    border: 2px solid var(--border) !important;
    border-radius: 12px !important;
    color: var(--text) !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.woocommerce-pagination ul li a:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: white !important;
}

.woocommerce-pagination ul li span.current {
    background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%) !important;
    border-color: var(--accent) !important;
    color: white !important;
}

/* No Products Found */
.woocommerce-info {
    text-align: center !important;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.05) 0%, rgba(124, 58, 237, 0.05) 100%) !important;
    padding: 3rem !important;
    border-radius: 24px !important;
    border: none !important;
    color: var(--text) !important;
}

/* Responsive Grid */
@media (max-width: 768px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .woocommerce ul.products li.product .button,
    ul.products li.product .button {
        width: calc(100% - 2rem) !important;
        margin: 0 1rem 1rem !important;
        padding: 0.75rem !important;
        font-size: 0.875rem !important;
    }

    .woocommerce ul.products li.product .price {
        font-size: 1.25rem !important;
    }

    .woocommerce ul.products li.product .woocommerce-loop-product__title {
        font-size: 0.9rem !important;
        padding: 1rem 1rem 0.5rem !important;
    }
}

@media (max-width: 480px) {

    .woocommerce ul.products,
    ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* Premium Card Override - For our custom template */
.product-card-premium {
    text-align: center !important;
}

.product-card-premium .product-info-premium {
    text-align: center !important;
}

.product-card-premium .product-info-premium h3,
.product-card-premium .product-info-premium span,
.product-card-premium .product-info-premium div {
    text-align: center !important;
}

/* Top Bar Centered */
.woocommerce-result-count,
.woocommerce-ordering {
    text-align: center;
}

/* Wrapper for shop controls */
.woocommerce-notices-wrapper {
    text-align: center !important;
}

/* Override left-aligned defaults */
.woocommerce ul.products li.product *,
ul.products li.product * {
    text-align: center;
}

/* ==================== WooCommerce Tabs Styling - AGGRESSIVE OVERRIDE ==================== */
.woocommerce div.product .woocommerce-tabs,
.woocommerce-tabs,
div.woocommerce-tabs {
    margin-top: 3rem !important;
    background: var(--bg-white) !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden !important;
    border: 1px solid var(--border-light) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs,
.woocommerce-tabs ul.tabs,
.woocommerce-tabs>ul.tabs,
ul.tabs.wc-tabs,
.wc-tabs {
    display: flex !important;
    flex-wrap: wrap !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%) !important;
    gap: 0 !important;
    border-bottom: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
ul.tabs.wc-tabs::before,
ul.tabs.wc-tabs::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li,
.woocommerce-tabs ul.tabs li,
ul.tabs.wc-tabs li,
.wc-tabs li {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    display: block !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
    display: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a,
.woocommerce-tabs ul.tabs li a,
ul.tabs.wc-tabs li a,
.wc-tabs li a {
    display: block !important;
    padding: 1.25rem 2rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
    border-bottom: 4px solid transparent !important;
    background: transparent !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce-tabs ul.tabs li a:hover,
ul.tabs.wc-tabs li a:hover,
.wc-tabs li a:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active,
.woocommerce-tabs ul.tabs li.active,
ul.tabs.wc-tabs li.active,
.wc-tabs li.active {
    background: rgba(255, 255, 255, 0.1) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li.active a,
ul.tabs.wc-tabs li.active a,
.wc-tabs li.active a {
    color: white !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-bottom-color: var(--accent) !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce-tabs .woocommerce-Tabs-panel,
.woocommerce-Tabs-panel,
.wc-tab {
    padding: 2.5rem !important;
    background: white !important;
}

.woocommerce div.product .woocommerce-tabs .woocommerce-Tabs-panel h2,
.woocommerce-tabs .woocommerce-Tabs-panel h2,
.woocommerce-Tabs-panel h2,
.wc-tab h2 {
    color: var(--primary) !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 1rem !important;
    border-bottom: 2px solid var(--border-light) !important;
}

/* Reviews Section */
.woocommerce-Reviews {
    padding: 0 !important;
}

#reviews #comments {
    padding: 0;
}

#reviews .commentlist {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

#reviews .commentlist li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: var(--bg);
    border-radius: var(--radius);
    border: 1px solid var(--border-light);
}

#reviews .comment_container {
    display: flex;
    gap: 1rem;
}

#reviews .comment_container img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

#reviews .comment-text {
    flex: 1;
}

#reviews .star-rating {
    margin-bottom: 0.5rem;
}

#reviews .meta {
    margin-bottom: 0.75rem;
}

#reviews .meta strong {
    color: var(--primary);
    font-weight: 600;
}

#reviews .description p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Review Form */
#review_form_wrapper {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-light);
}

#review_form .comment-reply-title {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

#review_form .comment-form-rating {
    margin-bottom: 1rem;
}

#review_form .comment-form-rating label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

#review_form .comment-form-comment textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

#review_form .comment-form-comment textarea:focus {
    outline: none;
    border-color: var(--primary);
}

#review_form .form-submit input[type="submit"] {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 99px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#review_form .form-submit input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(30, 58, 138, 0.3);
}

/* Account Layout Styles */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

.account-nav {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    height: fit-content;
}

.account-nav-header {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    padding: 1.5rem;
    text-align: center;
    color: white;
}

.account-nav-header h3 {
    margin: 0 0 0.25rem 0;
    font-size: 1.25rem;
    font-weight: 700;
}

.account-nav-header p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.8;
}

.account-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.account-menu li {
    border-bottom: 1px solid var(--border-light);
}

.account-menu li:last-child {
    border-bottom: none;
}

.account-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    color: var(--text);
    text-decoration: none;
    transition: all 0.2s ease;
}

.account-menu li a i {
    width: 20px;
    text-align: center;
    color: var(--primary);
}

.account-menu li a:hover {
    background: var(--bg);
    color: var(--primary);
}

.account-menu li.is-active a {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.account-menu li.logout a {
    color: var(--accent);
}

.account-menu li.logout a i {
    color: var(--accent);
}

.account-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: 2rem;
}

/* Responsive Account Layout */
@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-nav {
        margin-bottom: 1rem;
    }
}

/* ==================== SINGLE PRODUCT PREMIUM STYLING ==================== */

/* Technical Specs Table - Glassmorphism */
.technical-specs {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(249, 250, 251, 0.95) 100%);
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid rgba(30, 58, 138, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.technical-specs h4 {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid linear-gradient(90deg, var(--accent), transparent);
}

.technical-specs h4 i {
    color: var(--accent);
    font-size: 1.5rem;
}

.technical-specs .specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.technical-specs .specs-table tr {
    transition: background 0.2s ease;
}

.technical-specs .specs-table tr:nth-child(even) {
    background: rgba(30, 58, 138, 0.03);
}

.technical-specs .specs-table tr:hover {
    background: rgba(220, 38, 38, 0.05);
}

.technical-specs .specs-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    color: white;
    width: 40%;
    font-size: 0.9375rem;
    border-bottom: 2px solid var(--accent);
}

.technical-specs .specs-table td {
    padding: 1rem 1.25rem;
    color: var(--text);
    font-weight: 500;
    border-bottom: 1px solid var(--border-light);
}

.technical-specs .specs-table tr:last-child td {
    border-bottom: none;
}

/* PDF Download Button */
.technical-specs .pdf-download a {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.technical-specs .pdf-download a:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(239, 68, 68, 0.45);
}

/* Single Product Cart Form */
.single_add_to_cart_button,
.cart .btn-primary,
form.cart button[type="submit"] {
    background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 99px !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.single_add_to_cart_button:hover,
.cart .btn-primary:hover,
form.cart button[type="submit"]:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(220, 38, 38, 0.5);
}

/* Compare Button */
.btn-compare-add {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%) !important;
    color: white !important;
    padding: 1rem 2rem !important;
    border-radius: 99px !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.35);
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1rem !important;
}

.btn-compare-add:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.45);
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%) !important;
}

/* SWIPER GALLERY */
.product-main-slider {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 1rem;
    background: #fff;
    /* White background for transparent PNGs */
    border: 1px solid var(--border-light);
}

.product-main-slider .swiper-slide {
    height: 300px;
    /* Reduced to 300px optimized */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .product-main-slider .swiper-slide {
        height: 220px;
        /* Smaller on mobile */
    }

    .single-product .container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.product-summary {
    padding-left: 2rem;
    /* Space between image and text on desktop */
}

@media (max-width: 992px) {
    .product-summary {
        padding-left: 0;
        margin-top: 2rem;
    }
}

.product-main-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Prevents stretching */
    max-height: 450px;
}

/* Premium Quantity Selector */
.quantity {
    display: flex;
    align-items: center;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.quantity .qty,
.quantity input[type="number"] {
    width: 70px;
    height: 52px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
    background: transparent;
}

.quantity .qty:focus {
    outline: none;
}

/* Remove spinner for number inputs */
.quantity input[type="number"]::-webkit-inner-spin-button,
.quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity input[type="number"] {
    -moz-appearance: textfield;
}

/* Stock Status Badges - Enhanced */
.stock-status {
    padding: 1.25rem 2rem !important;
    border-radius: 16px !important;
    font-weight: 700 !important;
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.stock-status.stock-available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.stock-status.stock-low {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

.stock-status.stock-critical {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    animation: pulse-urgent 2s infinite;
}

.stock-status.stock-out {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
}

@keyframes pulse-urgent {

    0%,
    100% {
        box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
    }

    50% {
        box-shadow: 0 8px 35px rgba(239, 68, 68, 0.6);
    }
}

/* Product Meta Info Bar */
.product-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    border-radius: var(--radius-lg);
    margin-top: 2rem;
    color: white;
}

.product-meta-bar .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.product-meta-bar .meta-item i {
    opacity: 0.8;
}

.product-meta-bar .meta-item a {
    color: white;
    text-decoration: none;
    transition: opacity 0.2s;
}

.product-meta-bar .meta-item a:hover {
    opacity: 0.8;
}

/* Single Product Summary Enhancements */
.product-summary-section {
    padding: 2rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

/* Gallery Enhancement */
.product-gallery-main {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f9fafb 100%);
    border-radius: 24px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--border-light);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.product-gallery-main:hover {
    border-color: var(--accent);
    box-shadow: 0 25px 70px rgba(220, 38, 38, 0.15);
}

/* Responsive Single Product */
@media (max-width: 992px) {
    .single-product-layout {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    .product-summary-section {
        padding: 1.5rem;
    }

    .technical-specs {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .product-summary-section h1 {
        font-size: 2rem !important;
    }

    .single_add_to_cart_button,
    .btn-compare-add {
        padding: 0.875rem 1.5rem !important;
        font-size: 0.95rem !important;
    }

    .stock-status {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* ==================== WOOCOMMERCE AGGRESSIVE OVERRIDES ==================== */

/* Stock Status - WooCommerce Default Override */
.woocommerce div.product p.stock,
.woocommerce div.product .stock,
p.stock,
.stock {
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin: 1.5rem 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
}

.woocommerce div.product p.stock.in-stock,
.woocommerce div.product .stock.in-stock,
p.stock.in-stock,
.stock.in-stock,
.stock-available {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

.woocommerce div.product p.stock.out-of-stock,
.woocommerce div.product .stock.out-of-stock,
p.stock.out-of-stock,
.stock.out-of-stock,
.stock-out {
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(107, 114, 128, 0.4) !important;
}

.stock.stock-low,
.stock-low {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4) !important;
}

.stock.stock-critical,
.stock-critical {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4) !important;
    animation: pulse-urgent 2s infinite;
}

/* Quantity Input - WooCommerce Default Override */
.woocommerce div.product form.cart div.quantity,
.woocommerce div.product form.cart .quantity,
.woocommerce .quantity,
form.cart .quantity {
    display: flex !important;
    align-items: center !important;
    border: 2px solid var(--border) !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    background: white !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
    margin-right: 1rem !important;
}

.woocommerce div.product form.cart div.quantity input.qty,
.woocommerce .quantity input.qty,
.woocommerce .quantity input[type="number"],
form.cart .quantity input.qty,
input.qty {
    width: 60px !important;
    height: 52px !important;
    border: none !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    color: var(--primary) !important;
    background: transparent !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
    appearance: textfield !important;
}

.woocommerce .quantity input[type="number"]::-webkit-inner-spin-button,
.woocommerce .quantity input[type="number"]::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button,
input.qty::-webkit-outer-spin-button {
    -webkit-appearance: none !important;
    margin: 0 !important;
}

/* Add to Cart Button - WooCommerce Default Override */
.woocommerce div.product form.cart button.single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce button.button.alt,
.woocommerce button.single_add_to_cart_button,
button.single_add_to_cart_button,
.single_add_to_cart_button {
    background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%) !important;
    color: white !important;
    padding: 1rem 2.5rem !important;
    border-radius: 99px !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.45) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    min-height: 54px !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.woocommerce div.product form.cart button.single_add_to_cart_button:hover,
.woocommerce button.button.alt:hover,
button.single_add_to_cart_button:hover,
.single_add_to_cart_button:hover {
    transform: translateY(-4px) scale(1.02) !important;
    box-shadow: 0 12px 40px rgba(220, 38, 38, 0.55) !important;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%) !important;
}

/* Cart Form Layout */
.woocommerce div.product form.cart,
form.cart {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-top: 1.5rem !important;
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 16px !important;
    border: 1px solid var(--border-light) !important;
}

/* Price Styling for Single Product */
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce div.product .price {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: var(--accent) !important;
    margin-bottom: 1rem !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del,
.woocommerce div.product .price del {
    font-size: 1.25rem !important;
    color: var(--text-muted) !important;
    opacity: 0.6 !important;
    font-weight: 500 !important;
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce div.product .price ins {
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--accent) 0%, #ef4444 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Product Title */
.woocommerce div.product .product_title,
.product_title {
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    color: var(--primary) !important;
    margin-bottom: 1rem !important;
    line-height: 1.2 !important;
}

/* Rating Stars */
/* ==================== WOOCOMMERCE SINGLE PRODUCT RESPONSIVENESS ==================== */
@media (max-width: 768px) {
    .woocommerce div.product {
        display: flex !important;
        flex-direction: column !important;
    }

    .woocommerce div.product div.images,
    .woocommerce div.product div.summary,
    .woocommerce-product-gallery,
    .woocommerce-product-gallery__wrapper,
    .woocommerce-product-gallery__image {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    .woocommerce div.product div.images {
        margin-bottom: 2rem !important;
    }

    .woocommerce div.product div.summary {
        margin-top: 0 !important;
    }

    /* Prevent Horizontal Scroll */
    .woocommerce-product-gallery .flex-viewport {
        width: 100% !important;
        height: auto !important;
    }

    /* Fix Content/Image Overflow in Tabs (Technical Drawings) */
    .woocommerce-Tabs-panel img,
    .woocommerce-product-details__short-description img,
    .product-content img,
    #tab-description img,
    img {
        max-width: 100% !important;
        height: auto !important;
    }

    .woocommerce-Tabs-panel,
    .woocommerce-Tabs-panel table {
        overflow-x: auto !important;
        display: block !important;
        width: 100% !important;
    }
}

.woocommerce-product-rating {
    display: flex !important;
    align-items: center !important;
    gap: 1rem !important;
    margin-bottom: 1.5rem !important;
    padding: 0.75rem 1.25rem !important;
    background: rgba(251, 191, 36, 0.1) !important;
    border-radius: 99px !important;
    width: fit-content !important;
}

.woocommerce div.product .star-rating,
.star-rating {
    color: #fbbf24 !important;
    font-size: 1rem !important;
}

.woocommerce div.product .woocommerce-review-link,
.woocommerce-review-link {
    color: var(--text-light) !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.woocommerce div.product .woocommerce-review-link:hover {
    color: var(--accent) !important;
}

/* Short Description */
.woocommerce div.product .woocommerce-product-details__short-description,
.woocommerce-product-details__short-description {
    padding: 1.5rem !important;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%) !important;
    border-radius: 12px !important;
    border-left: 4px solid var(--accent) !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.8 !important;
    color: var(--text) !important;
}

/* Product Meta (SKU, Categories, Tags) */
.woocommerce div.product .product_meta,
.product_meta {
    padding: 1.5rem !important;
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%) !important;
    border-radius: 12px !important;
    margin-top: 2rem !important;
    color: white !important;
}

.woocommerce div.product .product_meta>span,
.product_meta>span {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    font-size: 0.9rem !important;
}

.woocommerce div.product .product_meta>span:last-child {
    margin-bottom: 0 !important;
}

.woocommerce div.product .product_meta a,
.product_meta a {
    color: rgba(255, 255, 255, 0.9) !important;
    text-decoration: none !important;
    transition: opacity 0.2s !important;
}

.woocommerce div.product .product_meta a:hover {
    opacity: 0.8 !important;
}

/* ==================== RELATED PRODUCTS SLIDER ==================== */
.related-products-slider-wrapper {
    overflow: visible;
}

.related-products-slider {
    overflow: hidden;
}

.related-products-slider .swiper-slide {
    height: auto;
    display: flex;
}

.related-products-slider .product-card {
    width: 100%;
    margin-bottom: 0 !important;
}

.related-next,
.related-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.related-next::after,
.related-prev::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
}

.related-next::after {
    content: '\f054';
    /* fa-chevron-right */
}

.related-prev::after {
    content: '\f053';
    /* fa-chevron-left */
}

.related-next:hover,
.related-prev:hover {
    background: var(--accent) !important;
    color: white !important;
    transform: translateY(-50%) scale(1.1);
}

.swiper-pagination-bullet-active {
    background: var(--accent) !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ==================== PERFORMANCE OPTIMIZATIONS (Lag Fix 2.0) ==================== */

/* Hardware Acceleration Hints */
.product-card,
.hero-banner,
.category-card,
.animate-on-scroll {
    will-change: transform, opacity;
}

/* Containment for heavy unrelated sections */
.site-footer,
.widget-area,
.related-products {
    contain: content;
}

/* Mobile Optimizations - Disable heavy filters & effects */
@media (max-width: 1024px) {

    *,
    *::before,
    *::after {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    /* Fallback backgrounds for glassmorphism elements */
    .header-main,
    .mobile-menu,
    .glass-effect,
    .premium-card,
    .floating-bar {
        background: rgba(255, 255, 255, 0.98) !important;
    }

    /* Disable expensive Layout Thrashing hover effects on touch */
    .product-card:hover,
    .category-card:hover,
    .btn:hover {
        transform: none !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    }

    /* Disable Parallax via CSS just in case JS doesn't catch it */
    .parallax,
    .hero-banner {
        background-attachment: scroll !important;
        background-position: center !important;
    }

    /* ==================== SINGLE PRODUCT TECH SPECS ==================== */
    .tech-specs-section {
        padding: 2rem 0;
        margin-top: 2rem;
        border-top: 1px solid var(--border-light);
    }

    .tech-grid {
        display: grid;
        gap: 2rem;
    }

    @media (min-width: 1024px) {
        .tech-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .tech-card {
        background: white;
        border-radius: 16px;
        padding: 2rem;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
        border: 1px solid var(--border-light);
        height: 100%;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .tech-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    }

    .iso-row {
        margin-bottom: 0.5rem;
        padding: 0.5rem;
        border-radius: 8px;
    }

    .iso-row:hover {
        background: #f9fafb;
    }

    /* ==================== SWIPER GALLERY STYLES ==================== */
    .swiper-button-next,
    .swiper-button-prev {
        width: 44px !important;
        height: 44px !important;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        color: var(--primary) !important;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        backdrop-filter: blur(4px);
        transition: all 0.2s ease;
    }

    .swiper-button-next:after,
    .swiper-button-prev:after {
        font-size: 1.2rem !important;
        font-weight: bold;
    }

    .swiper-button-next:hover,
    .swiper-button-prev:hover {
        background: var(--primary);
        color: white !important;
        transform: scale(1.1);
    }

    .product-gallery-thumbs .swiper-slide {
        opacity: 0.6;
        transition: opacity 0.3s ease;
    }

    .product-gallery-thumbs .swiper-slide-thumb-active {
        opacity: 1;
        border-color: var(--primary) !important;
    }

    .product-gallery-section {
        opacity: 0;
        transition: opacity 0.5s ease;
    }

    .product-gallery-section.loaded {
        opacity: 1;
    }
}

/* ==================== TEKNIK VARYASYONLAR TABLOSU ==================== */
/* Frontend product page technical variations table - force visibility */
.karbur-tech-variations-wrapper {
    margin-top: 2.5rem;
}

.karbur-tech-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff !important;
}

.karbur-tech-table thead {
    background: linear-gradient(135deg, #303030 0%, #1a0304 100%) !important;
}

.karbur-tech-table thead tr {
    background: linear-gradient(135deg, #303030 0%, #1a0304 100%) !important;
}

.karbur-tech-table thead th {
    background: linear-gradient(135deg, #303030 0%, #1a0304 100%) !important;
    color: #ffffff !important;
    padding: 1rem !important;
    text-align: center !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
}

.karbur-tech-table tbody td {
    padding: 0.875rem;
    text-align: center;
    color: #1f2937 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.karbur-tech-table tbody tr:nth-child(even) td {
    background: #fafafa !important;
}

.karbur-tech-table tbody tr:hover td {
    background: #f0f9ff !important;
}

/* ==================== FULL CHECKUP FIXES ==================== */
/* High contrast for archive and page headers */
.kb-archive-header,
.page-header-premium {
    background: var(--primary) !important;
    /* Fallback */
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%) !important;
    color: white !important;
}

.kb-archive-header h1,
.page-header-premium h1 {
    color: white !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Fix for WooCommerce "Ürünler" page specifically if background fails */
.post-type-archive-product .kb-archive-header {
    background-color: var(--primary) !important;
}

/* ==================== HOMEPAGE SLIDER ==================== */
.kb-hero-slider {
    position: relative;
    width: 100%;
    height: clamp(400px, 60vh, 550px);
    overflow: hidden;
    margin-top: 0;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Individual Slides */
.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

/* Slide Backgrounds */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide-1 .slide-bg {
    background: linear-gradient(135deg, #E31E24 0%, #B0171C 50%, #7a0f12 100%);
}

.slide-2 .slide-bg {
    background: linear-gradient(135deg, #303030 0%, #1a1a1a 50%, #000000 100%);
}

.slide-3 .slide-bg {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
}

/* Pattern Overlay */
.slide-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.5'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Slide Content */
.slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

/* Slide Animation on Active */
.slide.active .slide-content {
    animation: slideContentIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideContentIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide Icon */
.slide-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

.slide-icon i {
    font-size: 2rem;
    color: white;
}

.slide-3 .slide-icon i {
    color: #303030;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

/* Slide Title */
.slide-title {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-main {
    display: block;
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    font-weight: 800;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.slide-3 .title-main {
    color: #303030;
    text-shadow: none;
}

.title-accent {
    display: block;
    font-size: clamp(1.25rem, 4vw, 2rem);
    font-weight: 700;
    background: linear-gradient(90deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-3 .title-accent {
    background: linear-gradient(90deg, #E31E24 0%, #B0171C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Slide Description */
.slide-desc {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.slide-3 .slide-desc {
    color: rgba(48, 48, 48, 0.9);
}

/* Slide Buttons */
.slide-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-slider {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.btn-slider-primary {
    background: #fbbf24;
    color: #1f2937;
    box-shadow: 0 10px 25px rgba(251, 191, 36, 0.4);
}

.btn-slider-primary:hover {
    background: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(251, 191, 36, 0.5);
    color: #1f2937;
}

.slide-3 .btn-slider-primary {
    background: #E31E24;
    color: white;
    box-shadow: 0 10px 25px rgba(227, 30, 36, 0.4);
}

.slide-3 .btn-slider-primary:hover {
    background: #B0171C;
    box-shadow: 0 15px 35px rgba(227, 30, 36, 0.5);
}

.btn-slider-outline {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-slider-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    transform: translateY(-3px);
    color: white;
}

.slide-3 .btn-slider-outline {
    background: rgba(48, 48, 48, 0.1);
    color: #303030;
    border-color: rgba(48, 48, 48, 0.5);
}

.slide-3 .btn-slider-outline:hover {
    background: rgba(48, 48, 48, 0.2);
    border-color: #303030;
    color: #303030;
}

/* Category Buttons in Slide 2 */
.slide-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.slide-cat-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.slide-cat-btn:hover {
    background: white;
    color: #303030;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    z-index: 20;
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

.slider-arrow:hover {
    background: white;
    color: var(--primary);
    border-color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .slider-arrow {
        width: 44px;
        height: 44px;
    }

    .slider-prev {
        left: 1rem;
    }

    .slider-next {
        right: 1rem;
    }
}

.slider-arrow i {
    font-size: 1rem;
}

/* Slider Dots */
.slider-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

.dot.active {
    background: white;
    border-color: white;
    transform: scale(1.3);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Slider Responsive */
@media (max-width: 768px) {
    .kb-hero-slider {
        height: clamp(350px, 70vh, 500px);
    }

    .slide-content {
        padding: 1.5rem;
    }

    .slide-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .slide-icon i {
        font-size: 1.5rem;
    }

    .btn-slider {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .slider-nav {
        bottom: 1.5rem;
        gap: 1rem;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
    }

    .slide-cat-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .kb-hero-slider {
        height: clamp(380px, 80vh, 480px);
    }

    .slide-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-slider {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .slider-arrow {
        display: none;
    }

    .slide-categories {
        flex-direction: column;
        align-items: center;
    }

    .slide-cat-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

/* ==================== REFERENCES SECTION SLIDER ==================== */
.references-section {
    overflow: hidden;
}

.refs-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.refs-slider-track {
    display: flex;
    animation: scroll-refs 30s linear infinite;
    width: max-content;
}

.refs-slide {
    flex: 0 0 auto;
    width: 180px;
    padding: 0 15px;
}

.partner-logo {
    background: white;
    padding: 25px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
    max-width: 120px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scroll-refs {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.refs-slider-container:hover .refs-slider-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .refs-slide {
        width: 150px;
        padding: 0 10px;
    }

    .partner-logo {
        padding: 20px 15px;
        min-height: 100px;
    }
}

/* ==================== HOMEPAGE FEATURED PRODUCTS GRID ==================== */
.products-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

/* Custom Product Card (kb-product-card) styling */
.kb-product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid var(--border-light);
    position: relative;
    text-decoration: none !important;
}

.kb-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: rgba(227, 30, 36, 0.2);
}

.kb-card-image {
    position: relative;
    padding-top: 100%;
    /* 1:1 Aspect Ratio */
    background: #f9fafb;
    overflow: hidden;
}

.kb-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* or contain, depending on image style preferences */
    transition: transform 0.5s ease;
    padding: 1rem;
    /* Padding for the image inside the card */
}

.kb-product-card:hover .kb-card-image img {
    transform: scale(1.05);
}

.kb-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.kb-card-cat {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.kb-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.kb-product-card:hover .kb-card-title {
    color: var(--primary);
}

.kb-card-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.kb-card-price {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kb-card-price del {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: line-through;
}

.kb-card-price ins {
    text-decoration: none;
}

.kb-card-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.kb-product-card:hover .kb-card-action {
    background: var(--primary);
    color: white;
    transform: translateX(5px);
}

/* User asked for "small cards", so adjusting mobile view specifically */
@media (max-width: 768px) {
    .products-grid-home {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on mobile for smaller feel */
        gap: 10px;
    }

    .kb-card-content {
        padding: 1rem;
    }

    .kb-card-title {
        font-size: 0.95rem;
    }

    .kb-card-price {
        font-size: 1rem;
    }

    .kb-card-action {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}