/* ===== RESET & VARIABLES ===== */
:root {
    --color-orange: #FF7F00;
    --color-dark-orange: #E67E22;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-gray-medium: #E8E8E8;

    
    --color-gray-dark: #555555;
    --color-text-primary: #222222;
    --color-text-secondary: #666666;
    --color-border: #DDDDDD;
    
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 32px;
    
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-size-sm: 12px;
    --font-size-base: 14px;
    --font-size-md: 16px;
    --font-size-lg: 18px;
    --font-size-xl: 20px;
    
    --transition: all 0.3s ease;
    --box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --box-shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-primary);
    background-color: var(--color-white);
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
}

/* ===== BLOC UNIQUE: TOP-BAR (HEADER + SEARCH) ===== */
.top-bar {
    position: sticky;
    top: 0;
    background-color: var(--color-white);
    z-index: 100;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    background-color: var(--color-white);
    border-bottom: none;
    box-shadow: none;
    width: 100%;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 var(--spacing-md);
    width: 100%;
    gap: var(--spacing-sm);
}

.header__menu-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    transition: var(--transition);
    flex-shrink: 0;
}

.header__menu-btn:hover {
    background-color: var(--color-gray-light);
}

.header__menu-btn:active {
    transform: scale(0.95);
}

.header__logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-right: auto;
}

.header__logo h1 {
    font-size: 18px;
    font-weight: 800;
    color: var(--color-orange);
    margin: 0;
    text-decoration: none;
    white-space: nowrap;
}

.header__icons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.header__icon-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 6px;
    position: relative;
    transition: var(--transition);
    flex-shrink: 0;
}

.header__icon-btn:hover {
    background-color: var(--color-gray-light);
}

.header__icon-btn:active {
    transform: scale(0.95);
}

/* ===== ICÔNES SVG ===== */
.icon-svg {
    width: 22px;
    height: 22px;
    color: #666666;
    display: block;
    margin: 0 auto;
}

.header__cart-btn {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--color-orange);
    color: var(--color-white);
    font-size: 11px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--color-white);
}

/* ===== BARRE DE RECHERCHE ===== */
.search-bar {
    background-color: var(--color-white);
    padding: 2px var(--spacing-md) 8px var(--spacing-md);
    border-bottom: none;
    border-top: none;
    z-index: 99;
    width: 100%;
    margin-top: -2px;
}

.search-bar__container {
    width: 100%;
    position: relative;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 12px;
    width: 18px;
    height: 18px;
    pointer-events: none;
    color: #666666;
    z-index: 2;
    display: block;
}

.search-input {
    width: 100%;
    padding: 6px 14px 6px 42px;
    border: 1px solid #d9d9d9;
    border-radius: 18px;
    font-size: 13px;
    background-color: #F8F8F8;
    font-family: var(--font-family);
    transition: var(--transition);
    outline: none;
    color: var(--color-text-primary);
    line-height: 1.3;
    height: 32px;
}

.search-input:focus {
    background-color: #FFFFFF;
    border-color: #d0d0d0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.search-input::placeholder {
    color: #B0B0B0;
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #FFFFFF;
    border: 1px solid #EDEDED;
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    z-index: 1200;
    max-height: 360px;
    overflow-y: auto;
    padding: 6px 0;
}

.search-results__status {
    padding: 10px 14px;
    font-size: 12px;
    color: #777777;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    cursor: pointer;
    border-bottom: 1px solid #F3F3F3;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #F8F8F8;
}

