/* *{
    border: 1px solid red;
} */

:root{
    --white: #fff;
    --green: #006F38;
    --green-lighter: #E0EEE7;
    --green-darker: #005C2E;
    --brown: #AE672C;
    --brown-darker: #955320;
    --red: #C7282B;
    --grey: #d9d9d9;
    --bs-primary: #006F38;
    --bs-link-color: #006F38;
    --bs-pagination-active-bg: #006F38;
    --bs-link-hover-color: #005C2E;
    --bs-pagination-active-border-color: #005C2E;
}

body,
p{
    font-family: 'Satoshi-Medium';
}
label{
    font-family: 'Satoshi-Bold';
}
h2{
    font-family: 'GoodBakwan';
}
a{
    color: var(--green);
}

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xs,
.container-xxl{
    max-width: 1900px;
    padding: 0 8.5rem;
}

.title-christmas{
    font-family: 'GoodBakwan';
    font-size: 5rem;
    color: var(--green);
    text-transform: uppercase;
    margin-top: 0;
}

.sub-title-christmas{
    font-family: 'Satoshi-Bold';
    font-size: 1rem;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 0;
}

.title-red{
    color: var(--red);
    white-space: nowrap;
}

.see-product-custom a {
    background-color: var(--green);
    border: 2px solid var(--green-darker);
    color: var(--white);
    filter: drop-shadow(-3px 3px 0px var(--green-darker));
    margin: 0 !important;
}

.btn-primary {
    background-color: var(--green);
    border: 2px solid var(--green-darker);
    color: var(--white);
    filter: drop-shadow(-3px 3px 0px var(--green-darker));
    border-radius: 4px;
    font-family: 'GoodBakwan';
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0 !important;
    padding: 0.5rem 0.625rem;
}

.btn:hover{
    background-color: var(--green-darker);
    border-color: var(--green-darker);
}

.btn-outline-primary{
    --bs-btn-color: var(--green);
    --bs-btn-border-color: var(--green);
    --bs-btn-hover-bg: var(--green);
    --bs-btn-hover-border-color: var(--green);
    --bs-btn-active-bg: var(--green);
    --bs-btn-active-border-color: var(--green);
    --bs-btn-disabled-color: var(--green);
    --bs-btn-disabled-border-color: var(--green);
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active{
    background-color: var(--green-darker);
    border-color: var(--green-darker);
}

.btn:focus-visible{
    background-color: var(--green-darker);
    border-color: var(--green-darker);
    box-shadow: 0 0 0 0.25rem #006f377c;
    color: var(--white);
    outline: 0;
}

.btn.disabled,
.btn:disabled,
fieldset:disabled{
    background-color: var(--green);
    border-color: var(--green-darker);
}

.cart__item .product-line__actions a:after{
    background-color: var(--green);
}

.form-select:focus{
    box-shadow: 0 0 0 .25rem #006f3740;
}

.custom-checkbox input[type=checkbox]+span.color.active,
.custom-checkbox input[type=checkbox]+span.color:hover,
.variant-links .color.active,
.variant-links .color:hover,
label .color.active,
label .color:hover{
    border-color: var(--green);
}

#content-wrapper{
    padding-bottom: 0;
}

/* Header */
.header,
.header-bottom{
    background-color: var(--white);
    border: none;
}

.page-index .header,
.page-index .header-bottom{
    background-color: transparent;
}

.page-index .header:hover,
.page-index .header-bottom:hover {
    background-color: var(--white);
}

.page-index .bandeau-livraison {
    display: none;
}

.bandeau-livraison {
    background-color: var(--green);
    display: flex;
    justify-content: center;
    padding: 0.6rem 0;
}
.bandeau-livraison p{
    color: var(--white);
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}

.page-index .header:hover .main-menu__tree li a{
    color: black !important;
}

.header{
    transition: all 0.3s;
}

.header-bottom{
    transition: all 0.3s;
}
.page-index .header-bottom{
    height: 180px;
}

.header-custom{
    padding-top: 2rem;
    transition: all 0.3s;
}

#_desktop_search{
    display: none !important;
}

.main-menu{
    justify-content: end;
    padding-top: 15px;
    padding-right: 1.5rem;
    transition: all 0.3s;
}

