﻿:root {
    --primary-clr: #E53029;
    --primary-red: #EE3C34;
}

.autosize-container {
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.blk_product__list {
    width: unset !important;
}

.grb_bento_chocdeals {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

    .grb_bento_chocdeals .bento__item {
        border-color: var(--primary-clr);
    }

    .grb_bento_chocdeals .bento__label {
        color: var(--noir);
    }

    .grb_bento_chocdeals .bento__cta {
        background-color: var(--primary-clr);
        color: var(--blanc);
    }

    .grb_bento_chocdeals .bento__cta-icon {
        filter: invert(1);
    }

.boite-a-promos__vignettes-carrees .article-card__current-price {
    color: var(--blanc);
    border: 1px solid var(--blanc);
}

.boite-a-promos__vignettes-carrees .article-card__discount {
    background: #FF3212;
}

.boite-a-promos__vignettes-carrees .article-card {
    background: var(--primary-clr);
    border: unset;
    overflow: visible;
}

.boite-a-promos__vignettes-carrees .article-card__image {
    border-radius: 18px 18px 0 0;
}

.boite-a-promos__vignettes-carrees .article-card__category {
    background-color: #F8654F;
}

.hero-banner {
    color: var(--blanc);
}

.hero-banner__content {
    padding: 10px 20px !important;
}

.content {
    display: flex;
    justify-content: center;
}

.grb_boite-a-promos__main-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 35px;
    max-width: 1440px;
    width: 100%;
    justify-content: center;
}

.CategorieOffresPharesRemise.categorie_offres_phares {
    background: var(--blanc) !important;
    border-radius: 10px;
    border: 1px solid #EEE;
}

.CategorieOffresPharesRemise.categories_offres_phares_remise, .CategorieOffresPharesRemise.categories_offres_phares_remise_voir_tout {
    color: var(--blanc) !important;
    background: #DE2E22 !important;
}

    .CategorieOffresPharesRemise.categories_offres_phares_remise_voir_tout svg {
        width: 12px;
    }

.categories_offres_phares_remise_titre {
    color: initial !important;
    /* une seule ligne */
    align-self: flex-end !important;
    /* plusieurs */
    text-align: end !important;
    padding-bottom: 10px !important;
}

.grb_event-pc__wrapper {
    flex-direction: column-reverse;
}

.grb_boite-a-promos__revive--banner {
    display: block;
    width: calc(100% - 405px);
    height: 100%;
    background-color: var(--blanc);
    border-radius: 20px;
    overflow: hidden;
}

    .grb_boite-a-promos__revive--banner ins {
        display: block;
        width: 100%;
        height: 100%;
    }

    .grb_boite-a-promos__revive--banner img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        vertical-align: bottom;
    }

.grb_boite-a-promos__wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 35px;
    width: 100%;
}

.grb_chocdeal_grille-avec-fleches .category-arrow__item {
    background: var(--blanc);
    border-radius: 10px;
    border: 1px solid #EEE;
}

.w-max1440 {
    width: calc(100% - 20px);
    max-width: 1440px;
    margin: 0 auto;
}

.w-full {
    width: 100%;
}

.grb_event__block-title {
    width: 100%;
    font-size: 26px;
    font-weight: var(--medium);
    text-align: left;
}

.grb_chocdeals_reassurance_container {
    padding-bottom: 50px;
}

/* bannière */
.grb_boite-a-promos__hero-banner {
    max-height: 400px;
    padding-top: 50px;
}

.grb_boite-a-promos__banner {
    border-radius: 20px;
    background-color: var(--primary-clr);
    overflow: hidden;
    padding: 35px 0;
}

.grb_boite-a-promos__banner-content {
    width: 100%;
    max-width: 405px;
    padding: 0 40px;
    color: var(--blanc);
}

.grb_boite-a-promos__revive {
    width: calc(100% - 20px);
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
}

.grb_boite-a-promos__revive--banner {
    display: block;
    width: calc(100% - 405px);
    height: 100%;
    background-color: var(--blanc);
    border-radius: 20px;
    overflow: hidden;
}

