﻿:root {
    --primary-clr: #E0201D;
    --primary-gradient: #085E4F;
}
.main-page {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
    background: #FFFEEF;
    color: #fff;
    padding: 25px 0;
}
.w-max1440 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 25px;
    width: calc(100% - 20px);
    max-width: 1440px;
    margin: 0 auto;
}
.noel__full-width {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
}
.noel__full-width--rose {
    padding: 25px 0;
    background-color: #FFEBEB;
}
.noel__products-content {
    display: flex;
    flex-direction: column;
    row-gap: 25px;
}
.noel__revive {
    width: 100%;
    max-width: 1440px;
    height: 100%;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}
.noel__revive ins {
    display: block;
    width: 100%;
    height: 100%;
}
.noel__revive img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    vertical-align: bottom;
}
.main-page .category-arrow__block-subtitle,
.main-page .grb_event__block-title {
    color: #000;
}
.main-page .grb_event__block-title {
    width: 100%;
    font-size: 26px;
    font-weight: var(--medium);
    text-align: left;
}
.main-page .grb_event__block-subtitle {
    width: 100%;
    color: #000;
}

/* modif 1er bloc nbr dynamique */
.main-page .article-card__current-price {
    color: #FFD452;
    border: 1px solid #FFD452;
}
.main-page .article-card__discount {
    background: var(--primary-clr);
}

/* modif pc config générique */
.main-page .grb_event-pc__cta {
    color: #fff;
    background-color: var(--primary-clr);
}
.main-page .grb_event-pc__wrapper {
    width: 100%;
    max-width: 1440px;
}
.main-page .grb_event-pc__cta svg path {
    fill: #fff;
}
.main-page .grb_event-pc__all-products {
    color: #fff;
    background-color: var(--primary-clr);
    border: 2px solid var(--primary-clr);
}
.main-page .grb_event-pc__all-products:hover {
    color: var(--primary-clr);
}
.main-page .grb_event-pc__blob-btn__blob {
    background-color: #fff;
}
.main-page .grb_event-pc__item {
    outline-color: #EEEEEEEE;
}
.main-page .grb_event-pc__item {
    background: #CFE6E0;
}
.main-page .grb_event-pc__type {
    color: #fff;
}
.main-page .grb_event-pc__content {
    background: var(--primary-gradient);
    color: #fff;
}
.main-page .grb_event-pc__current-price {
    color: #FFD452;
    border: 1px solid #FFD452
}
.main-page .grb_event-pc__old-price {
    color: #bbb;
}
.main-page .grb_event-pc__discount {
    background-color: var(--primary-clr);
}
.main-page .grb_event-pc__old-price::after {
    background-color: #bbb;
}
/* modif de pc config selon les thèmes */
.main-page .grb_event-pc__tag {
    text-transform: uppercase;
    background-color: var(--primary-clr);
}

/* modif bento générique */
.main-page .bento__item {
    background: #fff;
    border: 1px solid #E3E3E3;
}
.main-page .bento__item:nth-child(1),
.main-page .bento__item:nth-child(5) {
    border-color: var(--primary-clr);
}
.main-page .bento__image {
    position: relative;
    z-index: 1;
}
.main-page .bento__image::before {
    content: '';
    z-index: -1;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 70px);
    min-height: 50px;
    background-color: #FFEEF3;
}
.main-page .bento__item:nth-child(1) .bento__image::before,
.main-page .bento__item:nth-child(5) .bento__image::before {
    height: calc(100% - 80px);
    min-height: 70px;
}
.main-page .bento__item:nth-child(2) .bento__image::before,
.main-page .bento__item:nth-child(4) .bento__image::before {
    background-color: #B2D8CC;
}
.main-page .bento__item:nth-child(3) .bento__image::before,
.main-page .bento__item:nth-child(6) .bento__image::before {
    background-color: #F5E0A1;
}
.main-page .bento__label {
    z-index: 2;
    color: var(--primary-clr);
}
.main-page .bento__cta {
    color: #fff;
    background-color: var(--primary-clr);
}
.main-page .bento__cta-icon svg path {
    fill: #fff;
}

/* modif pc en kit*/
.main-page .subtitle.grb_event__block-subtitle {
    max-width: 100%;
}

/* modif produit thème id générique */
.main-page .blk_product__card {
    border: 1px solid #EBEBEB;
}
.main-page .blk_product__tag {
    background-color: var(--primary-clr);
    color: #fff;
}
.main-page .blk-product_redirection-rect {
    font-size: 16px;
    background: var(--primary-clr);
    border-radius: 10px;
    border: 1px solid #787878;
    padding: 2.25em 1.75em;
}
.main-page .blk_product__origin-price + .blk_product__current-price {
    color: var(--primary-clr);
}
.main-page .blk-product_redirection-rect__btn {
    color: var(--primary-clr);
}
.main-page .blk-product_redirection-rect__btn svg path {
    fill: var(--primary-clr);
}
.main-page .blk-product_redirection-mobile__link {
    width: 100%;
    max-width: 323px;
    text-align: center;
    color: #fff;
    background-color: #FF3212;
}
.main-page .blk-product_redirection-rect__image {
    object-fit: contain;
    border-radius: 10px;
}