.main-menu__tree{
    flex-wrap: nowrap;
}

.main-menu__tree li a{
    padding: 1rem 0.8rem 0;
    color: black !important;
    font-weight: 400 !important;
    transition: all 0.3s;
}
.page-index .main-menu__tree li a{
    color: var(--white) !important;
}
.main-menu__tree li a:hover{
    color: var(--green-darker) !important;
}

.main-menu__tree .main-menu__tree__item li.category{
    width: fit-content;
}

.main-menu__tree .main-menu__tree__item ul{
    justify-content: end;
    padding-right: 100px;
}

.main-menu .header-block__action-btn{
    padding: 0;
}

    /* Menu burger */
.ham-container {
    position: relative;
    width: 34px;
    height: 22px;
}
.ham-container .ham-row {
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: var(--brown);
    border-radius: 2px;
}
.page-index .ham-container .ham-row {
    background-color: var(--white);
}

.ham-container .ham-row.top-ham-row {
    transition: .4s;
}

.ham-container .ham-row.mid-ham-row {
    top: calc(50% - 2px);
    opacity: 1;
    transition: .4s;
}

.ham-container .ham-row.bot-ham-row {
    bottom: 0;
    transition: .4s;
}

._desktop_user_info{
    width: fit-content;
    padding: 0;
}

.header-button a,
.header-button span{
    background-color: var(--brown);
    border: 2px solid var(--brown-darker);
    filter: drop-shadow(-3px 3px 0px var(--brown-darker));
    padding: 3px;
}
.header-button a:hover{
    background-color: var(--brown-darker);
}

.header-button a img,
.header-button span img{
    width: 18px;
}

.user-info-custom,
.cart-custom{
    width: fit-content;
    padding: 0.8rem 0.3rem 0;
    order: 2;
    transition: all 0.3s;
}

.cart-product-count{
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 10px;
    top: -10px;
    right: -10px;
    font-family: 'Satoshi-Medium';
    font-size: 0.9rem;
    background-color: var(--red);
    color: var(--white) !important;
    filter: none;
    border: none;
}

.cart-product-count p{
    margin: 0;
    line-height: 2;
}

    /* Header scroll */
.page-index .header-scrolled{
    background-color: var(--white);
}

.header-scrolled .header-bottom{
    height: auto;
}

.header-scrolled .header-bottom .navbar-brand{
    max-width: 200px;
}

.header-scrolled .header-custom{
    padding-top: 1rem !important;
}

.header-scrolled .main-menu{
    padding: 2.25rem 0.8rem 0;
}

.page-index .header-scrolled .main-menu__tree li a,
.header-scrolled .main-menu__tree li a{
    color: black !important;
    padding: 0 0.8rem;
}

.page-index .header-scrolled .main-menu__tree li a:hover,
.header-scrolled .main-menu__tree li a:hover{
    color: var(--green) !important;
}

.page-index .header .main-menu__tree li a:hover,
.header .main-menu__tree li a:hover {
    color: var(--green) !important;
}

.page-index .header-scrolled .ham-container .ham-row{
    background-color: var(--brown);
}

.header-scrolled .user-info-custom,
.header-scrolled .cart-custom{
    padding-top: 34px;
}

/* Footer */
.footer .footer__block__toggle{
    justify-content: center;
    column-gap: 0.4rem;
}

.footer .footer__block__toggle:not(.collapsed) .drop-down-arrow{
    transform: rotate(180deg);
}

.drop-down-arrow{
    width: 12px;
    transition: transform .25s ease-in-out;
}

/* Accueil */
/* Hero */
.hero{
    background-image: url(../../src/img/home-hero.webp);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    position: relative;
    margin-top: -180px;
}

.hero-caption{
    color: var(--white);
    padding: 15.25rem 0 23rem;
}

.hero-caption p{
    width: 30%;
    margin-bottom: 2rem;
}

.btn-christmas-wrapper{
    display: flex;
}

.btn-christmas {
    background-color: var(--green);
    border: 2px solid var(--green-darker);
    border-radius: 4px;
    font-family: 'GoodBakwan';
    color: var(--white);
    text-transform: uppercase;
    white-space: nowrap;
    filter: drop-shadow(-3px 3px 0px var(--green-darker));
    padding: 0.5rem 0.625rem;
    text-align: center;
}

