.block-main-gui{
    padding-top: calc(6em + 125px);
}

@media screen and (max-width: 640px) {
    .block-main-gui{
        padding-top: calc(2em + 55px);
    }
  }
/*                             */
/*   Page boutique             */
/*                             */
img.img_page_shop{
    width:100%;
    height: 300px;
}

@media only screen and (min-width: 1px) and (max-width: 767px) {
    img.img_page_shop{
        height: auto;
    }
}

.title_shop_custom{
    border-bottom: 2px black solid;
    padding-bottom: 1rem;
}

.title_shop{
    z-index: 1;
}

.div_shop{
    z-index: 0;
}

.list_category{
    background-color: white;
    -webkit-box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);
    box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);box-shadow: black 10px;
    line-height: 0%;
}

.btn_custom_shop{
    background-color: #A48C58;
    padding:1rem;
    border: 1px solid #A48C58;
}

.btn_custom_shop a{
    color:white;
    font-weight: 500;
    font-size: 1.2rem;
}

.title_list_categorie{
    font-size:2rem;
    font-weight: bolder;
}

.slide_active{
    display:block;
}

.p_slide_shop{
    font-weight: 600;
    position:relative;
    top:70px;
    left:10px;
    color:white;
    z-index: 2;
}

.dots_shop{
    z-index: 2;
    position: relative;
    bottom: 60px;
    left: 20px;
}

.single_dot{
    height: 15px;
    width: 5px;
    border-radius: 50px;
    background-color: white;
    opacity: 0.5;
    margin-right: 10px;
    border:white;
}

.dot_active{
    background-color: white;
    opacity: 1;
}

/*                             */
/*      Page categorie         */
/*                             */


.div_title_categorie{
    border-bottom: 2px black solid;
}

.div_title_categorie .title_categorie{
    padding: revert;
}

.sub_title_categorie{
    color: #A48C58;
    font-size:1.8rem;
    text-decoration:underline;
}

.span_sub_title_categorie{
    color: #A48C58;
    font-size:2rem;
    position: relative;
    bottom: 15px;
    margin-left: 10px;
    margin-right: 10px;
}


.title_second_categorie, .title_third_categorie{
    margin-top: calc(2em + 35px);
}

img.attachment-woocommerce_thumbnail.size-woocommerce_thumbnail{
    height: 300px !important;
}

li.custom-product_categorie{
    background-color: white;
    -webkit-box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);
    box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);box-shadow: black 10px;
    line-height: 0%;
    margin-right:50px;
}

li.custom-product_categorie a{
    width: 100%;
}

li.custom-product_categorie a{
    width: 100%;
}


.title_slider_categorie{
    color:#A48C58;
    font-size: 1.5rem;
}

.dot_page_categorie{
    bottom: 35px;
    left: 35px;
}
.text-para-product-page-cat{
    color:black;
}
h2.woocommerce-loop-product__title {
    font-size: 1.3rem;
}

.price_and_span_page_cat .price{
    position: relative;
    top: 5px;
}

.price_and_span_page_cat .price span{
color: black;
}

.loop-product{
    color:black;
    font-size: 1.3rem;
}
.para_li_product_page_cat
{
    background-color: #A48C58;
    color: white;
}
.para_li_product_page_cat

/*                             */
/*      Page produit           */
/*                             */

.trait-custom-product{
    border-bottom: 2px solid black;
    margin-top: 10px;
    margin-bottom: 10px;
}

.img_aspect{
    width:500px;
    height:168px;
}

.block_field_product, .block_cepage{
    background-color: white;
    -webkit-box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);
    box-shadow: 1px 3px 4px 0px rgba(0,0,0,0.2);box-shadow: black 10px;
    line-height: 0%;
    padding: 15px;
}

.block_cepage{
    background-color: #A48C58;
}

.block_field_product_two, .title_field_product{
    color:#A48C58;
}

.title_cepage, .block_cepage{
    color:white;
}

.title_fiche_technique{
 font-size: 1.5rem;
}

.title_fiche_technique a {
    color:black;
    font-weight: 900;
}

.img_telecharge{
    width:50px;
}

.border_fiche_telecharger{
    border-bottom: solid 2px black;
}

button.button_product.single_add_to_cart_button.button.alt {
    background-color: #A48C58;
    max-width: 350px;
    font-size:1.5rem;
}

