/* ============================================================
   INFINITE SPORT / SOL SPORTIFS — Premium Design System
   Dark Theme · Red Accents · Professional E-Commerce
   ============================================================ */

/* ==========================================================
   1. CSS RESET & CUSTOM PROPERTIES
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

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

:root {
    /* ── Color Palette ── */
    --bg-dark: #0d0d0d;
    --bg-card: #1a1a1a;
    --bg-surface: #242424;
    --bg-hover: #2a2a2a;
    --accent: #e63232;
    --accent-hover: #ff3c3c;
    --accent-dark: #b82828;
    --accent-glow: rgba(230, 50, 50, 0.25);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666666;
    --border: #333333;
    --border-light: #444444;
    --success: #2ecc71;
    --success-bg: rgba(46, 204, 113, 0.1);
    --warning: #f39c12;
    --warning-bg: rgba(243, 156, 18, 0.1);
    --error: #e74c3c;
    --error-bg: rgba(231, 76, 60, 0.1);
    --info: #3498db;
    --info-bg: rgba(52, 152, 219, 0.1);

    /* ── Typography ── */
    --font-heading: 'Montserrat', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    /* ── Spacing Scale ── */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* ── Border Radius ── */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 50px rgba(0, 0, 0, 0.7);
    --shadow-accent: 0 4px 20px rgba(230, 50, 50, 0.3);
    --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(230, 50, 50, 0.08);

    /* ── Transitions ── */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* ── Layout ── */
    --container-max: 1280px;
    --container-wide: 1440px;
    --header-height: 72px;
    --sidebar-width: 280px;
    --admin-sidebar: 260px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    min-height: 100vh;
}

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

.wysiwyg-content img {
    display: inline-block;
    vertical-align: middle;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--accent-hover);
}

ul, ol {
    list-style: none;
}

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

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    outline: none;
}

::selection {
    background: var(--accent);
    color: var(--text-primary);
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-surface);
    border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--border-light);
}


/* ==========================================================
   2. TYPOGRAPHY
   ========================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.1rem;
    font-weight: 600;
}

h6 {
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
    line-height: 1.7;
}

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

.text-uppercase {
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title h2 {
    margin-bottom: var(--space-md);
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--accent);
    border-radius: var(--radius-full);
}

.section-title p {
    max-width: 600px;
    margin: var(--space-lg) auto 0;
    color: var(--text-muted);
    font-size: 1.05rem;
}

.lead {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

small, .text-small {
    font-size: 0.85rem;
}

.text-xs {
    font-size: 0.75rem;
}


/* ==========================================================
   3. LAYOUT — Container, Grid, Flex Utilities
   ========================================================== */

.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-wide {
    max-width: var(--container-wide);
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.grid-auto-fill {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.grid-auto-fit {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Flex Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-start { display: flex; align-items: center; justify-content: flex-start; }
.flex-end { display: flex; align-items: center; justify-content: flex-end; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-xs { gap: var(--space-xs); }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

section {
    padding: var(--space-4xl) 0;
}


/* ==========================================================
   4. NAVIGATION / HEADER
   ========================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(13, 13, 13, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(51, 51, 51, 0.5);
    z-index: 1000;
    transition: background var(--transition-base), box-shadow var(--transition-base);
}

.header.scrolled {
    background: rgba(13, 13, 13, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.header-logo span {
    color: var(--accent);
}

/* Main Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-main a,
.nav-main .nav-link {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: color var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
}

.nav-main a:hover,
.nav-main .nav-link:hover,
.nav-main a.active,
.nav-main .nav-link.active {
    color: var(--text-primary);
}

.nav-main a::after,
.nav-main .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 24px;
    height: 2px;
    background: var(--accent);
    border-radius: var(--radius-full);
    transition: transform var(--transition-base);
}

.nav-main a:hover::after,
.nav-main .nav-link:hover::after,
.nav-main a.active::after,
.nav-main .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle::after {
    content: '▾';
    margin-left: 6px;
    font-size: 0.7rem;
    transition: transform var(--transition-fast);
}

.nav-dropdown:hover .nav-dropdown-toggle::after {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown-menu a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    padding-left: calc(var(--space-lg) + 4px);
}

/* Header Actions (Cart, User, CTA) */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-actions .btn-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    transition: all var(--transition-base);
    font-size: 1.1rem;
}

.header-actions .btn-icon:hover {
    background: var(--bg-surface);
    color: var(--text-primary);
}

.header-actions .btn-icon .badge-count {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: var(--accent);
    color: var(--text-primary);
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-cta {
    margin-left: var(--space-sm);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    gap: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Body offset for fixed header */
.has-header {
    padding-top: var(--header-height);
}


/* ==========================================================
   5. HERO SECTION
   ========================================================== */

.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    transition: transform 8s ease-out;
    will-change: transform;
}

.hero.loaded .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(13, 13, 13, 0.88) 0%,
        rgba(13, 13, 13, 0.65) 50%,
        rgba(13, 13, 13, 0.75) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 950px;
    text-align: left;
    padding: var(--space-2xl);
    animation: fadeInUp 0.8s ease-out;
}

.hero-content .hero-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(230, 50, 50, 0.15);
    border: 1px solid rgba(230, 50, 50, 0.3);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: var(--space-lg);
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.hero-title .hero-title-accent {
    color: var(--accent);
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 560px;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Parallax scrolling effect */
.hero[data-parallax] .hero-bg {
    will-change: transform;
}


/* ==========================================================
   6. TRUST BAR
   ========================================================== */

.trust-bar {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: var(--space-xl) 0;
}

.trust-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: 0 var(--space-lg);
    border-right: 1px solid var(--border);
    flex: 1;
    text-align: left;
}

.trust-item:last-child {
    border-right: none;
}

.trust-item-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 50, 50, 0.1);
    border-radius: var(--radius-md);
    color: var(--accent);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.trust-item-text h6 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.trust-item-text p {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.4;
}


/* ==========================================================
   7. PRODUCT CARDS
   ========================================================== */

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(230, 50, 50, 0.2);
}

.product-card-image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-surface);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.product-card-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    z-index: 2;
}