.btn-christmas:hover{
    background-color: var(--green-darker);
}

.hero-caption .btn-christmas,
.hero-caption p{
    margin-left: 4rem;
}
.btn-christmas:hover{
    background-color: var(--green-darker);
}

.title-hero{
    font-family: 'GoodBakwan';
    font-size: 5.5rem;
    text-transform: uppercase;
    color: var(--white);
    width: 70%;
}

/* Feature products */
.o-bois{
    position: relative;
}
.o-bois img{
    position: absolute;
    top: -12px;
    left: -8px;
    z-index: -1;
}

.product-miniature .card{
    border-radius: 20px;
    border: 3px solid var(--brown);
    filter: drop-shadow(-8px 8px 0px var(--brown));
}

.product-miniature .card:hover {
    filter: drop-shadow(0px 0px 0px var(--brown));
    transform: translate(-8px, 8px);
}

.product-miniature .product-miniature__image-container{
    border-radius: 17px;
}

.badge.discount{
    border: 1px solid var(--green);
    color: var(--green);
}

.badge.new {
    background-color: var(--green);
    color: var(--white);
}

.product-miniature__quickview {
    flex-direction: column;
    align-items: center;
}

.product-miniature .product-miniature__quickview_button {
    color: black;
}

.product-miniature .product-miniature__quickview_button:hover {
    color: var(--green);
    background-color: transparent;
}

.product-separator{
    padding: 10px 1rem 1rem;
    background-color: var(--white);
}

.product-separator div{
    width: 100%;
    height: 3px;
    background-color: var(--brown);
    border-radius: 4px;
}

.product-miniature .product-miniature__title{
    color: black;
    font-family: 'Satoshi-Bold';
    font-size: 1.3125rem;
}

.product-miniature .product-miniature__infos__bottom,
.product-miniature .product-miniature__infos__top{
    padding: .25rem 1rem;
}

