/* index-hero.css – styles extracted from index.php (no <style> in views) */
.hero-section {
    padding: 40px 0 48px;
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 50%, #fff8e1 100%);
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.05) 0%, rgba(255, 193, 7, 0.05) 100%);
    z-index: 0;
}
.hero-section .container { position: relative; z-index: 1; }
.hero-section h5 { color: #f57c00; font-weight: 600; font-size: 0.9rem; margin-bottom: 0.5rem; }
.hero-section h1 { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 0.75rem; }
.hero-section .lead { font-size: 1rem; margin-bottom: 1.25rem; }
.hero-section .btn-lg { padding: 0.5rem 1.5rem; font-size: 0.95rem; }
.hero-section .col-lg-6 img,
.hero-section .hero-carousel-img { max-height: 260px; width: auto; max-width: 100%; object-fit: contain; }
/* Hero 2/3 carrousel + 1/3 bannières */
.hero-main-row { --hero-col-h: min(320px, 42vw); }
@media (min-width: 992px) {
    .hero-main-row { --hero-col-h: 340px; }
}
.hero-main-carousel {
    background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
    border-radius: 12px;
    overflow: hidden;
    height: var(--hero-col-h);
}
.hero-main-carousel .carousel-inner,
.hero-main-carousel .carousel-item { height: 100%; }
.hero-slide-inner {
    padding: 1.05rem 1rem 1.05rem; /* utilise ~90% de l'espace (moins de vide) */
    height: var(--hero-col-h);
}
.hero-slide-title { font-size: clamp(1.35rem, 3.2vw, 2rem); line-height: 1.2; }

/* Slider only (capture 1) — scoped classes to avoid affecting right column */
.hero-slide-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(245, 124, 0, 0.12);
    color: #b45309;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.hero-slide-title-capture {
    font-size: clamp(1.15rem, 2.5vw, 1.6rem);
    line-height: 1.1;
    font-weight: 800;
    color: #111827;
    margin: 0 0 10px 0;
}
.hero-slide-lead-capture {
    color: #6b7280;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0 0 8px 0;
    max-width: 52ch;
}
.hero-slide-highlight-capture {
    color: #b45309;
    font-weight: 800;
    font-size: 0.8rem;
    margin: 0 0 10px 0;
}
.hero-slide-cta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
    margin-bottom: 0;
}
.hero-slide-btn-primary {
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-weight: 800 !important;
    border: 2px solid #ffc107 !important;
    box-shadow: 0 8px 18px rgba(245, 124, 0, 0.2);
}
.hero-slide-btn-secondary {
    border-radius: 10px !important;
    padding: 10px 18px !important;
    font-weight: 800 !important;
    border-color: rgba(17, 24, 39, 0.12) !important;
}
.hero-slide-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: 0.85rem;
    font-weight: 600;
}
.hero-slide-benefit-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(245, 124, 0, 0.14);
    color: #f57c00;
    font-size: 0.7rem;
    margin-right: 8px;
    transform: translateY(-1px);
}

/* Benefits in the empty space between text and image (slider only), miniature, vertically centered */
.hero-slide-benefits-col {
    padding-left: 20px;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
}
.hero-slide-benefits--miniature {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.7rem;
    line-height: 1.5;
    color: #374151;
    font-weight: 600;
}
.hero-slide-benefits--miniature .hero-slide-benefit-dot {
    width: 12px;
    height: 12px;
    font-size: 0.5rem;
    margin-right: 4px;
}

