/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --gold: #e09015;
    --gold-light: #f4a228;
    --dark: #1a1a2e;
    --light: #f4f6f8;
    --light2: #eef0f3;
    --gray: #6c757d;
    --border: #e2e6ea;
    --white: #ffffff;
    --text: #1e293b;
    --text-light: #64748b;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(0,0,0,0.14);
    --radius: 12px;
    --transition: 0.3s ease;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background: var(--light);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ===== HEADER ===== */
header {
    background: white;
    color: var(--text);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-bottom: 3px solid var(--primary);
}

.header-top {
    background: linear-gradient(90deg, var(--primary) 0%, #a00000 100%);
    padding: 6px 20px;
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
}
.header-fb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1877f2;
    color: white;
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    white-space: nowrap;
    transition: all .2s;
    flex-shrink: 0;
}
.header-fb:hover { background: #0d5fd1; transform: translateY(-1px); }
@media (max-width: 600px) {
    .header-top { gap: 8px; padding: 5px 10px; }
    .header-top-text { font-size: 0.6rem; }
    .header-fb { font-size: 0.62rem; padding: 3px 9px; }
    .header-fb svg { width: 11px; height: 11px; }
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.logo img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-text .impact {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.logo-text .fit {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 4px;
}

.search-bar {
    flex: 1;
    max-width: 480px;
    display: flex;
    border-radius: 30px;
    overflow: hidden;
    border: 2px solid var(--border);
    transition: border-color var(--transition);
}

.search-bar:focus-within { border-color: var(--primary); }

.search-bar input {
    flex: 1;
    padding: 10px 16px;
    border: none;
    outline: none;
    font-size: 0.9rem;
    background: var(--light);
    color: var(--text);
}

.search-bar input::placeholder { color: var(--text-light); }

.search-bar button {
    padding: 10px 18px;
    background: var(--primary);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    transition: background var(--transition);
}

.search-bar button:hover { background: var(--primary-dark); }

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 700;
    transition: all var(--transition);
    white-space: nowrap;
    box-shadow: 0 3px 12px rgba(230,57,70,0.25);
}

.cart-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,57,70,0.35);
}

.cart-badge {
    background: var(--gold);
    color: white;
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
}

/* ===== NAV ===== */
nav {
    background: var(--light2);
    border-top: 1px solid var(--border);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 0 20px;
}

.nav-inner a {
    color: var(--text-light);
    padding: 11px 15px;
    font-size: 0.85rem;
    white-space: nowrap;
    transition: all var(--transition);
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.nav-inner a:hover, .nav-inner a.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
    background: rgba(230,57,70,0.04);
}

/* ===== AVANTAGES BAR ===== */
.avantages-bar {
    background: white;
    border-bottom: 1px solid var(--border);
}

/* ===== SECTIONS ===== */
.section { padding: 50px 0; }

.section-title {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title span { color: var(--primary); }

.section-subtitle {
    color: var(--text-light);
    margin-bottom: 28px;
    font-size: 0.9rem;
}

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 10px;
}

.see-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
    border: 1px solid rgba(230,57,70,0.3);
    padding: 6px 14px;
    border-radius: 20px;
}

.see-all:hover { gap: 8px; background: rgba(230,57,70,0.05); }

/* ===== CATEGORIES GRID ===== */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 16px;
}

.category-card {
    background: white;
    border-radius: var(--radius);
    padding: 28px 16px;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

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

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

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(230,57,70,0.15);
}

.category-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
    display: block;
}

.category-card h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-card p {
    font-size: 0.72rem;
    color: var(--text-light);
}

/* ===== TAILLES ===== */
.product-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 10px;
}

.size-tag {
    background: var(--light);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 4px;
    cursor: default;
}

/* ===== STOCK BAR ===== */
.stock-bar-wrap { margin-bottom: 10px; }