/* modif des catégories avec flèche générique */
.main-page .category-arrow__item {
    background: #FDEEEE;
    border: 1px solid #FFB8B7;
}
.main-page .category-arrow__icon svg path {
    fill: #000;
}

/* bloc shorts youtube */
.main-page .short-item.short-title {
    background-color: var(--primary-clr);
    border: 1px solid var(--primary-clr);
}
.main-page .short-item.short-title::before,
.main-page .short-item.short-title::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 105px;
}
.main-page .short-item.short-title::before {
    top: 0;
    background-image: url('https://www.grosbill.com/images_produits/grosbill/images-landing/noel-2025/before.png');
}
.main-page .short-item.short-title::after {
    bottom: 0;
    background-image: url('https://www.grosbill.com/images_produits/grosbill/images-landing/noel-2025/after.png');
}

/* modif du bloc d'accès magasin générique */
.main-page .grb_block_acces_magasins__boutique {
    border: initial;
    width: 100%;
    max-width: 1440px;
    justify-content: flex-end;
    padding: initial;
    align-items: flex-end;
}
.main-page .grb_block_acces_magasins__boutique--title {
    display: none;
}
.main-page .grb_block_acces_magasins__seo--cta {
    background-color: #E53029;
    border: initial;
    width: 222px;
    height: 54px;
    border-radius: 38px 0 38px 0;
}
.main-page .grb_block_acces_magasins__seo--cta-inner {
    height: 100%;
    transition: none;
    transform: none;
}
.main-page .grb_block_acces_magasins__seo--cta-inner,
.main-page .grb_block_acces_magasins__seo--cta:hover .grb_block_acces_magasins__seo--cta-inner {
    border: none;
}
.main-page .grb_block_acces_magasins__seo--cta:hover .grb_block_acces_magasins__seo--cta-inner {
    transform: none;
}
.main-page .grb_block_acces_magasins__seo--cta-inner::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 18px;
    margin-left: 8px;
    background: url("data:image/svg+xml;utf8,<svg viewBox='122 12 14 12' xmlns='http://www.w3.org/2000/svg' width='20' height='18' preserveAspectRatio='xMidYMid meet'><path d='M123 17.6367C122.586 17.6367 122.25 17.9725 122.25 18.3867C122.25 18.8009 122.586 19.1367 123 19.1367V17.6367ZM135.53 18.917C135.823 18.6242 135.823 18.1493 135.53 17.8564L130.757 13.0834C130.464 12.7905 129.99 12.7905 129.697 13.0834C129.404 13.3763 129.404 13.8512 129.697 14.1441L133.939 18.3867L129.697 22.6294C129.404 22.9223 129.404 23.3971 129.697 23.69C129.99 23.9829 130.464 23.9829 130.757 23.69L135.53 18.917ZM123 18.3867V19.1367L135 19.1367V18.3867V17.6367L123 17.6367V18.3867Z' fill='%23fff'/></svg>") no-repeat center center; background-size: contain;
    transition: transform .3s ease;
}
.main-page .grb_block_acces_magasins__seo--cta-inner:hover::after {
    transform: translateX(6px);
}

/* modif faq générique */
.main-page .grb_comp_faq__subtitle {
    display: none;
}
.main-page .grb_comp_faq__wrapper {
    row-gap: 15px;
    color: #000;
}
.main-page .grb_comp_faq__accordion {
    row-gap: 10px;
}
.main-page svg.grb_comp_faq__accordion__icon circle {
    fill: #E1E1E1;
}

/* seo static */
.static-seo {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    width: 100%;
}
.static-seo__content-container {
    width: 100%;
    background: #FFEEF4;
    border-radius: 20px;
}
.static-seo__content-container {
    display: flex;
    flex-wrap:wrap;
    gap: 10px;
    padding: 20px;
}
.static-seo__image {
    width: 100%;
    max-width: 920px;
    border-radius: 20px;
    overflow: hidden;
}
.static-seo__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.static-seo__content {
    overflow: hidden;
    background-color: #fff;
}
.static-seo__content.--large {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1082px;
    border-radius: 20px;
    margin: 0 auto;
    padding: 40px;
}
.static-seo__content.--small {
    width: 100%;
    max-width: 450px;
    padding: 20px;
    border-radius: 10px;
}
.static-seo__title,
.static-seo__paragraph {
    color: #000;
    font-weight: var(--regular);
}
.static-seo__title {
    font-size: 24px;
    padding: 10px 0;
}
.static-seo__paragraph {
    font-size: 13px;
    padding: 10px 0;
}
.static-seo__content-container:nth-child(2) .static-seo__paragraph {
    width: 100%;
    max-width: 870px;
}
.static-seo__content-container:nth-child(2) .static-seo__title {
    font-size: 20px;
}
.static-seo__content-wrapper ul li {
    list-style: disc;
}
.static-seo__content-wrapper ul li::marker {
    color: #000;
}

/* modif bloc maillage */
.main-page .maillageLien:hover {
    color: #E0201D;
    text-decoration: underline;
    border-color: #E0201D;
}

