/* Variables CSS - Stan Store Style */
:root {
    --primary: #000000;
    --primary-rgb: 0, 0, 0;
    --accent: #6366f1;
    --accent-light: #a5b4fc;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --background: #ffffff;
    --surface: #f8fafc;
    --surface-hover: #f1f5f9;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;

    /* Border radius */
    --radius-sm: 0.375rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Cal Sans', 'Inter', system-ui, sans-serif;

    /* Transitions */
    --transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset et base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--background);
    overflow-x: hidden;
}

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

/* Typography */
.text-display {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
}

.text-5xl { font-size: clamp(2.5rem, 5vw, 3rem); }
.text-4xl { font-size: clamp(2rem, 4vw, 2.25rem); }
.text-3xl { font-size: clamp(1.5rem, 3vw, 1.875rem); }
.text-2xl { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
.text-xl { font-size: clamp(1.125rem, 2vw, 1.25rem); }
.text-lg { font-size: 1.125rem; }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-white { color: white; }

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--space-lg);
    padding-right: var(--space-lg);
}

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

/* Navigation moderne style Stan Store */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    height: 32px;
    line-height: 1;
}

/* Navigation - Mobile First */
.nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 50;
    list-style: none;
}

.nav-links.mobile-open {
    display: flex;
}

.nav-links li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.nav-links li:last-child {
    border-bottom: none;
}

/* Styles spécifiques pour les éléments mobile */
.mobile-nav-divider {
    border-top: 2px solid #f1f5f9 !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
}

.mobile-language-switcher {
    padding: 0.5rem 0;
}

.mobile-section-title {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    display: block;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link.active {
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    height: 32px;
}

.cart-indicator {
    position: relative;
    padding: 0.375rem 0.75rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    height: 32px;
    box-sizing: border-box;
    gap: 0.375rem;
}

.cart-indicator:hover {
    background: var(--surface-hover);
    border-color: var(--border);
    color: var(--text-primary);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
}

/* Panier flottant mobile */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
    z-index: 1000;
    transition: var(--transition);
    text-decoration: none;
    padding: 0;
    border: none;
    outline: none;
    line-height: 1;
}

.floating-cart svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

.floating-cart:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.4);
}

.floating-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    border: 2px solid white;
}

/* Buttons modernes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0 var(--space-lg);
    height: 44px;
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    user-select: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: rgba(var(--primary-rgb), 0.9);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    color: white;
}

.btn-secondary {
    background: white;
    color: var(--text-primary);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--surface-hover);
    border-color: var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    color: var(--text-primary);
}

.btn-success {
    background: var(--success);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-success:hover {
    background: #16a34a;
    box-shadow: var(--shadow);
    transform: translateY(-1px);
    color: white;
}

.alert {
    padding: 1rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: none;
}

.btn-ghost:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
}

.btn-sm {
    height: 32px;
    padding: 0 var(--space-md);
    font-size: 0.75rem;
}

.btn-lg {
    height: 52px;
    padding: 0 var(--space-xl);
    font-size: 1rem;
}

/* Button loaders */
.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.btn-loader .spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn:disabled:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

/* Hero Section style Stan Store */
.hero {
    background: linear-gradient(135deg, var(--surface) 0%, white 100%);
    padding: var(--space-2xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.025em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

/* Cards modernes */
.card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-slow);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
    border-color: var(--border);
}

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

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

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

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

/* Product Cards style Stan Store */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.product-card {
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition-slow);
    position: relative;
    height: fit-content;
}

.product-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
    border-color: var(--accent-light);
}

.product-image {
    position: relative;
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, var(--surface) 0%, var(--border-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--accent);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.product-info {
    padding: var(--space-xl);
}

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

.product-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: var(--space-lg);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    color: var(--text-muted);
    font-size: 0.75rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.price-current {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

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

.product-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    margin: var(--space-2xl) 0;
}

.service-card {
    text-align: center;
    padding: var(--space-2xl);
    background: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-lg);
    display: inline-block;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1);
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.service-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

/* Forms modernes */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 0 var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    background: white;
    transition: var(--transition);
    color: var(--text-primary);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

.form-error {
    color: var(--error);
    font-size: 0.75rem;
    margin-top: var(--space-xs);
}