.product-card-actions-overlay {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
    z-index: 2;
}

.product-card:hover .product-card-actions-overlay {
    opacity: 1;
    transform: translateX(0);
}

.product-card-actions-overlay button {
    width: 36px;
    height: 36px;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.product-card-actions-overlay button:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.product-card-body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-card-category {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.product-card-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-card-title a:hover {
    color: var(--accent);
}

.product-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.5;
    flex: 1;
}

.product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border);
}

.product-card-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--accent);
}

.product-card-price .price-original {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
    text-decoration: line-through;
    margin-right: var(--space-xs);
}

.product-card-price .price-unit {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
}

.product-card-buttons {
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}


/* ==========================================================
   8. PRODUCT GRID
   ========================================================== */

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.product-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.boutique-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.boutique-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.boutique-header h2 {
    font-size: 1.5rem;
}

.boutique-count {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.boutique-sort {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.boutique-sort label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.boutique-sort select {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-primary);
    font-size: 0.85rem;
}


/* ==========================================================
   9. SIDEBAR FILTERS
   ========================================================== */

.sidebar-filters {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    max-height: calc(100vh - var(--header-height) - var(--space-2xl));
    overflow-y: auto;
}

.filter-section {
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: var(--space-md);
    user-select: none;
}

.filter-section-header h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.filter-section-header .toggle-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform var(--transition-fast);
}

.filter-section.collapsed .filter-section-header .toggle-icon {
    transform: rotate(-90deg);
}

.filter-section.collapsed .filter-section-body {
    display: none;
}

/* Custom Checkbox */
.filter-checkbox {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    cursor: pointer;
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.filter-checkbox:hover {
    color: var(--text-primary);
}

.filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
    position: relative;
}

.filter-checkbox input[type="checkbox"]:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.filter-checkbox input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
}

.filter-checkbox .count {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Color Swatches */
.filter-colors {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.color-swatch {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
}

.color-swatch:hover {
    transform: scale(1.15);
}

.color-swatch.active {
    border-color: var(--text-primary);
    box-shadow: 0 0 0 2px var(--bg-card), 0 0 0 4px var(--text-primary);
}

/* Price Range */
.filter-price-range {
    padding: var(--space-sm) 0;
}

.filter-price-range input[type="range"] {
    width: 100%;
    -webkit-appearance: none;
    height: 4px;
    background: var(--border);
    border-radius: var(--radius-full);
    outline: none;
}

.filter-price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--accent);
    border-radius: var(--radius-full);
    cursor: pointer;
    box-shadow: 0 0 6px rgba(230, 50, 50, 0.4);
}

.filter-price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* Category List */
.category-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.category-list a:hover,
.category-list a.active {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.category-list a.active {
    color: var(--accent);
    font-weight: 600;
}

.category-list .cat-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: 2px 8px;
    border-radius: var(--radius-full);
}


/* ==========================================================
   10. BUTTONS
   ========================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* Primary Button (Red Glass) */
.btn-primary {
    background: rgba(230, 50, 50, 0.85);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(230, 50, 50, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: rgba(255, 60, 60, 0.95);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 25px rgba(230, 50, 50, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: var(--text-primary);
}

.btn-primary:active {
    transform: translateY(0);
    background: rgba(184, 40, 40, 0.9);
    box-shadow: 0 2px 10px rgba(230, 50, 50, 0.3), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Secondary Button (Dark Glass Outlined) */
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Ghost / Outline Accent */
.btn-ghost {
    background: transparent;
    color: var(--accent);
    border-color: var(--accent);
}

.btn-ghost:hover {
    background: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Dark Button */
.btn-dark {
    background: var(--bg-surface);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-dark:hover {
    background: var(--bg-hover);
    border-color: var(--border-light);
}

/* Icon Button */
.btn-icon {
    width: 42px;
    height: 42px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.btn-icon:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Sizes */
.btn-lg {
    padding: 16px 36px;
    font-size: 0.95rem;
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.75rem;
}

.btn-xs {
    padding: 5px 12px;
    font-size: 0.7rem;
    letter-spacing: 0.04em;
}

/* Full Width */
.btn-block {
    width: 100%;
}

/* Button Group */
.btn-group {
    display: flex;
    gap: var(--space-sm);
}

/* Disabled */
.btn:disabled,
.btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
}


/* ==========================================================
   11. FORMS
   ========================================================== */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-card);
}

.form-control:hover:not(:focus) {
    border-color: var(--border-light);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

/* Validation States */
.form-control.is-valid {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.15);
}

.form-control.is-invalid {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.form-feedback {
    font-size: 0.8rem;
    margin-top: var(--space-xs);
}

.form-feedback.valid {
    color: var(--success);
}

.form-feedback.invalid {
    color: var(--error);
}

.form-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* Inline Form */
.form-inline {
    display: flex;
    gap: var(--space-md);
    align-items: flex-end;
}

.form-inline .form-group {
    margin-bottom: 0;
    flex: 1;
}

/* Radio & Checkbox Groups */
.form-check {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    cursor: pointer;
}

.form-check input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-light);
    border-radius: var(--radius-full);
    background: var(--bg-surface);
    cursor: pointer;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.form-check input[type="radio"]:checked {
    border-color: var(--accent);
    background: var(--accent);
    box-shadow: inset 0 0 0 3px var(--bg-surface);
}


/* ==========================================================
   12. AUTH PAGES — Login / Register
   ========================================================== */

.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    padding: var(--space-2xl);
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-xl);
}

.auth-card-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.auth-card-header .logo {
    margin-bottom: var(--space-lg);
}

.auth-card-header h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.auth-card-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.auth-footer a {
    color: var(--accent);
    font-weight: 600;
}

/* Split Layout Auth */
.auth-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.auth-split-visual {
    position: relative;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.auth-split-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(230, 50, 50, 0.15), transparent);
}