.stock-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stock-count { font-size: 0.75rem; color: var(--text-light); }
.stock-low-info span { font-size: 0.75rem; color: #b45309; }

.stock-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.stock-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.stock-bar-fill.ok  { background: linear-gradient(90deg, #16a34a, #4ade80); }
.stock-bar-fill.low { background: linear-gradient(90deg, #d97706, #fbbf24); }

/* ===== BADGE & RÉDUCTION ===== */
.product-card { position: relative; }

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    z-index: 3;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-reduction {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #16a34a;
    color: white;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 3;
}

.product-price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 10px;
}

.product-price-old {
    font-size: 0.82rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
}

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

.product-img {
    width: 100%;
    height: 200px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    border-bottom: 1px solid var(--border);
}

.product-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-category {
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.product-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    margin-bottom: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
}

.product-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
}

.btn-cart {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.82rem;
    font-weight: 700;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.btn-cart:hover { background: var(--primary-dark); transform: scale(1.04); }

.stock-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 600;
}

.stock-ok { background: #d1fae5; color: #065f46; }
.stock-low { background: #fef3c7; color: #92400e; }
.stock-out { background: #fee2e2; color: #991b1b; }

/* ===== PAGE HEADER ===== */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, #a00000 100%);
    color: white;
    padding: 40px 20px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.page-header p { color: rgba(255,255,255,0.8); }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    margin-bottom: 12px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb a { color: rgba(255,255,255,0.85); }
.breadcrumb a:hover { color: white; }

/* ===== CART ===== */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 24px;
    align-items: start;
}

.cart-table {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid var(--border);
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}

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

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.cart-item-info { flex: 1; }
.cart-item-name { font-weight: 700; color: var(--text); margin-bottom: 4px; }
.cart-item-price { color: var(--primary); font-weight: 600; font-size: 0.88rem; }

.qty-control {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.qty-btn {
    background: var(--light);
    border: none;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    transition: background var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    font-weight: 700;
}

.qty-btn:hover { background: var(--border); }

.qty-input {
    width: 45px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    height: 32px;
    font-weight: 700;
    background: white;
    color: var(--text);
}

.cart-item-total { font-weight: 800; color: var(--text); min-width: 100px; text-align: right; }

.btn-remove {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: background var(--transition);
    font-size: 1.1rem;
}

.btn-remove:hover { background: #fee2e2; }

/* ===== CART SUMMARY ===== */
.cart-summary {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    position: sticky;
    top: 90px;
    border: 1px solid var(--border);
}

.cart-summary h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.88rem;
    color: var(--text-light);
}

.summary-total {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    border-top: 2px solid var(--border);
    margin-top: 8px;
    padding-top: 12px;
}

.btn-checkout {
    display: block;
    width: 100%;
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 800;
    cursor: pointer;
    margin-top: 16px;
    transition: all var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-checkout:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,57,70,0.3);
}

/* ===== CHECKOUT FORM ===== */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 24px;
    align-items: start;
}

.form-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
    border: 1px solid var(--border);
    margin-bottom: 20px;
}

.form-card h2 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border);
}

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

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color var(--transition);
    outline: none;
    font-family: inherit;
    background: white;
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--primary); }

.form-group input::placeholder,
.form-group textarea::placeholder { color: #adb5bd; }

.form-group textarea { resize: vertical; min-height: 80px; }

.required { color: var(--primary); }

/* ===== ORDER REVIEW ===== */
.order-review {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
    position: sticky;
    top: 90px;
    border: 1px solid var(--border);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.order-item:last-child { border-bottom: none; }
.order-item-name { font-size: 0.84rem; font-weight: 600; color: var(--text); }
.order-item-qty { font-size: 0.73rem; color: var(--text-light); }
.order-item-price { font-weight: 700; color: var(--primary); font-size: 0.9rem; white-space: nowrap; }

/* ===== SUCCESS PAGE ===== */
.success-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 50px;
    text-align: center;
    max-width: 600px;
    margin: 60px auto;
    border: 1px solid var(--border);
}

.success-icon { font-size: 5rem; margin-bottom: 20px; }

.success-card h1 {
    color: #065f46;
    font-size: 2rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.success-card p { color: var(--text-light); margin-bottom: 8px; }

.order-number {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text);
    background: var(--light);
    padding: 10px 24px;
    border-radius: 8px;
    display: inline-block;
    margin: 12px 0;
    border: 1px solid var(--border);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); }