/* Authentication Forms */
.auth-container {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background: var(--surface);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.auth-header {
    padding: var(--space-2xl) var(--space-xl) 0;
    text-align: center;
}

.auth-title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.auth-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

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

.auth-footer {
    padding: 0 var(--space-xl) var(--space-xl);
    text-align: center;
    border-top: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-secondary);
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-footer a:hover {
    color: var(--primary);
}

/* Alerts */
.alert {
    padding: var(--space-md);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid;
    font-size: 0.875rem;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: #166534;
    border-color: rgba(34, 197, 94, 0.2);
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-color: rgba(239, 68, 68, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #92400e;
    border-color: rgba(245, 158, 11, 0.2);
}

/* Footer moderne */
.footer {
    background: var(--text-primary);
    color: white;
    padding: var(--space-2xl) 0 var(--space-xl);
    margin-top: var(--space-2xl);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h3 {
    font-family: var(--font-display);
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
    color: white;
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.875rem;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 2px;
    background: var(--surface);
    border-radius: var(--radius);
    padding: 2px;
    border: 1px solid var(--border);
    align-items: center;
    height: 32px;
    box-sizing: border-box;
}

.language-switcher a {
    padding: 0.25rem 0.5rem;
    border-radius: calc(var(--radius) - 2px);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: var(--transition);
    color: var(--text-secondary);
    line-height: 1;
    white-space: nowrap;
}

.language-switcher a.active {
    background: white;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.language-switcher a:hover:not(.active) {
    color: var(--text-primary);
}

/* Dashboard */
.dashboard-header {
    padding: var(--space-2xl) 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.dashboard-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-2xl) 0;
}

.stat-card {
    background: white;
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: var(--space-md);
}

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

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
======================================== */

/* Base responsive container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Mobile First - Base styles (320px+) */
.product-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Header responsive */
.nav-container {
    padding: 0 1rem;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Styles mobiles déjà définis plus haut */

/* Styles supprimés - utilisation de .mobile-open maintenant */

/* Mobile navigation simplifiée - styles définis plus haut */

.nav-links .mobile-only:first-of-type {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-light);
}

/* Language switcher dans le menu mobile */
.nav-links .language-switcher {
    justify-content: center;
    margin: 0.5rem 0;
}

/* Cart indicator dans le menu mobile */
.nav-links .cart-count {
    background: var(--accent);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 0.5rem;
}

/* Animation slide down */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    color: #000000; /* Force le noir sur mobile */
    border-radius: var(--radius-lg);
    transition: var(--transition);
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
}

.nav-toggle:hover {
    color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.nav-toggle:active {
    background: rgba(99, 102, 241, 0.2);
    transform: scale(0.95);
}

/* Hero section responsive */
.hero {
    padding: 2rem 0;
    min-height: 70vh;
}

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

.hero-text {
    text-align: center;
    order: 2;
}

.hero-image {
    order: 1;
}

.manuela-hero-photo {
    width: 280px;
    height: 280px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.hero-actions .btn {
    width: 100%;
    max-width: 280px;
}

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

/* Cards responsive */
.card {
    margin-bottom: 1rem;
}

.card-body {
    padding: 1rem;
}

/* Forms responsive */
.form-group {
    margin-bottom: 1rem;
}

/* Grid layouts responsive */
.stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
}

/* Footer responsive */
.footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

/* Sections responsive */
.section {
    padding: 2rem 0;
}

/* ========================================
   TABLET STYLES (576px+)
======================================== */
@media (min-width: 576px) {
    .container {
        padding: 0 1.5rem;
    }

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

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

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

    .hero-actions {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-actions .btn {
        width: auto;
        min-width: 200px;
    }

    .manuela-hero-photo {
        width: 320px;
        height: 320px;
    }

    .card-body {
        padding: 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    /* Two-column forms */
    .form-grid-2 {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* ========================================
   TABLET LANDSCAPE (768px+)
======================================== */
@media (min-width: 768px) {
    .container {
        padding: 0 2rem;
    }

    /* Desktop navigation */
    .nav-links,
    .nav-links.mobile-open {
        display: flex !important;
        position: static !important;
        background: none !important;
        flex-direction: row !important;
        padding: 0 !important;
        box-shadow: none !important;
        gap: 0.25rem;
        align-items: center;
    }

    .nav-links li {
        padding: 0;
        border-bottom: none;
    }

    /* Masquer les éléments spécifiques mobile sur desktop */
    .mobile-nav-divider {
        display: none !important;
    }

    .mobile-language-switcher {
        display: none !important;
    }

    .nav-link {
        color: var(--text-secondary);
        padding: 0.375rem 0.5rem;
        height: 32px;
        display: flex;
        align-items: center;
    }

    .nav-link:hover {
        color: var(--text-primary);
    }

    .nav-toggle {
        display: none;
    }

    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: flex !important;
    }

    /* Hero responsive desktop */
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }

    .hero-text {
        text-align: left;
        order: 1;
    }

    .hero-image {
        order: 2;
    }

    .manuela-hero-photo {
        width: 400px;
        height: 400px;
    }

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

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

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

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

    .section {
        padding: 4rem 0;
    }

    /* About page - Manuela section */
    .manuela-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .manuela-image {
        width: 300px;
        height: 300px;
    }

    /* Homepage Manuela section */
    .homepage-manuela-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
        align-items: center;
    }

    .homepage-manuela-image {
        width: 400px;
        height: 400px;
    }

    /* Product detail page */
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    /* Cart page */
    .cart-grid {
        grid-template-columns: 1fr 400px;
        gap: 3rem;
    }
}

/* ========================================
   DESKTOP (1024px+)
======================================== */
@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

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

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

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

    .section {
        padding: 5rem 0;
    }

    .hero {
        padding: 6rem 0;
    }

    /* Four-column layouts for larger screens */
    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .manuela-image {
        width: 400px;
        height: 400px;
    }
}

/* ========================================
   LARGE DESKTOP (1280px+)
======================================== */
@media (min-width: 1280px) {
    .container {
        max-width: 1280px;
        padding: 0 2rem;
    }

    .section {
        padding: 6rem 0;
    }

    .hero {
        padding: 8rem 0;
    }
}

/* ========================================
   MOBILE SPECIFIC ADJUSTMENTS
======================================== */
@media (max-width: 767px) {
    /* Hide decorative elements on mobile */
    .float-stats,
    .hero-decoration {
        display: none !important;
    }

    /* Stack all grids to single column */
    .manuela-grid,
    .homepage-manuela-grid,
    .product-detail-grid,
    .cart-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* Adjust image sizes for mobile */
    .manuela-image,
    .homepage-manuela-image {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    /* Mobile-friendly buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.125rem;
    }

    /* Mobile-friendly cards */
    .card-body {
        padding: 1rem;
    }

    .card-header {
        padding: 1rem 1rem 0.5rem;
    }

    /* Mobile forms */
    .form-control {
        padding: 0.75rem;
        font-size: 1rem; /* Prevent zoom on iOS */
    }

    /* Mobile table alternative */
    .mobile-stack > * {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Mobile spacing adjustments */
    .mb-6 { margin-bottom: 3rem; }
    .mt-6 { margin-top: 3rem; }

    /* Mobile text sizes */
    .text-4xl { font-size: 2rem; }
    .text-3xl { font-size: 1.75rem; }
    .text-2xl { font-size: 1.5rem; }
    .text-xl { font-size: 1.25rem; }
}

/* ========================================
   TOUCH DEVICE OPTIMIZATIONS
======================================== */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn {
        min-height: 44px;
        padding: 0.875rem 1.5rem;
    }

    .nav-link {
        padding: 1rem;
    }

    .card {
        margin-bottom: 1rem;
    }

    /* Remove hover effects on touch devices */
    .btn:hover,
    .card:hover,
    .product-card:hover {
        transform: none;
        box-shadow: var(--shadow);
    }
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
    .nav,
    .hero,
    .footer,
    .btn {
        display: none;
    }

    .container {
        max-width: none;
        padding: 0;
    }

    .card {
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
}

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

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

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.4s ease-out forwards;
}

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

.hidden { display: none !important; }
.block { display: block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }

.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }
.mb-6 { margin-bottom: var(--space-2xl); }

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: var(--space-xs); }
.mt-2 { margin-top: var(--space-sm); }
.mt-3 { margin-top: var(--space-md); }
.mt-4 { margin-top: var(--space-lg); }
.mt-5 { margin-top: var(--space-xl); }
.mt-6 { margin-top: var(--space-2xl); }

.p-0 { padding: 0 !important; }
.p-1 { padding: var(--space-xs); }
.p-2 { padding: var(--space-sm); }
.p-3 { padding: var(--space-md); }
.p-4 { padding: var(--space-lg); }
.p-5 { padding: var(--space-xl); }
.p-6 { padding: var(--space-2xl); }

/* ========================================
   ABOUT PAGE RESPONSIVE STYLES
======================================== */
.mission-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: center;
}

.stats-grid {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mission-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    background: linear-gradient(135deg, var(--surface) 0%, var(--border-light) 100%);
    padding: 3rem;
    border-radius: var(--radius-xl);
    text-align: center;
}

.manuela-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: center;
}