.hero-slide-image-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.75);
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
    width: 100%;
    max-width: 320px;
    height: 100%;
    min-height: 240px;
}
.hero-slide-image-frame img {
    object-fit: contain;
    object-position: center;
    max-height: 100%;
    width: auto;
    max-width: 100%;
}
.hero-carousel-img-capture {
    max-height: 300px !important;
    object-fit: contain;
    object-position: center;
}
.hero-carousel-indicators { bottom: 10px; margin-bottom: 0; z-index: 4; }
.hero-carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: 0 4px;
    background-color: rgba(245, 124, 0, 0.35);
    border: 0;
}
.hero-carousel-indicators .active { background-color: #f57c00; }
.hero-carousel-control {
    width: 36px;
    height: 36px;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto;
    opacity: 0.8;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}
.hero-carousel-control.carousel-control-prev { left: -45px !important; }
.hero-carousel-control.carousel-control-next { right: -45px !important; }
.hero-carousel-control:hover { opacity: 1; }
.hero-carousel-control .carousel-control-prev-icon,
.hero-carousel-control .carousel-control-next-icon {
    width: 1.75rem;
    height: 1.75rem;
    filter: invert(61%) sepia(91%) saturate(2470%) hue-rotate(1deg) brightness(103%) contrast(101%);
}
.hero-side-banners {
    min-height: var(--hero-col-h);
}
/* Mobile : les deux bannières glissent sous le slider, côte à côte — pas d’attente du carrousel pour voir Ventes flash & Épiceries */
@media (max-width: 991.98px) {
    /* Slider hero : hauteur fixe + overflow:hidden masquait l’image une fois le texte empilé.
       On laisse le carrousel s’étendre avec le contenu sur tablette/mobile. */
    .hero-main-carousel {
        height: auto;
        min-height: min(320px, 70vw);
        overflow: hidden;
    }
    .hero-main-carousel .carousel-inner {
        height: auto;
        min-height: 0;
    }
    .hero-main-carousel .carousel-item {
        height: auto;
        min-height: 0;
    }
    .hero-slide-inner {
        height: auto;
        min-height: 0;
        padding-bottom: 1rem;
    }
    .hero-carousel-control.carousel-control-prev { left: 6px !important; }
    .hero-carousel-control.carousel-control-next { right: 6px !important; }
    /* Sur mobile, 42vw peut devenir trop petit (~160px),
       alors que l'image a min-height: 240px.
       On impose donc une hauteur minimum cohérente pour éviter le découpage via overflow:hidden. */
    .hero-main-row { --hero-col-h: clamp(240px, 70vw, 360px); }
    .hero-main-row { gap: 0.75rem; }
    .hero-sponsored__header { margin-bottom: 0.35rem; }
    .hero-sponsored__grid { gap: 0.6rem; }
    .hero-sponsored-card { min-height: 120px; }
    .hero-sponsored-card__media { height: 86px; }
    .hero-sponsored-card__badge { font-size: 0.65rem; }
    .hero-sponsored-card__title { font-size: 0.9rem; }
    .hero-sponsored-card__subtitle { display: none; }
    .hero-sponsored__promo-thumb { flex: 0 0 56px; width: 56px; height: 56px; }
    .hero-sponsored__promo-title { font-size: 0.82rem; }
    .hero-sponsored__promo-price { font-size: 0.95rem; }
    .hero-sponsored__trust-list { font-size: 0.7rem; padding: 8px 10px 8px 12px; }

    .hero-slide-title-capture { font-size: clamp(1.35rem, 6vw, 2.1rem); }
    .hero-slide-lead-capture { font-size: 0.9rem; }
    .hero-slide-image-frame { padding: 14px; }
}

/* Colonne sponsorisé (4 colonnes) — même hauteur que le slider (var--hero-col-h) */
.hero-sponsored {
    position: relative;
    height: var(--hero-col-h);
}
.hero-sponsored__header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 0 2px;
    margin: 0;
    z-index: 2;
}
.hero-sponsored__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #6b7280;
    letter-spacing: 0.02em;
}
.hero-sponsored__sub { font-size: 0.75rem; color: #9ca3af; }
.hero-sponsored__grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.6rem;
    height: 100%;
    padding-top: 0;
}
.hero-sponsored-card { height: 100%; }

/* Bloc promo haut droite : miniature + nom + prix promo + ligne verticale + 4 éléments confiance */
.hero-sponsored__promo {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    animation: heroSponsorEnter 0.55s ease-out backwards;
    animation-delay: var(--hero-sponsored-delay, 0ms);
}
.hero-sponsored__promo-inner {
    display: flex;
    align-items: stretch;
    flex: 1;
    min-height: 0;
    position: relative;
}
.hero-sponsored__promo-sponsored {
    position: absolute;
    top: 6px;
    left: 12px;
    font-size: 0.62rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #f57c00;
    letter-spacing: 0.05em;
    z-index: 5;
}
.hero-sponsored__promo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 22px 12px 12px; /* Espacement pour le label Sponsorisé */
    text-decoration: none;
    color: #111827;
    flex: 1 1 auto;
    min-width: 0;
}
.hero-sponsored__promo-link:hover { color: #111827; }
.hero-sponsored__promo-thumb {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    position: relative;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-sponsored__promo-discount-badge {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    background: rgba(230, 81, 0, 0.98);
    color: #fff;
    font-weight: 900;
    font-size: 0.7rem;
    line-height: 1;
    padding: 5px 8px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25);
}
.hero-sponsored__promo-price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
}
.hero-sponsored__promo-price-old {
    font-size: 0.85rem;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}