.btn-secondary { background: var(--dark); color: white; }
.btn-secondary:hover { background: #0d0d1a; }
.btn-outline { background: transparent; border: 1.5px solid var(--border); color: var(--text-light); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ===== ALERT ===== */
.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-danger { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 70px 20px;
    color: var(--text-light);
}

.empty-state .icon { font-size: 4rem; margin-bottom: 16px; }
.empty-state h3 { font-size: 1.3rem; color: var(--text); margin-bottom: 8px; }

/* ===== PRODUCT DETAIL ===== */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.product-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--light);
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.product-detail-info h1 { font-size: 1.8rem; color: var(--text); margin-bottom: 12px; text-transform: uppercase; }
.product-detail-price { font-size: 2.2rem; font-weight: 800; color: var(--primary); margin-bottom: 20px; }
.product-detail-desc { color: var(--text-light); line-height: 1.8; margin-bottom: 24px; }

.qty-add-form {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

/* ===== FILTER BAR ===== */
.filter-bar {
    background: white;
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    border: 1px solid var(--border);
}

.filter-bar input,
.filter-bar select {
    padding: 8px 12px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
    background: white;
    color: var(--text);
}

.filter-bar input:focus,
.filter-bar select:focus { border-color: var(--primary); }

/* ===== FOOTER ===== */
footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 50px 20px 20px;
    margin-top: 60px;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo img {
    height: 70px;
    margin-bottom: 14px;
    filter: drop-shadow(0 0 10px rgba(244,162,40,0.3));
}

.footer-brand p { font-size: 0.83rem; line-height: 1.8; color: rgba(255,255,255,0.5); }

.footer-col h4 {
    color: var(--gold-light);
    font-size: 0.9rem;
    font-weight: 800;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { font-size: 0.83rem; opacity: 0.6; transition: opacity var(--transition); }
.footer-col a:hover { opacity: 1; color: var(--gold-light); }

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 16px;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.45;
}

.gold-divider {
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--gold-light), var(--primary), transparent);
}

/* BOUTONS FLOTTANTS SOCIAUX */
.float-social {
    position: fixed;
    bottom: 20px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 900;
}
.fs-btn {
    width: 50px; height: 50px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    transition: all .25s;
    animation: fs-pop .4s ease;
}
.fs-btn:hover { transform: scale(1.12) translateY(-2px); box-shadow: 0 6px 22px rgba(0,0,0,0.35); }
.fs-fb { background: #1877f2; }
.fs-wa { background: #25d366; }
.fs-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
@keyframes fs-pop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }

@media (max-width: 600px) {
    .float-social { bottom: 14px; left: 14px; gap: 8px; }
    .fs-btn { width: 44px; height: 44px; }
    .fs-btn svg { width: 20px; height: 20px; }
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--text);
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    z-index: 9999;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    min-width: 260px;
    border-left: 4px solid var(--primary);
}

.toast.show { transform: translateY(0); opacity: 1; }
.toast-icon { font-size: 1.2rem; }

/* ===== SECTION BG ===== */
.section-light { background: white; }
.section-gray  { background: var(--light); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .product-detail { grid-template-columns: 1fr; }
}

