/**
Theme Name: Astra Child
Author: Axel Processx
Description: Astra Child Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/

/* header */

.wp-block-search__label {
    display: none;
}

.ast-builder-grid-row > .site-header-section {
    white-space: nowrap;
}

.wp-block-search__inside-wrapper {
    height: 48px;
}

.ast-primary-header-bar .site-primary-header-wrap {
    max-height: 72px;
}

.wp-block-search__button {
    display: none;
}

.site-logo-img img {
    width: 100%;
    height: 48px;
}

.sub-menu {
    max-height: 580px;
    overflow-y: scroll;
    white-space: normal;
}

.sub-menu li a:hover {
    background-color: #606C38;
}

.ast-builder-menu .main-navigation > ul {
    border-radius: 8px;
}

.ast-builder-menu .main-navigation > ul:hover {
    border-radius: 8px 8px 0 0;
}

.main-header-menu .sub-menu {
    border-radius: 0 0 8px 8px;
}

#block-24 div div a {
    padding: 16px;
    background-color: #BC6C25;
    font-size: 16px;
}

#block-24 div div a:hover {
    background-color: #DDA15E;
}

/* products carousel */
:root {
    --image-fit: cover;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 200px;
    object-fit: var(--image-fit);
    border-radius: 16px 16px 0 0;
}

.eael-woo-product-carousel-container .eael-woo-product-carousel .swiper-wrapper.products li {
    height: 100%;
}

.eael-product-carousel {
    height: 100%;
    border-style: solid;
border-width: 3px;
border-color: white;
}

.eael-product-carousel .icons-wrap:not(.details-block-style-2) li a {
    display: none;
}

/* best products */
.eael-product-gallery.eael-product-preset-4 .woocommerce ul.products li.product img {
    width: 100%;
    height: 200px;
    object-fit: var(--image-fit);
}

.eael-product-wrap {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.elementor-2152 .elementor-element.elementor-element-dded8fc .eael-product-gallery .woocommerce li.product .button,
.elementor-2152 .elementor-element.elementor-element-dded8fc .eael-product-gallery .woocommerce li.product .button.add_to_cart_button {
    font-family: unset;
    border-radius: 8px;
}

/* all products
----------------------------------------------*/
.woocommerce-page ul.products li.product {
border-style: solid;
border-width: 3px;
border-color: white;
border-radius: 16px;
background-color: white;
box-shadow: 0px 0px 8px 2px rgba(0, 0, 0, 0.22);
transition: box-shadow 0.3s;
}

.woocommerce-page ul.products li.product:hover {
    box-shadow: 0px 0px 10px 4px rgba(0, 0, 0, 0.24);
}

.astra-shop-summary-wrap {
    height: 100%;
    margin: 16px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

/* button "Voir plus" products */
.woocommerce ul.products li.product .button, .woocommerce-page ul.products li.product .button {
    padding: 8px 16px;
}

/* title products */
.woocommerce ul.products li.product .woocommerce-loop-product__title, .woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    font-family: 'Work Sans',sans-serif;
    font-weight: bold;
}

.astra-shop-thumbnail-wrap:hover .ast-on-card-button:not(.ast-onsale-card) {
    display: none;
}

.woocommerce .woocommerce-ordering select {
    padding: 8px;
}

/* products
----------------------------------------------------- */
.woocommerce div.product div.images img {
    border-radius: 16px;
}

/* contact form */

#formulaire{font-size:17px;}
form > .row {display:flex;flex-flow: column;justify-content:space-evenly;}
form .row > *{flex:1 1;}
form textarea,form input{-webkit-appearance: none;border-radius: 0;}
form input[type="checkbox"]{-webkit-appearance : checkbox;}
form input[type="radio"]{-webkit-appearance : radio;}
form > .row{margin:0 -5px !important;flex-flow: row wrap;}
form > .row > *{padding:0 5px !important;flex-basis: 0;}
form .labels{flex: 0 0 100%;display:flex;}
form .labels label{margin: auto 0;}
form select, form input[type="text"], form input[type="password"], form textarea{width:100%;margin:0;padding:0 4px;color:black;background:white;border:1px solid #BABFC3;border-radius: 7px;outline: none;}
form .labels, select, input[type="text"], input[type="password"]{height:40px;line-height:20px;}
select, input[type="text"], input[type="password"]{line-height:40px;}
form .champs{margin-bottom:10px;}
form .champs.erreur > *{background-color:#f78686;border-color:red;}
form > *[align="right"]{display:none !important;}
.grecaptcha-badge{display:none;}

@media all and (min-width: 544px){form .row{flex-flow: row wrap;}}
@media all and (min-width: 768px){form .labels{flex-basis:20%;}}
@media all and (min-width: 992px){form .labels{flex-basis:16%;}}

/* footer */

.site-below-footer-wrap[data-section="section-below-footer-builder"] {
    background-image: url(https://www.replicagri.com/wp-content/uploads/logo-replicagri-uni-noir-2.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.widget-title {
    color: white;
}
.woocommerce-js h2.widget-title{margin-bottom: 1em;}

.menu-categories-container {
    color: white;
}

.menu-link {
    color: white;
}

#footer_processx {
    text-align: center;
    background-color: #192210;
    color: white;
    font-size:11px;
}

/* responsive */
@media screen and (max-width: 921px) {
    .ast-hfb-header .ast-builder-menu-mobile .main-header-menu, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .menu-link, .ast-hfb-header .ast-builder-menu-mobile .main-navigation .menu-item .sub-menu .menu-link {
        height: auto;
    }
}

@media screen and (max-width: 544px) {
    .widget {
        margin-bottom: 24px;
    }

    #nav_menu-3 {
        margin-bottom: 32px;
    }

    .site-footer-section {
        margin-bottom:  32px;
    }
}