.hero-sponsored__promo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hero-sponsored__promo-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}
.hero-sponsored__promo-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-sponsored__promo-lead {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.hero-sponsored__promo-price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #15803d;
}
.hero-sponsored__promo-vr {
    width: 1px;
    min-width: 1px;
    background: linear-gradient(180deg, transparent 0%, #e5e7eb 15%, #e5e7eb 85%, transparent 100%);
    margin: 12px 0;
    flex-shrink: 0;
}
.hero-sponsored__trust-list {
    list-style: none;
    margin: 0;
    padding: 10px 12px 10px 14px;
    font-size: 0.75rem;
    line-height: 1.5;
    color: #374151;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 0 0 auto;
}
.hero-sponsored__trust-list li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.hero-sponsored-card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    text-decoration: none;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.2s ease;
    animation: heroSponsorEnter 0.55s ease-out backwards;
    animation-delay: var(--hero-sponsored-delay, 0ms);
}
.hero-sponsored-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
    border-color: rgba(245, 124, 0, 0.25);
}
.hero-sponsored-card__media {
    position: relative;
    height: 70%;
    background: radial-gradient(circle at 20% 20%, rgba(245, 124, 0, 0.12) 0%, rgba(255, 255, 255, 0) 55%),
                linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}
.hero-sponsored-card__sponsored {
    position: absolute;
    top: 10px;
    left: 12px;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    color: rgba(17, 24, 39, 0.72);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 24, 39, 0.08);
    border-radius: 999px;
    padding: 4px 10px;
    backdrop-filter: blur(6px);
}
.hero-sponsored-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.01);
    transition: transform 0.25s ease;
}
.hero-sponsored-card:hover .hero-sponsored-card__img { transform: scale(1.05); }
.hero-sponsored-card__body {
    display: grid;
    gap: 2px;
    padding: 8px 12px 12px; /* texte plus “collé” à l'image */
}
.hero-sponsored-card__badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    border-radius: 999px;
}
.hero-sponsored-card__title {
    color: #111827;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.2;
}
.hero-sponsored-card__subtitle {
    color: #6b7280;
    font-size: 0.82rem;
    line-height: 1.25;
}
.hero-sponsored-card--hot .hero-sponsored-card__badge {
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.12) 0%, rgba(245, 124, 0, 0.12) 100%);
    color: #e65100;
    border: 1px solid rgba(230, 81, 0, 0.22);
}
.hero-sponsored-card--calm .hero-sponsored-card__badge {
    background: rgba(245, 124, 0, 0.08);
    color: #37474f;
    border: 1px solid rgba(245, 124, 0, 0.14);
}
.hero-side-banner {
    flex: 1 1 0;
    min-height: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.hero-side-banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(247, 147, 30, 0.25) !important;
}