.manuela-photo-container {
    display: flex;
    justify-content: center;
}

.manuela-image {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--accent);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.2);
}

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

.badges-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-blue {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.service-icon-green {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.service-icon-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

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

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar span {
    color: white;
    font-weight: 600;
}

.author-avatar-accent {
    background: var(--accent);
}

.author-avatar-success {
    background: var(--success);
}

.author-avatar-error {
    background: var(--error);
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: white;
    color: var(--primary);
}

.btn-cta-ghost {
    border-color: white;
    color: white;
}

.btn-cta-ghost:hover {
    background: white;
    color: var(--primary);
}

/* About Page Responsive Breakpoints */
@media (max-width: 1024px) {
    .mission-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .manuela-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

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

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

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

@media (max-width: 768px) {
    .mission-layout {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .visual-card {
        padding: 2rem;
    }

    .manuela-image {
        width: 250px;
        height: 250px;
    }

    .stats-grid {
        flex-direction: column;
        gap: 0.5rem;
    }

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

    .service-footer {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

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

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

    .value-item {
        padding: 1.5rem;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-cta-primary,
    .btn-cta-ghost {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .manuela-image {
        width: 200px;
        height: 200px;
    }

    .visual-card {
        padding: 1.5rem;
    }

    .value-item {
        padding: 1rem;
    }

    .text-display.text-4xl {
        font-size: 2rem;
    }

    .text-display.text-3xl {
        font-size: 1.75rem;
    }

    .text-display.text-2xl {
        font-size: 1.5rem;
    }
}

/* ========================================
   PRODUCTS PAGE RESPONSIVE STYLES
======================================== */
.filters-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: end;
}

.filter-field {
    min-width: 180px;
    flex: 1;
}

.filter-search {
    min-width: 200px;
    flex: 2;
}

.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.product-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--surface);
    border-radius: var(--radius);
}

/* Products Page Responsive Breakpoints */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .filter-field {
        min-width: 150px;
    }

    .filter-search {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .filters-form {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-field,
    .filter-search {
        width: 100%;
        min-width: unset;
    }

    .quick-filters {
        flex-direction: column;
        gap: 0.5rem;
    }

    .quick-filters .btn {
        width: 100%;
        justify-content: center;
    }

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

    .product-actions {
        gap: 0.5rem;
    }

    .product-actions form {
        margin-top: 0.5rem !important;
    }
}

@media (max-width: 480px) {
    .filters-form .btn {
        width: 100%;
        margin-top: 1rem;
    }

    .product-card {
        margin-bottom: 1rem;
    }

    .product-meta {
        flex-direction: column;
        gap: 0.25rem;
        align-items: flex-start;
    }

    .product-price {
        margin-bottom: 1rem;
    }

    .btn {
        font-size: 0.9rem;
        padding: 0.75rem 1rem;
    }
}

/* ========================================
   PRODUCT PAGE RESPONSIVE STYLES
======================================== */
.breadcrumb-nav {
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.product-detail-image {
    height: 400px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.product-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-detail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, var(--surface) 0%, var(--border-light) 100%);
}

.product-meta-grid {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--surface);
    border-radius: var(--radius-lg);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-section {
    margin-bottom: 2rem;
}

.price-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.savings-text {
    color: var(--success);
    font-weight: 600;
}

.product-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.guarantee-section {
    margin-top: 2rem;
    padding: 1rem;
    border: 1px solid var(--success);
    border-radius: var(--radius-lg);
    background: rgba(34, 197, 94, 0.05);
}

.guarantee-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.guarantee-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

.product-description {
    line-height: 1.7;
}

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

.included-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Product Page Responsive Breakpoints */
@media (max-width: 1024px) {
    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-meta-grid {
        flex-wrap: wrap;
        gap: 1rem;
    }

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

@media (max-width: 768px) {
    .breadcrumb {
        font-size: 0.75rem;
        flex-wrap: wrap;
    }

    .product-detail-image {
        height: 300px;
    }

    .product-meta-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .action-buttons {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .price-display {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

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

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

@media (max-width: 480px) {
    .product-detail-grid {
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .product-detail-image {
        height: 250px;
    }

    .guarantee-section {
        margin-top: 1.5rem;
        padding: 0.75rem;
    }

    .meta-item {
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }

    .breadcrumb-nav {
        margin-bottom: 1rem;
    }
}

/* ========================================
   PROFILE PAGE RESPONSIVE STYLES
======================================== */
/* Profile page layout */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.profile-header {
    text-align: center;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.profile-breadcrumb {
    margin-bottom: 2rem;
}

.profile-breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    flex-wrap: wrap;
}

/* Desktop layout */
@media (min-width: 768px) {
    .profile-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
        margin-bottom: 1.5rem;
    }

    .profile-header h1 {
        font-size: 2rem;
    }
}

/* Mobile adjustments */
@media (max-width: 767px) {
    .profile-header h1 {
        font-size: 1.5rem !important;
    }

    .profile-header p {
        font-size: 1rem !important;
    }

    .profile-avatar span {
        font-size: 1.5rem !important;
    }

    .card-header h2 {
        font-size: 1.1rem !important;
    }
}

/* ========================================
   CART PAGE RESPONSIVE STYLES
======================================== */
/* Cart responsive layout */
.cart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Mobile cart header */
@media (max-width: 767px) {
    .cart-page-header h1 {
        font-size: 2rem !important;
    }

    .cart-page-header .text-lg {
        font-size: 1rem !important;
    }

    .cart-item {
        padding: 1rem !important;
    }

    .cart-item h4 {
        font-size: 1.1rem !important;
    }

    .cart-item p {
        font-size: 0.875rem !important;
    }

    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
    }
}

.cart-item {
    padding: 1.5rem;
}

.cart-item-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item-image {
    width: 100%;
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-details {
    flex: 1;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
}

.cart-quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: fit-content;
    margin: 0 auto;
}

.cart-price-total {
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
}

/* Desktop cart layout */
@media (min-width: 768px) {
    .cart-grid {
        grid-template-columns: 2fr 1fr;
        gap: 3rem;
    }

    .cart-item-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .cart-item-image {
        width: 120px;
        height: 80px;
    }

    .cart-item-actions {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .cart-quantity-controls {
        margin: 0;
    }

    .cart-price-total {
        text-align: right;
    }
}

.cart-item-content {
    display: flex;
    gap: 1rem;
    align-items: start;
}

.cart-item-image {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
}

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

.cart-placeholder {
    background: linear-gradient(135deg, var(--surface) 0%, var(--border-light) 100%);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-item-details {
    flex: 1;
}

.cart-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.quantity-price-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.qty-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover:not(:disabled) {
    background: var(--surface);
}

.qty-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.qty-display {
    padding: 0.5rem 1rem;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

.item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-bottom-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
}

.cart-summary {
    position: sticky;
    top: 100px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.25rem;
    font-weight: 700;
}

.checkout-section {
    margin-top: 2rem;
}

.guarantees-section {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.payment-method {
    padding: 0.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: white;
}

/* Cart Page Responsive Breakpoints */
@media (max-width: 1024px) {
    .cart-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cart-summary {
        position: relative;
        top: auto;
    }

    .cart-item-image {
        width: 100px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .cart-item {
        padding: 1rem;
    }

    .cart-item-content {
        flex-direction: column;
        gap: 1rem;
    }

    .cart-item-image {
        width: 100%;
        height: 200px;
        align-self: center;
        max-width: 300px;
    }

    .cart-item-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }

    .quantity-price-group {
        justify-content: space-between;
    }

    .item-actions {
        justify-content: space-between;
        flex-wrap: wrap;
    }

    .cart-bottom-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .payment-methods {
        justify-content: center;
        gap: 0.5rem;
    }

    .payment-method {
        flex: 1;
        text-align: center;
        min-width: 70px;
    }
}

@media (max-width: 480px) {
    .cart-grid {
        gap: 1.5rem;
    }

    .cart-item {
        padding: 0.75rem;
    }

    .cart-item-image {
        height: 150px;
    }

    .qty-btn {
        padding: 0.25rem;
        min-width: 32px;
        height: 32px;
    }

    .qty-display {
        padding: 0.25rem 0.5rem;
        min-width: 40px;
    }

    .guarantee-item {
        margin-bottom: 0.75rem;
    }

    .guarantee-item span {
        font-size: 0.8rem;
    }
}

/* ========================================
   CHECKOUT PAGE RESPONSIVE STYLES
======================================== */
.checkout-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.billing-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

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

/* ========================================
   PROFILE PAGE RESPONSIVE STYLES
======================================== */
.profile-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

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

.preferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.account-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.quick-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

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

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .preferences-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .account-action {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .profile-badges {
        gap: 0.5rem;
    }

    .quick-actions {
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .profile-badges {
        flex-direction: column;
        align-items: center;
    }

    .quick-actions {
        flex-direction: column;
        width: 100%;
    }

    .quick-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   LOGIN/REGISTER PAGE RESPONSIVE STYLES
======================================== */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding: 2rem;
}

.auth-form {
    width: 100%;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    overflow: hidden;
}

.btn-loader {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.spinner {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

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

    .auth-container {
        padding: 1rem;
        max-width: 100%;
    }

    .checkout-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 0.5rem;
    }

    .card-body {
        padding: 1rem;
    }
}