/* ========================================
   DISCOUNT MARKETPLACE - Modern Design System
   ======================================== */

/* Variables CSS - Nouvelle Identité Visuelle */
:root {
    /* Couleurs Principales */
    --primary: #4f46e5;
    --primary-dark: #4338ca;
    --primary-light: #6366f1;
    --secondary: #004E89;
    --secondary-dark: #003D6B;
    --secondary-light: #0066B3;
    --accent: #f59e0b;
    --accent-dark: #d97706;

    /* Couleurs Sémantiques */
    --success: #00C896;
    --success-dark: #00A87D;
    --warning: #FFB800;
    --warning-dark: #E5A600;
    --danger: #FF4757;
    --danger-dark: #E63946;

    /* Couleurs Neutres */
    --dark: #1A1A1A;
    --gray-900: #2D2D2D;
    --gray-800: #3D3D3D;
    --gray-700: #4A4A4A;
    --gray-600: #5A5A5A;
    --gray-500: #6B6B6B;
    --gray-400: #9CA3AF;
    --gray-300: #D1D1D1;
    --gray-200: #E5E5E5;
    --gray-100: #F5F5F5;
    --gray-50: #FAFAFA;

    /* Gradients Modernes */
    --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    --gradient-secondary: linear-gradient(135deg, #004E89 0%, #0066B3 100%);
    --gradient-hero: linear-gradient(135deg, #4f46e5 0%, #004E89 100%);
    --gradient-card: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(0, 78, 137, 0.05) 100%);

    /* Shadows */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-2xl: 0 25px 50px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-pill: 9999px;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    --spacing-4xl: 6rem;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--gray-50);
    color: var(--gray-900);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    flex: 1;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 {
    font-size: 3rem;
    font-weight: 800;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* ========================================
   NAVBAR VINTED STYLE
   ======================================== */
.navbar-vinted {
    background: white !important;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #e8e8e8;
}

.navbar-vinted .container-fluid {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

/* Logo Vinted Style */
.navbar-brand-vinted {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary) !important;
    text-decoration: none;
    transition: opacity 0.2s;
    margin-right: 1.5rem;
}

.navbar-brand-vinted:hover {
    opacity: 0.8;
}

.navbar-brand-vinted i {
    font-size: 1.5rem;
    color: var(--primary);
}

.navbar-brand-vinted .brand-text {
    display: inline;
}

/* Central Search Bar - Vinted Style */
.navbar-search-center {
    flex: 1;
    max-width: 100%;
    position: relative;
    display: none;
}

@media (min-width: 992px) {
    .navbar-search-center {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

.navbar-search-center .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    font-size: 1.125rem;
    pointer-events: none;
}

.navbar-search-center .search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: var(--gray-800);
    background: #f5f5f5;
    transition: all 0.2s ease;
}

.navbar-search-center .search-input:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.navbar-search-center .search-input::placeholder {
    color: var(--gray-400);
}

/* Simple Navigation Links - Vinted Style */
.navbar-links-simple {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link-simple {
    color: var(--gray-700) !important;
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem !important;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.nav-link-simple:hover {
    color: var(--primary) !important;
    background-color: #f5f5f5;
}

.nav-link-simple.active {
    color: var(--primary) !important;
    font-weight: 600;
}

/* Dropdown Vinted Style */
.dropdown-menu-vinted {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-menu-vinted .dropdown-item {
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    color: var(--gray-700);
    transition: all 0.15s ease;
}

.dropdown-menu-vinted .dropdown-item:hover {
    background-color: #f5f5f5;
    color: var(--primary);
}

.dropdown-menu-vinted .dropdown-item:active {
    background-color: var(--primary);
    color: white;
}

/* User Actions - Vinted Style */
.navbar-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-action-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-action-link:hover {
    background-color: #f5f5f5;
    color: var(--primary);
}

.nav-action-link i {
    font-size: 1.25rem;
}

/* User Avatar - Vinted Style */
.user-avatar-vinted {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.user-avatar-link:hover .user-avatar-vinted {
    transform: scale(1.05);
}

/* Cart Badge - Vinted Style */
.cart-badge-vinted {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--danger);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* Fix pour l'icône panier qui peut être invisible */
.nav-action-link .bi-shopping-bag {
    color: var(--gray-700) !important;
    font-size: 1.25rem !important;
}

.nav-action-link:hover .bi-shopping-bag {
    color: var(--primary) !important;
}

/* Buttons - Vinted Style */
.btn-vinted-outline {
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    color: var(--gray-700);
    background: white;
    font-weight: 500;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-vinted-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: #f5f5f5;
}

.btn-vinted-primary {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 6px;
    color: white;
    background: var(--primary);
    font-weight: 600;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-vinted-primary:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.2);
}


/* ========================================
   CATEGORIES BAR - VINTED STYLE
   ======================================== */
.categories-bar {
    background: white;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 999;
}

.categories-bar .container-fluid {
    padding-top: 0;
    padding-bottom: 0;
}

.categories-nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.categories-nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}

.category-item {
    position: relative;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 0.875rem 1rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.2s ease;
    border-radius: 0;
    border-bottom: 2px solid transparent;
}

.category-link:hover {
    color: var(--primary);
    background-color: #f9fafb;
    border-bottom-color: var(--primary);
}

.category-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.category-item:hover .category-link i {
    transform: rotate(180deg);
}

.category-link-all {
    color: var(--primary);
    font-weight: 600;
    margin-left: auto;
}

.category-link-all:hover {
    background-color: rgba(99, 102, 241, 0.08);
}

/* Dropdown for Categories */
.dropdown-menu-categories {
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 0.5rem 0;
    margin-top: 0;
    min-width: 220px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
}

.dropdown-menu-categories .dropdown-item {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    transition: all 0.15s ease;
}

.dropdown-menu-categories .dropdown-item:hover {
    background-color: #f5f5f5;
    color: var(--primary);
    padding-left: 1.5rem;
}

.dropdown-menu-categories .dropdown-item.fw-bold {
    color: var(--primary);
}

.dropdown-menu-categories .dropdown-item.fw-bold:hover {
    background-color: rgba(99, 102, 241, 0.08);
}



/* ========================================
   PREMIUM MOBILE MENU
   ======================================== */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.2s;
}

.mobile-menu-toggle:hover {
    background: var(--gray-100);
}

.toggle-bar {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover .toggle-bar {
    background: var(--primary);
}

/* Mobile Quick Actions */
.mobile-quick-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-action-btn {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.mobile-action-btn:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-action-btn i {
    font-size: 1.25rem;
}

.mobile-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Offcanvas */
.mobile-menu-offcanvas {
    width: 320px !important;
    border: none !important;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.15);
}

.mobile-menu-offcanvas .offcanvas-body {
    padding: 0;
}

/* Mobile Menu Header */
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.mobile-menu-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: white !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-brand i {
    font-size: 1.5rem;
}

.mobile-menu-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 10px;
    color: white;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Mobile User Card */
.mobile-user-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 1px solid var(--gray-200);
}

.mobile-user-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.mobile-user-info {
    flex: 1;
    min-width: 0;
}

.mobile-user-name {
    display: block;
    font-weight: 700;
    color: var(--gray-900);
    font-size: 0.9375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-user-email {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mobile-user-edit {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.mobile-user-edit:hover {
    background: white;
    color: var(--primary);
}

/* Mobile Menu Body */
.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}

/* Mobile Search */
.mobile-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 1.5rem 1rem;
    padding: 0.875rem 1rem;
    background: var(--gray-100);
    border-radius: 12px;
    transition: all 0.2s;
}

.mobile-search:focus-within {
    background: white;
    box-shadow: 0 0 0 2px var(--primary);
}

.mobile-search i {
    color: var(--gray-400);
    font-size: 1.125rem;
}

.mobile-search input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 0.9375rem;
    color: var(--gray-800);
    outline: none;
}

.mobile-search input::placeholder {
    color: var(--gray-400);
}

/* Mobile Navigation */
.mobile-nav {
    padding: 0.5rem 0;
}

.mobile-nav-title {
    display: block;
    padding: 0.75rem 1.5rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1.5rem;
    color: var(--gray-700);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    background: transparent;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.mobile-nav-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-nav-link i {
    width: 24px;
    font-size: 1.25rem;
    text-align: center;
    color: var(--gray-500);
    transition: color 0.2s;
}

.mobile-nav-link:hover i {
    color: var(--primary);
}

.mobile-nav-link span {
    flex: 1;
}

.mobile-nav-badge {
    padding: 0.25rem 0.625rem;
    background: linear-gradient(135deg, var(--danger) 0%, #dc2626 100%);
    color: white;
    font-size: 0.625rem;
    font-weight: 700;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-nav-count {
    padding: 0.25rem 0.625rem;
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
}

/* Mobile Accordion */
.mobile-nav-accordion .accordion-toggle {
    position: relative;
}

.mobile-nav-accordion .accordion-icon {
    width: auto !important;
    font-size: 0.875rem !important;
    transition: transform 0.3s;
}

.mobile-nav-accordion .accordion-toggle[aria-expanded="true"] .accordion-icon {
    transform: rotate(180deg);
}

/* Mobile Submenu */
.mobile-submenu {
    padding: 0.5rem 0;
    background: var(--gray-50);
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem 0.75rem 4rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s;
}

.mobile-submenu-link:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.mobile-submenu-link.highlight {
    color: var(--primary);
    font-weight: 600;
}

.mobile-submenu-link i {
    font-size: 1rem;
    color: var(--gray-400);
}

.mobile-submenu-link:hover i {
    color: var(--primary);
}

.mobile-submenu-link .submenu-icon {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    object-fit: cover;
}

.mobile-submenu-link .submenu-count {
    margin-left: auto;
    padding: 0.125rem 0.5rem;
    background: var(--gray-200);
    color: var(--gray-500);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 50px;
}

/* Mobile Category Item with Subcategories */
.mobile-category-item {
    border-bottom: 1px solid var(--gray-100);
}

.mobile-category-item:last-child {
    border-bottom: none;
}

.mobile-category-header {
    display: flex;
    align-items: center;
}

.mobile-category-header .mobile-submenu-link {
    flex: 1;
    padding-right: 0;
}

.mobile-subcategory-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem 0.75rem 0.5rem;
    background: transparent;
    border: none;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
}

.mobile-subcategory-toggle:hover {
    color: var(--primary);
}

.mobile-subcategory-toggle .subcategory-count {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.6875rem;
    font-weight: 700;
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.mobile-subcategory-toggle:hover .subcategory-count {
    background: var(--primary);
    color: white;
}

.mobile-subcategory-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s;
}

.mobile-subcategory-toggle[aria-expanded="true"] i {
    transform: rotate(90deg);
}

.mobile-subcategory-toggle[aria-expanded="true"] .subcategory-count {
    background: var(--primary);
    color: white;
}

/* Mobile Subcategories List */
.mobile-subcategories-list {
    padding: 0.5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid var(--gray-100);
}

.mobile-subcategory-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1.5rem 0.625rem 5rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.8125rem;
    transition: all 0.2s;
}

.mobile-subcategory-link:hover {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
}

.mobile-subcategory-link i {
    font-size: 0.625rem;
    color: var(--gray-400);
    transition: transform 0.2s;
}

.mobile-subcategory-link:hover i {
    color: var(--primary);
    transform: translateX(3px);
}

.mobile-subcategory-link.see-all {
    color: var(--primary);
    font-weight: 600;
    margin-top: 0.25rem;
    padding-top: 0.75rem;
    border-top: 1px dashed var(--gray-200);
}

.mobile-subcategory-link.see-all i {
    color: var(--primary);
}

/* Mobile Menu Divider */
.mobile-menu-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 0.75rem 1.5rem;
}

/* Mobile Menu Footer */
.mobile-menu-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.mobile-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    color: var(--danger);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.mobile-logout-btn:hover {
    background: #fef2f2;
    border-color: var(--danger);
    color: var(--danger);
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.mobile-login-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-register-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border: none;
    border-radius: 12px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    transition: all 0.2s;
}

.mobile-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
    color: white;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    background: var(--gradient-hero);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 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.05'%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");
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-section .lead {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.hero-buttons .btn {
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.btn-hero-primary {
    background: white;
    color: var(--primary);
    border: none;
}

.btn-hero-primary:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-hero-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-hero-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
}

.hero-stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ========================================
   SEARCH BAR
   ======================================== */
.search-section {
    background: white;
    padding: 1.5rem 0;
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.search-bar {
    display: flex;
    background: var(--gray-100);
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: var(--shadow-md);
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    outline: none;
}

.search-bar select {
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    outline: none;
    cursor: pointer;
}

.search-bar .btn-search {
    background: var(--gradient-primary);
    border: none;
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-bar .btn-search:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

/* ========================================
   CATEGORIES SECTION
   ======================================== */
.categories-section {
    padding: 4rem 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--gray-500);
}

.category-card {
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

.category-card:hover {
    background: white;
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
    color: white;
}

.category-card h5 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.category-card span {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ========================================
   PRODUCT CARDS
   ======================================== */
.products-section {
    padding: 4rem 0;
    background: var(--gray-100);
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-image {
    position: relative;
    height: 200px;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
}

.product-image .placeholder-icon {
    font-size: 4rem;
    color: var(--gray-300);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.product-wishlist {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.product-wishlist:hover {
    background: var(--secondary);
    color: white;
}

.product-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0.5rem 0;
    color: var(--gray-800);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5em;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.product-rating i {
    color: var(--warning);
    font-size: 0.875rem;
}

.product-rating span {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin-left: 0.25rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.price-original {
    font-size: 0.875rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 0.5rem;
}

.product-footer .btn {
    flex: 1;
    padding: 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--radius);
}

.btn-add-cart {
    background: var(--primary);
    border: none;
    color: white;
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    color: white;
}

.btn-quick-view {
    background: var(--gray-100);
    border: none;
    color: var(--gray-600);
}

.btn-quick-view:hover {
    background: var(--gray-200);
    color: var(--gray-800);
}

/* ========================================
   TRUST STRIP
   ======================================== */
.trust-strip {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 11px 0;
}
.trust-strip-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    padding: 0 1.5rem;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    color: #555;
    font-weight: 500;
    white-space: nowrap;
}
.trust-item i {
    font-size: 1.05rem;
    color: var(--primary);
}
@media (max-width: 767px) {
    .trust-strip-inner {
        gap: 1.25rem;
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        scrollbar-width: none;
        padding: 0 1rem;
    }
    .trust-strip-inner::-webkit-scrollbar { display: none; }
}

/* ========================================
   PREMIUM PRODUCT CARDS (.pcard)
   ======================================== */
.pcard {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.07);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.pcard:hover {
    box-shadow: 0 14px 38px rgba(0, 0, 0, 0.13);
    transform: translateY(-5px);
}

/* Image zone */
.pcard-img-link {
    display: block;
    position: relative;
    background: #f8f8f8;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    flex-shrink: 0;
}
.pcard-img-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 14px;
    transition: transform 0.4s ease;
}
.pcard-img-link:hover img {
    transform: scale(1.06);
}
.pcard-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    color: #ccc;
}

/* Badges overlay */
.pcard-discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #dc2626;
    color: #fff;
    font-size: 0.69rem;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 20px;
    z-index: 2;
    letter-spacing: 0.3px;
}

/* Fav button inside pcard */
.pcard .fav-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: #d0d0d0;
    transition: all 0.2s;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
}
.pcard .fav-btn:hover { color: #e74c3c; transform: scale(1.12); }
.pcard .fav-btn.active { color: #e74c3c; }
.pcard .fav-btn.active i::before { content: "\F415"; }

/* Card body */
.pcard-body {
    padding: 14px 14px 8px;
    flex: 1;
}
.pcard-cat {
    font-size: 0.67rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.7px;
    margin-bottom: 5px;
    display: block;
    text-decoration: none;
    transition: opacity 0.2s;
}
.pcard-cat:hover { opacity: 0.75; }

.pcard-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.45em;
}
.pcard-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 7px;
}
.pcard-price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
    line-height: 1;
}
.pcard-price-orig {
    font-size: 0.77rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}
.pcard-vendor-row {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.72rem;
    color: #6b7280;
    overflow: hidden;
}
.pcard-vendor-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}
.pcard-stock-low { color: #d97706; font-weight: 700; font-size: 0.69rem; white-space: nowrap; }
.pcard-stock-out { color: #dc2626; font-weight: 700; font-size: 0.69rem; white-space: nowrap; }

/* Card footer */
.pcard-footer {
    padding: 8px 14px 14px;
    display: flex;
    gap: 8px;
}
.pcard-btn-add {
    flex: 1;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 10px 8px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.pcard-btn-add:hover:not(:disabled) {
    background: var(--primary-dark);
    transform: scale(1.02);
}
.pcard-btn-add:disabled {
    background: #f3f4f6;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}
.pcard-btn-view {
    background: #f3f4f6;
    color: #374151;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.pcard-btn-view:hover {
    background: #e5e7eb;
    color: #111827;
}

@media (max-width: 575px) {
    .pcard-title { font-size: 0.8rem; min-height: 2.24em; }
    .pcard-price { font-size: 1.05rem; }
    .pcard-body { padding: 10px 10px 6px; }
    .pcard-footer { padding: 6px 10px 12px; gap: 6px; }
    .pcard-btn-add,
    .pcard-btn-view { padding: 9px 8px; font-size: 0.73rem; border-radius: 10px; }
}

/* ── Attributs sur les vignettes produit ── */
.pcard-attrs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 4px 12px 8px;
}
.pcard-attr-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
    white-space: nowrap;
    transition: all 0.15s;
    cursor: pointer;
}
.pcard-attr-badge:hover {
    background: #eef2ff;
    border-color: var(--primary);
    color: var(--primary);
}

/* ========================================
   CATALOGUE CONTEXT HEADERS
   ======================================== */
.catalogue-context-header {
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.context-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.3;
}
.context-count {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 2px;
}
.context-back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #374151;
    text-decoration: none;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s, color 0.2s;
}
.context-back-btn:hover {
    background: #e5e7eb;
    color: #111827;
}
.context-attr-badge {
    background: #eef2ff;
    color: #4f46e5;
    border: 1px solid #c7d2fe;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 0.78rem;
    font-weight: 600;
}
.text-inherit { color: inherit; }

/* ========================================
   FEATURES SECTION
   ======================================== */
.features-section {
    padding: 4rem 0;
    background: white;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
}

.feature-icon.primary {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
}

.feature-icon.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
}

.feature-icon.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.feature-icon.secondary {
    background: rgba(236, 72, 153, 0.1);
    color: var(--secondary);
}

.feature-card h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta-section {
    background: var(--gradient-primary);
    padding: 5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='50' cy='50' r='40' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    animation: rotate 60s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-section .btn {
    padding: 1rem 2.5rem;
    font-weight: 600;
    border-radius: 50px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer-main {
    background: var(--gray-900);
    color: white;
    padding: 4rem 0 0;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: var(--gray-400);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: white;
    padding-left: 5px;
}

.footer-newsletter input {
    background: var(--gray-800);
    border: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: white;
    width: 100%;
    margin-bottom: 0.75rem;
}

.footer-newsletter input::placeholder {
    color: var(--gray-500);
}

.footer-newsletter .btn {
    width: 100%;
    background: var(--gradient-primary);
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-bottom p {
    color: var(--gray-500);
    font-size: 0.875rem;
    margin: 0;
}

/* ── Footer accordéon mobile ── */
.footer-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: none;
    border: none;
    border-bottom: 1px solid var(--gray-800);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 0;
    cursor: pointer;
    transition: color 0.15s;
}
.footer-section-toggle:hover { color: var(--primary-light, #a5b4fc); }
.footer-section-toggle i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    transform: rotate(180deg);
}
.footer-section-toggle.collapsed i {
    transform: rotate(0deg);
}
.footer-section .collapse .footer-links {
    padding-top: 10px;
    padding-bottom: 4px;
}
@media (max-width: 991.98px) {
    .footer-accordion { border-top: 1px solid var(--gray-800); }
    .footer-section .footer-links li { margin-bottom: 0.5rem; }
    .footer-section .footer-newsletter { padding-bottom: 12px; }
    .footer-bottom { margin-top: 1rem; }
}

/* ========================================
   AUTH PAGES
   ======================================== */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    padding: 2rem;
}

.auth-card {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    width: 100%;
    max-width: 450px;
}

.auth-header {
    background: var(--gradient-primary);
    padding: 2rem;
    text-align: center;
}

.auth-header h4 {
    color: white;
    margin: 0;
    font-weight: 700;
}

.auth-body {
    padding: 2rem;
}

.auth-body .form-label {
    font-weight: 500;
    color: var(--gray-700);
    margin-bottom: 0.5rem;
}

.auth-body .form-control {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.auth-body .form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-body .input-group-text {
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    border-right: none;
    color: var(--gray-500);
}

.auth-body .input-group .form-control {
    border-left: none;
}

.auth-body .btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.auth-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.auth-footer {
    background: var(--gray-100);
    padding: 1.25rem 2rem;
    text-align: center;
}

.auth-footer p {
    margin: 0;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* ========================================
   DASHBOARD CARDS
   ======================================== */
.dashboard-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    border: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    box-shadow: var(--shadow-lg);
}

.dashboard-card .card-header {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 1.5rem;
    font-weight: 600;
}

.dashboard-card .card-body {
    padding: 1.5rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card.primary {
    background: var(--gradient-primary);
    color: white;
}

.stat-card.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.stat-card.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.stat-card.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
}

.stat-label {
    opacity: 0.9;
    font-size: 0.875rem;
}

/* ========================================
   PROFILE PAGES
   ======================================== */
.pf-wrap {
    background: #f3f4f6;
    min-height: calc(100vh - 220px);
    padding: 2rem 0 5rem;
}

/* Sidebar */
.pf-sidebar-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.pf-avatar-wrap {
    background: linear-gradient(150deg, var(--primary) 0%, #7c3aed 100%);
    padding: 1.75rem 1.25rem;
    text-align: center;
}

.pf-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
    border: 3px solid rgba(255,255,255,.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.625rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 0.875rem;
    letter-spacing: -0.02em;
}

.pf-avatar-name {
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.3;
}

.pf-avatar-email {
    color: rgba(255,255,255,.75);
    font-size: 0.8125rem;
    margin-top: 0.2rem;
}

.pf-avatar-badges {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 0.375rem;
    flex-wrap: wrap;
}

.pf-role-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.2rem 0.625rem;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,.35);
    letter-spacing: 0.02em;
}

.pf-role-badge.admin { background: rgba(239,68,68,.25); border-color: rgba(252,165,165,.5); }
.pf-role-badge.vendor { background: rgba(16,185,129,.25); border-color: rgba(110,231,183,.5); }

/* Sidebar nav */
.pf-nav {
    padding: 0.625rem;
    border-bottom: 1px solid #f3f4f6;
}

.pf-nav-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.6875rem 0.875rem;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.9rem;
    transition: background 0.13s, color 0.13s;
    margin-bottom: 2px;
}

.pf-nav-item:hover {
    background: #f3f4f6;
    color: var(--primary);
    text-decoration: none;
}

.pf-nav-item.active {
    background: #ede9fe;
    color: var(--primary);
    font-weight: 600;
}

.pf-nav-item i { font-size: 1rem; width: 18px; text-align: center; flex-shrink: 0; }

.pf-nav-item.pf-nav-vendor { color: #059669; }
.pf-nav-item.pf-nav-vendor:hover { background: #ecfdf5; color: #059669; }
.pf-nav-item.pf-nav-admin { color: #dc2626; }
.pf-nav-item.pf-nav-admin:hover { background: #fef2f2; color: #dc2626; }
.pf-nav-item.pf-nav-logout { color: #9ca3af; }
.pf-nav-item.pf-nav-logout:hover { background: #fef2f2; color: #dc2626; }

.pf-nav-ext { margin-left: auto; font-size: 0.75rem; color: inherit; opacity: 0.6; }

/* Sidebar footer */
.pf-sidebar-footer {
    padding: 1rem 1.25rem;
}

.pf-sfooter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
    padding: 0.25rem 0;
}

.pf-sfooter-label { color: #9ca3af; }
.pf-sfooter-value { color: #374151; font-weight: 500; }
.pf-sfooter-verified { color: #059669; font-weight: 600; font-size: 0.8125rem; }
.pf-sfooter-unverified { color: #d97706; font-weight: 600; font-size: 0.8125rem; }

/* Content cards */
.pf-content-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    overflow: hidden;
}

.pf-content-card + .pf-content-card {
    margin-top: 1.25rem;
}

.pf-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.pf-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pf-card-title i { color: var(--primary); font-size: 1.05rem; }

.pf-card-body {
    padding: 1.5rem;
}

/* Field display */
.pf-field { margin-bottom: 1.125rem; }
.pf-field:last-child { margin-bottom: 0; }
.pf-field-label {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 0.3rem;
}
.pf-field-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #111827;
}

/* Security row */
.pf-security-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.pf-security-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ede9fe;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.125rem;
    flex-shrink: 0;
}

.pf-security-label {
    font-weight: 600;
    font-size: 0.9375rem;
    color: #111827;
    margin-bottom: 0.125rem;
}

.pf-security-hint {
    font-size: 0.8125rem;
    color: #9ca3af;
}

/* Access banners */
.pf-access-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    border-radius: 14px;
    border: 1px solid transparent;
}

.pf-access-banner.vendor {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #a7f3d0;
}

.pf-access-banner.admin {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #fca5a5;
}

.pf-access-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.375rem;
    flex-shrink: 0;
}

.pf-access-banner.vendor .pf-access-icon { background: #d1fae5; color: #059669; }
.pf-access-banner.admin .pf-access-icon { background: #fee2e2; color: #dc2626; }
.pf-access-title { font-weight: 700; font-size: 0.9375rem; color: #111827; }
.pf-access-desc { font-size: 0.8125rem; color: #6b7280; margin-top: 0.125rem; }

/* Orders mini-table in profile */
.pf-orders-table { margin: 0; }
.pf-orders-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
    font-weight: 600;
    border-bottom: 1px solid #f3f4f6;
    padding: 0.75rem 1rem;
    background: #fafafa;
}
.pf-orders-table tbody td {
    padding: 0.875rem 1rem;
    border-bottom: 1px solid #f9fafb;
    vertical-align: middle;
    font-size: 0.9rem;
}
.pf-orders-table tbody tr:last-child td { border-bottom: 0; }
.pf-orders-table tbody tr:hover td { background: #fafafa; }

/* Order cards (orders.html.twig) */
.pf-order-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.pf-order-card-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem 1.5rem;
    background: #fafafa;
    border-bottom: 1px solid #f3f4f6;
}

.pf-order-meta-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.pf-order-meta-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: #111827;
}

.pf-order-card-body { padding: 1rem 1.5rem; }

.pf-order-item-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.pf-order-item-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }

/* Order show timeline */
.pf-timeline {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0.5rem 0;
    overflow-x: auto;
}

.pf-timeline-step {
    flex: 1;
    text-align: center;
    position: relative;
    min-width: 70px;
}

.pf-timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18px;
    left: 50%;
    width: 100%;
    height: 3px;
    background: #e5e7eb;
    z-index: 0;
}

.pf-timeline-step.done:not(:last-child)::after { background: var(--primary); }

.pf-timeline-dot {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-size: 1rem;
    position: relative;
    z-index: 1;
    border: 3px solid #e5e7eb;
    background: #fff;
    color: #d1d5db;
    transition: all 0.2s;
}

.pf-timeline-step.done .pf-timeline-dot {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pf-timeline-step.current .pf-timeline-dot {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79,70,229,.15);
}

.pf-timeline-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: #9ca3af;
}

.pf-timeline-step.done .pf-timeline-label { color: var(--primary); font-weight: 600; }
.pf-timeline-step.current .pf-timeline-label { color: var(--primary); font-weight: 700; }

/* Profile empty state */
.pf-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: #9ca3af;
}

.pf-empty i { font-size: 3rem; margin-bottom: 1rem; display: block; }
.pf-empty-title { font-size: 1.125rem; font-weight: 600; color: #374151; margin-bottom: 0.5rem; }
.pf-empty-desc { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Page header in profile pages */
.pf-page-header {
    margin-bottom: 1.5rem;
}

.pf-page-title {
    font-size: 1.375rem;
    font-weight: 800;
    color: #111827;
    margin-bottom: 0.25rem;
}

.pf-breadcrumb {
    font-size: 0.8125rem;
    color: #9ca3af;
}

.pf-breadcrumb a { color: #6b7280; text-decoration: none; }
.pf-breadcrumb a:hover { color: var(--primary); }
.pf-breadcrumb-sep { margin: 0 0.375rem; }

/* ========================================
   ADDRESS CARDS (profile/address pages)
   ======================================== */
.pf-addr-section-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 0.9375rem;
    color: #111827;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #f3f4f6;
    margin-bottom: 1rem;
}

.pf-addr-section-title i { color: var(--primary); }

.pf-addr-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pf-addr-card:last-child { margin-bottom: 0; }

.pf-addr-card.default {
    border-color: var(--primary);
    background: #fafafe;
    box-shadow: 0 0 0 3px rgba(79,70,229,.06);
}

.pf-addr-card:hover { border-color: #c7d2fe; }

.pf-addr-type-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.pf-addr-card.default .pf-addr-type-icon {
    background: #ede9fe;
    color: var(--primary);
}

.pf-addr-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #111827;
    margin-bottom: 0.25rem;
}

.pf-addr-default-badge {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 0.15rem 0.5rem;
    margin-left: 0.5rem;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.pf-addr-name {
    font-weight: 600;
    font-size: 0.8125rem;
    color: #374151;
    margin-bottom: 0.125rem;
}

.pf-addr-line {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.65;
}

.pf-addr-actions {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    margin-left: auto;
    flex-shrink: 0;
}

.pf-addr-btn {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: 1px solid transparent;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.13s;
    background: transparent;
}

.pf-addr-btn.edit { color: var(--primary); border-color: #e0e7ff; background: #f5f3ff; }
.pf-addr-btn.edit:hover { background: #ede9fe; }
.pf-addr-btn.star { color: #d97706; border-color: #fde68a; background: #fffbeb; }
.pf-addr-btn.star:hover { background: #fef3c7; }
.pf-addr-btn.delete { color: #dc2626; border-color: #fecaca; background: #fef2f2; }
.pf-addr-btn.delete:hover { background: #fee2e2; }

/* Address form page */
.pf-form-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 1px 4px rgba(0,0,0,.07);
    overflow: hidden;
}

.pf-form-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #f3f4f6;
}

.pf-form-title {
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}

.pf-form-title i { color: var(--primary); }

.pf-form-body { padding: 1.5rem; }

.pf-form-footer {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid #f3f4f6;
    background: #fafafa;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Form field group */
.pf-form-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.375rem;
    display: block;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn-primary-gradient {
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.btn-primary-gradient:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary-custom {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.btn-outline-primary-custom:hover {
    background: var(--primary);
    color: white;
}

/* ========================================
   UTILITIES
   ======================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.shadow-custom {
    box-shadow: var(--shadow-lg);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .hero-stat {
        flex: 0 0 calc(50% - 0.75rem);
    }

    .search-bar {
        flex-wrap: wrap;
    }

    .search-bar input,
    .search-bar select {
        width: 100%;
    }

    .search-bar .btn-search {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ========================================
   MEGA MENU - Catégories
   ======================================== */
.dropdown-mega {
    position: static;
}

.dropdown-menu-mega {
    width: 100%;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    border: none;
    border-radius: 0;
    box-shadow: var(--shadow-xl);
    border-top: 3px solid var(--primary);
    background: white;
    animation: fadeInDown 0.2s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mega-col {
    padding: 1rem 1.5rem;
    border-right: 1px solid var(--gray-100);
}

.mega-col:last-child {
    border-right: none;
}

.mega-category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--gray-800);
    text-decoration: none;
    padding: 0.5rem 0;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid var(--gray-100);
    transition: all 0.2s ease;
}

.mega-category-title:hover {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.mega-category-title i {
    font-size: 1.25rem;
    color: var(--primary);
}

.mega-category-icon {
    width: 28px;
    height: 28px;
    object-fit: cover;
    border-radius: var(--radius);
}

.mega-subcategories {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-subcategories li {
    margin-bottom: 0.25rem;
}

.mega-subcategories a {
    display: block;
    padding: 0.4rem 0;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.mega-subcategories a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

.mega-subcategories a.see-all {
    color: var(--primary);
    font-weight: 500;
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mega-subcategories a.see-all:hover {
    text-decoration: underline;
}

/* Responsive Mega Menu */
@media (max-width: 991.98px) {
    .dropdown-menu-mega {
        position: absolute;
        width: 100%;
        max-height: 60vh;
        overflow-y: auto;
    }

    .mega-col {
        border-right: none;
        border-bottom: 1px solid var(--gray-100);
        padding: 1rem;
    }

    .mega-col:last-child {
        border-bottom: none;
    }
}

/* ========================================
   CATEGORY PAGE - Clean E-commerce Design
   ======================================== */

/* Category Page Container */
.category-page {
    background: #fff;
    min-height: 100vh;
}

/* Minimal Breadcrumb */
.category-breadcrumb {
    padding: 1rem 0;
    font-size: 0.8125rem;
    color: var(--gray-500);
    border-bottom: 1px solid var(--gray-100);
}

.category-breadcrumb a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color 0.2s;
}

.category-breadcrumb a:hover {
    color: var(--gray-900);
}

.category-breadcrumb span {
    margin: 0 0.5rem;
}

.category-breadcrumb .current {
    color: var(--gray-900);
    font-weight: 500;
}

/* Category Title Bar */
.category-title-bar {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 70px;
    background: white;
    z-index: 100;
}

.title-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.title-bar-left {
    display: flex;
    align-items: baseline;
    gap: 1rem;
}

.title-bar-left h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.title-bar-left .products-count {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.title-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-toggle-btn {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    cursor: pointer;
    transition: all 0.2s;
}

.filter-toggle-btn:hover {
    border-color: var(--gray-900);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.sort-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--gray-700);
    background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") right 0.5rem center/12px no-repeat;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.sort-select:focus {
    outline: none;
    border-color: var(--gray-900);
}

/* Subcategories Navigation */
.subcategories-nav {
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-100);
    background: white;
}

.subcategories-scroll {
    display: flex;
    gap: 0.25rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.subcategories-scroll::-webkit-scrollbar {
    display: none;
}

.subcat-link {
    padding: 0.5rem 1rem;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    border-radius: 4px;
    transition: all 0.2s;
}

.subcat-link:hover {
    color: var(--gray-900);
    background: var(--gray-100);
}

.subcat-link.active {
    color: var(--gray-900);
    background: var(--gray-100);
    font-weight: 600;
}

/* Category Content */
.category-content {
    padding: 2rem 0;
}

.category-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 3rem;
}

/* Desktop Filters Sidebar */
.filters-sidebar-desktop {
    position: sticky;
    top: 160px;
    height: fit-content;
}

.filter-section {
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-title {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray-900);
    margin: 0 0 1rem;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 0.5rem;
}

.filter-list a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.filter-list a:hover {
    color: var(--gray-900);
}

/* Price Filter */
.price-filter .price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.price-filter .price-inputs input {
    width: 70px;
    padding: 0.375rem 0.5rem;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-size: 0.8125rem;
}

.price-filter .price-inputs input:focus {
    outline: none;
    border-color: var(--gray-900);
}

.price-filter .price-inputs span {
    color: var(--gray-400);
}

.price-filter .price-go {
    padding: 0.375rem 0.75rem;
    background: var(--gray-900);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.price-filter .price-go:hover {
    background: var(--gray-700);
}

.price-ranges label,
.checkbox-filter label,
.rating-filter label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.375rem 0;
    transition: color 0.2s;
}

.price-ranges label:hover,
.checkbox-filter label:hover,
.rating-filter label:hover {
    color: var(--gray-900);
}

.price-ranges input,
.checkbox-filter input,
.rating-filter input {
    accent-color: var(--gray-900);
}

.rating-filter .stars {
    color: #fbbf24;
    font-size: 0.875rem;
    letter-spacing: -1px;
}

/* Products Area */
.products-area {
    min-height: 400px;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* Product Item */
.product-item {
    background: white;
}

.product-link {
    display: block;
    text-decoration: none;
    padding: 1rem;
    transition: background 0.2s;
}

.product-link:hover {
    background: var(--gray-50);
}

.product-image {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--gray-100);
    margin-bottom: 1rem;
    overflow: hidden;
}

.product-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image .image-placeholder i {
    font-size: 3rem;
    color: var(--gray-300);
}

.product-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-badge.sale {
    background: #ef4444;
    color: white;
}

.product-badge.new {
    background: var(--gray-900);
    color: white;
}

.wishlist-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    border-radius: 50%;
    color: var(--gray-400);
    cursor: pointer;
    opacity: 0;
    transition: all 0.2s;
}

.product-link:hover .wishlist-btn {
    opacity: 1;
}

.wishlist-btn:hover {
    color: #ef4444;
}

/* Product Details */
.product-details {
    text-align: left;
}

.product-brand {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.product-name {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--gray-900);
    margin: 0 0 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.price-current {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-900);
}

.price-old {
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.product-rating i {
    color: #fbbf24;
    font-size: 0.6875rem;
}

.product-shipping {
    color: var(--success);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 3rem 0;
}

.pagination-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    border: 1px solid var(--gray-200);
    border-radius: 4px;
    transition: all 0.2s;
}

.pagination-arrow:hover {
    border-color: var(--gray-900);
    color: var(--gray-900);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.page-num {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 4px;
    transition: all 0.2s;
}

.page-num:hover:not(.active) {
    background: var(--gray-100);
}

.page-num.active {
    background: var(--gray-900);
    color: white;
}

.page-dots {
    padding: 0 0.5rem;
    color: var(--gray-400);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state>i,
.empty-state-icon i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
    display: block;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.5rem;
}

.empty-state p {
    color: var(--gray-500);
    margin: 0 0 1.5rem;
}

.empty-state .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 500;
    transition: gap 0.2s;
}

.empty-state .back-link:hover {
    gap: 0.75rem;
}

/* Filters Offcanvas (Mobile) */
.filters-offcanvas {
    width: 320px !important;
}

.filters-offcanvas .offcanvas-header {
    border-bottom: 1px solid var(--gray-100);
}

.filters-offcanvas .offcanvas-header h5 {
    font-weight: 700;
}

.filters-offcanvas .offcanvas-body {
    padding: 1.5rem;
}

.filters-offcanvas .offcanvas-footer {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-100);
}

.filters-offcanvas .btn-reset {
    flex: 1;
    padding: 0.75rem;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.filters-offcanvas .btn-reset:hover {
    border-color: var(--gray-900);
}

.filters-offcanvas .btn-apply {
    flex: 2;
    padding: 0.75rem;
    background: var(--gray-900);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.filters-offcanvas .btn-apply:hover {
    background: var(--gray-700);
}

/* Responsive Category Page */
@media (max-width: 1199.98px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991.98px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar-desktop {
        display: none;
    }

    .filter-toggle-btn {
        display: flex;
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .title-bar-left {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .title-bar-left h1 {
        font-size: 1.25rem;
    }

    .sort-label {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-link {
        padding: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .category-breadcrumb {
        display: none;
    }

    .category-title-bar {
        top: 60px;
    }

    .title-bar-content {
        flex-wrap: wrap;
    }

    .product-name {
        font-size: 0.8125rem;
    }

    .price-current {
        font-size: 0.875rem;
    }
}



/* Categories Grid Page */
.categories-grid-section {
    padding: 2rem 0 4rem;
    background: var(--gray-50);
}

.category-card-link {
    text-decoration: none;
}

.category-card-large {
    position: relative;
    height: 180px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--gray-200);
}

.category-card-large img.category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.category-card-large:hover img {
    transform: scale(1.05);
}

.category-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

.category-card-placeholder i {
    font-size: 3rem;
    color: white;
}

.category-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
}

.category-card-overlay h5 {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
}

.category-card-overlay span {
    font-size: 0.75rem;
    opacity: 0.8;
}

.subcategory-list {
    list-style: none;
    padding: 0.75rem 0 0;
    margin: 0;
}

.subcategory-list li {
    margin-bottom: 0.25rem;
}

.subcategory-list a {
    color: var(--gray-600);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.subcategory-list a:hover {
    color: var(--primary);
}

.subcategory-list a.see-more {
    color: var(--primary);
    font-weight: 500;
}

/* Premium Mobile Offcanvas */
.premium-offcanvas {
    width: 320px !important;
}

.premium-offcanvas .offcanvas-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-100);
}

.premium-offcanvas .offcanvas-body {
    padding: 0;
}

.premium-offcanvas .offcanvas-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-100);
    display: flex;
    gap: 0.75rem;
}

/* Premium Responsive */
@media (max-width: 1199.98px) {
    .premium-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .premium-category-hero h1 {
        font-size: 2.25rem;
    }

    .premium-category-hero .hero-image {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 991.98px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        display: none;
    }

    .premium-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .premium-category-hero .hero-content {
        flex-direction: column-reverse;
        text-align: center;
    }

    .premium-category-hero .hero-text {
        max-width: none;
    }

    .premium-category-hero .hero-stats {
        justify-content: center;
    }

    .premium-category-hero .hero-image {
        width: 200px;
        height: 200px;
    }

    .premium-subcategories {
        top: 60px;
    }
}

@media (max-width: 767.98px) {
    .premium-products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .premium-category-hero {
        padding: 2rem 0;
    }

    .premium-category-hero h1 {
        font-size: 1.75rem;
    }

    .premium-category-hero .hero-description {
        font-size: 1rem;
    }

    .premium-category-hero .hero-stats {
        gap: 1.5rem;
    }

    .premium-category-hero .stat-number {
        font-size: 1.25rem;
    }

    .premium-category-hero .hero-image {
        width: 160px;
        height: 160px;
    }

    .premium-toolbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .toolbar-left,
    .toolbar-right {
        justify-content: space-between;
        width: 100%;
    }

    .sort-wrapper label {
        display: none;
    }

    .sort-select {
        min-width: unset;
        flex: 1;
    }

    .premium-product-card {
        border-radius: 16px;
    }

    .product-info {
        padding: 1rem;
    }

    .premium-product-card .product-name {
        font-size: 0.9375rem;
    }

    .product-pricing .current-price {
        font-size: 1.125rem;
    }

    .premium-pagination {
        flex-wrap: wrap;
        gap: 0.75rem;
        padding: 1rem;
    }

    .pagination-btn span {
        display: none;
    }

    .pagination-btn {
        padding: 0.75rem;
    }

    .page-number {
        min-width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }

    .add-to-cart-overlay {
        transform: translateY(0);
        position: relative;
        background: white;
        padding: 0 1rem 1rem;
    }

    .btn-add-cart-quick {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .premium-category-hero .hero-image {
        display: none;
    }

    .premium-category-hero .hero-badge {
        font-size: 0.6875rem;
    }

    .subcategory-chip {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }

    .premium-empty-state {
        padding: 3rem 1.5rem;
    }

    .empty-illustration {
        width: 120px;
        height: 120px;
    }

    .empty-icon i {
        font-size: 3rem;
    }

    .empty-actions {
        flex-direction: column;
    }

    .empty-actions .btn {
        width: 100%;
    }
}

/* Fix TomSelect z-index in modals */
.ts-dropdown,
.ts-dropdown.single {
    z-index: 9999 !important;
}

   
/* ========================================
   MODERN DESIGN SYSTEM COMPONENTS
   ======================================== */

/* Buttons Modernes */
.btn-modern-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    cursor: pointer;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: white;
}

.btn-modern-secondary {
    background: var(--gradient-secondary);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 78, 137, 0.3);
    cursor: pointer;
}

.btn-modern-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 78, 137, 0.4);
    color: white;
}

.btn-modern-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-modern-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Cards Modernes */
.card-modern {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

/* Badges Modernes */
.badge-promo {
    background: var(--accent);
    color: var(--dark);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.875rem;
}

.badge-new {
    background: var(--primary);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.875rem;
}

/* Product Card V2 */
.product-card-v2 {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-card-v2 .product-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-card-v2 .product-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card-v2:hover .product-image-wrapper img {
    transform: scale(1.08);
}

.product-card-v2 .product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
}

.product-card-v2 .product-wishlist {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.product-card-v2 .product-wishlist:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.product-card-v2 .product-info {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-v2 .product-category {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-card-v2 .product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-v2 .product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 0.75rem;
}

.product-card-v2 .price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.product-card-v2 .price-original {
    font-size: 1rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-card-v2 .btn-add-cart {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.product-card-v2 .btn-add-cart:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* ========================================
   CATEGORY PAGE - MODERN DESIGN
   ======================================== */

/* Breadcrumb Moderne */
.category-breadcrumb {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
    font-size: 0.875rem;
}

.category-breadcrumb a {
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.category-breadcrumb a:hover {
    color: var(--primary);
}

.category-breadcrumb span {
    color: var(--gray-400);
    margin: 0 0.5rem;
}

.category-breadcrumb .current {
    color: var(--dark);
    font-weight: 600;
}

/* Title Bar Moderne */
.category-title-bar {
    background: white;
    padding: 2rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.title-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.title-bar-left h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.products-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--gradient-card);
    border-radius: var(--radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
}

.title-bar-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-toggle-btn {
    display: none;
    background: white;
    border: 2px solid var(--gray-300);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-toggle-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sort-label {
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.875rem;
}

.sort-select {
    padding: 0.75rem 1.25rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--dark);
    background: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--primary);
    outline: none;
}

/* Subcategories Nav */
.subcategories-nav {
    background: white;
    padding: 1rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.subcategories-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.subcategories-scroll::-webkit-scrollbar {
    display: none;
}

.subcat-link {
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--gray-700);
    background: var(--gray-100);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.subcat-link:hover {
    background: var(--gray-200);
    color: var(--dark);
}

.subcat-link.active {
    background: var(--primary);
    color: white;
}

/* Category Layout */
.category-content {
    padding: 2rem 0;
}

.category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}

/* Filters Sidebar */
.filters-sidebar-desktop {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--gray-200);
}

.filter-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
}

.filter-section:first-child {
    padding-top: 0;
}

.filter-section:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.filter-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-list li {
    margin-bottom: 0.75rem;
}

.filter-list a {
    color: var(--gray-700);
    font-size: 0.875rem;
    transition: all 0.2s ease;
    display: block;
    padding: 0.375rem 0;
}

.filter-list a:hover {
    color: var(--primary);
    padding-left: 0.5rem;
}

/* Price Filter */
.price-filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-inputs input {
    flex: 1;
    padding: 0.625rem;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.price-inputs input:focus {
    border-color: var(--primary);
    outline: none;
}

.price-go {
    padding: 0.625rem 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-go:hover {
    background: var(--primary-dark);
}

.price-ranges {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.price-ranges label,
.checkbox-filter label,
.rating-filter label {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--gray-700);
    cursor: pointer;
    transition: color 0.2s ease;
}

.price-ranges label:hover,
.checkbox-filter label:hover,
.rating-filter label:hover {
    color: var(--dark);
}

.price-ranges input,
.checkbox-filter input,
.rating-filter input {
    cursor: pointer;
}

/* Products Grid */
.products-area {
    min-height: 500px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.product-item {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
}

.product-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--gray-100);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-item:hover .product-image img {
    transform: scale(1.08);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--gray-400);
    font-size: 3rem;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 2;
}

.product-badge.sale {
    background: var(--accent);
    color: var(--dark);
}

.product-badge.new {
    background: var(--primary);
    color: white;
}

.wishlist-btn {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.wishlist-btn:hover {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

.product-details {
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-brand {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.product-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: auto;
    margin-bottom: 0.75rem;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.price-old {
    font-size: 1rem;
    color: var(--gray-400);
    text-decoration: line-through;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
}

.product-rating {
    color: var(--accent);
    font-weight: 600;
}

.product-shipping {
    color: var(--success);
    font-weight: 600;
}

/* Pagination */
.pagination-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.pagination-arrow,
.page-num {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 2px solid var(--gray-300);
    background: white;
    color: var(--gray-700);
}

.pagination-arrow:hover,
.page-num:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.page-num.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.page-dots {
    color: var(--gray-400);
    padding: 0 0.5rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1.5rem;
}

.empty-state h3 {
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.empty-state p {
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 600;
    transition: all 0.2s ease;
}

.back-link:hover {
    gap: 0.75rem;
}

/* Mobile Filters Offcanvas */
.filters-offcanvas {
    width: 320px !important;
}

.filters-offcanvas .offcanvas-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.filters-offcanvas .offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--gray-200);
    display: flex;
    gap: 0.75rem;
}

.btn-reset {
    flex: 1;
    padding: 0.875rem;
    background: white;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reset:hover {
    border-color: var(--danger);
    color: var(--danger);
}

.btn-apply {
    flex: 2;
    padding: 0.875rem;
    background: var(--primary);
    border: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-apply:hover {
    background: var(--primary-dark);
}

/* Responsive */
@media (max-width: 991.98px) {
    .category-layout {
        grid-template-columns: 1fr;
    }

    .filters-sidebar-desktop {
        display: none;
    }

    .filter-toggle-btn {
        display: flex;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 767.98px) {
    .title-bar-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .title-bar-left h1 {
        font-size: 2rem;
    }

    .title-bar-right {
        width: 100%;
        justify-content: space-between;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .price-current {
        font-size: 1.25rem;
    }
}

/* ========================================
   CATEGORIES INDEX PAGE - MODERN DESIGN
   ======================================== */

/* Hero Section */
.categories-hero {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
    padding: 3rem 0 2rem;
    border-bottom: 1px solid var(--gray-200);
}

.breadcrumb-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.875rem;
}

.breadcrumb-modern li {
    display: flex;
    align-items: center;
}

.breadcrumb-modern a {
    color: var(--gray-600);
    transition: color 0.2s ease;
}

.breadcrumb-modern a:hover {
    color: var(--primary);
}

.breadcrumb-modern .active {
    color: var(--dark);
    font-weight: 600;
}

.breadcrumb-modern i {
    color: var(--gray-400);
    font-size: 0.75rem;
}

.hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Categories Grid Moderne */
.categories-grid-modern {
    padding: 4rem 0;
}

.categories-bento {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.category-card-modern {
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.category-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.category-card-modern.featured {
    grid-column: span 2;
}

.category-link-modern {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-image-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--gradient-card);
}

.category-card-modern.featured .category-image-wrapper {
    aspect-ratio: 21/9;
}

.category-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card-modern:hover .category-image-wrapper img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 50%);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
}

.category-placeholder i {
    font-size: 4rem;
    color: var(--gray-300);
}

.category-content {
    padding: 1.5rem;
    position: relative;
}

.category-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.category-card-modern.featured .category-name {
    font-size: 2rem;
}

.category-count {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

.category-count i {
    color: var(--primary);
}

.category-arrow {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-arrow {
    opacity: 1;
    transform: translateX(0);
}

.subcategories-preview {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    border-top: 1px solid var(--gray-200);
    padding-top: 1rem;
}

.subcat-tag {
    padding: 0.375rem 0.875rem;
    background: var(--gray-100);
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    transition: all 0.2s ease;
}

.subcat-tag:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.subcat-tag.more {
    background: var(--gradient-primary);
    color: white;
}

/* Empty State */
.empty-state-modern {
    text-align: center;
    padding: 6rem 2rem;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    background: var(--gradient-card);
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 4rem;
    color: var(--gray-400);
}

.empty-state-modern h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1rem;
}

.empty-state-modern p {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 991.98px) {
    .categories-bento {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }

    .category-card-modern.featured {
        grid-column: span 1;
    }

    .category-card-modern.featured .category-image-wrapper {
        aspect-ratio: 16/9;
    }

    .category-card-modern.featured .category-name {
        font-size: 1.5rem;
    }
}

/* ========================================
   MINI-CART PREMIUM
   ======================================== */

.mini-cart-modern {
    min-width: 360px;
    max-width: 400px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    border: 1px solid var(--gray-200);
}

/* Header épuré */
.mc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--gray-200);
    background: white;
}

.mc-header-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mc-header-title .bi {
    font-size: 1rem;
    color: var(--primary);
}

.mc-header-badge {
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Liste articles */
.mc-items {
    max-height: 340px;
    overflow-y: auto;
    padding: 0.75rem 1.25rem;
    background: white;
    scrollbar-width: thin;
    scrollbar-color: var(--gray-300) transparent;
}

.mc-items::-webkit-scrollbar { width: 4px; }
.mc-items::-webkit-scrollbar-track { background: transparent; }
.mc-items::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 4px; }

/* Article */
.mc-item {
    display: flex;
    gap: 0.875rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
}

.mc-item:last-child {
    border-bottom: none;
}

.mc-item-img {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.mc-item-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.mc-item-img .bi {
    font-size: 1.5rem;
    color: var(--gray-400);
}

.mc-item-info {
    flex: 1;
    min-width: 0;
}

.mc-item-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.25rem 0;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mc-item-vendor {
    font-size: 0.6875rem;
    color: var(--gray-500);
    margin: 0 0 0.375rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mc-item-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mc-item-qty {
    font-size: 0.75rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 2px 7px;
    border-radius: 4px;
}

.mc-item-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--gray-900);
}

/* Plus d'articles */
.mc-more {
    text-align: center;
    padding: 0.625rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    border-top: 1px dashed var(--gray-200);
    margin-top: 0.25rem;
}

/* Footer */
.mc-footer {
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid var(--gray-200);
    background: var(--gray-50);
}

.mc-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.875rem;
}

.mc-total-label {
    font-size: 0.8125rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.mc-total-amount {
    font-size: 1.3125rem;
    font-weight: 800;
    color: var(--gray-900);
}

/* Bouton commander — CTA principal */
.mc-btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: white;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
    margin-bottom: 0.625rem;
}

.mc-btn-checkout:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
}

/* Lien secondaire — voir panier */
.mc-link-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-600);
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.2s;
}

.mc-link-cart:hover {
    color: var(--primary);
}

.mc-link-cart .bi {
    font-size: 0.8125rem;
}

/* État vide */
.mc-empty-wrap {
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.mc-empty-icon {
    font-size: 2.5rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.mc-empty-icon .bi {
    display: block;
}

.mc-empty-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 0.375rem;
}

.mc-empty-sub {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin-bottom: 1.25rem;
}

/* Responsive */
@media (max-width: 575.98px) {
    .mini-cart-modern {
        min-width: 300px;
        max-width: 100%;
    }

    .mc-items {
        max-height: 260px;
    }

    .mc-item-img {
        width: 54px;
        height: 54px;
    }

    .mc-total-amount {
        font-size: 1.125rem;
    }
}


@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .categories-bento {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .category-name {
        font-size: 1.25rem;
    }
}

/* ========================================
   CATEGORIES BAR - STICKY & HOVER DROPDOWN
   ======================================== */

.categories-bar {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    position: sticky;
    top: 60px;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.categories-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories-nav::-webkit-scrollbar {
    display: none;
}

.category-item {
    position: relative;
}

.category-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.category-link:hover {
    background: var(--gray-100);
    color: var(--dark);
}

.category-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}

.category-item:hover .category-link i {
    transform: rotate(180deg);
}

.category-link-all {
    color: var(--primary);
    font-weight: 600;
}

.category-link-all:hover {
    background: var(--gradient-card);
}

/* Dropdown Menu - Hover Activation */
.dropdown-menu-categories {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    margin-top: 0.5rem;
    background: white;
    display: none;
    z-index: 1000;
}

.category-item:hover .dropdown-menu-categories {
    display: block;
}

.dropdown-menu-categories .dropdown-item {
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    color: var(--gray-700);
    transition: all 0.2s ease;
}

.dropdown-menu-categories .dropdown-item:hover {
    background: var(--gray-100);
    color: var(--dark);
    padding-left: 1rem;
}

.dropdown-menu-categories .dropdown-item.fw-bold {
    color: var(--primary);
}

.dropdown-menu-categories .dropdown-item.fw-bold:hover {
    background: var(--gradient-card);
}

.dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--gray-200);
}

/* Responsive */
@media (max-width: 991.98px) {
    .categories-bar {
        display: none !important;
    }
}

/* ========================================
   AUTHENTICATION PAGES - MODERN DESIGN
   ======================================== */

/* Auth Container */
.auth-container {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.03) 0%, rgba(0, 78, 137, 0.03) 100%);
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

/* Auth Card Modern */
.auth-card-modern {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

/* Auth Card Header */
.auth-card-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 2.5rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.auth-title {
    color: white;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* Auth Card Body */
.auth-card-body {
    padding: 2.5rem 2rem;
}

/* Input Groups Modern */
.input-group-modern {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.input-group-modern:focus-within {
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
    transform: translateY(-1px);
}

.input-group-modern .input-group-text {
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-right: none;
    color: var(--gray-500);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.input-group-modern:focus-within .input-group-text {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
}

.input-group-modern .form-control {
    border: 1px solid var(--gray-200);
    border-left: none;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.input-group-modern .form-control:focus {
    border-color: var(--primary);
    box-shadow: none;
}

/* Form Labels */
.auth-card-body .form-label {
    color: var(--gray-700);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Modern Button */
.btn-modern {
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.3);
}

/* Auth Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gray-200);
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: white;
    color: var(--gray-400);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Social Buttons */
.btn-social {
    padding: 0.875rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-300);
    background: white;
    color: var(--gray-600);
    font-size: 1.25rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-social:hover:not(:disabled) {
    background: var(--gray-50);
    border-color: var(--gray-400);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-social:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Auth Footer Link */
.auth-footer-link {
    color: var(--gray-600);
    font-size: 0.9375rem;
}

.auth-footer-link a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-footer-link a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Form Check */
.auth-card-body .form-check {
    padding-left: 1.75rem;
}

.auth-card-body .form-check-input {
    width: 1.125rem;
    height: 1.125rem;
    margin-top: 0.125rem;
    border: 2px solid var(--gray-300);
    cursor: pointer;
}

.auth-card-body .form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.auth-card-body .form-check-label {
    color: var(--gray-600);
    font-size: 0.875rem;
    cursor: pointer;
}

/* Alerts in Auth Pages */
.auth-card-body .alert {
    border-radius: var(--radius-md);
    border: none;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 767.98px) {
    .auth-container {
        padding: 1rem 0;
        min-height: auto;
    }

    .auth-card-header {
        padding: 2rem 1.5rem;
    }

    .auth-title {
        font-size: 1.5rem;
    }

    .auth-subtitle {
        font-size: 0.875rem;
    }

    .auth-card-body {
        padding: 2rem 1.5rem;
    }
}

/* Notification Dropdown */
.notif-dropdown { max-height: 400px; overflow-y: auto; min-width: 300px; }
.notif-item { border-bottom: 1px solid #f5f5f5; transition: background 0.15s; }
.notif-item:last-child { border-bottom: none; }
.notif-item:hover { background-color: #f0f4ff !important; }

/* ========================================
   PAGE PRODUIT (PRODUCT SHOW)
   ======================================== */

/* Breadcrumb */
.ps-breadcrumb-wrap {
    background: white;
    border-bottom: 1px solid var(--gray-200);
    padding: 0.75rem 0;
}
.ps-breadcrumb-wrap .breadcrumb { font-size: 0.8125rem; }
.ps-breadcrumb-wrap .breadcrumb-item a { color: var(--gray-600); text-decoration: none; }
.ps-breadcrumb-wrap .breadcrumb-item a:hover { color: var(--primary); }
.ps-breadcrumb-wrap .breadcrumb-item.active { color: var(--gray-900); font-weight: 500; }

/* Container */
.ps-main-wrap { padding-top: 2rem; padding-bottom: 4rem; }

/* ── Galerie ── */
.ps-gallery { position: sticky; top: 88px; }

.ps-gallery-main {
    position: relative;
    aspect-ratio: 1 / 1;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.ps-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1.5rem;
    transition: opacity 0.2s;
}
.ps-gallery-placeholder { font-size: 5rem; color: var(--gray-300); }
.ps-gallery-badge {
    position: absolute;
    top: 0.875rem;
    left: 0.875rem;
    background: #e63946;
    color: white;
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.625rem;
    border-radius: 6px;
}

/* Miniatures */
.ps-thumbs { display: flex; gap: 0.5rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.ps-thumbs::-webkit-scrollbar { display: none; }
.ps-thumb {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    overflow: hidden;
    background: white;
    cursor: pointer;
    transition: border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-thumb img { width: 100%; height: 100%; object-fit: contain; padding: 4px; }
.ps-thumb:hover { border-color: var(--gray-400); }
.ps-thumb.active { border-color: var(--primary); border-width: 2px; }

/* ── Panneau achat ── */
.ps-panel { display: flex; flex-direction: column; }

.ps-cat-link {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}
.ps-cat-link:hover { color: var(--primary-dark); }

.ps-product-title {
    font-size: 1.625rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin: 0 0 1.25rem 0;
}

/* Prix */
.ps-price-block {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray-100);
}
.ps-price { font-size: 2.25rem; font-weight: 800; color: var(--gray-900); letter-spacing: -0.03em; line-height: 1; }
.ps-price-orig { font-size: 1.0625rem; color: var(--gray-400); text-decoration: line-through; font-weight: 400; }
.ps-price-badge { background: #e63946; color: white; font-size: 0.8125rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 5px; }

/* Stock */
.ps-stock { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.625rem; }
.ps-stock-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ps-stock-dot.ok   { background: #16a34a; }
.ps-stock-dot.low  { background: #d97706; }
.ps-stock-dot.out  { background: #dc2626; }
.ps-stock-dot.wait { background: #0ea5e9; }
.ps-stock-label { font-size: 0.875rem; font-weight: 500; }
.ps-stock-label.ok   { color: #16a34a; }
.ps-stock-label.low  { color: #d97706; }
.ps-stock-label.out  { color: #dc2626; }
.ps-stock-label.wait { color: #0ea5e9; }

/* Vendeur */
.ps-vendor-line {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}
.ps-vendor-line .bi { color: var(--gray-400); }
.ps-vendor-link { color: var(--gray-900); font-weight: 600; text-decoration: none; }
.ps-vendor-link:hover { color: var(--primary); text-decoration: underline; }

/* CTA */
.ps-actions { display: flex; gap: 0.625rem; margin-bottom: 1rem; }

.ps-btn-cart {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9375rem 1.25rem;
    background: var(--primary);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    line-height: 1;
}
.ps-btn-cart:hover:not(:disabled) { background: var(--primary-dark); color: white; transform: translateY(-1px); }
.ps-btn-cart:disabled { background: var(--gray-300); color: var(--gray-600); cursor: not-allowed; }
.ps-btn-cart.wait { background: #0ea5e9; cursor: not-allowed; }

.ps-btn-fav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.9375rem 1.125rem;
    background: white;
    color: var(--gray-700);
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
    line-height: 1;
}
.ps-btn-fav:hover { border-color: var(--gray-400); color: var(--gray-900); }

/* Trust strip */
.ps-trust {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.75rem 1rem;
    background: var(--gray-50);
    border-radius: 8px;
    margin-bottom: 1rem;
    font-size: 0.8125rem;
    color: var(--gray-600);
}
.ps-trust span { display: flex; align-items: center; gap: 0.375rem; }
.ps-trust .bi { color: var(--primary); font-size: 0.875rem; }

/* Autres offres */
.ps-other-offers { border: 1px solid var(--gray-200); border-radius: 10px; overflow: hidden; }
.ps-other-offers-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 1rem;
    background: white;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    cursor: pointer;
    text-align: left;
    transition: background 0.15s;
}
.ps-other-offers-toggle:hover { background: var(--gray-50); }
.ps-other-offers-toggle .bi-tags { color: var(--primary); }
.ps-offers-chevron { transition: transform 0.2s; margin-left: auto; }
[aria-expanded="true"] .ps-offers-chevron { transform: rotate(180deg); }
.ps-offers-list { border-top: 1px solid var(--gray-100); }

.ps-offer-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--gray-100);
}
.ps-offer-row:last-child { border-bottom: none; }
.ps-offer-vendor { font-size: 0.875rem; font-weight: 500; color: var(--gray-800); }
.ps-offer-price { font-size: 0.9375rem; font-weight: 700; color: var(--gray-900); white-space: nowrap; }

.ps-offer-add {
    padding: 0.375rem 0.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s;
    white-space: nowrap;
}
.ps-offer-add:hover:not(:disabled) { background: var(--primary-dark); }
.ps-offer-add:disabled { background: var(--gray-200); color: var(--gray-500); cursor: not-allowed; }

/* Aucun vendeur */
.ps-no-stock {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.25rem;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #991b1b;
}
.ps-no-stock .bi { font-size: 1.5rem; flex-shrink: 0; margin-top: 0.125rem; }
.ps-no-stock strong { display: block; font-weight: 700; margin-bottom: 0.25rem; }
.ps-no-stock p { margin: 0; font-size: 0.875rem; color: #b91c1c; }

/* ── Sections bas ── */
.ps-bottom-section { margin-top: 3.5rem; border-top: 1px solid var(--gray-200); }

.ps-tabs-nav { display: flex; border-bottom: 1px solid var(--gray-200); }
.ps-tab-btn {
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    margin-bottom: -1px;
}
.ps-tab-btn:hover { color: var(--gray-800); }
.ps-tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }

.ps-tab-pane { display: none; padding: 2rem 0; }
.ps-tab-pane.active { display: block; }

.ps-description { font-size: 1rem; color: var(--gray-700); line-height: 1.85; max-width: 680px; }

/* Caractéristiques */
.ps-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    overflow: hidden;
    max-width: 680px;
    margin: 0;
}
.ps-spec-row {
    display: flex;
    flex-direction: column;
    padding: 0.875rem 1rem;
    border-bottom: 1px solid var(--gray-100);
    border-right: 1px solid var(--gray-100);
    background: white;
}
.ps-spec-row:nth-child(even) { border-right: none; }
.ps-spec-row:nth-last-child(-n+2) { border-bottom: none; }
.ps-spec-row:last-child:nth-child(odd) { border-bottom: none; }
.ps-spec-row dt {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.ps-spec-row dd { font-size: 0.9375rem; font-weight: 500; color: var(--gray-900); margin: 0; }
.ps-spec-row dd a { color: var(--primary); text-decoration: none; }
.ps-spec-row dd a:hover { text-decoration: underline; }

/* ── Zoom hint ── */
.ps-zoom-hint {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.45);
    color: white;
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.3rem 0.625rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
    backdrop-filter: blur(4px);
}
.ps-gallery-main:hover .ps-zoom-hint { opacity: 1; }

/* ── Lightbox ── */
.ps-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 10, 0.92);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
}
.ps-lightbox.open { display: flex; }

.ps-lightbox-content {
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ps-lightbox-img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: 8px;
    user-select: none;
    box-shadow: 0 24px 64px rgba(0,0,0,0.5);
}

.ps-lightbox-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 1.125rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}
.ps-lightbox-close:hover { background: rgba(255,255,255,0.25); }

.ps-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: none;
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    z-index: 1;
}
.ps-lightbox-nav:hover { background: rgba(255,255,255,0.25); }
.ps-lightbox-nav.prev { left: 1.25rem; }
.ps-lightbox-nav.next { right: 1.25rem; }

.ps-lightbox-counter {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.65);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* Responsive produit */
@media (max-width: 991.98px) {
    .ps-gallery { position: static; }
    .ps-product-title { font-size: 1.375rem; }
    .ps-price { font-size: 1.75rem; }
}
@media (max-width: 575.98px) {
    .ps-actions { flex-direction: column; }
    .ps-btn-fav { width: 100%; }
    .ps-specs-grid { grid-template-columns: 1fr; }
    .ps-spec-row { border-right: none; }
    .ps-spec-row:nth-last-child(-n+2) { border-bottom: 1px solid var(--gray-100); }
    .ps-spec-row:last-child { border-bottom: none; }
    .ps-offer-row { grid-template-columns: 1fr auto auto; }
    .ps-offer-stock { display: none; }
    .ps-product-title { font-size: 1.25rem; }
    .ps-price { font-size: 1.5rem; }
}

/* ========================================
   MODAL AJOUT AU PANIER
   ======================================== */

.atc-dialog { max-width: 400px; }

.atc-modal {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0,0,0,0.14);
}

/* Header */
.atc-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1.125rem;
    background: #f0fdf4;
    border-bottom: 1px solid #dcfce7;
}

.atc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #16a34a;
}

.atc-badge .bi { font-size: 1rem; }

.atc-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.06);
    color: var(--gray-600);
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s;
}
.atc-close:hover { background: rgba(0,0,0,0.12); }

/* Aperçu produit */
.atc-product {
    display: flex;
    gap: 0.875rem;
    padding: 1.125rem;
    border-bottom: 1px solid var(--gray-100);
}

.atc-product-img {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    border-radius: 8px;
    background: var(--gray-50);
    border: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.atc-product-img-el {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 6px;
}

.atc-product-placeholder {
    font-size: 1.75rem;
    color: var(--gray-300);
}

.atc-product-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.2rem;
}

.atc-product-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.35;
}

.atc-product-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.atc-product-vendor {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* CTAs */
.atc-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.125rem;
}

.atc-btn-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.8125rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}
.atc-btn-cart:hover { background: var(--primary-dark); color: white; transform: translateY(-1px); }

.atc-cart-count {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    white-space: nowrap;
}

.atc-btn-checkout {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.75rem 1rem;
    background: white;
    color: var(--gray-800);
    border: 1.5px solid var(--gray-200);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: border-color 0.15s, color 0.15s;
}
.atc-btn-checkout:hover { border-color: var(--gray-400); color: var(--gray-900); }

/* Liens secondaires */
.atc-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.125rem;
    border-top: 1px solid var(--gray-100);
    background: var(--gray-50);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.atc-link-continue {
    background: none;
    border: none;
    font-size: 0.8125rem;
    color: var(--gray-500);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0;
    transition: color 0.15s;
}
.atc-link-continue:hover { color: var(--gray-800); }

.atc-link-vendor {
    font-size: 0.8125rem;
    color: var(--primary);
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.15s;
}
.atc-link-vendor:hover { color: var(--primary-dark); }