.price-see-product{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.product-miniature .product-miniature__prices{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
}

.product-miniature .product-miniature__price{
    border: 3px solid var(--green);
    padding: 6px 17px;
    border-radius: 30px;
    color: var(--green);
    margin: 0 !important;
}

.product-miniature .product-miniature__discount-price{
    color: var(--green-darker);
}

.add-to-cart-custom{
    background-color: var(--green);
    border: 2px solid var(--green-darker);
    font-family: 'GoodBakwan';
    color: var(--white);
    text-transform: uppercase;
    filter: drop-shadow(-3px 3px 0px var(--green-darker));
}
.add-to-cart-custom:hover{
    background-color: var(--green-darker);
    border: 2px solid var(--green-darker);
}

.see-product-custom{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.see-product-custom a{
    background-color: var(--green);
    border: 2px solid var(--green-darker);
    border-radius: 4px;
    font-family: 'GoodBakwan';
    color: var(--white);
    text-transform: uppercase;
    filter: drop-shadow(-3px 3px 0px var(--green-darker));
    margin: 0 !important;
}

.see-product-custom a:hover{
    background-color: var(--green-darker);
    border: 2px solid var(--green-darker);
}

/* Nouveaux produits */
.new-products{
    background-color: #0070381f;
    padding: 16.75rem 0 4rem;
    margin-top: -9rem !important;
}

/* Footer */
.footer .footer__main{
    background-color: var(--white);
}
.footer .footer__main__top{
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.footer .footer__block{
    width: 100%;
}

.footer .footer__block__title,
.footer .footer__block__title a{
    color: var(--green-darker);
}

.footer .footer__block__content,
.footer .footer__block__content-list a,
.footer .footer__block__content-contact a{
    color: black !important;
}

.block-logo-footer{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.block-logo-footer img{
    width: 200px;
}

.footer .copyright{
    border-top: 1px solid var(--red);
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.footer .copyright p{
    color: black;
}

.footer .copyright a{
    color: var(--green-darker);
}

/* Page produit */
    /* Breadcrumb */
.breadcrumb__wrapper{
    background-color: var(--white);
}

.breadcrumb-item+.breadcrumb-item::before{
    content: "/";
}

.breadcrumb-item:nth-last-child(1){
    font-family: 'Satoshi-Bold';
    color: var(--green-darker);
}

.h4.product__name{
    font-family: "GoodBakwan";
    font-size: 3.125rem;
    color: var(--brown);
}
    /* Images absolute */
.neige-product{
    position: absolute;
    top: -8px;
    right: 0;
    width: 100%;
    height: 74px;
    z-index: 20;
}

.sapin-product{
    position: absolute;
    top: 300px;
    left: -130px;
    z-index: -1;
}

    /* Image principale */
.product__images{
    position: relative;
}

.product__images .product-flags{
    padding: 4rem 0.25rem 0;
    z-index: 25;
}

.carousel .carousel-item img{
    border-radius: 20px;
    border: 3px solid var(--brown);
    background-color: var(--white);
}
    /* Images miniatures */
.thumbnails__container .thumbnail img{
    border-radius: 20px;
    border: none;
}
.thumbnails__container .thumbnail.active img{
    border: 2px solid var(--brown);
}

.thumbnails__container .thumbnail img:hover{
    cursor: pointer;
}

    /* Produits infos */
    .page-product .product__add-to-cart .product-actions__button button{
        width: auto;
    }

    .wishlist-button-add{
        display: none !important;
    }

        /* Prix */
.product-and-discount-custom{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.3rem;
}

.div-prix-planche{
    position: relative;
    height: 60px;
    width: fit-content;
    margin: 1rem 0;
    justify-content: center;
}

.planche-prix{
    position: absolute;
    transform: translateY(-36%);
    left: 0;
    width: 100%;
    z-index: -1;
}

.div-prix-planche .product__current-price{
    font-family: 'GoodBakwan';
    font-size: 2.5rem;
    color: var(--white);
    padding: 0 2rem;
}

.page-product .product__discount{
    color: black;
}

.page-product .product__discount .product__price-regular{
    font-family: 'Satoshi-Bold';
    font-size: 1.2rem;
}

.page-product .product__tax-info .product__tax-label{
    font-family: 'Satoshi-Bold';
    font-size: 1rem;
    color: black;
}

        /* Quantité */
.row-quantity{
    gap: 1.5rem;
}

.quantity-button button{
    border-radius: 10px;
    border: 1px solid var(--grey);
    height: 45px;
}

.quantity-button button .material-icons{
    color: var(--grey);
    height: auto;
    line-height: inherit;
}

.quantity-button input{
    height: 45px;
    font-size: 1.25rem;
    color: black;
}

        /* Description */
.product-description-custom{
    padding: 1.5rem;
    border-radius: 15px;
    background-color: var(--green-lighter);
}

.product-description-custom .info__title.accordion-header{
    font-family: 'Satoshi-Bold';
}

.page-product .product__infos .accordion-button,
.page-product .product__infos .accordion-item{
    background-color: var(--green-lighter);
}

.page-product .accordion-body ul{
    background-color: #005c2e70;
    border-radius: 10px;
}

.page-product .accordion-body .detail{
    border-bottom: none;
}

/* Responsive */
@media (max-width: 1900px) {
    .container {
        max-width: 1500px;
    }
    /* Produits */
    .price-see-product {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 1500px){
    .container{
        max-width: 1250px;
    }
    .title-hero{
        font-size: 4rem;
    }
    /* Produits */
    .neige-product{
        height: auto;
    }
    .product__images .product-flags{
        padding-top: 3.6rem;
    }
}

@media (max-width: 1300px){
    .user-info-custom,
    .cart-custom{
        order: 1;
    }

    .main-menu{
        order: 2;
        justify-content: center;
    }

    .header-custom .logo{
        flex-grow: 2;
    }
}

@media (max-width: 1200px){
    .container{
        max-width: 960px;
        padding: 0 4rem;
    }
    /* Header */
    .main-menu{
        order: 3;
        flex: 0 0 0%;
    }

    .header-custom{
        padding-top: 1.5rem !important;
    }

    .header-custom .logo {
        padding: 0;
        margin: 0 !important;
    }

    .user-info-custom {
        flex-grow: 1;
        display: flex;
        justify-content: end;
        padding-right: 0.3rem;
        padding-left: 0;
    }

    /* Home */
        /* Hero */
    .hero::before{
        content: '';
        position: absolute;
        display: block;
        background: radial-gradient(circle, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 60%);
        width: 100%;
        height: 100%;
        z-index: 0;
    }
    .title-hero{
        width: 90%;
        text-shadow: 5px 5px 70px #00000085;
    }
    .hero-caption{
        padding: 12rem 0 16rem;
        position: relative;
        z-index: 5;
    }
    .hero-caption p{
        width: 60%;
    }

        /* Produits */
    .product__images .product-flags{
        padding-top: 2.3rem;
    }
}

@media (max-width: 992px){
    .container{
        max-width: 800px;
    }

    /* Produits */
    .neige-product{
        height: 60px;
    }
    .product__images .product-flags{
        padding-top: 3.4rem;
    }

    /* Footer */
    .footer .footer__main__top{
        grid-template-columns: repeat(4, 1fr);
    }
    
    .block-logo-footer{
        grid-column-start: span 4;
    }
}

@media (max-width: 768px){
    .container{
        max-width: 700px;
        padding: 0 2.5rem;
    }
    .title-christmas{
        font-size: 3.5rem;
    }

    .header-bottom .navbar-brand .logo{
        width: 220px;
        max-height: max-content;
    }

    #left-column{
        display: none;
    }
    
    .o-bois img{
        width: 50px;
        top: -10px;
        left: -5px;
    }
    .footer .footer__main__top{
        grid-template-columns: repeat(2, 1fr);
    }
    .block-logo-footer {
        grid-column-start: span 2;
    }
    .footer .footer__block__content{
        text-align: center;
    }
}

@media (max-width: 700px){
    .title-hero{
        font-size: 3rem;
    }
}

@media (max-width: 576px){
    .container{
        max-width: 540px;
    }
    .title-christmas{
        font-size: 2rem;
    }
    .o-bois img {
        width: 38px;
        top: -9px;
        left: -8px;
    }
    .btn-christmas{
        white-space: unset;
    }
    /* Hero */
    .title-hero{
        font-size: 2.5rem;
    }
    /* Produits */
    .products .product-miniature{
        width: 100%;
    }
    .neige-product{
        height: auto;
    }
    .product__images .product-flags{
        padding-top: 2.4rem;
    }

    /* Footer */
    .footer .footer__main__top{
        grid-template-columns: 1fr;
    }
    .block-logo-footer {
        grid-column-start: span 1;
    }
}

@media (max-width: 480px){
    .header-bottom .navbar-brand .logo{
        width: 160px;
    }

    .sapin-product{
        top: 150px;
    }
}

@media (max-width: 450px){
    .title-hero{
        font-size: 2rem;
    }
    .hero-caption p{
        width: 100%;
        margin-left: 0;
    }

    .section-services .home-text-block.block-3 .img-absolute{
        width: 120px;
        right: 0%;
    }

    /* Produits */
    .product__images .product-flags{
        padding-top: 9%;
    }

    .bandeau-livraison p{
        font-size: 1rem;
    }
}

@media (max-width: 390px){
    .header-scrolled .header-custom,
    .header-custom{
        padding: 0.8rem 1.4rem 0.5rem;
    }

    .header-scrolled .cart-custom,
    .cart-custom{
        display: flex;
    }
    .header-scrolled .user-info-custom,
    .header-scrolled .cart-custom,
    .header-scrolled .main-menu,
    .user-info-custom,
    .cart-custom,
    .main-menu{
        align-items: center;
    }

    .hero-caption .btn-christmas,
    .hero-caption p {
        margin-left: 0;
    }
}

@media (max-width: 350px){
    .header-custom .logo{
        justify-content: center;
        order: 2;
    }
    .header-bottom .navbar-brand .logo{
        width: 130px;
    }

    .main-menu{
        padding: 8px 4px 0;
    }

    .user-info-custom{
        flex-grow: 0;
        padding-left: 3px;
    }

    .sapin-product{
        top: 80px;
        width: 160px;
        left: -100px;
    }
}

@media (max-width: 350px){
    .bandeau-livraison p{
        font-size: 0.875rem;
    }
}