/*
Theme Name: Theme-Machouyou
Description: Theme enfant de storefront. Développement sur-mesure.
Author: Thibaut Soufflet (Tibow Webdesign)
Author URI: https://thibautsoufflet.fr
Template: storefront
Version: 1.0.0
*/
p {
    font-size: 18px;
}

p#breadcrumbs {
    font-size: 14px;
}

header.entry-header {
    margin-bottom: 2em;
}
.site-main {
    margin-bottom: 0;
}
.site-main h1 {
    font-family: 'MachoutypeBold';
    font-size: 45px;
    font-weight: 400;
    text-align: center;
    line-height: 0.8;
    letter-spacing: .5px;
    color: #2d2d2d;
    @media (min-width: 768px) {
        font-size: 55px;
    }
    
}
.site-main h2 {
    font-family: 'Cocon';
    font-size: 25px;
    line-height: normal;
    color: #505050;
    @media (min-width: 768px) {
        font-size: 30px;
    }
}
.site-main h2 span {
    font-family: 'MachoutypeBold';
    font-size: 45px;
}

.site-main h3 {
    color: #2d2d2d;
    font-weight: 600;
    font-size: 22px;
}

/*Cache phrase paypal dans fiche produit woocommerce*/
.product .ppcp-messages {
    display: none !important;
}

body {
    background: #FBF9F7;
    color: #2d2d2d;
    max-width: 100vw;
    @media (min-width: 991px) {
        overflow-x: inherit;
    }

    .site{
        @media (min-width: 991px) {
            overflow-x: inherit;
        }
    }
}

a {
    color: inherit;
}

a:focus {
    outline: none;
}


@media (max-width: 767px) {
    .flex-column-mobile{
        display: flex;
        flex-direction: column;
    }
}

input[type="text"], 
input[type="password"], input[type="email"], 
input[type="textarea"], 
.input-text {
  padding: .6180469716em;
  background-color: #f2f2f2;
  color: #43454b;
  border: 1px solid lightgrey;
  -webkit-appearance: none;
  box-sizing: border-box;
  font-weight: 400;
  box-shadow: none;
}


ul.products li.product .price {
    margin-bottom: 0px;
}

nav#site-navigation {
    display: none;
}

@media (max-width: 1050px) {
    #recipes-book h2 {
        font-size: 24px;
    }
    #recipes-book ul {
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .content-area, .widget-area {
        margin-bottom: 0;
    }
}

.site-main h1.page-title{
    margin-bottom:3rem !important;
}
input[name='update_cart'] {
display: none !important;
}
 
/* OR TRY THIS */
 
button[name='update_cart'] {
display: none !important;
}

.only-mobile {
    display: block;
}
@media (min-width: 425px) {
    .only-mobile {
        display: none;
    }
}


/* Slick Slider - specific CSS for pages Gammes */
.slider-gamme {
    margin-top: 1rem;
}
.slider-gamme .slick-track img {
    height: 360px;
    width: 100%;
    object-fit: cover;
}
.slider-nav{
    margin-top: 1rem;
}
.slider-nav .slick-track .slick-slide {
    margin-left: 5px;
    margin-right: 5px;
}
.slider-nav .slick-track .slick-slide img {
    height: 80px;
    width: 100%;
    object-fit: cover;
}

@media (min-width: 576px) {
    .slider-gamme {
        margin-top: 0;
    }
    .slider-gamme .slick-track img {
        height: 450px;
    }
    .slider-nav .slick-track .slick-slide img {
        height: 130px;
    }
}


/*** WOOCOMMERCE CART - ACCOUNT - CHECKOUT ***/
body.woocommerce-checkout .col-1,
body.woocommerce-checkout .col-2,
body.woocommerce-account .col-1,
body.woocommerce-account .col-2
{
    
    width: 100%;
}

body.woocommerce-cart .cart-collaterals h2,
body.woocommerce-checkout form.checkout h3 {
    font-family: Cocon;
    font-size: 1.8em;
}

button.woocommerce-Button,
input.woocommerce-Button,
.woocommerce .button {
    font-family: Cocon;
    font-size: 18px;
    font-weight: normal;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-align: center;
    display: inline-block;
    margin: 0 auto;
    transition: all 0.4s;
    line-height:1.2;
    color: #2d2d2d;
    background-color: #f9b645;
    border: 1px solid #f9b645;
    margin: 0.5em 0em;
}
.woocommerce .button:nth-child(2),
.woocommerce .button:nth-child(3) {
    margin: 0.5em 0em 0.5em 0.5em;
}
button.woocommerce-Button:hover,
input.woocommerce-Button:hover,
.woocommerce .button:hover {
    color: #2d2d2d;
    background: #e19f30;
    border: 1px solid #e19f30;
}

.woocommerce .button.cancel {
    color: #ffffff;
    background-color: #1e1d1d;
    cursor: pointer;
    border: 2px #1e1d1d solid;
}

.woocommerce .button.cancel:hover {
    color: #ffffff;
    background-color: #1e1d1d;
    cursor: pointer;
}

.woocommerce .button.view {
    color: #1e1d1d;
    background-color: transparent;
    border: 2px #1e1d1d solid;
}

.woocommerce .button.view:hover {
    color: #ffffff;
    background-color: #1e1d1d;
    cursor: pointer;
}