.woocommerce div.product div.images .woocommerce-product-gallery__image:nth-child(n+2),.woocommerce div.product div.images .woocommerce-product-gallery__image:first-child {
    width: 100%;
    margin: 10px;
}

.figure_galler_product img{
    border: solid 2px #A48C58;
}

.woocommerce-product-details__short-description.mt-2.mb-2{
    text-align: right;
}

.variations select{
    padding: 16px 20px;
    border-radius: 4px;
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
}

.variations{
    position: relative;
    left: 70px;
    bottom: 5px;
}

.woocommerce-variation-add-to-cart{
    display:flex;
}

.woocommerce-variation-price span{
    color:black;
    background-color: white;
    margin: 1px;
}

select#pa_quantite_vin{
    text-indent: 40px;
    padding: 0px;
}



/*                             */
/*      Block ACF produit       */
/*                             */


.figcaption_product{
    width:100%;
    background-color: rgba(164,140,88, 0.4);
}

.figcaption_product h3, .figcaption_product p{
    color:white;
    margin:10px;
    margin-left: 50px;
    text-align: justify;
    font-size: 1.5rem;
}

.categorie_InProduct{
    font-size: 3.5rem;
}
.categorie_InProduct a{
    color: black;
    font-weight: bold;
}

.product_InProduct, .categorie_InTitle a, .figcaption_product h3, .title_product_big_field{
    font-size: 2rem;
}

.categorie_InTitle a{
    color: #A48C58;
}

.categorie_InTitle{
    position: relative;
    bottom: 10px;
}

.block_product_contact p{
    color:white;
    font-size: 2.5rem;
}

@media only screen and (min-width: 1px) and (max-width: 767px) {
    .block_product_contact p{
        font-size: 1.5rem;
    }

}

.block_product_contact{
    background-color: rgba(164,140,88, 0.4);
}

.para_contact_product{
    border: solid 2px white;
}


.custom_css_simple_product .quantity{
    display: flex;
    align-items: center;
    justify-content: center;
}

/* cart  arrow*/

.custom_cart_quantity_css_page_cart .qty_down, .custom_cart_quantity_css_page_cart .qty_up, .icon-arrow.qty_btn.qty_down.input-number-decrement{
    display:block;
}


@media screen and (max-width: 640px) {
    ul.products {
        width: 100%;
        display: flex;
        flex-wrap: wrap;
    }
  }
/* modal popup */

/* Jerem */
.title_third_categorie+.columns-4{
    justify-content: space-between;
    flex-wrap: wrap;
}
.title_third_categorie+.columns-4:before{
    display: none !important;
}

.title_third_categorie+.columns-4 .custom-product_categorie.product{
    margin: 2em 0;
    width: 100%;
    max-width: 31%;
}

@media only screen and (min-width: 1px) and (max-width: 767px) {
    .title_third_categorie+.columns-4 .custom-product_categorie.product{
        max-width: 100%;
    }
}

.woocommerce-tabs .img_telecharge{
    position: absolute;
    right: 0;
    width: 80px;
}
.woocommerce-tabs .title_fiche_technique{
    text-align: right;
    margin-right: 100px;
}

html body #main-wrapper footer#main-footer .footer-socials ul.thumbnails{
    flex-wrap: wrap;
    justify-content: space-around;
}
html body #main-wrapper footer#main-footer .footer-socials ul.thumbnails li{
    width: 30% !important;
}
html body #main-wrapper footer#main-footer .footer-socials .__bloc_socials{
    justify-content: center !important;
}
html body #main-wrapper footer#main-footer .footer-socials .__bloc_instagram{
    margin-top: 1rem;
}

/* ------------------------------------------------------------------------- */
/* Parité WooCommerce 10                                                     */
/* ------------------------------------------------------------------------- */

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #705c34 !important;
    outline-offset: 3px;
}

html body #main-wrapper main#main-content.cv-woocommerce-page {
    position: relative;
    min-height: 60vh;
    padding: 3rem 0 5rem;
}

html body #main-wrapper main#main-content.cv-woocommerce-page > .woocommerce-breadcrumb {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto 2rem;
    padding: 0 15px;
}

.cv-shop-landing,
.cv-product-category,
.cv-product-heading,
.cv-single-product {
    z-index: 1;
}

