/*!
Theme Name: Kadence Child
Theme URI: https://www.kadencewp.com/kadence-theme/
Template: kadence
Author: Kadence WP
Author URI: https://www.kadencewp.com/
Description: A child theme for the Kadence Theme.
Version: 1.0.0
License: GNU General Public License v3.0 (or later)
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence-child
*/

/* Theme customization starts here
-------------------------------------------------------------- */


/**
 * Общие стили
 */
.off {
    display: none;
}

.kb-dynamic-html.short-des {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-height: 4.2em;
}

.press:active {
    animation: press 0.2s 1 linear !important;
}

@keyframes press {
		0% {
			transform: scale(1);
		}
		50% {
			transform: scale(0.96);
		}
		to {
			transform: scale(1);
		}
}

/*Слайдер галереи в loop*/
.custom-loop-slider {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 3 / 3;
    background: #f0f0f0;
}
.custom-loop-slider .cls-track {
    display: flex;
    width: 100%;
    height: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.custom-loop-slider .cls-track::-webkit-scrollbar {
    display: none;
}
.custom-loop-slider .cls-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
}
.custom-loop-slider .cls-slide a {
    display: block;
    width: 100%;
    height: 100%;
}
.custom-loop-slider .cls-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.custom-loop-slider .cls-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: #8593a5;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 3px;
    z-index: 10;
    padding: 0;
}
.custom-loop-slider .cls-arrow:hover {
    color: #333;
}
.custom-loop-slider:hover .cls-arrow {
    opacity: 1;
}
.custom-loop-slider .cls-prev { left: 10px; }
.custom-loop-slider .cls-next { right: 10px; }
.custom-loop-slider .cls-pagination {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(45, 55, 72, 0.7);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    pointer-events: none;
}

.custom-loop-slider .cls-dots {
    display: flex;
    gap: 4px;
    margin-left: 2px;
}
.custom-loop-slider .cls-dots i {
    width: 5px;
    height: 5px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    display: inline-block;
}
.custom-loop-slider .cls-dots i.active {
    background: #fff;
    width: 12px;
    border-radius: 4px;
}

.share-sec .tinvwl-loop-button-wrapper {
    top: 0;
    padding: 0 !important;
}

.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgb(0 0 0 / 0.1);
	box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    background: #ffffff;
}

.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart-plus.no-txt:before, .tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt:before {
    background: transparent;
    border-radius: 0;
    padding: 0;
    font-size: 24px;
    margin-top: -11px;
    margin-left: -12px;
}