/* Bannière du haut : Hot Deal — fond orange charte, image produit forte, contraste avec le slider */
.hero-side-banner--hot {
    padding: 1rem 1rem 1rem 1.25rem;
    flex-direction: row;
    justify-content: space-between;
    gap: 0.75rem;
}
.hero-side-banner--hot__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #e65100 0%, #f57c00 45%, #ff9800 100%);
    z-index: 0;
}
.hero-side-banner--hot__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
}
.hero-side-banner--hot__content {
    flex: 1 1 auto;
    min-width: 0;
    z-index: 1;
}
.hero-side-banner--hot__label {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    margin-bottom: 0.25rem;
}
.hero-side-banner--hot__title {
    font-size: 1rem;
    line-height: 1.25;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
.hero-side-banner--hot__subtitle {
    font-size: 0.75rem;
    margin-top: 0.2rem;
    line-height: 1.3;
}
.hero-side-banner--hot__img-wrap {
    flex: 0 0 auto;
    width: 90px;
    height: 90px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    z-index: 1;
}
.hero-side-banner--hot__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
@media (min-width: 992px) {
    .hero-side-banner--hot { padding: 1.1rem 1.1rem 1.1rem 1.35rem; }
    .hero-side-banner--hot__img-wrap { width: 100px; height: 100px; }
    .hero-side-banner--hot__title { font-size: 1.05rem; }
}

/* Bannière du bas : Confiance / Catégorie — visuel calme, icône épurée */
.hero-side-banner--trust {
    padding: 1.25rem 1rem;
    background: #fafafa;
}
.hero-side-banner--trust__bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, #f5f5f5 0%, #fffbf5 50%, #faf8f5 100%);
    border: 1px solid rgba(245, 124, 0, 0.08);
    z-index: 0;
}
.hero-side-banner--trust:hover .hero-side-banner--trust__bg {
    border-color: rgba(245, 124, 0, 0.18);
    background: linear-gradient(165deg, #fff8e1 0%, #fffbf5 60%, #faf8f5 100%);
}
.hero-side-banner--trust__icon {
    font-size: 2rem;
    color: #f57c00;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    z-index: 1;
}
.hero-side-banner--trust__title {
    color: #37474f;
    font-size: 1rem;
    z-index: 1;
}
.hero-side-banner--trust__subtitle {
    color: #6b7280;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    max-width: 90%;
    z-index: 1;
}
@media (min-width: 992px) {
    .hero-side-banner--trust { padding: 1.35rem 1rem; }
    .hero-side-banner--trust__icon { font-size: 2.25rem; }
    .hero-side-banner--trust__title { font-size: 1.05rem; }
}
.hero-section .btn-primary {
    background: linear-gradient(135deg, #f7931e 0%, #ffc107 100%);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: all 0.3s ease;
}
.hero-section .btn-primary:hover {
    background: linear-gradient(135deg, #e65100 0%, #f57c00 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(247, 147, 30, 0.3);
}
.feature-box {
    padding: 15px 12px; /* Reduit: before 30px */
    text-align: center;
    border: 1px solid #ffe0b2;
    background: linear-gradient(135deg, #ffffff 0%, #fffbf5 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}
.feature-box:hover {
    box-shadow: 0 8px 25px rgba(247, 147, 30, 0.12);
    transform: translateY(-3px);
    background: linear-gradient(135deg, #fffbf5 0%, #ffffff 100%);
}
.feature-box i { font-size: 1.75rem; color: #f57c00; margin-bottom: 10px; }
.feature-box h5 { color: #37474f; font-weight: 700; font-size: 0.95rem; margin-bottom: 2px; }
.feature-box p { font-size: 0.8rem; line-height: 1.25; }
@media (max-width: 767.98px) {
    .feature-box { padding: 10px 8px; }
    .feature-box i { font-size: 1.5rem; margin-bottom: 6px; }
    .feature-box h5 { font-size: 0.85rem; }
    .feature-box p { font-size: 0.72rem; }
}
.category-banner { position: relative; overflow: hidden; margin-bottom: 30px; border-radius: 12px; }
.category-banner img { transition: 0.5s; width: 100%; }
.category-banner:hover img { transform: scale(1.1); }
.category-content {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    z-index: 2;
}
.category-content h4 { text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.category-content .btn-light {
    background: linear-gradient(135deg, #ffffff 0%, #fff8e1 100%);
    border: none;
    color: #f57c00;
    font-weight: 600;
}

/* Homepage: category grid (table-like tiles, like marketplace captures) */
.home-categories-section { background: #fff; }
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid #e8e8e8;
    border-radius: 2px;
    overflow: hidden;
    background: #fff;
}
.home-category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    text-decoration: none;
    color: #1a1a1a;
    padding: 20px 12px 16px;
    min-height: 140px;
    border-right: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    background: #fff;
    transition: background 0.2s ease;
}
.home-category-tile:nth-child(4n) { border-right: none; }
.home-category-tile:hover {
    background: #fafafa;
    color: #1a1a1a;
}
.home-category-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 72px;
    margin-bottom: 10px;
}
.home-category-thumb img {
    max-height: 88px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    vertical-align: middle;
}
.home-category-label {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.35;
    padding: 0 4px;
}
@media (max-width: 991.98px) {
    .home-categories-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-category-tile { border-right: 1px solid #e8e8e8; }
    .home-category-tile:nth-child(2n) { border-right: none; }
}
@media (max-width: 575.98px) {
    .home-category-tile { min-height: 120px; padding: 14px 8px 12px; }
    .home-category-label { font-size: 0.82rem; }
}

/* Category carousel (circular thumbs + label + product count) */
.categories-carousel-section { background: #fff; }
.category-carousel-item {
    flex: 0 0 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #1a1a1a;
    padding: 8px 6px;
    transition: color 0.2s ease;
}
.category-carousel-item:hover { color: #f57c00; }
.categories-carousel-thumb {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    flex-shrink: 0;
}
.categories-carousel-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.categories-carousel-label {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    padding: 0 4px;
}
.categories-carousel-count {
    font-size: 0.85rem;
    font-weight: 400;
    color: #6c757d;
}

.product-card {
    border: 1px solid #ffe0b2;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
    background: #ffffff;
    border-radius: 12px;
    transition: all 0.3s ease;
}
.product-card:hover {
    box-shadow: 0 12px 30px rgba(247, 147, 30, 0.15);
    transform: translateY(-5px);
    border-color: #ffc107;
}
.product-card .text-primary { color: #f57c00 !important; font-weight: 700; }
.product-card .btn-outline-primary { border-color: #f57c00; color: #f57c00; }
.product-card .btn-outline-primary:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ffc107 100%);
    border-color: #f57c00;
    color: #fff;
}
.product-card .btn-outline-secondary:hover { background: #fff8e1; border-color: #ffc107; color: #f57c00; }
.featured-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(152px, 1fr));
    gap: 14px;
    align-items: start;
}
.featured-product-card {
    background: #fff;
    border: 1px solid #ffe0b2;
    border-radius: 10px;
    padding: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
}
.featured-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(247, 147, 30, 0.12);
    border-color: #ffc107;
}
.featured-product-card .card-img-wrap {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 6px;
}
.featured-product-card .card-img-wrap img { max-height: 100px; width: auto; object-fit: contain; transition: transform 0.35s ease; }
.featured-product-card:hover .card-img-wrap img { transform: scale(1.05); }
.featured-product-card .card-title-small {
    font-size: 0.8rem;
    font-weight: 500;
    margin: 4px 0 2px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}
.featured-product-card .card-price { font-size: 1rem; font-weight: 700; color: #f57c00; margin-bottom: 4px; }
.featured-product-card .card-actions { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; padding-top: 0; }
.featured-product-card .card-actions .btn { width: 32px; height: 32px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
#page-index .index-products-grid .product-card { padding: 6px; }
#page-index .index-products-grid .product-image { min-height: 72px; margin-bottom: 4px; }
#page-index .index-products-grid .product-image img { max-height: 72px; }
#page-index .index-products-grid .product-name { font-size: 0.75rem; min-height: 2.2em; margin: 2px 0 1px; }
#page-index .index-products-grid .product-actions .product-action-btn { width: 30px; height: 30px; font-size: 0.75rem; }
#page-index .index-products-grid .product-actions-bottom .btn { padding: 4px 8px; font-size: 0.75rem; }
#page-index .index-products-grid .product-price .current-price { font-size: 0.9rem; }
#page-index .index-products-grid .product-rating i { font-size: 0.65rem; }
#page-index .index-products-grid .rating-value { font-size: 0.65rem; }
.promo-banner {
    background: linear-gradient(135deg, rgba(247, 147, 30, 0.9) 0%, rgba(255, 193, 7, 0.9) 50%, rgba(255, 248, 225, 0.95) 100%), var(--promo-banner-url, none);
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: #5d3a0a;
    text-align: center;
    position: relative;
}
.promo-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.3) 0%, rgba(255, 193, 7, 0.2) 100%);
    z-index: 0;
}
.promo-banner .container { position: relative; z-index: 1; }
.promo-banner h2, .promo-banner h5 { color: #5d3a0a; font-weight: 700; }
.promo-banner .btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #fff8e1 100%);
    border: 2px solid #f57c00;
    color: #f57c00;
    font-weight: 700;
}
.promo-banner .btn-primary:hover {
    background: linear-gradient(135deg, #f57c00 0%, #ffc107 100%);
    color: #fff;
    border-color: #f57c00;
}
#page-index section.bg-light { background: linear-gradient(135deg, #fafafa 0%, #fff8e1 30%, #ffffff 100%) !important; }
.fw-bold { color: #37474f; }
.bg-primary { background: linear-gradient(135deg, #f7931e 0%, #ffc107 100%) !important; }
.card { border: 1px solid #ffe0b2; transition: all 0.3s ease; }
.card:hover { box-shadow: 0 8px 20px rgba(247, 147, 30, 0.15); transform: translateY(-3px); }
.btn-link.text-primary { color: #f57c00 !important; }
.btn-link.text-primary:hover { color: #e65100 !important; }
.flash-deals-section { padding: 48px 0 56px; background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%); }
.flash-deals-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}
.flash-deals-title-block { flex: 1 1 auto; }
.flash-deals-title { font-size: 1.75rem; font-weight: 700; color: #1a1a1a; margin: 0 0 4px 0; }
.flash-deals-subtitle { font-size: 0.95rem; color: #6b7280; margin: 0 0 10px 0; }
.flash-deals-tag {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #f57c00;
    border-radius: 8px;
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 500;
    background: linear-gradient(135deg, #fff8e1 0%, #ffffff 50%, #ffc107 100%);
}
/* Countdown timer – capsule crème (style capture) */
.flash-deals-countdown-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 999px;
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e8 50%, #fff5e0 100%);
    border: 1px solid #e8d4b8;
    margin-left: 12px;
    flex-wrap: wrap;
}
.flash-deals-countdown-label {
    font-weight: 700;
    color: #b45309;
    font-size: 0.9rem;
}
.flash-deals-countdown-timer {
    font-weight: 800;
    color: #1a1a1a;
    font-size: 1rem;
    letter-spacing: 0.02em;
}
.flash-deals-countdown-end {
    font-size: 0.8rem;
    font-weight: 400;
    color: #64748b;
}
@media (max-width: 576px) {
    .flash-deals-title {
        font-size: 1.35rem;
    }
    .flash-deals-subtitle {
        font-size: 0.85rem;
        margin-bottom: 8px;
    }
    .flash-deals-tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }
    .flash-deals-countdown-pill {
        padding: 5px 12px;
        gap: 4px;
        margin-left: 0;
        margin-top: 8px;
    }
    .flash-deals-countdown-label {
        font-size: 0.75rem;
    }
    .flash-deals-countdown-timer {
        font-size: 0.85rem;
    }
    .flash-deals-countdown-end {
        font-size: 0.7rem;
    }
}
.flash-deals-view-all { font-size: 0.95rem; font-weight: 700; color: #1a1a1a; text-decoration: none; white-space: nowrap; transition: color 0.2s; }
.flash-deals-view-all:hover { color: #f57c00; }
.flash-deals-carousel-wrap { position: relative; padding: 0 48px; }
.flash-deals-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}
.flash-deals-carousel::-webkit-scrollbar { display: none; }
@keyframes flashCardEnter {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.flash-deal-card {
    flex: 0 0 210px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.2s;
    animation: flashCardEnter 0.45s ease-out backwards;
}
.flash-deals-carousel .flash-deal-card:nth-child(1) { animation-delay: 0.02s; }
.flash-deals-carousel .flash-deal-card:nth-child(2) { animation-delay: 0.05s; }
.flash-deals-carousel .flash-deal-card:nth-child(3) { animation-delay: 0.08s; }
.flash-deals-carousel .flash-deal-card:nth-child(4) { animation-delay: 0.11s; }
.flash-deals-carousel .flash-deal-card:nth-child(5) { animation-delay: 0.14s; }
.flash-deals-carousel .flash-deal-card:nth-child(6) { animation-delay: 0.17s; }
.flash-deals-carousel .flash-deal-card:nth-child(n+7) { animation-delay: 0.2s; }
.flash-deal-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0,0,0,.12), 0 0 0 1px rgba(245, 124, 0, 0.2);
    border-color: rgba(245, 124, 0, 0.4);
}
.flash-deal-card .card-img-wrap {
    position: relative;
    background: linear-gradient(180deg, #fafafa 0%, #f5f5f5 100%);
    padding: 14px 12px;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.flash-deal-card .card-img-wrap img { max-height: 120px; width: auto; object-fit: contain; transition: transform 0.35s ease; }
.flash-deal-card:hover .card-img-wrap img { transform: scale(1.06); }
.flash-deal-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(230, 81, 0, 0.95) 0%, rgba(245, 124, 0, 0.95) 100%);
    color: #fff;
    font-weight: 800;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 20px rgba(230, 81, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.flash-deal-wishlist {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 2;
}
.flash-deal-wishlist:hover, .flash-deal-wishlist.in-wishlist { color: #ef4444; border-color: #fecaca; background: #fef2f2; }
/* Bouton "Voir produit" – très visible : fond crème, texte orange */
.flash-deal-options-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    padding: 8px 16px;
    border: 2px solid #f57c00;
    border-radius: 10px;
    background: linear-gradient(180deg, #fff8e8 0%, #fff5e0 50%, #fff0d4 100%);
    color: #e65100;
    font-size: 0.9rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(230, 81, 0, 0.15);
    height: 42px;
}
.flash-deal-options-btn:hover {
    border-color: #e65100;
    color: #bf360c;
    background: linear-gradient(180deg, #fff0d4 0%, #ffe0b2 100%);
    box-shadow: 0 4px 12px rgba(230, 81, 0, 0.25);
    transform: translateY(-1px);
}
.flash-deal-add-to-cart {
    margin-top: auto;
    padding: 10px 16px;
    border: none;
    border-radius: 999px;
    background: linear-gradient(135deg, #ea580c 0%, #f97316 50%, #fb923c 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
    height: 42px;
    width: 100%;
}
.flash-deal-add-to-cart:hover {
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.45);
    transform: translateY(-1px);
}
.flash-deal-add-to-cart:active { transform: translateY(0); }
.flash-deal-add-to-cart .product-action-label { font-weight: 600; }
.flash-deal-card .card-body-custom {
    padding: 10px 12px 12px;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.flash-deal-price-now { font-size: 1.1rem; font-weight: 700; color: #15803d; }
.flash-deal-price-old { font-size: 0.8rem; color: #6b7280; text-decoration: line-through; margin-left: 6px; }
.flash-deal-price-row { margin-bottom: 4px; }
.flash-deal-title {
    font-size: 0.85rem;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.flash-deal-title a { color: inherit; text-decoration: none; }
.flash-deal-title a:hover { color: #f57c00; }
.flash-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    transition: all 0.2s;
}
.flash-carousel-btn:hover { background: #f57c00; color: #fff; border-color: #f57c00; }
.flash-carousel-btn.prev { left: 0; }
.flash-carousel-btn.next { right: 0; }
#page-index .text-primary,
#page-index .btn-outline-primary,
#page-index .btn-link.text-primary { color: #f57c00 !important; }
#page-index .btn-primary {
    background: linear-gradient(135deg, #f7931e 0%, #ffc107 100%) !important;
    border-color: #f57c00 !important;
    color: #fff !important;
}
#page-index .btn-primary:hover {
    background: linear-gradient(135deg, #e65100 0%, #f57c00 100%) !important;
    border-color: #e65100 !important;
    color: #fff !important;
}
#page-index .btn-outline-primary { border-color: #f57c00 !important; color: #f57c00 !important; }
#page-index .btn-outline-primary:hover {
    background: linear-gradient(135deg, #f7931e 0%, #ffc107 100%) !important;
    border-color: #f57c00 !important;
    color: #fff !important;
}
#page-index .bg-primary { background: linear-gradient(135deg, #f7931e 0%, #ffc107 100%) !important; }

/* Trust / badges row – no inline style */
.trust-badges-section { background: linear-gradient(135deg, #fff8e1 0%, #ffffff 50%, #fff8e1 100%); }
.trust-badges-section .trust-icon { font-size: 1.5rem; }
.index-divider-primary { width: 100px; height: 3px; }

/* Bloc livraison / paiements + témoignages (page d’accueil) */
.index-trust-card { border-color: #e8e8e8 !important; }
.index-testimonial { background: #fff; border-color: #eee !important; }
.index-testimonial footer { color: #374151; }

/* CTA FAQ sous les cartes livraison / paiement */
#page-index .home-trust-faq-btn {
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid #f57c00;
    color: #fff;
    background: linear-gradient(135deg, #f7931e 0%, #ffc107 100%);
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
#page-index .home-trust-faq-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(245, 124, 0, 0.35) !important;
}
#page-index .home-trust-faq-btn:focus-visible {
    outline: 3px solid rgba(245, 124, 0, 0.45);
    outline-offset: 2px;
}