.auth-split-form {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl);
}


/* ==========================================================
   13. PRODUCT DETAIL PAGE
   ========================================================== */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
    padding: var(--space-3xl) 0;
}

/* Image Gallery */
.product-gallery {
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

.product-gallery-main {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    margin-bottom: var(--space-md);
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.product-gallery-main:hover img {
    transform: scale(1.05);
}

.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-sm);
}

.product-gallery-thumb {
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    background: var(--bg-card);
}

.product-gallery-thumb:hover,
.product-gallery-thumb.active {
    border-color: var(--accent);
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Product Info */
.product-info {
    padding: var(--space-md) 0;
}

.product-info-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.product-info-breadcrumb a {
    color: var(--text-muted);
}

.product-info-breadcrumb a:hover {
    color: var(--accent);
}

.product-info-breadcrumb .separator {
    color: var(--border-light);
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

.product-info-sku {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.product-info-price {
    display: flex;
    align-items: baseline;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.product-info-price .current-price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.product-info-price .original-price {
    font-size: 1.1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-info-price .discount-badge {
    background: rgba(230, 50, 50, 0.15);
    color: var(--accent);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.product-info-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border);
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    width: fit-content;
}

.quantity-control button {
    width: 42px;
    height: 42px;
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.quantity-control button:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.quantity-control input {
    width: 60px;
    height: 42px;
    text-align: center;
    background: var(--bg-card);
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

/* Product Tabs */
.product-tabs {
    margin-top: var(--space-3xl);
    border-top: 1px solid var(--border);
}

.product-tabs-nav {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.product-tabs-nav button {
    padding: var(--space-lg) var(--space-xl);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
    background: none;
}

.product-tabs-nav button:hover {
    color: var(--text-secondary);
}

.product-tabs-nav button.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent);
}

.product-tab-content {
    padding: var(--space-xl) 0;
    display: none;
}

.product-tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.product-specs-table {
    width: 100%;
}

.product-specs-table tr {
    border-bottom: 1px solid var(--border);
}

.product-specs-table td {
    padding: var(--space-md);
    font-size: 0.9rem;
}

.product-specs-table td:first-child {
    color: var(--text-muted);
    font-weight: 600;
    width: 200px;
}


/* ==========================================================
   14. CART PAGE
   ========================================================== */

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--space-2xl);
    align-items: start;
    padding: var(--space-3xl) 0;
}

.cart-items {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background: var(--bg-hover);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-surface);
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info h4 {
    font-size: 0.95rem;
    margin-bottom: var(--space-xs);
}

.cart-item-info p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.cart-item-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 1.1rem;
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.cart-item-remove:hover {
    color: var(--error);
    background: var(--error-bg);
}

/* Cart Summary */
.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: sticky;
    top: calc(var(--header-height) + var(--space-xl));
}

.cart-summary h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border);
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.cart-summary-row.total {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    border-top: 1px solid var(--border);
    margin-top: var(--space-md);
    padding-top: var(--space-md);
}

.cart-summary-row.total .amount {
    color: var(--accent);
}

.cart-summary .btn {
    margin-top: var(--space-xl);
}

/* Coupon Code */
.cart-coupon {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.cart-coupon input {
    flex: 1;
}


/* ==========================================================
   15. FOOTER
   ========================================================== */

.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding-top: var(--space-4xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .header-logo {
    margin-bottom: var(--space-lg);
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: var(--radius-full);
}

.footer-column ul li {
    margin-bottom: var(--space-sm);
}

.footer-column ul a {
    color: var(--text-muted);
    font-size: 0.88rem;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-column ul a:hover {
    color: var(--text-primary);
    transform: translateX(4px);
}

/* Newsletter */
.footer-newsletter {
    margin-top: var(--space-lg);
}

.footer-newsletter p {
    font-size: 0.82rem;
    margin-bottom: var(--space-md);
}

.footer-newsletter-form {
    display: flex;
    gap: var(--space-sm);
}

.footer-newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.85rem;
}

.footer-newsletter-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

/* Social Icons */
.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-3px);
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: var(--space-lg) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}


/* ==========================================================
   16. "POURQUOI CHOISIR" — Red Banner Section
   ========================================================== */

.why-choose {
    background: linear-gradient(135deg, var(--accent-dark), var(--accent), #d42e2e);
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
}

.why-choose::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--radius-full);
}