/* ===== TABLETTE ===== */
@media (max-width: 768px) {
    .header-top { font-size: 0.68rem; padding: 5px 8px; line-height: 1.5; }
    .cart-summary, .order-review { position: static !important; }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    .container { padding: 0 14px; }
    .section { padding: 32px 0; }
    .section-title { font-size: 1.3rem; }

    /* HEADER */
    .header-top { font-size: 0.62rem; padding: 5px 6px; }
    .header-main { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
    .logo img { height: 42px; }
    .search-bar { order: 3; max-width: 100%; width: 100%; }
    .cart-btn { padding: 9px 16px; font-size: 0.9rem; }

    /* NAV scrollable */
    /* Menu qui passe à la ligne au lieu de défiler */
    .nav-inner { padding: 6px 10px; overflow-x: visible; flex-wrap: wrap; gap: 6px; justify-content: center; }
    .nav-inner a {
        padding: 7px 12px; font-size: 0.78rem;
        border: 1px solid var(--border); border-radius: 20px;
        border-bottom: 1px solid var(--border);
    }
    .nav-inner a:hover, .nav-inner a.active {
        border-color: var(--primary); background: rgba(230,57,70,0.06);
    }

    /* SLIDER */
    .hero-slider { height: auto; min-height: 380px; }
    .slide { padding: 30px 0; }
    .slide-content { padding: 0 18px; }
    .slide-content h1 { font-size: 1.7rem; letter-spacing: 1px; }
    .slide-content p { font-size: 0.88rem; }
    .slide-visual { display: none; }
    .slide-stats { gap: 16px; }
    .slider-prev, .slider-next { width: 36px; height: 36px; font-size: 1.3rem; }
    .slider-logo { display: none; }

    /* PAGE HEADER */
    .page-header { padding: 26px 14px; }
    .page-header h1 { font-size: 1.5rem; }

    /* GRILLES PRODUITS - 2 colonnes propres */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .categories-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .product-img { height: 140px; font-size: 2.8rem; }
    .product-body { padding: 12px; }
    .product-name { font-size: 0.85rem; }
    .product-desc { font-size: 0.72rem; -webkit-line-clamp: 2; }
    .product-price { font-size: 1rem; }
    .btn-cart { padding: 7px 10px; font-size: 0.75rem; width: 100%; justify-content: center; }
    .product-footer { flex-direction: column; align-items: stretch; gap: 6px; }
    .product-badge, .product-reduction { font-size: 0.62rem; padding: 2px 7px; }
    .size-tag { font-size: 0.62rem; padding: 1px 5px; }

    /* CATÉGORIES */
    .category-card { padding: 18px 12px; }
    .category-icon { font-size: 2.2rem; }
    .category-card h3 { font-size: 0.8rem; }

    /* PANIER mobile - carte compacte */
    .cart-item {
        display: grid;
        grid-template-columns: 60px 1fr auto;
        grid-template-areas: "img info remove" "img qty total";
        gap: 8px 12px;
        padding: 14px;
        align-items: center;
    }
    .cart-item-img { grid-area: img; width: 60px; height: 60px; }
    .cart-item-info { grid-area: info; }
    .cart-item-name { font-size: 0.85rem; }
    .qty-control { grid-area: qty; width: fit-content; }
    .cart-item-total { grid-area: total; text-align: right; min-width: auto; font-size: 0.95rem; }
    .btn-remove { grid-area: remove; justify-self: end; }

    /* FORMULAIRES */
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-card, .order-review, .cart-summary { padding: 18px; }

    /* PRODUIT DÉTAIL */
    .product-detail { gap: 20px; }
    .product-detail-img { height: 260px; font-size: 5rem; }
    .product-detail-info h1 { font-size: 1.4rem; }
    .product-detail-price { font-size: 1.6rem; }
    .qty-add-form { flex-direction: column; align-items: stretch; }
    .qty-add-form .btn { width: 100%; justify-content: center; }

    /* FOOTER moderne compact */
    footer { padding: 30px 16px 16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 22px 16px; margin-bottom: 20px; }
    .footer-brand { grid-column: 1 / -1; text-align: center; }
    .footer-brand .footer-logo img { margin: 0 auto 10px; height: 56px; }
    .footer-brand p { font-size: 0.8rem; max-width: 320px; margin: 0 auto; }
    .footer-social { justify-content: center; }
    .footer-col h4 { font-size: 0.82rem; margin-bottom: 10px; }
    .footer-col li { margin-bottom: 6px; }
    .footer-col a { font-size: 0.8rem; }
    .footer-bottom { padding-top: 14px; font-size: 0.72rem; }

    /* BANNIÈRES texte plus petit */
    .hero-btn { padding: 12px 28px; font-size: 0.9rem; }

    /* TOAST plein largeur */
    .toast { left: 14px; right: 14px; bottom: 14px; min-width: 0; }

    /* SECTION HEADER */
    .section-header { flex-direction: column; align-items: flex-start; }
}

/* ===== TRÈS PETIT MOBILE ===== */
@media (max-width: 380px) {
    .products-grid { grid-template-columns: 1fr; }
    .categories-grid { grid-template-columns: 1fr; }
    .slide-content h1 { font-size: 1.4rem; }
    .slide-stats { flex-wrap: wrap; }
}
