/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.19.14
Requires at least:    6.4
Requires PHP:         7.4
WC requires at least: 8.3
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/
/* Общие стили для лейблов */
.product-labels-container {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.product-label {
   display: inline-block;
    padding: 6px 13px;
    margin: 0;
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
    border-radius: 2px;
    background-color: #007cba;
    color: white;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

/* Лейблы в каталоге */
.product-catalog-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 25;
    pointer-events: none;
}

/* Для каталога - позиционирование относительно карточки товара */
.products .product {
    position: relative;
}

.products .product .product-catalog-labels {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 30;
}

/* Лейблы на странице товара */
.product-single-labels {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 40;
}

.woocommerce-product-gallery {
    position: relative;
}

.product-summary-labels {
    margin-bottom: 15px;
}

.product-summary-labels .product-label {
    font-size: 11px;
    padding: 5px 10px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .product-label {
        font-size: 9px;
        padding: 3px 6px;
    }
    
    .product-catalog-labels {
        top: 5px;
        left: 5px;
    }
    
    .product-single-labels {
        top: 10px;
        left: 10px;
    }
}

/* Эффекты при наведении */
.product-label {
    transition: all 0.3s ease;
}

.product:hover .product-label {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0,0,0,0.25);
}
.product-label {
    transition: all 0.3s 
ease;
    z-index: 99;
    position: absolute;
}
/* Поворот картинки при наведении на элемент с классом povorot */
.povorot .box-image img {
    transition: transform 0.5s ease;
}

.povorot:hover .box-image img {
    transform: rotate(-25deg);
}
.povorot .icon-box-img img {
    transition: transform 0.5s ease;
}
.povorot:hover .icon-box-img img {
    transform: rotate(-25deg);
}
.product-small .add_to_cart_button{width:100%; height:50px; border-radius:15px; line-height: 47px;}
.product-small  .price-wrapper .price {
    display: block;
    width: 158px;
    padding: 7px;
    background: #f7f7f7;
    border-radius: 15px;    margin: 0 auto;
}
.bann img {
    border-radius: 15px;
}
.bann .fill {
    border-radius: 15px;
}.single_add_to_cart_button {
    background-color: var(--fs-color-secondary);
    width: 250px;
    border-radius: 10px;
}
.quantity .button.minus {
    border-bottom-right-radius: 0 !important;
    border-right: 0 !important;
    border-top-right-radius: 0 !important;
    border-radius: 10px;
}
.quantity .button.plus {

    border-radius: 10px;
}.outofstock .is-small.button {
    font-size: .8em;
    width: 100%;
    height: 50px;
    border-radius: 13px;
    line-height: 50px;
    border: 2px solid;
    background: transparent;
    color: #004896;
    margin-top: 15px;
}
#billing_country_field {
    margin-bottom: .5em;
    display: none;
}.select-resize-ghost, .select2-container .select2-choice, .select2-container .select2-selection, input[type=date], input[type=email], input[type=number], input[type=password], input[type=search], input[type=tel], input[type=text], input[type=url], select, textarea {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #333;
    font-size: .97em;
    height: 50px;
    max-width: 100%;
    padding: 0 .75em;
    transition: color .3s, border .3s, background .3s, opacity .3s;
    vertical-align: middle;
    width: 100%;
}#billing_address_1_field {
    margin-bottom: .5em;
    width: 100%;
}button#place_order {
    font-size: 1.2em;
    line-height: 1.2;
    margin-right: 0;
    padding-bottom: .5em;
    padding-top: .5em;
    white-space: normal;
    width: 100%;
    height: 55px;
}
.cky-revisit-bottom-left {
    bottom: 15px;
    left: 15px;
    display: none !important;
}