.why-choose::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    background: rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-full);
}

.why-choose .container {
    position: relative;
    z-index: 1;
}

.why-choose-title {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.why-choose-title h2 {
    color: var(--text-primary);
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.why-choose-title h2::after {
    background: var(--text-primary);
}

.why-choose-title p {
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: var(--space-lg) auto 0;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.why-choose-item {
    text-align: center;
    padding: var(--space-xl);
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-base);
}

.why-choose-item:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-4px);
}

.why-choose-item-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-primary);
}

.why-choose-item h4 {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: var(--space-sm);
}

.why-choose-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.why-choose-cta {
    text-align: center;
}

.why-choose-cta .btn {
    background: var(--text-primary);
    color: var(--accent);
    border-color: var(--text-primary);
    font-weight: 800;
}

.why-choose-cta .btn:hover {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
}


/* ==========================================================
   17. SOLUTIONS SECTION — NOS SOLUTIONS
   ========================================================== */

.solutions-section {
    padding: var(--space-4xl) 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.solution-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
    group: solution;
}

.solution-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.solution-card:hover img {
    transform: scale(1.1);
}

.solution-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(13, 13, 13, 0.95) 0%,
        rgba(13, 13, 13, 0.4) 50%,
        rgba(13, 13, 13, 0.1) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.solution-card:hover .solution-card-overlay {
    background: linear-gradient(
        to top,
        rgba(230, 50, 50, 0.85) 0%,
        rgba(230, 50, 50, 0.3) 50%,
        rgba(13, 13, 13, 0.1) 100%
    );
}

.solution-card-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
    transform: translateY(0);
    transition: transform var(--transition-base);
}

.solution-card-overlay p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all var(--transition-base);
}

.solution-card:hover .solution-card-overlay h3 {
    transform: translateY(-8px);
}

.solution-card:hover .solution-card-overlay p {
    max-height: 80px;
    opacity: 1;
}

.solution-card-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: var(--space-md);
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-base);
}

.solution-card:hover .solution-card-link {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================
   18. BADGES & TAGS
   ========================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    font-family: var(--font-heading);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.badge-accent {
    background: var(--accent);
    color: var(--text-primary);
}

.badge-dark {
    background: var(--bg-surface);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.badge-success {
    background: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.badge-warning {
    background: var(--warning-bg);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.badge-error {
    background: var(--error-bg);
    color: var(--error);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.badge-info {
    background: var(--info-bg);
    color: var(--info);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.badge-flexi {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: var(--text-primary);
    padding: 5px 12px;
    font-size: 0.7rem;
    border-radius: var(--radius-sm);
}

.badge-new {
    background: var(--success);
    color: #fff;
}

.badge-promo {
    background: var(--warning);
    color: #1a1a1a;
}

/* Tags */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 12px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
}

.tag:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tag.active {
    background: rgba(230, 50, 50, 0.12);
    border-color: var(--accent);
    color: var(--accent);
}

.tag-remove {
    margin-left: 2px;
    opacity: 0.5;
    cursor: pointer;
}

.tag-remove:hover {
    opacity: 1;
}

.tags-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}


/* ==========================================================
   19. PAGINATION
   ========================================================== */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-2xl) 0;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 var(--space-sm);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition-base);
    text-decoration: none;
}

.pagination a:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    border-color: var(--border-light);
}

.pagination .active {
    background: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
}

.pagination .disabled {
    opacity: 0.35;
    cursor: not-allowed;
    pointer-events: none;
}

.pagination .dots {
    background: transparent;
    border: none;
    color: var(--text-muted);
}


/* ==========================================================
   20. MODAL
   ========================================================== */

.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-spring);
}

.modal-backdrop.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border);
}

.modal-header h3 {
    font-size: 1.15rem;
}

.modal-close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
}

.modal-body {
    padding: var(--space-xl);
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-sm);
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--border);
}

/* Large Modal */
.modal-lg {
    max-width: 780px;
}


/* ==========================================================
   21. ALERTS / NOTIFICATIONS / TOASTS
   ========================================================== */