/* modif générique bloc réassurance */
.main-page .BlocModalites__el {
    border: 1px solid #DADADA;
    background: #fff;
}

/* déco */
.noel__full-width > .deco-group:first-of-type,
.noel__full-width > .deco-group:first-of-type + .deco-group,
.noel__full-width > .noel__revive:first-of-type + .deco-group,
.noel__full-width > .noel__revive:first-of-type + .deco-group + .deco-group {
    display: none;
}
.deco-group {
    position: absolute;
}
.deco-group.--upper {
    top: 10%;
    left: 30px;
}
.deco-group.--lower {
    top: 50%;
    right: 70px;
}
.deco-group.--wide {
    width: 130px;
    height: 300px;
}
.deco-group.--narrow {
    width: 115px;
    height: 220px;
}
.deco-item {
    position: absolute;
}

/*.png.popped {
    animation: 
        scaleIn 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) .5s forwards,
        subtleBounce 1.8s 1.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}*/
.top-left {
    top: 0;
    left: 0;
}
.top-right {
    top: 0;
    right: 0;
}
.bottom-right {
    bottom: 0;
    right: 0;
}
.bottom-left {
    bottom: 0;
    left: 0;
}
.png.--long {
    width: 80px;
    height: 180px;
}
.png.--short {
    width: 90px;
    height: 90px;
}
.deco-group.--lower .png.--short:nth-child(1) {
    left: unset;
    right: 0;
}
.deco-group.--lower .png.--short:nth-child(2) {
    left: 0;
    right: unset;
}
.deco-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* déco svg */
.card-container {
    position: absolute;
    perspective: 1000px;
    width: 94px;
    height: 94px;
}
.card-container.--lower {
    bottom: 0;
    right: 0;
}
.card-container.large {
    width: 99px;
    height: 99px;
}
.card {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    transform: rotateY(-180deg);
}
.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}
.card-front {
    z-index: 2;
    transform-origin: left top;
}

.card-back {
    z-index: 1;
    transform: rotateY(180deg);
/*  animation: sway 2s cubic-bezier(.09,.56,.82,.69);*/
}
.card-front::after {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 56%;
    height: 100%;
    background: linear-gradient(135deg, #f5f7fa 0%, #d8dde5 100%);
}

/*.card.folded {
    transform: rotateY(-180deg);
}
.card.folded .card-back {
    animation: sway 2s cubic-bezier(.09,.56,.82,.69);
}*/

@keyframes scaleIn {
    from {
        transform: scale(0.2) translateY(50px);
        opacity: 0;
    }

    70% {
        transform: scale(1.05) translateY(-5px);
        opacity: 1;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

@keyframes subtleBounce {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(3deg);
    }

    50% {
        transform: rotate(-2deg);
    }

    75% {
        transform: rotate(1deg);
    }

    100% {
        transform: rotate(-1deg);
    }
}
@keyframes sway {
    0% {
        transform: rotateY(180deg) rotate(0deg);
    }

    25% {
        transform: rotateY(180deg) rotate(5deg);
    }

    50% {
        transform: rotateY(180deg) rotate(0deg);
    }

    75% {
        transform: rotateY(180deg) rotate(-5deg);
    }

    100% {
        transform: rotateY(180deg) rotate(0deg);
    }
}
@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);
    }
}

@media screen and (max-width: 1850px) {
    .deco-group {
        display: none;
    }
}

@media screen and (max-width: 1440px) {
    .static-seo__content.--small {
        max-width: 100%;
    }
}

@media screen and (max-width: 1024px) {
    .main-page .hero-banner__content {
        color: #000;
    }
    .noel__full-width {
        width: calc(100% - 20px);
        margin: 0 auto;
    }
    .static-seo__content-container {
        justify-content: center;
    }
    .noel__full-width--rose {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .main-page {
        gap: 30px;
    }
    .main-page .grb_event-pc__wrapper {
        row-gap: 15px;
    }
    .grb_event__block-title {
        font-size: 18px;
        text-align: center;
    }
    .grb_event__block-subtitle {
        font-size: 14px;
        text-align: center;
    }
    /* BENTO */
    .main-page .bento__image {
        width: 100%;
        height: 70px;
    }
    .main-page .bento__item:nth-child(1) .bento__image,
    .main-page .bento__item:nth-child(5) .bento__image {
        width: 100%;
        max-width: 100%;
        height: 100px;
    }
    .main-page .bento__content {
        padding: 0 10px 10px;
    }
    .main-page .bento__item:nth-child(1) .bento__content,
    .main-page .bento__item:nth-child(5) .bento__content {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    }
    .main-page .bento__item:nth-child(1) .bento__label,
    .main-page .bento__item:nth-child(5) .bento__label {
        margin-left: 0;
        margin-right: auto;
    }
    .main-page .category-arrow_list {
        gap: 10px;
    }
    .main-page .blk_product__list {
        gap: 12px;
    }
    .static-seo__content-container {
        gap: 30px;
        background: none;
        border: 0;
        padding: 0;
    }
}