/*
 * Theme Name:  Merchant Child
 * Author:      Vlad
 * Template:    merchant
 * Description: Merchant Child Theme
 * Version:     Версия темы. Пример: 1.0
 */

.site-header .header-items .header-department {
    min-width: auto;
}
.department-content {
    min-width:300px;
}

.ra-menu-mobile-modal ul.nav-menu > li > a {
    font-size:18px;
    line-height:24px;
    font-weight:400 !important
}
.ra-menu-mobile-modal ul.nav-menu ul li a {
    font-size:16px;
    line-height:1.3
}
/*Чтобы был виден логотип*/
.site-header .logo .logo-image{max-width: inherit;}
/*Убираем видимость эндоинтов в админке*/
.woocommerce-MyAccount-navigation {
    display:none;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100%;
}
/*ширина поиска*/
.header-left-items > .header-custom-text, .header-center-items > .header-custom-text {
    width: 500px;
}

@media (max-width: 1200px) {
    .header-left-items > .header-custom-text, .header-center-items > .header-custom-text {
        width: 350px;
    }
}
@media (max-width: 1020px) {
    .header-left-items > .header-custom-text, .header-center-items > .header-custom-text {
        width: 300px;
    }
}

/*Расположение мобильной версии значка аккаунта*/
.site-header .header-account .account-icon {
    font-size: 20px;
    top: 0px;
}
/*Размер иконок избранное и корзина*/
.site-header .header-wishlist .wishlist-icon {
    font-size: 24px!important;
}
.site-header .header-cart .icon-shop-cart {
    font-size: 28px!important;
}
/*Размер иконок моб версии профиль, поиск*/
.header-mobile .mobile-search .merchant-svg-icon {
    font-size: 26px!important;
}
.site-header .header-account .account-icon {
    font-size: 26px!important;
}
/*Все что связано с дизайном профиля*/
.um-request-button {
    background:#dd5656!important;
    border-radius:10px!important;
}
.um-request-button:hover {
    background:#3dbdea!important;
    border-radius:10px;
}
.um-account-nav a {
    border-bottom: 1px solid #000!important;
    border-radius: 0;
}
.um .um-form input[type=text] {
    border-radius:10px;
}
.um .um-form input[type=password]{
    border-radius:10px;
}

.um input[type=submit].um-button {
    border-radius: 10px!important;
    background-color: #dd5656!important;
}
.um input[type=submit].um-button:hover {
    border-radius: 10px!important;
    background-color: #3dbdea!important;
}

.select2 span.select2-selection--single .select2-selection__rendered {
    padding: 0px 20px!important;
}
.um-field .select2.select2-container .select2-selection {
    border-radius:10px!important;
}
/*Дизайн заказов*/
table.my_account_orders thead .woocommerce-orders-table__cell {
    background:white;
}
table.shop_table .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a:hover {
    background-color: #3dbdea;
}
table.shop_table .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-actions a {
    background-color: #dd5656;
    color: #ffffff;
}
.woocommerce-MyAccount-content a.button:not(.woocommerce-MyAccount-downloads-file) {
    background-color:#dd5656;
    color: white;
    border-radius: 10px;
}
.woocommerce-MyAccount-content a.button:not(.woocommerce-MyAccount-downloads-file):hover {
    background-color:#3dbdea;
    color: white;
    border-radius: 10px;
}

.order-item {
    border-radius:15px;
}
.woocommerce-orders-table__cell-order-actions a {
    border-radius: 15px;
}
.woocommerce-MyAccount-content > section {
    border-radius: 15px;
}
table.my_account_orders .order-list-image ul li.item-plus > span {
    width: 125%;
    height: 150%;
    border-radius: 15px;
}
/*Дизайн адреса доставки*/
.woocommerce-Address {
    border-radius: 15px;
}
.woocommerce-account .form-row .input-text {
    border-radius: 15px;
}
.select2 span.select2-selection--single .select2-selection__rendered {
    padding: 15px 20px;
    border-radius: 0px;
    background: white;
}
.woocommerce-MyAccount-content button.button {
    border-radius: 15px;
    background-color:#dd5656;
}
.woocommerce-MyAccount-content button.button:hover {
    background-color:#3dbdea;
}
/*Избранное*/
.woocommerce-message, .woocommerce-info, .woocommerce-error {
    background-color: #3dbdea;
}
.return-to-shop .wc-backward {
    background-color: #dd5656 !important;
}
.return-to-shop .wc-backward:hover {
    background-color: #3dbdea !important;
}

.elementor *, .elementor :after, .elementor :before :hover {
    background-color:blue;
}
table.shop_table thead th {
    border-radius: 0;
}
.product-qty-number .quantity .qty {
    background: unset;
    margin-left: -5%;
}
.wplb-wishlist-form table.shop_table tr td.product-add-to-cart a {
    background: #dd5656;
    border-radius: 15px
}
.wplb-wishlist-form table.shop_table tr td.product-add-to-cart a:hover {
    background: #3dbdea;
}
table.shop_table td.product-add-to-cart {
    width: 41%;
}
/*Кнопки на главной странице */