.grb_boite-a-promos__revive ins {
    display: block;
    width: 100%;
    height: 100%;
}

.grb_boite-a-promos__revive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    vertical-align: bottom;
}

.grb_event-hero-banner__breadcrumb {
    column-gap: 5px;
    font-weight: var(--medium);
}

.grb_boite-a-promos__banner-title {
    font-size: 28px;
    font-weight: var(--semibold);
    text-transform: uppercase;
}

.grb_boite-a-promos__banner-paragraph {
    line-height: 1.35;
}

.categories_offres_phares_remise_voir_tout {
    gap: 10px;
    width: 145px !important;
    border-radius: 10px !important;
}

    /* flèche cta */
    .categories_offres_phares_remise_voir_tout svg path {
        animation-name: movedArrow;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
    }

/* diaporama pc config & bureautique */
.grb_boite-a-promos__config .grb_event-pc__item {
    background: var(--blanc);
    background-image: unset;
    position: relative;
    border-radius: 30px 20px 15px 20px;
    border: 1px solid #EEE;
    box-shadow: -4px 4px 0 3px var(--primary-clr);
}

.grb_boite-a-promos__config .grb_event-pc__left {
    justify-content: space-around;
}

.grb_boite-a-promos__config .grb_event-pc__tag {
    background: var(--primary-clr);
    color: var(--blanc);
    display: none;
}

.grb_boite-a-promos__config .grb_event-pc__discount {
    background: var(--primary-clr);
}

.grb_boite-a-promos__config .grb_event-pc__cta {
    background: #F3F3F3;
}

    .grb_boite-a-promos__config .grb_event-pc__cta span {
        color: #151515;
    }

    .grb_boite-a-promos__config .grb_event-pc__cta svg path {
        fill: #1A1919;
    }

.grb_boite-a-promos__config .grb_event-pc__price-container {
    justify-content: flex-start;
    height: 70px;
    align-items: end;
}

.grb_boite-a-promos__config .grb_event-pc__current-price {
    border: 2px solid var(--primary-clr);
    color: var(--primary-clr);
    padding: 5px 25px;
}

