/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme/
Description: Tema hijo para Betheme
Author: Comercios-Online
Author URI: https://www.comercios-online.com
Template: betheme
Version: 1.0
*/

/* COMMON STYLES */
.mt-10 {
    margin-top: 10px;
}
.mt-20 {
    margin-top: 20px;
}
.mt-30 {
    margin-top: 30px;
}
.mt-40 {
    margin-top: 40px;
}
.mt-50 {
    margin-top: 50px;
}

.mb-10 {
    margin-bottom: 10px;
}
.mb-20 {
    margin-bottom: 20px;
}
.mb-30 {
    margin-bottom: 30px;
}
.mb-40 {
    margin-bottom: 40px;
}
.mb-50 {
    margin-bottom: 50px;
}

.flex {
    display: flex;
}
.flex-column {
    flex-direction: column;
}
.flex-row {
    flex-direction: row;
}
.flex-wrap {
    flex-wrap: wrap;
}
.flex-nowrap {
    flex-wrap: nowrap;
}
.justify-center {
    justify-content: center;
}
.justify-start {
    justify-content: flex-start;
}
.justify-end {
    justify-content: flex-end;
}
.align-center {
    align-items: center;
}
.align-start {
    align-items: flex-start;
}
.align-end {
    align-items: flex-end;
}

/* HEADER */
#Top_bar .menu > li > a span:not(.description) {
    padding: 0 10px !important;
}
#menu > ul > li > a,
#overlay-menu ul li a {
    font-size: 14px !important;
}

/* WOOCOMMERCE STYLES */
/* -- WooCommerce Products list */
.woocommerce ul.products li.product {
    /* box-shadow: 0 0 10px #e7e7e7; */
    /* margin: 0 1% 50px; */
}
.woocommerce ul.products li.product .image_wrapper {
    background-color: #888b8c;
    padding: 30px;
}
.woocommerce ul.products li.product a img {
    height: 420px;
    object-fit: contain;
    object-position: center;
}

.woocommerce ul.products li.product .add_to_cart_button {
    --mfn-button-color: #f5f5f5;
    --mfn-button-color-hover: #ffffff;
}
.woocommerce a.button.added:after {
    margin-left: 10px;
}

.woocommerce-category-title {
    margin-top: 0;
    margin-left: 9.34px;
    margin-right: 9.34px;
}

.sidebar-1 {
    /* background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%27100%27%20height%3D%27100%27%3E%3Crect%20width%3D%2750%27%20height%3D%2750%27%20x%3D%270%27%20y%3D%270%27%20fill%3D%27white%27/%3E%3Crect%20width%3D%2750%27%20height%3D%2750%27%20x%3D%2750%27%20y%3D%270%27%20fill%3D%27%23888b8c%27/%3E%3Crect%20width%3D%2750%27%20height%3D%2750%27%20x%3D%270%27%20y%3D%2750%27%20fill%3D%27%23888b8c%27/%3E%3Crect%20width%3D%2750%27%20height%3D%2750%27%20x%3D%2750%27%20y%3D%2750%27%20fill%3D%27white%27/%3E%3C/svg%3E"); */
    background-image: url("data:image/svg+xml,%3Csvg width='100' height='200' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='50' height='50' x='0' y='0' fill='%23f1f1f1' /%3E%3Crect width='50' height='50' x='50' y='0' fill='%23ffffff'/%3E%3Crect width='50' height='50' x='0' y='50' fill='%23ffffff'/%3E%3Crect width='50' height='50' x='50' y='50' fill='%23f1f1f1' /%3E%3Crect width='50' height='50' x='0' y='100' fill='%23f1f1f1' /%3E%3Crect width='50' height='50' x='50' y='100' fill='%23ffffff'/%3E%3Crect width='50' height='50' x='0' y='150' fill='%23ffffff'/%3E%3Crect width='50' height='50' x='50' y='150' fill='%23f1f1f1' /%3E%3C/svg%3E%0A");
    background-repeat: repeat-y;
    background-position: top right;
}
.shop-sidebar-search .wp-block-search__inside-wrapper {
    align-items: center;
}
.shop-sidebar-search .wp-block-search__input {
    margin-bottom: 0;
}
.shop-sidebar-search.wp-block-search .wp-block-search__button {
    max-height: 44px;
    margin-left: 0;
}

.shop-filters .woocommerce-ordering select {
    width: auto !important;
}

/* -- WooCommerce Product detail */
.woocommerce div.product div.images {
    /* background-color: #888b8c; */
    padding: 30px;
}
.woocommerce div.product div.images img {
    max-height: 650px;
    object-fit: contain;
    object-position: center;

    -webkit-filter: drop-shadow(12px 12px 25px rgba(0, 0, 0, 0.5));
    filter: drop-shadow(12px 12px 25px rgba(0, 0, 0, 0.5));
    -ms-filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12, Color='#444')";
}

.woocommerce
    div.product
    div.images
    .woocommerce-product-gallery__wrapper
    .woocommerce-product-gallery__image {
    overflow: unset !important;
}

/* -- WooCommerce Menú / Header */
.mfn-header-login {
    border: 1px solid #888b8c;
}

/* -- WooCommerce Categories list */
.wp-block-woocommerce-product-categories
    .wc-block-product-categories-list-item {
    margin-bottom: 8px;
}

/* -- WooCommerce Modal Add to Cart */
#add-to-cart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}
#add-to-cart-modal .add-to-cart-modal-wrapper {
    background: white;
    max-width: 400px;
    margin: 100px auto;
    padding: 30px;
    text-align: center;
    border-radius: 10px;
    position: relative;
    box-shadow: 0 0 20px #333333;
}
#add-to-cart-modal .button {
    color: white;
    border: none;
    padding: 16px 20px;
}

#add-to-cart-modal .button:hover {
    background-color: #333333 !important;
}

#add-to-cart-modal .button-outline {
    background: none;
    border: 1px solid #d69942 !important;
    padding: 16px 20px;
    color: #d69942 !important;
    cursor: pointer;
}
#add-to-cart-modal .button-outline:hover {
    background-color: #333333 !important;
    border: 1px solid #333333 !important;
    color: white !important;
}

.tab-description .has_content .the_content_wrapper {
    margin-top: 15px;
}

.woocommerce ul.products li.product .excerpt.excerpt-1 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