.cv-shop-carousel .carousel-item img {
    width: 100%;
    max-height: 560px;
    object-fit: cover;
}

.cv-shop-landing .list_category .img_page_shop {
    display: block;
    width: 100%;
    min-height: 320px;
    max-height: 520px;
    object-fit: cover;
}

.cv-shop-landing .title_list_categorie {
    font-family: "AbadiBold", sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.75rem);
    line-height: 1.1;
}

.cv-shop-landing .btn_custom_shop {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: #fff;
    background: #705c34;
    border: 2px solid #705c34;
    text-transform: uppercase;
}

.cv-shop-landing .btn_custom_shop:hover,
.cv-shop-landing .btn_custom_shop:focus-visible {
    color: #705c34;
    background: #fff;
}

.cv-product-category__intro {
    align-items: center;
    margin-bottom: 3rem;
}

.cv-product-category ul.products,
.cv-single-product .related ul.products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    width: 100%;
    margin: 2rem 0;
}

.cv-product-category ul.products::before,
.cv-product-category ul.products::after,
.cv-single-product .related ul.products::before,
.cv-single-product .related ul.products::after {
    display: none;
}

.cv-product-category ul.products li.product,
.cv-single-product .related ul.products li.product {
    float: none;
    width: 100% !important;
    margin: 0 !important;
    padding: 1rem;
    border: 0;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.cv-product-category ul.products li.product img,
.cv-single-product .related ul.products li.product img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: contain;
}

.cv-product-category .para_li_product_page_cat,
.cv-single-product .para_li_product_page_cat {
    display: inline-block;
    margin-top: 1rem;
    background: #705c34;
}

.cv-single-product {
    margin-top: 4rem;
}

.cv-single-product div.product {
    display: flow-root;
}

.cv-single-product div.product .summary {
    text-align: right;
}

.cv-single-product div.product form.cart {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.75rem;
}

.cv-single-product div.product form.cart .button {
    min-height: 48px;
    background: #705c34;
    color: #fff;
}

.cv-oenology {
    clear: both;
    padding-top: 2rem;
}

.cv-oenology .block_field_product,
.cv-oenology .block_cepage {
    line-height: 1.5;
}

.cv-oenology__aspect {
    align-items: center;
    border-top: 1px solid rgba(112, 92, 52, 0.25);
}

.cv-oenology__image {
    flex: 1 1 32%;
}

.cv-oenology .img_aspect {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: cover;
}

.cv-oenology__pairing {
    min-height: 350px;
    background-image: url("/medias/2020/11/Image20201112092311-scaled.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cv-oenology__pairing .figcaption_product {
    min-height: 350px;
    padding: 2rem;
}

.cv-technical-sheet {
    align-items: center;
    gap: 1rem;
}

.cv-technical-sheet .img_telecharge {
    position: static;
    width: 64px;
}

.cv-technical-sheet .title_fiche_technique {
    margin: 0;
    text-transform: uppercase;
}

.cv-product-contact {
    clear: both;
    min-height: 350px;
    margin-top: 3rem;
    background-image: url("/medias/2020/11/Image20201113144609.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.cv-product-contact > a,
.cv-product-contact .block_product_contact {
    display: flex;
    min-height: 350px;
}

html body #main-wrapper main#main-content .woocommerce form .form-row label {
    display: block;
    margin: 0 0 0.4rem 0.5rem;
    color: #242424;
    font-weight: 600;
}

html body #main-wrapper main#main-content .woocommerce form .form-row .optional {
    font-weight: 400;
}

@media (max-width: 767px) {
    html body #main-wrapper main#main-content.cv-woocommerce-page {
        padding-top: 2rem;
    }

    .cv-shop-landing .list_category .img_page_shop {
        min-height: 220px;
    }

    .cv-product-category ul.products,
    .cv-single-product .related ul.products {
        grid-template-columns: 1fr;
    }

    .cv-single-product {
        margin-top: 2rem;
    }

    .cv-single-product div.product .summary {
        text-align: left;
    }

    .cv-single-product div.product form.cart {
        justify-content: flex-start;
    }

    .cv-oenology__aspect {
        padding-top: 1rem;
    }

    .cv-oenology__pairing,
    .cv-oenology__pairing .figcaption_product,
    .cv-product-contact,
    .cv-product-contact > a,
    .cv-product-contact .block_product_contact {
        min-height: 280px;
    }
}