.alert {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid;
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

.alert-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.alert-content {
    flex: 1;
}

.alert-content strong {
    display: block;
    margin-bottom: 2px;
    font-weight: 600;
}

.alert-dismiss {
    flex-shrink: 0;
    color: inherit;
    opacity: 0.5;
    font-size: 1.1rem;
    padding: 4px;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}

.alert-dismiss:hover {
    opacity: 1;
}

.alert-success {
    background: var(--success-bg);
    border-color: rgba(46, 204, 113, 0.3);
    color: var(--success);
}

.alert-error {
    background: var(--error-bg);
    border-color: rgba(231, 76, 60, 0.3);
    color: var(--error);
}

.alert-warning {
    background: var(--warning-bg);
    border-color: rgba(243, 156, 18, 0.3);
    color: var(--warning);
}

.alert-info {
    background: var(--info-bg);
    border-color: rgba(52, 152, 219, 0.3);
    color: var(--info);
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: calc(var(--header-height) + var(--space-md));
    right: var(--space-xl);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    min-width: 320px;
    max-width: 420px;
    pointer-events: all;
    transform: translateX(120%);
    transition: transform var(--transition-spring);
    animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.toast.leaving {
    animation: toastSlideOut 0.3s ease forwards;
}

.toast-success {
    border-left: 3px solid var(--success);
}

.toast-error {
    border-left: 3px solid var(--error);
}

.toast-warning {
    border-left: 3px solid var(--warning);
}

.toast-info {
    border-left: 3px solid var(--info);
}

@keyframes toastSlideIn {
    from { transform: translateX(120%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes toastSlideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(120%); opacity: 0; }
}


/* ==========================================================
   22. ADMIN PANEL
   ========================================================== */

.admin-layout {
    display: grid;
    grid-template-columns: var(--admin-sidebar) 1fr;
    min-height: 100vh;
}

/* Admin Sidebar */
.admin-sidebar {
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    padding: var(--space-xl) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: var(--admin-sidebar);
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}

.admin-sidebar-brand {
    padding: 0 var(--space-xl);
    margin-bottom: var(--space-2xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.admin-sidebar-brand h3 {
    font-size: 1rem;
    font-weight: 800;
}

.admin-sidebar-brand h3 span {
    color: var(--accent);
}

.admin-nav-section {
    margin-bottom: var(--space-xl);
}

.admin-nav-section-title {
    padding: 0 var(--space-xl);
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-xl);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition-fast);
    border-left: 3px solid transparent;
    text-decoration: none;
}

.admin-nav a:hover {
    color: var(--text-primary);
    background: var(--bg-hover);
}

.admin-nav a.active {
    color: var(--accent);
    background: rgba(230, 50, 50, 0.06);
    border-left-color: var(--accent);
    font-weight: 600;
}

.admin-nav a .nav-icon {
    width: 20px;
    text-align: center;
    font-size: 0.95rem;
}

/* Admin Main */
.admin-main {
    margin-left: var(--admin-sidebar);
    padding: var(--space-2xl);
    background: var(--bg-dark);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.admin-header h1 {
    font-size: 1.6rem;
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.stat-card:hover {
    border-color: rgba(230, 50, 50, 0.2);
    transform: translateY(-2px);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
}

.stat-card-header .stat-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.1rem;
}

.stat-icon-red {
    background: rgba(230, 50, 50, 0.12);
    color: var(--accent);
}

.stat-icon-green {
    background: var(--success-bg);
    color: var(--success);
}

.stat-icon-yellow {
    background: var(--warning-bg);
    color: var(--warning);
}

.stat-icon-blue {
    background: var(--info-bg);
    color: var(--info);
}

.stat-card-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.stat-card-label {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.stat-card-change {
    font-size: 0.78rem;
    font-weight: 600;
    margin-top: var(--space-sm);
}

.stat-card-change.positive {
    color: var(--success);
}

.stat-card-change.negative {
    color: var(--error);
}

/* Data Tables */
.data-table-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.data-table-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border);
}

.data-table-header h3 {
    font-size: 1rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-align: left;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
}

.data-table td {
    padding: var(--space-md) var(--space-lg);
    font-size: 0.88rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.data-table tr:hover td {
    background: var(--bg-hover);
}

.data-table tr:last-child td {
    border-bottom: none;
}


/* ==========================================================
   23. ANIMATIONS
   ========================================================== */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(230, 50, 50, 0.4);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(230, 50, 50, 0);
    }
}

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

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

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
    50% { border-color: var(--accent-hover); box-shadow: 0 0 18px var(--accent-glow); }
}

/* Animation Utility Classes */
.animate-fadeIn { animation: fadeIn 0.5s ease forwards; }
.animate-fadeInUp { animation: fadeInUp 0.6s ease forwards; }
.animate-fadeInDown { animation: fadeInDown 0.5s ease forwards; }
.animate-slideInLeft { animation: slideInLeft 0.6s ease forwards; }
.animate-slideInRight { animation: slideInRight 0.6s ease forwards; }
.animate-slideUp { animation: slideUp 0.7s ease forwards; }
.animate-scaleIn { animation: scaleIn 0.5s ease forwards; }
.animate-pulse { animation: pulse 2s ease-in-out infinite; }
.animate-pulseGlow { animation: pulseGlow 2s ease-in-out infinite; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* Scroll-Triggered Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* Stagger Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

.spinner-lg {
    width: 56px;
    height: 56px;
    border-width: 4px;
}

/* Skeleton Loader */
.skeleton {
    background: linear-gradient(90deg, var(--bg-surface) 25%, var(--bg-hover) 50%, var(--bg-surface) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

.skeleton-text {
    height: 14px;
    margin-bottom: var(--space-sm);
    border-radius: var(--radius-sm);
}

.skeleton-title {
    height: 22px;
    width: 60%;
    margin-bottom: var(--space-md);
}

.skeleton-image {
    aspect-ratio: 4/3;
    margin-bottom: var(--space-md);
}

.skeleton-avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
}


/* ==========================================================
   24. RESPONSIVE DESIGN
   ========================================================== */

/* ── Max 1200px ── */
@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr repeat(2, 1fr);
    }
}

/* ── Max 1024px ── */
@media (max-width: 1024px) {
    :root {
        --header-height: 64px;
    }

    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        align-items: stretch;
        padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        overflow-y: auto;
        z-index: 999;
    }

    .nav-main.active {
        right: 0;
    }

    .nav-main a,
    .nav-main .nav-link {
        padding: var(--space-md);
        font-size: 0.95rem;
        border-bottom: 1px solid var(--border);
    }

    .nav-main a::after,
    .nav-main .nav-link::after {
        display: none;
    }

    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--bg-surface);
        padding: 0;
    }

    .nav-dropdown-menu a {
        padding-left: var(--space-2xl);
        border-bottom: 1px solid var(--border);
    }

    .hamburger {
        display: flex;
    }

    .boutique-layout {
        grid-template-columns: 1fr;
    }

    .sidebar-filters {
        position: static;
        max-height: none;
    }

    .product-detail {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .product-gallery {
        position: static;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-split-visual {
        display: none;
    }

    .admin-sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition-base);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        margin-left: 0;
    }
}