.grb_boite-a-promos__config .grb_event-pc__blob-btn {
    align-self: flex-end;
    color: var(--blanc);
    border-radius: 55px;
    background: var(--primary-clr);
    min-width: 214px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.grb_boite-a-promos__config .grb_event-pc__blob-btn__blob {
    background-color: var(--primary-clr);
}

.grb_event-pc__content {
    padding: 15px !important;
}

/* diaporama vignettes carrees :  image banière conditionnelle */
.blk-product_redirection-rect {
    background: url(https://www.grosbill.com/images_produits/grosbill/images-landing/boite-a-promos/background-vignettes-carres.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 21px 19px 21px 34px !important;
}

.boite-a-promos__vignettes-carrees .blk-product_redirection-rect__content {
    max-width: unset;
    justify-content: flex-end;
    row-gap: 30px;
}

.boite-a-promos__vignettes-carrees .blk_product__tag-discount {
    margin-left: auto;
    height: 26px;
}

.boite-a-promos__vignettes-carrees .blk_product__tag--event {
    background: #FFE8E9;
    color: var(--primary-red);
}

.boite-a-promos__vignettes-carrees .blk-product_redirection-rect__btn {
    align-self: flex-end;
}

.blk-product_redirection-rect__image {
    display: none;
}

.boite-a-promos__vignettes-carrees .blk_product__card {
    border: 1px solid #EEE;
    height: 263px;
    position: relative;
    padding-top: 40px;
    overflow: hidden;
}

.boite-a-promos__vignettes-carrees .blk_product__tag--event {
    display: flex;
    position: absolute;
    top: 5px;
    left: 5px;
    border-radius: 5px 10px 10px 10px;
    height: 26px;
    display: none;
    align-items: center;
    justify-content: center;
}

.boite-a-promos__vignettes-carrees .blk_product__tag-discount {
    position: absolute;
    height: 26px;
    top: 5px;
    right: 5px;
    border-radius: 5px 10px 10px 10px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blk-product_redirection-rect__text {
    font-size: 24px !important;
    display: flex;
    width: 322px;
    height: 71px;
    flex-direction: column;
    justify-content: center;
    font-family: Nunito;
    line-height: 30px;
}

@media screen and (max-width: 1920px) {
    .autosize-container {
        max-width: 1440px;
        margin: 0 auto;
        width: 100%;
    }
}

/* tablette grande */
@media screen and (max-width: 1024px) {
    .grb_boite-a-promos__hero-banner {
        padding-top: 0px;
    }

    .grb_boite-a-promos__banner {
        flex-direction: column;
        row-gap: 10px;
        background-color: transparent;
    }

    .grb_boite-a-promos__config .grb_event-pc__price-container {
        justify-content: flex-start;
        height: auto;
        align-items: end;
    }

    .grb_boite-a-promos__config .grb_event-pc__current-price {
        padding: 5px;
    }

    .hero-banner__content {
        padding: 20px 0 !important;
        color: var(--noir);
    }

    .grb_boite-a-promos__banner-title, .grb_boite-a-promos__banner-paragraph, .grb_event-hero-banner__breadcrumb {
        color: #000;
    }

    .grb_boite-a-promos__banner-title {
        display: flex;
        justify-content: center;
    }

    .grb_boite-a-promos__banner-paragraph {
        display: flex;
        justify-content: center;
    }

    .grb_boite-a-promos__banner-content {
        max-width: 100%;
        row-gap: 10px;
        padding: 0 10px;
        color: #000;
    }

    .grb_boite-a-promos__revive--banner {
        width: calc(100% - 20px);
    }

    .grb_boite-a-promos__seo {
        padding: 40px 10px;
    }

    .grb_boite-a-promos__seo-title {
        font-size: 16px;
    }

    .grb_boite-a-promos__seo-paragraph {
        font-size: 11px;
    }

    .grb_boite-a-promos__seo-inner--full-text {
        padding: 25px 45px;
    }

    .grb_event-soldes-hiver__offres--titre, .grb_event-soldes-hiver__offres--texte {
        text-align: center;
    }

    .grb_page-evenement__seo--top {
        transform: translate(-50%, -50%);
        height: 430px;
    }

    .grb_page-evenement__seo--bottom {
        background-size: cover
    }

    .grb_page-evenement__seo--wrapper-bottom {
        padding: 0 20px;
    }

    .grb_page-evenement__seo--top .grb_page-evenement__seo--text-wrapper {
        padding-top: 50px;
        height: 440px;
    }

    .grb_boite-a-promos__config .grb_event-pc__list {
        row-gap: 25px;
    }

    /* flèche cta */
    .categories_offres_phares_remise_voir_tout svg path {
        animation-duration: unset;
    }

    .gb_mea-solo__item__name {
        text-align: center;
    }
}

@media screen and (max-width: 940px) {
    .categories_offres_phares_remise_voir_tout {
        width: 115px !important;
        font-size: 15px !important;
    }

    .grb_event-soldes-hiver__main {
        row-gap: 30px;
    }

    .grb_event-soldes-hiver__hero-banner--mobile {
        display: flex;
        justify-content: center;
    }

    .grb_event-soldes-hiver__hero-banner {
        display: none;
    }

    .grb_page-evenement__seo--top {
        transform: translate(0,-50%);
        left: 0;
        padding: 0 10px;
    }

    .grb_event-soldes-hiver__offres {
        padding: 0 10px;
    }

    .grb_event-soldes-hiver__offres--titre {
        font-size: 20px;
        text-align: center;
    }

    .grb_event-soldes-hiver__offres--texte {
        text-align: center;
    }

    .grb_event-soldes-hiver__reassu {
        align-items: center;
        padding: 0 10px;
    }

    .grb_page-evenement__seo--banner {
        height: 616px;
        background: url(https://www.grosbill.com//images_produits/grosbill/images-landing/soldes-hiver-2025/background-seo-top.png);
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

    .grb_page-evenement__seo--title {
        font-size: 16px;
    }

    .grb_page-evenement__seo--text {
        font-size: 11px;
    }

    .grb_page-evenement__seo--top .grb_page-evenement__seo--text-wrapper {
        padding: 15px 30px 0;
        justify-content: center;
        height: 330px;
    }

    .grb_page-evenement__seo--wrapper-bottom {
        padding: 0 10px;
    }

    .grb_page-evenement__seo--bottom {
        justify-content: center;
        height: 550px;
        background-size: cover;
        align-items: flex-end;
        border-radius: 15px;
        padding: 0 10px 20px;
    }

        .grb_page-evenement__seo--bottom .grb_page-evenement__seo--text-wrapper {
            width: 100%;
            justify-content: center;
            row-gap: 20px;
        }

    .grb_page-evenement__seo--text-container {
        padding: 0 30px;
    }
}

@media screen and (max-width: 768px) {
    .grb_bento_chocdeals .bento__image {
        width: 100%;
        height: 70px;
    }

    .grb_bento_chocdeals .bento__item:nth-child(1) .bento__image,
    .grb_bento_chocdeals .bento__item:nth-child(5) .bento__image {
        width: 100%;
        max-width: 100%;
        height: 100px;
    }

    .grb_bento_chocdeals .bento__content {
        padding: 0 10px 10px;
    }

    .grb_bento_chocdeals .bento__item:nth-child(1) .bento__content,
    .grb_bento_chocdeals .bento__item:nth-child(5) .bento__content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }

    .grb_bento_chocdeals .bento__item:nth-child(1) .bento__label,
    .grb_bento_chocdeals .bento__item:nth-child(5) .bento__label {
        margin-left: 0;
        margin-right: auto;
    }

    .grb_bento_chocdeals .bento__item:nth-child(1), .grb_bento_chocdeals .bento__item:nth-child(5) {
        width: 100%;
    }

    .grb_bento_chocdeals .bento__item {
        width: 100%;
        max-width: calc(50% - 5px);
    }

    .grb_chocdeal_grille-avec-fleches .category-arrow__title {
        display: flex;
        align-items: center;
    }

    .grb_chocdeal_grille-avec-fleches .category-arrow__item, .grb_chocdeal_grille-avec-fleches .category-arrow__cta {
        max-width: 180px;
    }

    .grb_chocdeal_grille-avec-fleches .category-arrow_list {
        gap: 10px;
    }

    .boite-a-promos__vignettes-carrees .article-card {
        max-width: 370px !important;
    }

    .grb_boite-a-promos__wrapper {
        row-gap: 30px;
        padding: 15px 0;
    }

    .grb_boite-a-promos__config .grb_event-pc__list {
        row-gap: 15px;
    }

    .grb_event__block-title {
        font-size: 18px;
        text-align: center;
    }

    .grb_event__block-subtitle {
        font-size: 14px;
        text-align: center;
    }

    .grb_boite-a-promos__main-wrapper {
        padding: 0 10px;
        row-gap: 30px;
    }

    .grb_event-pc__wrapper {
        flex-direction: column;
    }

    .boite-a-promos__vignettes-carrees .blk-product_redirection-mobile__link {
        color: var(--blanc);
        background-color: var(--primary-clr);
        min-width: 323px;
        max-height: 40px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .grb_boite-a-promos__config .grb_event-pc__blob-btn {
        align-self: flex-end;
        min-width: 162px;
        height: 40px;
    }
}

@media screen and (max-width: 480px) {
    .grb_page-evenement__seo--top {
        transform: translate(0,-75%);
        left: 0;
        padding: 0 10px;
        height: 500px;
    }

        .grb_page-evenement__seo--top .grb_page-evenement__seo--text-wrapper {
            padding: 15px 30px 0;
            justify-content: center;
            height: 480px;
        }
}

@keyframes movedArrow {
    0% {
        opacity: 1;
        transform: translateX(0px);
    }

    25% {
        opacity: 0;
        transform: translateX(10px);
    }

    26% {
        opacity: 0;
        transform: translateX(-10px);
    }

    55% {
        opacity: 1;
        transform: translateX(0px);
    }
}