element.style {
}
ul.products.product-loop-layout-2 li.product .product-thumbnail > .wplb-loop_button {
    background-color: #dd5656!important;
    border-radius: 10px!important;
}
ul.products.product-loop-layout-2 li.product .product-thumbnail > .wplb-loop_button:hover {
    background-color: #3dbdea!important;
    border-radius: 10px!important;
}
ul.products.mobile-show-atc li.product .product-summary .wplb-loop_atc_button {
    border-radius: 15px;
    background-color:#dd5656!important;
}
ul.products.mobile-show-atc li.product .product-summary .wplb-loop_atc_button:hover {
    background-color: #3dbdea!important;
}
/* Кнопка быстрая покупка */
ul.products.product-loop-layout-9 li.product .product-quick-shop-button {
    border-radius:15px;
    background-color:#dd5656;
}
ul.products.product-loop-layout-9 li.product .product-quick-shop-button:hover {
    background-color: #3dbdea;
}
/*Картинка Выгодная сделка*/
ul.products li.product .product-thumbnail .woocommerce-loop-product__link img {
    border-radius: 25px;
}
/*Текст Выгодная сделка*/
.merchant-products-deal ul.products li.product .product-summary-deal {
    background-color: unset!important;
    margin-top:40%;
}
.merchant-products-deal ul.products li.product .product-summary-deal {
    background-color: #ffffff00;
    padding: 20px 20px 18px;
}
/*Карточка товара*/
/*Категория сверху над товарами*/
.products-filter__activated .remove-filtered {
    border-radius: 15px;
}

/*Текст под картинкой*/
ul.products.product-loop-layout-9 li.product .product-summary {
    background:none;
    margin-top: 10px;
}
ul.products li.product .product-summary {
    background-color: unset!important;
}
/*Открытый товар*/
.single-product div.product .product-button-wrapper .single_add_to_cart_button {
    background-color: #dd5656 !important;
}
.single-product div.product .product-button-wrapper {
    display: flex;
    justify-content: flex-end;
    flex-wrap: revert!important;
}
.single-product.merchant-single-product-boxed-layout .site-content .product-gallery-summary {
    border-radius: 15px;
}
.single-product.merchant-single-product-boxed-layout .site-content .woocommerce-tabs {
    border-radius: 15px;
}
/*Кнопка добавления в избранное*/
.single-product div.product .entry-summary .wplb-wishlist-button {
    background-color:#3dbdea;
}
.merchant-button.button-outline{
    color: #11111100;
    background-color: transparent;
}

/*Кнопки корзины купона*/
.coupon {
    display: contents;
}
.input-text {
    margin-top: 5%;
    border-radius: 10px;
}
/*Уведомление о купоне*/
.woocommerce-error {
    background-color: #3dbdea;
}

.woocommerce-notices-wrapper .woocommerce-message {
    margin-top: 2%;
    margin-bottom: 2%;
}

/*Размеры товаров*/
.woocommerce-cart table.shop_table .woocommerce-cart-form__cart-item > td {
    padding-left: 15px!important;
    padding-right: 15px!important;
}
.woocommerce-cart table.shop_table tbody td {
    padding: 0px!important;
}


/*Кнопки корзины*/
.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.button {
    background-color: #dd5656!important;
    margin-bottom:25px;
    border-radius: 10px;
}
.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout a.button:hover {
    background-color: #3dbdea!important;
}

.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .continue-button {
    background-color:#dd5656!important;
    color:white!important;
    padding:0px 30px 0px 10px!important;
    border-radius:10px;
}
.woocommerce-cart .cart-collaterals .wc-proceed-to-checkout .continue-button:hover {
    background-color:#3dbdea!important;
}

.merchant-button:not(.button-outline):not(.button-normal).button-light .merchant-svg-icon {
    color: #ffffff!important;
}

.product-qty-number .quantity {
    border: 1px solid var(--wplb-border-color-gray);
    margin-left: 10%;
    border-radius: 10px;
}
.woocommerce-cart table .action s {
    display:grid;
    position:absolute;
}

.product-button-wrapper {
    display: flex!important;
    justify-content: flex-start!important;
}

.product-qty-number .quantity .merchant-qty-button {
    margin: 0px 10px 0px 0px;
}
.woocommerce-cart table.shop_table .coupon-form .actions > button {
    margin-top: -50px!important;
}
/*фикс бага боковой корзины*/
.widget_shopping_cart_content .total {
    margin: 0 calc(var(--wplb-modal-spacing)* -2px)!important;
}
/*Обратная связь*/
input[type="submit"] {
    background-color: #dd5656;
    border-radius:10px;
}
input[type="submit"]:hover {
    background-color: #3dbdea;
}

.widget_shopping_cart_content .woocommerce-mini-cart__buttons a:first-child {
    background-color: #dd5656 !important;
}
.widget_shopping_cart_content .woocommerce-mini-cart__buttons a:first-child:hover {
    background-color: #3dbdea !important;
}

/*Офрмление заказа*/
.woocommerce-checkout .woocommerce-order > section {
    border-radius: 10px;
}
.woocommerce-checkout .woocommerce-checkout-payment .place-order button {
    background-color: #dd5656!important;
    border-radius: 10px;
}
.woocommerce-checkout .woocommerce-checkout-payment .place-order button:hover {
    background-color: #3dbdea!important;
}

/*Закрываем баг похохие товары*/
.single-product div.product section.products .swiper-container-initialized ul.products {
    border-radius: 15px;
    overflow: hidden;
}
/*Мобильная версия заказов*/
@media (max-width: 767px) {
    .woocommerce-cart table.shop_table tr {
        flex-direction: column!important;
    }
    .product-remove {
        margin-left: 45%!important;
    }
    .woocommerce-cart table.shop_table td.product-thumbnail {
        max-width: none!important;
    }
    .product-name {
        text-align: center!important;
    }
    .woocommerce-cart table.shop_table .product-price {
        text-align: center!important;
    }
    .product-qty-number .quantity {
        margin-left: 0%!important;
    }
    .product-subtotal {
        text-align: center!important;
    }
    .input-text {
        width: 100%!important;
    }
    .button {
        margin: 4% 0% 4% 0%!important;
        padding: 0% 10% 0% 10%!important;
    }
    .single-product div.product .product-button-wrapper {
        flex-direction: column;
    }
}
/*Фикс плагина align but
ul.products li.product {
    clear: none !important;
}
*/