/* =============================================================================
   Netalys Custom — Styles front-end
   ============================================================================= */

/* --- Global ---------------------------------------------------------------- */

i {
    font-style: normal !important;
}

/* --- Astra — Mini cart ----------------------------------------------------- */

.ast-woo-mini-cart-wrapper .cart-container {
    padding: 7px;
}

.ast-woo-mini-cart-wrapper .ast-addon-cart-wrap {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ast-woo-mini-cart-wrapper .woocommerce-mini-cart__buttons a {
    width: 100%;
    margin-left: 0 !important;
}

.ast-woo-mini-cart-wrapper .woocommerce-mini-cart__total .woocommerce-Price-amount bdi {
    font-weight: 700;
}

.ast-woo-mini-cart-wrapper .woocommerce-mini-cart-item {
    padding-left: 2.5em !important;
}

.ast-woo-mini-cart-wrapper .woocommerce-mini-cart-item img {
    height: auto !important;
}

.ast-woo-mini-cart-wrapper .woocommerce-mini-cart-item a.remove_from_cart_button {
    top: 1.25em !important;
}

.ast-woo-mini-cart-wrapper .woocommerce-mini-cart-item .quantity {
    width: 30%;
    float: left;
}

.ast-woo-mini-cart-wrapper .woocommerce-mini-cart-item .quantity input {
    max-width: 100%;
}

.ast-woo-mini-cart-wrapper .woocommerce-mini-cart-item .ast-mini-cart-price-wrap {
    width: 70%;
    float: right;
    height: 35px;
    display: flex;
    align-items: center;
    padding-inline-start: 1em;
}

div.ast-addon-cart-wrap {
    padding: 5px 10px !important;
}

.ast-site-header-cart i.astra-icon:after {
    top: 2px !important;
    right: 2px !important;
    color: white;
}

/* --- Logo ------------------------------------------------------------------ */

.logo-wrapper img {
    max-width: 200px !important;
    max-height: none;
}

/* --- Grille espace pro (UABB) ---------------------------------------------- */

@media screen and (min-width: 969px) {
    .grille_espace_pro .uabb-blog-posts {
        display: flex;
        flex-wrap: wrap;
    }

    .grille_espace_pro .uabb-blog-posts .uabb-blog-posts-col-4 {
        width: 25% !important;
    }
}

/* --- FacetWP --------------------------------------------------------------- */

.facetwp-reset {
    padding: 7px 20px;
    position: relative;
    top: 83px;
}

.facetwp-reset-pro {
    padding: 7px 20px;
    position: relative;
}

.flyout-row.name-rechercher_complet {
    display: none;
}

input.facetwp-autocomplete-update {
    padding-top: 9px !important;
    padding-bottom: 10px !important;
    position: relative;
    top: -1px;
    margin-left: 8px;
}

/* --- WooPack --------------------------------------------------------------- */

.woopack-products-grid-wrap .quantity .qty {
    min-height: 48px;
    position: relative !important;
    top: 1px !important;
}

.woopack-products-carousel h2 {
    min-height: 52px;
}

/* --- WooCommerce — Récapitulatif commande / livraison ---------------------- */

#order_review tr.woocommerce-shipping-totals th {
    display: block;
    width: 100%;
    font-weight: bold;
    border-bottom: 0;
    padding-bottom: 0;
}

#order_review tr.woocommerce-shipping-totals td {
    display: block;
    width: 100%;
    text-align: left !important;
}

#order_review tr.woocommerce-shipping-totals #shipping_method li {
    line-height: 1.25em !important;
    font-size: 14px;
}

/* --- Popup image ----------------------------------------------------------- */

.popup_image {
    max-height: 480px;
}

.popup_image img {
    max-height: 100% !important;
    object-fit: contain;
}

/* --- Carousel home --------------------------------------------------------- */

.home_carousel img {
    max-height: 300px;
}

.home-news .fl-post-slider-img img {
    aspect-ratio: 1.08;
    width: 375px;
    object-fit: cover;
}