/* ── Max 768px ── */
@media (max-width: 768px) {
    .container,
    .container-wide {
        padding: 0 var(--space-md);
    }

    section {
        padding: var(--space-3xl) 0;
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .grid-5 {
        grid-template-columns: 1fr;
    }

    .product-grid,
    .product-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .solutions-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md);
    }

    .hero {
        min-height: 70vh;
    }

    .hero-content {
        text-align: center;
        padding: var(--space-xl);
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .trust-bar .container {
        flex-wrap: wrap;
    }

    .trust-item {
        flex: 1 1 calc(50% - var(--space-xl));
        border-right: none;
        padding: var(--space-md);
    }

    .trust-item:nth-child(odd) {
        border-right: 1px solid var(--border);
    }

    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .cart-item {
        grid-template-columns: 80px 1fr;
        gap: var(--space-md);
    }

    .cart-item-price,
    .cart-item-remove {
        grid-column: 2;
    }

    .data-table-wrapper {
        overflow-x: auto;
    }

    .data-table {
        min-width: 600px;
    }

    .modal {
        max-width: 100%;
        margin: var(--space-md);
        border-radius: var(--radius-lg);
    }
}

/* ── Max 480px ── */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .product-grid,
    .product-grid-3 {
        grid-template-columns: 1fr;
    }

    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .trust-item {
        flex: 1 1 100%;
        border-right: none !important;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .btn-lg {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .auth-card {
        padding: var(--space-xl);
    }

    .product-gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xs);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .pagination a,
    .pagination span {
        min-width: 34px;
        height: 34px;
        font-size: 0.78rem;
    }

    .footer-social a {
        width: 34px;
        height: 34px;
    }

    .cart-coupon {
        flex-direction: column;
    }
}


/* ==========================================================
   25. UTILITY CLASSES
   ========================================================== */

/* Display */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline { display: inline; }
.d-inline-block { display: inline-block; }
.d-inline-flex { display: inline-flex; }

/* Text Alignment */
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }

/* Text Colors */
.text-white { color: var(--text-primary); }
.text-gray { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-red { color: var(--accent); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-info { color: var(--info); }

/* Font Weight */
.fw-300 { font-weight: 300; }
.fw-400 { font-weight: 400; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }

/* Background Colors */
.bg-dark { background-color: var(--bg-dark); }
.bg-card { background-color: var(--bg-card); }
.bg-surface { background-color: var(--bg-surface); }
.bg-accent { background-color: var(--accent); }

/* Margins */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mt-0 { margin-top: 0; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }
.mt-3xl { margin-top: var(--space-3xl); }
.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.ml-sm { margin-left: var(--space-sm); }
.mr-sm { margin-right: var(--space-sm); }

/* Paddings */
.p-0 { padding: 0; }
.p-sm { padding: var(--space-sm); }
.p-md { padding: var(--space-md); }
.p-lg { padding: var(--space-lg); }
.p-xl { padding: var(--space-xl); }
.p-2xl { padding: var(--space-2xl); }
.pt-0 { padding-top: 0; }
.pt-lg { padding-top: var(--space-lg); }
.pt-xl { padding-top: var(--space-xl); }
.pb-0 { padding-bottom: 0; }
.pb-lg { padding-bottom: var(--space-lg); }
.pb-xl { padding-bottom: var(--space-xl); }
.px-md { padding-left: var(--space-md); padding-right: var(--space-md); }
.px-lg { padding-left: var(--space-lg); padding-right: var(--space-lg); }
.px-xl { padding-left: var(--space-xl); padding-right: var(--space-xl); }
.py-md { padding-top: var(--space-md); padding-bottom: var(--space-md); }
.py-lg { padding-top: var(--space-lg); padding-bottom: var(--space-lg); }
.py-xl { padding-top: var(--space-xl); padding-bottom: var(--space-xl); }
.py-2xl { padding-top: var(--space-2xl); padding-bottom: var(--space-2xl); }

/* Width / Height */
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.min-h-screen { min-height: 100vh; }

/* Overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.sticky { position: sticky; }

/* Border */
.border { border: 1px solid var(--border); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }
.border-0 { border: none; }
.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

/* Aspect Ratio */
.aspect-square { aspect-ratio: 1; }
.aspect-video { aspect-ratio: 16/9; }
.aspect-4-3 { aspect-ratio: 4/3; }

/* Object Fit */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }

/* Truncate */
.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Visually Hidden (Screen Reader Only) */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ==========================================================
   26. SCROLL ANIMATIONS — Additional @keyframes
   ========================================================== */

@keyframes fadeInUpStagger {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromBottom {
    0% {
        opacity: 0;
        transform: translateY(100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromTop {
    0% {
        opacity: 0;
        transform: translateY(-100%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-10deg) scale(0.9);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.3); }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes progressBar {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes typewriter {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink {
    50% { border-color: transparent; }
}

/* Counter animation helper */
.count-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Parallax helper */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    inset: -20%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}


/* ==========================================================
   27. QUOTE / DEVIS FORM — Floating Labels
   ========================================================== */

.devis-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-card);
}

.devis-card {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
}

.devis-card-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.devis-card-header h2 {
    margin-bottom: var(--space-sm);
}

.devis-card-header p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* Floating Label Group */
.floating-group {
    position: relative;
    margin-bottom: var(--space-xl);
}

.floating-group input,
.floating-group textarea,
.floating-group select {
    width: 100%;
    padding: 18px 16px 6px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all var(--transition-base);
}

.floating-group textarea {
    min-height: 130px;
    resize: vertical;
    padding-top: 24px;
}

.floating-group label {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all var(--transition-base);
    background: transparent;
}

.floating-group textarea ~ label {
    top: 18px;
    transform: none;
}

.floating-group input:focus,
.floating-group textarea:focus,
.floating-group select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
    background: var(--bg-dark);
}

.floating-group input:focus ~ label,
.floating-group input:not(:placeholder-shown) ~ label,
.floating-group textarea:focus ~ label,
.floating-group textarea:not(:placeholder-shown) ~ label,
.floating-group select:focus ~ label,
.floating-group select:valid ~ label {
    top: 8px;
    transform: none;
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.floating-group select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.devis-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 var(--space-lg);
}

.devis-form-full {
    grid-column: 1 / -1;
}

.devis-form-actions {
    text-align: center;
    margin-top: var(--space-lg);
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-base);
    cursor: pointer;
    background: var(--bg-card);
}

.file-upload:hover {
    border-color: var(--accent);
    background: rgba(230, 50, 50, 0.03);
}

.file-upload input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-icon {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.file-upload-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.file-upload-text strong {
    color: var(--accent);
}

.file-upload-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: var(--space-xs);
}


/* ==========================================================
   EXTRA: BREADCRUMBS
   ========================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.82rem;
    padding: var(--space-md) 0;
}

.breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb .separator {
    color: var(--border-light);
    font-size: 0.7rem;
}

.breadcrumb .current {
    color: var(--text-secondary);
    font-weight: 500;
}


/* ==========================================================
   EXTRA: PROGRESS BAR
   ========================================================== */

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-hover));
    border-radius: var(--radius-full);
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar-fill.animated {
    animation: progressBar 1.5s ease forwards;
}


/* ==========================================================
   EXTRA: TABS (General)
   ========================================================== */

.tabs {
    border-bottom: 1px solid var(--border);
    display: flex;
    gap: 0;
}

.tab {
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-base);
    cursor: pointer;
    background: none;
}

.tab:hover {
    color: var(--text-secondary);
}

.tab.active {
    color: var(--text-primary);
    border-bottom-color: var(--accent);
}

.tab-content {
    display: none;
    padding: var(--space-xl) 0;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}


/* ==========================================================
   EXTRA: TOOLTIP
   ========================================================== */

.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    pointer-events: none;
    box-shadow: var(--shadow-md);
    z-index: 100;
}

.tooltip:hover::after {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-8px);
}


/* ==========================================================
   EXTRA: BACK TO TOP BUTTON
   ========================================================== */

.back-to-top {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 44px;
    height: 44px;
    background: var(--accent);
    color: var(--text-primary);
    border: none;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
    z-index: 999;
    box-shadow: var(--shadow-accent);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--accent-hover);
    transform: translateY(-4px);
}


/* ==========================================================
   EXTRA: COOKIE BANNER
   ========================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    z-index: 9998;
    transform: translateY(100%);
    transition: transform var(--transition-base);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
}

.cookie-banner-actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}


/* ==========================================================
   EXTRA: RESPONSIVE UTILITIES
   ========================================================== */

@media (max-width: 1024px) {
    .hide-tablet { display: none !important; }
}

@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
    .show-mobile { display: block !important; }
}

@media (min-width: 769px) {
    .show-mobile { display: none !important; }
}

@media (min-width: 1025px) {
    .hide-desktop { display: none !important; }
    .show-tablet { display: none !important; }
}


/* ==========================================================
   PRINT STYLES
   ========================================================== */

@media print {
    .header,
    .footer,
    .back-to-top,
    .cookie-banner,
    .toast-container,
    .hamburger {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .container {
        max-width: 100%;
    }

    a {
        color: black;
        text-decoration: underline;
    }
}
/* ==========================================================
   HEADER FIXES (Layout, Dropdown, Search, Flash)
   ========================================================== */

/* Header Top */
.header-top {
    background: #000;
    border-bottom: 1px solid var(--border);
    padding: 0.25rem 0;
}
.header-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-top-left, .header-top-right {
    display: flex;
    gap: 1.5rem;
}
.header-top-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-decoration: none;
}
.header-top-link:hover {
    color: var(--text-primary);
}