.search-result-image {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-description {
    font-size: 11px;
    color: #777777;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--color-orange);
}

/* ===== BANDEAU TÉLÉPHONE ===== */
.phone-banner {
    position: sticky;
    top: auto;
    background-color: var(--color-orange);
    padding: 4px var(--spacing-md);
    border-top: 6px solid #6aa84f;
    border-bottom: none;
    z-index: 98;
    text-align: center;
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-banner__content {
    color: var(--color-white);
    font-size: var(--font-size-base);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: normal;
}

.phone-banner__content p {
    margin: 0;
    word-break: break-word;
}

.phone-banner__content strong {
    font-weight: 700;
    margin-left: 4px;
}

/* ===== CAROUSEL ===== */
.carousel {
    width: 100%;
    background: var(--color-white);
    padding: 4px 0 2px 0;
    margin-top: 0;
    margin-bottom: 4px;
    overflow: hidden;
}

.carousel__wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0;
}

.carousel__track {
    display: flex;
    gap: 12px;
    overflow-x: scroll;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    /* Scroll snap pour centrer les slides */
    scroll-snap-type: x mandatory;
    /* Pas de padding - full width */
    padding: 0;
    /* Align items au center */
    align-items: center;
    margin: 0;
    width: 100%;
}

.carousel__track::-webkit-scrollbar {
    display: none;
}

.carousel__slide {
    /* 
       Taille: 80vw pour un aperçu clair des slides adjacents
       - Slide central: 80% de la largeur = bien visible
       - Aperçu gauche: ~10% visible (clair et reconnaissable)
       - Aperçu droit: ~10% visible (clair et reconnaissable)
       L'utilisateur comprend qu'il peut glisser horizontalement
    */
    flex: 0 0 80vw;
    min-width: 80vw;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #f0f0f0;
    /* Snap align center pour centrer le slide actif */
    scroll-snap-align: center;
    scroll-snap-stop: always;
    /* Transitions smooth pour hover */
    transition: transform 0.2s ease;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.carousel__slide:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

/* Indicateurs (dots) */
.carousel__dots {
    display: none;
    gap: 8px;
    justify-content: center;
    margin-top: 12px;
    padding: 0 16px 4px 16px;
}

.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D5D5D5;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel__dot.active {
    background-color: #FF7F00;
    width: 24px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(255, 127, 0, 0.3);
}

.carousel__dot:hover {
    background: #999;
    transform: scale(1.15);
}

.carousel__dot:active {
    transform: scale(0.95);
}

/* ===== BARRE D'INFORMATION ===== */
.info-banner {
    width: 100%;
    background: linear-gradient(135deg, #FF8C3A 0%, #FF7F00 100%);
    border-top: 6px solid #6aa84f;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 4px var(--spacing-md);
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 127, 0, 0.1);
    margin-bottom: 4px;
}

.info-banner__content {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.info-banner__icon {
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    flex-shrink: 0;
}

.info-banner__text {
    margin: 0;
    font-size: var(--font-size-sm);
    color: #fff;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0.3px;
}

/* ===== MINI-BANNIÈRES ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.mini-banners {
    width: 100%;
    background-color: var(--color-white);
    padding: 4px 0;
    margin-top: 0;
}

.mini-banners__wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.mini-banners__track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    padding: 0 8px 8px 8px;
    justify-content: flex-start;
}

.mini-banners__track::-webkit-scrollbar {
    display: none;
}

.mini-banner {
    flex: 0 0 75px;
    width: 75px;
    height: 75px;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: #f0f0f0;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-decoration: none;
}

.mini-banner:active {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.mini-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mini-banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

/* ===== SECTION PROMOTIONNELLE JUMIA ===== */
.promo-highlight-jumia {
    width: 100%;
    background-color: var(--color-white);
    border-top: 5px solid #6aa84f;
    border-bottom: 5px solid #6aa84f;
    padding: 0;
    margin: 0;
    overflow: hidden;
    box-sizing: border-box;
}

.promo-highlight-jumia__container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--color-white);
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.promo-highlight-jumia__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
    aspect-ratio: auto;
}

/* ===== CONTENU PRINCIPAL ===== */
.main-content {
    padding: 6px var(--spacing-md);
    padding-bottom: var(--spacing-xl);
    background-color: var(--color-white);
    margin-top: -2px;
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: var(--spacing-lg);
    color: var(--color-text-primary);
}

/* ===== BOUTONS ===== */
.btn {
    padding: 10px 16px;
    border: none;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    font-family: var(--font-family);
}

.btn--add-cart {
    background-color: var(--color-orange);
    color: var(--color-white);
    margin-top: auto;
}

.btn--add-cart:hover {
    background-color: var(--color-dark-orange);
    transform: scale(1.02);
}

.btn--add-cart:active {
    transform: scale(0.98);
}

/* ===== FOOTER ===== */
.footer {
    background-color: var(--color-gray-light);
    border-top: 1px solid var(--color-border);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
}

.footer__content {
    margin: 0;
}

/* ===== SECTION VENTES FLASH ===== */
.flash-sales {
    width: 100%;
    background-color: var(--color-white);
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.flash-sales__header {
    background: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    padding: 8px 10px 6px 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.flash-sales__title-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.flash-sales__icon {
    width: 20px;
    height: 20px;
    color: white;
    flex-shrink: 0;
}

.flash-sales__title {
    font-size: 16px;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.flash-sales__timer-bar {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #D62828 0%, #C41E1E 100%);
    padding: 4px 10px;
}

#timerDisplay {
    font-family: 'Courier New', monospace;
    font-weight: 700;
    color: var(--color-white);
}

.flash-sales__container {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    padding: 12px 12px;
    align-items: stretch;
    scroll-snap-type: x mandatory;
    /* Affiche 2 produits + aperçu du 3e (style Jumia) */
    width: 100%;
}

.flash-sales__container::-webkit-scrollbar {
    display: none;
}

.flash-sales__product {
    flex: 0 0 calc(40% - 6px);
    background-color: var(--color-white);
    border: none;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
    scroll-snap-align: start;
}

.flash-sales__product:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.flash-sales__product-image {
    width: 100%;
    height: 120px;
    background-color: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.flash-sales__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.flash-sales__product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #FF7F00;
    color: var(--color-white);
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.flash-sales__product-body {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.flash-sales__product-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-primary);
    line-height: 1.2;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flash-sales__price-wrapper {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-direction: column;
}

.flash-sales__price-new {
    font-size: 13px;
    font-weight: 700;
    color: #FF7F00;
}

.flash-sales__price-old {
    font-size: 11px;
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

.flash-sales__stock-text {
    font-size: 9px;
    color: var(--color-text-secondary);
    margin: 0;
}

.flash-sales__stock-bar {
    width: 100%;
    height: 4px;
    background-color: var(--color-gray-medium);
    border-radius: 2px;
    overflow: hidden;
}

.flash-sales__stock-fill {
    height: 100%;
    background-color: #E63946;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.flash-sales__empty {
    padding: 24px var(--spacing-md);
    text-align: center;
    background-color: var(--color-gray-light);
}

.flash-sales__empty-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 4px 0;
}

.flash-sales__empty-text {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Bouton Voir plus */
.flash-sales__btn-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    background: linear-gradient(135deg, #FF7F00 0%, #E67E00 100%);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(255, 127, 0, 0.3);
}

.flash-sales__btn-more:active {
    background: linear-gradient(135deg, #E67E00 0%, #D67000 100%);
    box-shadow: 0 1px 3px rgba(255, 127, 0, 0.4);
    transform: scale(0.96);
}

.flash-sales__btn-more:disabled {
    background: #999;
    cursor: not-allowed;
    opacity: 0.6;
    box-shadow: none;
}

/* Footer (si utilisé ailleurs) */
.flash-sales__footer {
    padding: 0 10px 8px 10px;
    display: flex;
    justify-content: center;
}

/* ===== MEDIA QUERIES - OPTIMISATION RESPONSIVE ===== */

/* Tablettes et écrans moyens (768px et plus) */
@media (min-width: 768px) {
    .main-content {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Grand écrans (1024px et plus) */
@media (min-width: 1024px) {
    /* Styles pour grand écran */
}

/* Petit écran - réduction padding */
@media (max-width: 360px) {
    .header__container {
        padding: 0 var(--spacing-sm);
    }

    .search-bar {
        padding: var(--spacing-sm);
    }

    .main-content {
        padding: var(--spacing-md) var(--spacing-sm);
    }
}

/* ===== PAGE VENTES FLASH COMPLÈTE ===== */
/* ===== PAGE VENTES FLASH COMPLÈTE ===== */
.fs-page-header {
    background: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    color: white;
    padding: 12px 0;
    border-bottom: 3px solid #6aa84f;
    position: sticky;
    top: 0;
    z-index: 100;
}

.fs-page-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    max-width: 100%;
}

.fs-page-header__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.fs-page-header__back {
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    border-radius: 4px;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.fs-page-header__back:active {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Section Ventes Flash Page */
.flash-sales-page {
    background-color: white;
    padding: 8px 10px 16px 10px;
}

.flash-sales-page__header {
    background: linear-gradient(135deg, #E63946 0%, #D62828 100%);
    color: white;
    padding: 8px 10px 6px 10px;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.flash-sales-page__icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.flash-sales-page__header-text {
    flex: 1;
}

.flash-sales-page__title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}

.flash-sales-page__subtitle {
    font-size: 11px;
    margin: 2px 0 0 0;
    opacity: 0.9;
}

.flash-sales-page__timer {
    font-size: 10px;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

/* Container des produits - Grille 2 colonnes */
.flash-sales-page__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.flash-sales-page__product {
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.flash-sales-page__product:active {
    transform: scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.flash-sales-page__product-image {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: white;
}

.flash-sales-page__product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-sales-page__product-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background-color: #E63946;
    color: white;
    padding: 2px 5px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
}

.flash-sales-page__product-body {
    padding: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.flash-sales-page__product-name {
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flash-sales-page__price-wrapper {
    display: flex;
    gap: 4px;
    align-items: center;
}

.flash-sales-page__price-new {
    font-size: 13px;
    font-weight: 700;
    color: #E63946;
}

.flash-sales-page__price-old {
    font-size: 10px;
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

.flash-sales-page__stock-bar {
    width: 100%;
    height: 4px;
    background-color: #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.flash-sales-page__stock-fill {
    height: 100%;
    background-color: #E63946;
    transition: width 0.3s ease;
}

.flash-sales-page__stock-text {
    font-size: 9px;
    color: var(--color-text-secondary);
    margin: 0;
}

.flash-sales-page__btn-add {
    padding: 6px 10px;
    background-color: #FF7F00;
    color: white;
    border: none;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.flash-sales-page__btn-add:active {
    background-color: #E67E00;
}

/* Message vide */
.flash-sales-page__empty {
    text-align: center;
    padding: 24px 10px;
}

.flash-sales-page__empty-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 4px 0;
}

.flash-sales-page__empty-text {
    font-size: 12px;
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Responsive tablette */
@media (min-width: 768px) {
    .flash-sales-page__container {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .flash-sales-page__header {
        padding: 10px 12px 8px 12px;
        gap: 8px;
    }
    
    .flash-sales-page__product-body {
        padding: 10px;
        gap: 6px;
    }
    
    .flash-sales-page__product-name {
        font-size: 12px;
    }
    
    .flash-sales-page__price-new {
        font-size: 14px;
    }
}

/* Responsive desktop */
@media (min-width: 1024px) {
    .flash-sales-page__container {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}
/* ===== SECTION RECOMMANDÉ POUR VOUS ===== */

.recommended-section {
    background: #ffffff;
    padding: 16px 0;
    margin-bottom: 0;
    border-top: 6px solid #4CAF50;
    border-bottom: 6px solid #4CAF50;
}

.recommended-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    margin-bottom: 12px;
    gap: 16px;
    width: 100%;
}

.recommended-title {
    font-size: 16px;
    font-weight: 700;
    color: #222222;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
    text-align: left;
}

.recommended-see-more {
    font-size: 12px;
    font-weight: 400;
    color: #666666;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
}

.recommended-see-more:hover {
    color: #FF7F00;
}

.recommended-see-more:active {
    opacity: 0.7;
}

/* Slider horizontal */
.recommended-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    padding: 12px 12px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    align-items: stretch;
    width: 100%;
}

.recommended-container::-webkit-scrollbar {
    display: none;
}

/* Carte produit */
.recommended-card {
    flex: 0 0 calc(40% - 6px);
    background: #ffffff;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.recommended-card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.recommended-image {
    width: 100%;
    height: 140px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

.recommended-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #FF7F00;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3px;
    z-index: 10;
    text-transform: uppercase;
}

.recommended-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recommended-name {
    font-size: 12px;
    font-weight: 500;
    color: #222222;
    margin: 0 0 4px 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommended-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
}

.recommended-price-new {
    font-size: 13px;
    font-weight: 700;
    color: #FF7F00;
}

.recommended-price-old {
    font-size: 11px;
    color: #999999;
    text-decoration: line-through;
}

.recommended-empty {
    padding: 40px 16px;
    text-align: center;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    background: #ffffff;
}

@media (min-width: 480px) {
    .recommended-card {
        flex: 0 0 calc(50% - 6px);
    }
}

@media (min-width: 768px) {
    .recommended-section {
        padding: 20px 0;
        margin-bottom: 20px;
    }
    
    .recommended-header {
        padding: 0 20px;
        margin-bottom: 16px;
    }
    
    .recommended-title {
        font-size: 18px;
    }
    
    .recommended-container {
        padding: 12px 20px;
        padding-bottom: 12px;
        gap: 16px;
    }
    
    .recommended-card {
        flex: 0 0 calc(50% - 8px);
    }
}

@media (min-width: 1024px) {
    .recommended-card {
        flex: 0 0 calc(50% - 8px);
    }
}

/* ===== PAGE DÉDIÉE RECOMMANDÉS ===== */
.recommended-page-section {
    background: var(--color-white);
    padding: 16px;
}

.recommended-page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.recommended-page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
}

.recommended-page-subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Grille de produits */
.recommended-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

/* Carte produit page */
.recommended-page-card {
    background: var(--color-white);
    border: none;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.recommended-page-card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.recommended-page-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.recommended-page-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
}

.recommended-page-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.recommended-page-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recommended-page-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.recommended-page-price-new {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-orange);
}

.recommended-page-price-old {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

.recommended-page-add-btn {
    padding: 8px 12px;
    background-color: var(--color-orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-top: auto;
}

.recommended-page-add-btn:hover {
    background-color: var(--color-dark-orange);
    transform: scale(1.02);
}

.recommended-page-add-btn:active {
    transform: scale(0.98);
}

.recommended-page-empty {
    text-align: center;
    padding: 60px 16px;
    color: var(--color-text-secondary);
    font-size: 16px;
}

@media (min-width: 480px) {
    .recommended-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .recommended-page-section {
        padding: 24px;
    }
    
    .recommended-page-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .recommended-page-header h1 {
        font-size: 28px;
    }
    
    .recommended-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .recommended-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ===== SECTION LES BONS PLANS BURKICASH ===== */
.deals-section {
    background: #ffffff;
    padding: 0;
    margin-bottom: 16px;
    margin-top: 0;
}

.deals-header {
    background: #FF7F00;
    padding: 12px 16px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0;
}

.deals-header-content {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.deals-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    white-space: nowrap;
    flex-shrink: 0;
}

.deals-see-more {
    font-size: 12px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: auto;
    padding: 4px 8px;
    border-radius: 3px;
    opacity: 0.9;
}

.deals-see-more:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.15);
}

.deals-see-more:active {
    opacity: 0.8;
}

/* Grille de produits - style Jumia 2 colonnes */
.deals-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 12px 16px;
    padding-bottom: 12px;
    overflow-x: hidden;
    overflow-y: visible;
    max-height: none;
}

.deals-container::-webkit-scrollbar {
    display: none;
}

/* Carte produit */
.deals-card {
    background: #ffffff;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.deals-card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.deals-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    position: relative;
    overflow: hidden;
}

/* Badge PROMO - style Jumia */
.deals-promo-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #FF7F00;
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 3px;
    z-index: 10;
    text-transform: uppercase;
}

.deals-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #FF7F00;
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
}

.deals-content {
    padding: 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deals-name {
    font-size: 12px;
    font-weight: 500;
    color: #222222;
    margin: 0 0 4px 0;
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deals-prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: auto;
}

.deals-price-new {
    font-size: 13px;
    font-weight: 700;
    color: #FF7F00;
}

.deals-price-old {
    font-size: 11px;
    color: #999999;
    text-decoration: line-through;
}

.deals-discount {
    font-size: 10px;
    font-weight: 700;
    color: #FF0000;
    margin-top: 2px;
}

.deals-empty {
    padding: 40px 16px;
    text-align: center;
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
    background: #ffffff;
}

@media (min-width: 480px) {
    .deals-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .deals-section {
        padding: 0;
        margin-bottom: 20px;
    }
    
    .deals-header {
        padding: 14px 20px;
        min-height: 48px;
    }
    
    .deals-title {
        font-size: 18px;
    }
    
    .deals-container {
        padding: 16px 20px;
        padding-bottom: 16px;
        gap: 16px;
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .deals-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== PAGE DÉDIÉE LES BONS PLANS ===== */
.deals-page-section {
    background: var(--color-white);
    padding: 16px;
}

.deals-page-header {
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.deals-page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
}

.deals-page-subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Grille de produits */
.deals-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

/* Carte produit page */
.deals-page-card {
    background: var(--color-white);
    border: none;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.deals-page-card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.deals-page-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.deals-page-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
}

.deals-page-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.deals-page-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.deals-page-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.deals-page-price-new {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-orange);
}

.deals-page-price-old {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

.deals-page-add-btn {
    padding: 8px 12px;
    background-color: var(--color-orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-top: auto;
}

.deals-page-add-btn:hover {
    background-color: var(--color-dark-orange);
    transform: scale(1.02);
}

.deals-page-add-btn:active {
    transform: scale(0.98);
}

.deals-page-empty {
    text-align: center;
    padding: 60px 16px;
    color: var(--color-text-secondary);
    font-size: 16px;
}

@media (min-width: 480px) {
    .deals-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .deals-page-section {
        padding: 24px;
    }
    
    .deals-page-header {
        margin-bottom: 32px;
        padding-bottom: 24px;
    }
    
    .deals-page-header h1 {
        font-size: 28px;
    }
    
    .deals-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .deals-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ===== PAGE CRÉER UN COMPTE ===== */
.signup-section {
    background: var(--color-white);
    padding: 20px 16px;
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.signup-container {
    width: 100%;
    max-width: 420px;
    background: var(--color-white);
}

.signup-header {
    text-align: center;
    margin-bottom: 32px;
}

.signup-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
}

.signup-header p {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Formulaire */
.signup-form {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.form-group--checkbox {
    margin-bottom: 24px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-primary);
    margin-bottom: 8px;
    cursor: text;
}

.form-icon {
    width: 18px;
    height: 18px;
    color: var(--color-orange);
    flex-shrink: 0;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-family);
    color: var(--color-text-primary);
    background-color: var(--color-white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--color-orange);
    box-shadow: 0 0 0 3px rgba(255, 127, 0, 0.1);
}

.form-input::placeholder {
    color: #B0B0B0;
}

.form-error {
    display: block;
    font-size: 12px;
    color: #D32F2F;
    margin-top: 4px;
    min-height: 16px;
}

/* Checkbox */
.form-group--checkbox {
    display: flex;
    gap: 12px;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--color-orange);
    cursor: pointer;
    flex-shrink: 0;
}

.form-checkbox-label {
    font-size: 13px;
    color: var(--color-text-primary);
    line-height: 1.4;
    cursor: pointer;
}

.form-link {
    color: var(--color-orange);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.form-link:hover {
    color: var(--color-dark-orange);
    text-decoration: underline;
}

/* ===== ANIMATIONS MESSAGES ===== */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Alertes */
.form-alert {
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.5;
    font-weight: 500;
    animation: slideDown 0.3s ease-out;
    display: none;
}

.form-alert.show {
    display: block;
}

.form-alert--error {
    background-color: #FFEBEE;
    color: #C62828;
    border: 1.5px solid #EF5350;
    background-image: linear-gradient(135deg, #FFEBEE 0%, #FFCDD2 100%);
}

.form-alert--success {
    background-color: #E8F5E9;
    color: #2E7D32;
    border: 1.5px solid #66BB6A;
    background-image: linear-gradient(135deg, #E8F5E9 0%, #C8E6C9 100%);
}

.form-alert--warning {
    background-color: #FFF3E0;
    color: #E65100;
    border: 1.5px solid #FFA726;
    background-image: linear-gradient(135deg, #FFF3E0 0%, #FFE0B2 100%);
}

/* Bouton soumettre */
.form-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--color-orange);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-bottom: 20px;
}

.form-submit:hover {
    background-color: var(--color-dark-orange);
}

.form-submit:active {
    transform: scale(0.98);
}

.form-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Footer du formulaire */
.signup-footer {
    text-align: center;
    font-size: 14px;
    color: var(--color-text-secondary);
}

.signup-footer p {
    margin: 0;
}

/* Responsive */
@media (min-width: 480px) {
    .signup-container {
        max-width: 460px;
    }
}

@media (min-width: 768px) {
    .signup-section {
        padding: 40px 20px;
    }

    .signup-header h1 {
        font-size: 28px;
    }

    .signup-header {
        margin-bottom: 40px;
    }

    .form-group {
        margin-bottom: 22px;
    }

    .form-submit {
        padding: 16px;
        font-size: 16px;
    }
}

/* ===== PAGE DÉDIÉE VENTES FLASH ===== */
.flash-sales-page-section {
    background: var(--color-white);
    padding: 16px;
}

.flash-sales-page-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
}

.flash-sales-page-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.flash-sales-page-icon {
    width: 28px;
    height: 28px;
    color: var(--color-orange);
    flex-shrink: 0;
}

.flash-sales-page-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
}

.flash-sales-page-subtitle {
    font-size: 14px;
    color: var(--color-text-secondary);
    margin: 0;
}

/* Timer */
.flash-sales-page-timer {
    background: linear-gradient(135deg, #FF8C3A 0%, #FF7F00 100%);
    color: white;
    padding: 12px 16px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(255, 127, 0, 0.2);
}

#flashPageTimerDisplay {
    font-weight: 700;
    font-size: 16px;
}

/* Grille de produits */
.flash-sales-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

/* Carte produit page flash */
.flash-sales-page-card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: box-shadow 0.2s, transform 0.2s;
}

.flash-sales-page-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.flash-sales-page-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    background: var(--color-gray-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    position: relative;
    overflow: hidden;
}

.flash-sales-page-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flash-sales-page-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--color-orange);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 10;
}

.flash-sales-page-stock {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: var(--color-orange);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 6px;
    border-radius: 3px;
    z-index: 10;
}

.flash-sales-page-content {
    padding: 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flash-sales-page-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text-primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.flash-sales-page-prices {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.flash-sales-page-price-new {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-orange);
}

.flash-sales-page-price-old {
    font-size: 12px;
    color: var(--color-text-secondary);
    text-decoration: line-through;
}

/* Barre de progression stock */
.flash-sales-page-progress {
    margin-bottom: 8px;
}

.flash-sales-page-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--color-gray-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.flash-sales-page-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF8C3A, #FF7F00);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.flash-sales-page-progress-text {
    font-size: 10px;
    color: var(--color-text-secondary);
    display: block;
    text-align: center;
}

.flash-sales-page-add-btn {
    padding: 8px 12px;
    background-color: var(--color-orange);
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    margin-top: auto;
}

.flash-sales-page-add-btn:hover {
    background-color: var(--color-dark-orange);
    transform: scale(1.02);
}

.flash-sales-page-add-btn:active {
    transform: scale(0.98);
}

.flash-sales-page-empty {
    text-align: center;
    padding: 60px 16px;
    color: var(--color-text-secondary);
    font-size: 16px;
}

.flash-sales-page-empty-text {
    font-size: 14px;
    margin-top: 8px;
}

@media (min-width: 480px) {
    .flash-sales-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (min-width: 768px) {
    .flash-sales-page-section {
        padding: 24px;
    }
    
    .flash-sales-page-header {
        margin-bottom: 24px;
        padding-bottom: 24px;
    }
    
    .flash-sales-page-header h1 {
        font-size: 28px;
    }
    
    .flash-sales-page-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (min-width: 1024px) {
    .flash-sales-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

/* ===== FAQ STYLES ===== */
.faq-section {
    margin-bottom: var(--spacing-xl);
}

.faq-section__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: var(--spacing-sm);
    letter-spacing: -0.5px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--color-orange);
    box-shadow: 0 2px 6px rgba(255, 127, 0, 0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md);
    background: var(--color-white);
    border: none;
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-primary);
    text-align: left;
    font-family: var(--font-family);
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--color-orange);
}

.faq-question.active {
    color: var(--color-orange);
}

.faq-icon {
    width: 20px;
    height: 20px;
    color: var(--color-gray-dark);
    flex-shrink: 0;
    margin-left: var(--spacing-md);
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
    color: var(--color-orange);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: #FAFAFA;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
    margin: 0;
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text-secondary);
}

/* ===== SECURITY & PAYMENT STYLES ===== */
.security-section {
    margin-bottom: var(--spacing-lg);
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    border: 1px solid var(--color-border);
    padding: var(--spacing-md);
    transition: var(--transition);
}

.security-section:hover {
    border-color: var(--color-orange);
    box-shadow: 0 2px 8px rgba(255, 127, 0, 0.08);
}

.security-section__header {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 2px solid var(--color-orange);
    padding-bottom: var(--spacing-md);
}

.security-section__icon {
    width: 28px;
    height: 28px;
    color: var(--color-orange);
    flex-shrink: 0;
}

.security-section__title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--color-text-primary);
    margin: 0;
    letter-spacing: -0.5px;
}

.security-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.security-content__text {
    font-size: var(--font-size-md);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0;
}

.security-card {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.security-card__item {
    background: #FAFAFA;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--color-orange);
}

.security-card__label {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.security-card__desc {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.security-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.security-list__item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.security-list__dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: var(--color-orange);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 6px;
}

.security-tips {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

.security-tip-card {
    background: #FAFAFA;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    border-left: 4px solid var(--color-orange);
}

.security-tip-card__title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--color-text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.security-tip-card__text {
    font-size: var(--font-size-base);
    color: var(--color-text-secondary);
    margin: 0;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .security-tips {
        grid-template-columns: 1fr 1fr;
    }
}

/* ===== SIDEBAR MENU (NEW CLEAN) ===== */

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
    pointer-events: none;
}

.sidebar-overlay.open {
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
    z-index: 999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

.sidebar.open {
    transform: translateX(0);
}

/* Sidebar Header */
.sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid #e8e8e8;
    flex-shrink: 0;
}

.sidebar__header h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #222;
}

.sidebar__close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    padding: 0;
    line-height: 1;
}

.sidebar__close:hover {
    background-color: #f0f0f0;
}

.sidebar__close:active {
    transform: scale(0.95);
}

/* Sidebar Nav */
.sidebar__nav {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 0;
    -webkit-overflow-scrolling: touch;
    min-height: 0;
}

.sidebar__link {
    display: block;
    padding: 14px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
    border-left: 4px solid transparent;
}

/* Icons in sidebar links */
.sidebar__link i {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    text-align: center;
    color: #555;
    transition: color 0.2s ease;
}

.sidebar__link:hover {
    background-color: #f8f8f8;
    color: #FF7F00;
    border-left-color: #FF7F00;
}

.sidebar__link:hover i {
    color: #FF7F00;
}

.sidebar__link:active {
    background-color: #f0f0f0;
}

/* Divider */
.sidebar__divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 8px 0;
    opacity: 0.5;
}

/* Responsive - Hide si écran large */
@media (min-width: 768px) {
    .mobile-menu-trigger {
        display: none;
    }
    
    .sidebar,
    .sidebar-overlay {
        display: none;
    }
}

/* ===== CARTES PRODUITS DYNAMIQUES ===== */
.product-card {
    background: #ffffff;
    border: none;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

a,
a:hover,
a:visited,
a:active {
    text-decoration: none !important;
    color: inherit;
}

.product-link {
    text-decoration: none !important;
    color: inherit;
    display: block;
}

.product-card:hover {
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transform: translateY(0);
}

.product-card__image-container {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: #f5f5f5;
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-card__promo-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    background-color: #FF7F00;
    color: white;
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    z-index: 1;
    text-transform: uppercase;
}

.product-card__content {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 4px;
}

.product-card__title {
    font-size: 12px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.product-card__description {
    font-size: 11px;
    color: #666;
    margin: 0;
    display: none;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card__price {
    font-size: 12px;
    font-weight: 700;
    color: #FF7F00;
    margin: 4px 0 0 0;
    padding-top: 4px;
    border-top: none;
}

.product-card__prices {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-top: 4px;
    border-top: none;
}

.product-card__price-promo {
    font-size: 12px;
    font-weight: 700;
    color: #FF7F00;
}

.product-card__price-old {
    font-size: 10px;
    color: #999;
    text-decoration: line-through;
}

/* Flash Sales spécifique - 2.5-3 produits visibles + aperçu */
#flashSalesContainer .product-card {
    flex: 0 0 calc(40% - 6px);
    min-width: calc(40% - 6px);
}

/* Recommended spécifique - 2.5-3 produits visibles + aperçu */
#recommendedContainer .product-card {
    flex: 0 0 calc(40% - 6px);
    min-width: calc(40% - 6px);
}
.product-card--link,
.product-card--link:hover,
.product-card--link:visited,
.product-card--link:active,
.deals-card a,
.deals-card a:hover,
.deals-card a:visited,
.deals-card a:active {
.product-card--link,
.deals-card a {
    text-decoration: none !important;
    color: inherit;
}
/* Deals spécifique - toujours grille 2 colonnes */
#dealsContainer .deals-card {
    width: 100%;
}

/* Deals avec .product-card (ancien format - compatible) */
#dealsContainer .product-card {
    flex: none;
}
/* ===== RESPONSIVE MEDIA QUERIES POUR CARTES PRODUITS ===== */
/* Tablette (768px) - maintenir 2.5-3 produits visibles + aperçu */
@media (min-width: 768px) {
    #flashSalesContainer .product-card {
        flex: 0 0 calc(40% - 6px);
        min-width: calc(40% - 6px);
    }

    #recommendedContainer .product-card {
        flex: 0 0 calc(40% - 6px);
        min-width: calc(40% - 6px);
    }

    /* Deals: rester à 2 colonnes sur tablette aussi */
    .deals-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop (1024px) - maintenir 2.5-3 produits visibles + aperçu */
@media (min-width: 1024px) {
    #flashSalesContainer .product-card {
        flex: 0 0 calc(40% - 6px);
        min-width: calc(40% - 6px);
    }

    #recommendedContainer .product-card {
        flex: 0 0 calc(40% - 6px);
        min-width: calc(40% - 6px);
    }

    /* Deals: rester à 2 colonnes même sur desktop */
    .deals-container {
        grid-template-columns: repeat(2, 1fr);
    }
}