.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt:hover {
    border-color: var(--global-palette-btn-bg, #3633e1);    
}

.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart-plus.no-txt:hover:before, 
.tinv-wishlist .tinvwl_add_to_wishlist_button.tinvwl-icon-heart.no-txt:hover:before {
    color: var(--global-palette-btn-bg, #3633e1);
}

/*кнопка поделится*/
li.kb-query-item.kb-query-block-post.post-4598.product.type-product {
    position: relative;
}

.share-block {
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 1;
}

li.kb-query-item.kb-query-block-post.type-product .share-block {
    opacity: 100%;
	pointer-events: all;
}

.share-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;    
    flex-direction: column;    
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

.share-block:not(.active) {
    opacity: 0%;
    pointer-events: none;
}

.share-block .share-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgb(0 0 0 / 0.1);
    background: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    padding: 0;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
}

.share-block .share-btn svg {
    height: 16px;
}

.share-block .share-btn:hover {
    border-color: var(--global-palette-btn-bg, #3633e1);
    color: var(--global-palette-btn-bg, #3633e1);
}

.share-block .share-btn:not(.share) {
    width: 32px;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.share-block .share-btn.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-block .share-btn:not(.share):nth-last-child(1) { transition-delay: 0ms; }
.share-block .share-btn:not(.share):nth-last-child(2) { transition-delay: 50ms; }
.share-block .share-btn:not(.share):nth-last-child(3) { transition-delay: 100ms; }
.share-block .share-btn:not(.share):nth-last-child(4) { transition-delay: 150ms; }
.share-block .share-btn:not(.share):nth-last-child(5) { transition-delay: 200ms; }
.share-block .share-btn:not(.share):nth-last-child(6) { transition-delay: 250ms; }
.share-block .share-btn:not(.share):nth-last-child(7) { transition-delay: 300ms; }

.share-block .share-btn.open:nth-child(2) { transition-delay: 0ms; }
.share-block .share-btn.open:nth-child(3) { transition-delay: 50ms; }
.share-block .share-btn.open:nth-child(4) { transition-delay: 100ms; }
.share-block .share-btn.open:nth-child(5) { transition-delay: 150ms; }
.share-block .share-btn.open:nth-child(6) { transition-delay: 200ms; }
.share-block .share-btn.open:nth-child(7) { transition-delay: 250ms; }
.share-block .share-btn.open:nth-child(8) { transition-delay: 300ms; }

.share-block .share-copy.copied {
    background-color: rgb(24, 193, 57);
    border-color: rgb(24, 193, 57);
    color: #ffffff;
    transform: scale(1.1);
}

.share-block .share-btn[data-tooltip] {
    position: relative;
}

.share-block .share-btn[data-tooltip]::before {
    content: attr(data-tooltip);
    position: absolute;
    top: 50%;
    right: calc(100% + 10px);
    transform: translateY(-50%) translateX(5px);
    background: #333;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 10;    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.share-block .share-btn[data-tooltip]::after {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% + 5px);
    transform: translateY(-50%);    
    border: 5px solid transparent;
    border-left-color: #333;
    border-right-width: 0;    
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s;
    pointer-events: none;
}

.share-block .share-btn[data-tooltip]:hover::before,
.share-block .share-btn[data-tooltip]:hover::after {
    opacity: 1;
    visibility: visible;
}

.share-block .share-btn[data-tooltip]:hover::before {
    transform: translateY(-50%) translateX(0);
}

/* ========== SHARE BLOCK — SINGLE PRODUCT ========== */
.share-block--single {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
    opacity: 1 !important;
    pointer-events: all !important;
    top: 0;
    right: 0;
}

.share-block--single .share {
    width: auto;
    height: 40px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    height: 24px;
    gap: 8px;
    font-size: 15px;
    font-weight: 400;
    color: #666;
    transition: border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.share-block--single .share svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.share-block--single .share .share-btn__label {
    line-height: 1;
    white-space: nowrap;
}

.share-block--single .share:hover {
    border-color: var(--global-palette-btn-bg, #3633e1);
    color: var(--global-palette-btn-bg, #3633e1);
}

.share-block--single .share-btn:not(.share) {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    transform: translateX(-10px) scale(0.8);
}

.share-block--single .share-btn.open {
    transform: translateX(0) scale(1);
}

.share-block--single .share-btn[data-tooltip]::before {
    top: auto;
    bottom: calc(100% + 10px);
    right: 50%;
    transform: translateX(50%) translateY(5px);
}

.share-block--single .share-btn[data-tooltip]::after {
    top: auto;
    bottom: calc(100% + 5px);
    right: 50%;
    transform: translateX(50%);
    border: 5px solid transparent;
    border-top-color: #333;
    border-bottom-width: 0;
    border-left-width: 5px;
    border-right-width: 5px;
}

.share-block--single .share-btn[data-tooltip]:hover::before {
    transform: translateX(50%) translateY(0);
}

.share-block--single .share[data-tooltip]::before,
.share-block--single .share[data-tooltip]::after {
    display: none;
}



.how-many-sec {
    max-width: fit-content;
}

.kadence-query-filter.filter-checkbox,
.kadence-query-filter.filter-price,
.kadence-query-filter.filter-color {
	padding: 12px 12px;
	border: 1px solid rgba(106, 126, 140, 0.15);
	border-radius: 17px;
	background-color: #fff;
	margin-bottom: 10px;
}

.kadence-query-filter.filter-price {
	display: block;
}

.kb-query-basic-style .kadence-filter-wrap .kb-radio-check-item label {
    color: #1a2d42;
}

.kb-query-basic-style .kadence-filter-wrap .kb-radio-check-item:hover label {
    color: var(--global-palette-btn-bg, #3633e1);
    flex-grow: 1;
    font-size: 90%;
    padding-left: .4em;
}

.kb-query-basic-style .kadence-filter-wrap .kb-radio-check-item:hover input[type=checkbox] {
    border-color: var(--global-palette-btn-bg, #3633e1);
}

.kadence-query-filter.wp-block-kadence-query-filter-reset .kb-button {
	min-width: 100%;
	border-radius: 10px;
    padding: 17px 35px 17px 35px;
}

.kadence-query-filter.filter-checkbox:not(:has(.kb-radio-check-item)) {
    display: none !important;
}

.single-product .tinvwl_add_to_wishlist_button {
    color: #666;
}

.hara-ms > .kt-row-column-wrap > .wp-block-kadence-column:not(:has(.single-atr .value-atr)) {
    display: none !important;
}

.woocommerce div.product .kwt-tabs-wrap .woocommerce-tabs ul.tabs {
    display: none;
}

.loop-item-photo-sec > .kt-inside-inner-col p {
    display: none;
}

/* * END общие стили * */


















/**
 * Mobile
 */
@media (max-width: 767px) { 
.no-mo {
    display: none !important;
}

.custom-loop-slider {    
    aspect-ratio: 16 / 9;
}

.kt-button.button.more-loop-btn {
    width: 100%;
}

.loop-item-ms .share-sec {
    position: absolute;
    left: 55px;
    top: 25px;
}

.share-block .share-btn[data-tooltip]::before,
.share-block .share-btn[data-tooltip]::after {
    display: none !important;
}

.share-block {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-direction: row;
    transition-property: opacity;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
    left: -32px;
	top: 0px;
    right: auto;
}

.share-block .share-btn:not(.share) {
    width: 32px;
    opacity: 0;
    visibility: hidden;
    margin: 0;
    transform: translateX(-20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.share-block .share-btn.open {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.share-block.share-block--single {
    left: 0;
}

.share-sec {
    width: 100%;
}

.share-sec .tinvwl-loop-button-wrapper {
	top: 0;
    right: 80px !important;
}

}
/* * END Mobile * */





/**
 * Mobile landscape
 */
@media (min-width: 577px) and (max-width: 767px) {    



}
/* * END Mobile landscape * */

/**
 * Tablet
 */
@media (min-width: 768px) and (max-width: 1024px) {    
.no-tb {
display: none !important;	
}	



}


/* * END Tablet * */


/* * Tablet Small* */
@media (min-width: 768px) and (max-width: 820px) {    



}
/* * END Tablet Small* */


/**
 * PC: all
 */
@media (min-width: 1025px) {
.no-pc {
    display: none !important;
}

.kb-row-layout-wrap.loop-item-ms > .kt-row-column-wrap {
    grid-template-columns: minmax(0, calc(30% - ((var(--global-kb-gap-none, 0rem) * 2) / 3))) minmax(0, calc(65% - ((var(--global-kb-gap-none, 0rem) * 2) / 3))) minmax(0, calc(5% - ((var(--global-kb-gap-none, 0rem) * 2) / 3)));
}

}
/* * END PC: all * */








/* ПК: малые и средние мониторы */
@media (min-width: 1025px) and (max-width: 1280px) {


}

/* * END 1025 and 1280 * */









@media (min-width: 1025px) and (max-width: 1440px) {

}
/* * END 1025px - 1440 * */









@media (min-width: 1025px) and (max-width: 1366px) {

}
/* * END 1025 and 1366 * */








@media (min-width: 1367px) and (max-width: 1440px) {

}
/* * END 1367px - 1440 * */



@media (min-width: 1441px) and (max-width: 1680px) {

}
/*END 1441px - 1680px*/







/* ПК: очень большие мониторы */
@media (min-width: 1681px) and (max-width: 1919px) {

}
/*END 1441px - 1919px*/


/* ПК: очень большие мониторы (Full HD+ и 2K) */
@media (min-width: 1920px) and (max-width: 2559px) {
 
}


/* Дополнительно: сверхбольшие мониторы */
@media (min-width: 3400px) {
    
}


@media (min-width: 1440px) {

}


@media (min-width: 1025px) and (max-width: 1280px) {

}