/* Nav Inner */
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* User Dropdown */
.nav-user-dropdown {
    position: relative;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 220px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: var(--space-sm) 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition-base);
    z-index: 1000;
}
.nav-user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown-header {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.85rem;
    font-weight: bold;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: var(--space-xs);
}
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    text-decoration: none;
}
.dropdown-item:hover {
    background: var(--bg-hover);
    color: var(--text-primary);
    padding-left: calc(var(--space-lg) + 4px);
}
.dropdown-item-danger {
    color: var(--error);
}
.dropdown-item-danger:hover {
    color: var(--error);
    background: var(--error-bg);
}
.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-xs) 0;
}

/* Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}
.search-overlay.active {
    opacity: 1;
    visibility: visible;
}
.search-form {
    position: relative;
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
}
.search-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--text-secondary);
    padding: 1rem 3rem 1rem 0;
    font-size: 2rem;
    color: var(--text-primary);
    font-family: var(--font-heading);
    transition: border-color var(--transition-base);
}
.search-input:focus {
    border-bottom-color: var(--accent);
}
.search-submit {
    position: absolute;
    right: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}
.search-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: var(--text-primary);
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-base);
}
.search-close:hover {
    color: var(--accent);
}

/* Flash Messages */
.flash-message {
    position: fixed;
    top: calc(var(--header-height) + 10px);
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 1rem 0;
    animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.flash-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    color: var(--text-primary);
    position: relative;
}
.flash-close {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
}
.flash-success .flash-inner { border-left: 4px solid var(--success); }
.flash-success .flash-inner i { color: var(--success); }
.flash-error .flash-inner { border-left: 4px solid var(--error); }
.flash-error .flash-inner i { color: var(--error); }
.flash-warning .flash-inner { border-left: 4px solid var(--warning); }
.flash-warning .flash-inner i { color: var(--warning); }
.flash-info .flash-inner { border-left: 4px solid var(--info); }
.flash-info .flash-inner i { color: var(--info); }
/* ==========================================================
   HEADER SECONDARY BAR (Search, User, Cart)
   ========================================================== */

.header-secondary-bar {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
}

.header-secondary-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

/* Inline Search Form */
.inline-search-form {
    flex: 1;
    max-width: 500px;
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    overflow: hidden;
    transition: border-color var(--transition-base);
}
.inline-search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(230, 50, 50, 0.2);
}
.inline-search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
}
.inline-search-input::placeholder {
    color: var(--text-muted);
}
.inline-search-btn {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0 1.5rem;
    height: 100%;
    align-self: stretch;
    cursor: pointer;
    transition: background var(--transition-base);
    font-size: 1.1rem;
}
.inline-search-btn:hover {
    background: #d62828;
}

/* Secondary Actions */
.secondary-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
}

/* User Trigger */
.user-trigger {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}
.user-trigger:hover {
    color: var(--accent);
}
.user-trigger i {
    font-size: 2.2rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}
.user-trigger:hover i {
    color: var(--accent);
}
.user-trigger-text {
    display: flex;
    flex-direction: column;
}
.user-trigger-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.user-trigger-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

/* Cart Button */
.secondary-cart-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}
.secondary-cart-btn:hover {
    color: var(--accent);
}
.cart-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-icon-wrapper i {
    font-size: 1.8rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}
.secondary-cart-btn:hover .cart-icon-wrapper i {
    color: var(--accent);
}
.cart-icon-wrapper .cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    border: 2px solid var(--bg-surface);
}
.cart-text {
    display: flex;
    flex-direction: column;
}
.cart-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}
.cart-subtitle {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 991px) {
    .header-secondary-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .inline-search-form {
        max-width: 100%;
        width: 100%;
    }
    .secondary-actions {
        width: 100%;
        justify-content: space-between;
    }
}
/* ==========================================================
   26. PROFILE LAYOUT & MOBILE FIXES
   ========================================================== */

.profile-layout {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 4rem;
    align-items: start;
}

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

.profile-sidebar {
    background: var(--bg-surface);
    padding: 2rem;
    border-radius: 8px;
    align-self: start;
}

.profile-section {
    background: var(--bg-surface);
    padding: 2.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.profile-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-form-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-password-col {
    margin-bottom: 2rem;
    max-width: 50%;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

@media (max-width: 991px) {
    .profile-layout,
    .contact-layout,
    .contact-layout-50 {
        grid-template-columns: 1fr;
    }
    
    .contact-layout,
    .contact-layout-50 {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .profile-form-row,
    .profile-form-row-3 {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .profile-section {
        padding: 1.5rem;
    }
    
    .profile-password-col {
        max-width: 100%;
    }
    
    .btn {
        width: 100%;
    }
}

/* Subtle Logo Animation for all logos */
img[src*="logo4.png"],
.footer-logo {
    animation: floatingLogo 4s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes floatingLogo {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.03);
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.15));
    }
    100% {
        transform: translateY(0px) scale(1);
    }
}

/* Premium Utilities */
.glass-panel {
    background: rgba(30, 30, 30, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: var(--radius-lg);
}

.animate-float {
    animation: floatingItem 4s ease-in-out infinite;
    transform-origin: center center;
}

@keyframes floatingItem {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-8px); filter: drop-shadow(0 10px 10px rgba(230,50,50,0.15)); }
    100% { transform: translateY(0px); }
}
