/*!
Theme Name: TS-Home
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
-------------------------------------------------------------- */

.elementor-heading-title
{margin:0px !important;}

.hero-container {
	padding-top: 64px;
}


.category-desc {
	padding: 10px;
}  
.category-desc h2 {
	font-size: 20px
}

.category-desc ul {
      list-style: none;
      padding-left: 0;
      margin-left: 0;
    }
    .category-desc li {
      margin-bottom: 6px;
    }

.ngTable {
    border-collapse: collapse;
    width: 100%;
    direction: rtl;
}

.ngTable th, 
.ngTable td {
    border: 1px solid #ccc; 
    padding: 8px;
    text-align: center;
    vertical-align: middle;
}

.ngTable th {
    background-color: #f9f9f9;
    font-weight: bold;
}

.ngTable tr:nth-child(even) {
    background-color: #fdfdfd; 
}

 .kt-svg-icon-list-text,
 .kb-iconlist-text {
  text-align: right !important;
}

.cmplz-cookiebanner {
	bottom: 80px!important;
}

@media screen and (max-width: 768px) {
  .cmplz-cookiebanner {
    bottom: 10px !important;
  }
}





/*----Single Product Page---*/

.variations {
	margin-bottom: 3em!important;
}
.variations .label {
	margin-bottom: 0.2em;
	margin-top: 5px;
}


/*----Product Short Description-----*/

.woocommerce div.product .woocommerce-product-details__short-description {
    border-top: 1px solid #ECECEC;
	border-bottom: 1px solid #ECECEC;
    padding: 5px;

}

/*----Product Short Description END-----*/

/*--------Wiget Icons---------*/

.product_meta {
	margin-bottom: 10px;
}

.wcsob_soldout_text {
	color: red;
}

span.price {
	width: max-content;
}

.kadence-breadcrumbs {
	z-index:1!important;
}

.price-per-100g {
	font-weight: 700;
   color: #025800;
}
/* Выравнивание объема и цены за 100 мл в одну строку */
.product-volume-price {
  display: flex;
  gap: 10px; /* Расстояние между элементами */
  align-items: center;
  margin-bottom: 10px;
	font-weight: 700;
   color: #025800;
}

.product-volume,
.price-per-100ml {
  margin: 0!important;
  font-size: 16px;
	padding: 10px;
  background-color: #edf2f7;
   border-radius: 15px;
}

/*----Single Product Page END---*/

/*-----Options Product-------*/

.rtl #cart-drawer dl.variation {
	flex-wrap: wrap;
	padding-left: 2px;
}
/*-----END - Options Product-------*/

/*----Single Product Payment Icons---*/

.woocommerce .single-product-payments {
	display: block
}
.woocommerce .single-product-payments ul {
	justify-content: space-evenly;
}

.woocommerce div.product form.cart {
    /*margin-bottom: 3em;*/
    margin-top: 1em;
}

/*----END - Single Product Payment Icons---*/

/*-------My Account-----*/

.woocommerce form .show-password-input, .woocommerce-page form .show-password-input
{
	top: 0.2em;
	right: 90%;
	background: none;
}
.woocommerce form .show-password-input:after, .woocommerce-page form .show-password-input:after
{
	background-color: #000000!important;
}
.woocommerce form .password-input input[type="password"], .woocommerce-page form .password-input input[type="password"] {
    padding-right: 0.5em;
}
.woocommerce form.login {
	text-align: right;
}
/*-------My Account - END-----*/

/*-----Sale Label--------*/
span.onsale {
    display: flex;
    align-items: center;
    justify-content: center; 
    
    border-radius: 50% !important;
    width: 60px;
    height: 60px;
    
    background-color: #B30000!important;
    color: #FFFFFF!important;
    font-weight: bold;
    font-size: 16px!important;
    
    padding: 0 !important;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
}
/*-----Sale Label - END--------*/

/*-------Slider Main Product NEW-----*/



/* 📦 Стили карточек товара */
.s-main .woocommerce ul.products li.product {
	border: 1px solid #3bb131;
	border-radius: 10px;
	transition: box-shadow 400ms, transform 400ms;
	margin-top: 5px;
	margin-left: 0;
	margin-right: 0;
}

/* 🖱️ Эффект при наведении */
.s-main .woocommerce ul.products li.product:hover {
	box-shadow: 0 7px 10px 0 rgba(59, 177, 49, 0.2);
	transform: translateY(-3px);
}

/* 🎯 Фиксированная высота зоны с изображением */
.s-main .woocommerce ul.products li.product a.woocommerce-loop-image-link {
	height: 220px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

/* 🖼️ Стили для изображения */
.s-main .woocommerce ul.products li.product a.woocommerce-loop-image-link img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* 🔄 RTL стрелки карусели */
.s-main .kb-splide.splide--rtl > .splide__arrows .splide__arrow--prev,
.s-main .kb-splide.splide--rtl > .splide__slider > .splide__track > .splide__arrows .splide__arrow--prev,
.s-main .kb-splide.splide--rtl > .splide__track > .splide__arrows .splide__arrow--prev {
	left: auto;
	right: -5px;
}

.s-main .kb-splide.splide--rtl > .splide__arrows .splide__arrow--next,
.s-main .kb-splide.splide--rtl > .splide__slider > .splide__track > .splide__arrows .splide__arrow--next,
.s-main .kb-splide.splide--rtl > .splide__track > .splide__arrows .splide__arrow--next {
	left: -5px;
	right: auto;
}

/* 📱 Адаптивная высота и стили на мобильных */
@media screen and (max-width: 782px) {
	.s-main .woocommerce ul.products li.product a.woocommerce-loop-image-link {
		height: 160px;
	}

	.s-main .woocommerce .products.align-buttons-bottom li.product .product-action-wrap {
		padding-top: 2px;
	}

	.s-main .woocommerce ul.products.woo-archive-btn-button .product-action-wrap .button:not(.kb-button) {
		font-size: 16px;
	}
			.s-main .woocommerce ul.products:not(.products-list-view)  
	{
		column-gap:0px!important;
	}
}
/*-------Slider Main Product NEW - END-----*/

/*-----Related Products-Product Cart----------*/
    section.products>h2  {
    text-align: center;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	margin-bottom: 1em!important;
	border-top: 1px solid #EDF2F7;
	font-size: 26px;
}
/*-----Related Products-Product Cart-END----------*/

/*----Variation Product-----*/

.cfvsw-swatches-blur-disable .cfvsw-swatch-inner {
  position: relative;
  overflow: hidden;
}

/* Общие свойства для линий */
.cfvsw-swatches-blur-disable .cfvsw-swatch-inner::before,
.cfvsw-swatches-blur-disable .cfvsw-swatch-inner::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 3px;
  background-color: red;
  opacity: 1;
  transform-origin: center;
  pointer-events: none;
  z-index: 2;
}

/* Линия ↘ */
.cfvsw-swatches-blur-disable .cfvsw-swatch-inner::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* Линия ↙ */
.cfvsw-swatches-blur-disable .cfvsw-swatch-inner::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/*----Variation Product END-----*/

/*----Search-----*/

.dgwt-wcas-ico-magnifier,
.dgwt-wcas-ico-magnifier-handler{
  width: 36px;
  height: 36px;
  max-width: 34px!important;
}

/* Меняешь цвет здесь */
.dgwt-wcas-search-icon path{
  fill: #99CA3B!important;
}

.prod-s .dgwt-wcas-search-wrapp {
	min-width: 300px!important;
}

@media screen and (max-width: 782px) {
	.dgwt-wcas-search-wrapp {
	min-width: 100px!important;
}
}

/*----Search END-----*/

@media screen and (max-width: 719px) {
    .footer-widget-area.content-mobile-align-center .footer-social-inner-wrap {
        justify-content: center!important;
    }
}


#billing_phone_2 {
	direction: ltr;
	
}

/* === СТИЛИ ДЛЯ РАДИОКНОПОК === */
.woocommerce-shipping-methods input[type="radio"],
.woocommerce-checkout-payment input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  border: 2px solid #000; /* ЧЕРНЫЙ — НЕАКТИВНАЯ */
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 10px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: border-color 0.3s ease;
}

.woocommerce-shipping-methods input[type="radio"]::before,
.woocommerce-checkout-payment input[type="radio"]::before {
  content: '';
  width: 12px;
  height: 12px;
  background: transparent;
  border-radius: 50%;
  display: block;
  transition: background 0.3s ease;
}

.woocommerce-shipping-methods input[type="radio"]:checked,
.woocommerce-checkout-payment input[type="radio"]:checked {
  border-color: #28a745; /* ЗЕЛЁНАЯ ОБВОДКА — АКТИВНАЯ */
}

.woocommerce-shipping-methods input[type="radio"]:checked::before,
.woocommerce-checkout-payment input[type="radio"]:checked::before {
  background-color: #28a745; /* ЗЕЛЁНАЯ ТОЧКА ВНУТРИ */
}

.woocommerce ul#shipping_method li label {
  display: flex;
  align-items: center;
 gap: 5px;
	margin-right: 10px;
	padding-left: 5px
}


/*----Cart ------*/

.woocommerce-cart table.cart img {
	width: 100px
}

@media screen and (max-width: 719px) {
tbody > tr.woocommerce-shipping-totals.shipping td {
		display: flex;
	flex-direction: column;
	align-items: flex-start;
	}
}
@media screen and (max-width: 719px) {
	.woocommerce table.shop_table_responsive ul#shipping_method li, .woocommerce-page table.shop_table_responsive ul#shipping_method li {
		justify-content: flex-start!important;
		text-align: right;
	}
}

@media screen and (max-width: 719px) {
.woocommerce ul#shipping_method {
		margin-top: 15px;
	
	}
}
@media screen and (max-width: 719px) {
	.cart_totals h2 {
	text-align: right;
	
}
	
}

.woocommerce-cart .cart-collaterals .cart_totals  tbody{
	display: flex;
	flex-direction: column;
}

tr.cart-subtotal  {
	display: flex;
	justify-content: space-between;
}
.woocommerce-shipping-totals {
	display: flex;
	flex-direction: column;
	
}

.woocommerce-cart .cart-collaterals .cart_totals table th {
	width: 100%;
}
tr.woocommerce-shipping-totals.shipping > td {
	border-top: none!important;
}

.woocommerce-shipping-methods {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding-bottom: 10px!important
	
}
.woocommerce ul#shipping_method li {
	flex-wrap: nowrap;
}

/*.woocommerce ul#shipping_method li label {
	margin-right: 2.7em;
}*/

/*-----END-------*/

/*------Checkout------*/
@media only screen and (max-width: 767px) {
    #order_review .shipping td:nth-child(2)
 {
        min-width: 0;
        width: 100%!important;
    }
}

 #terms {
	 width: 20px;
    height: 20px;
	 margin-left: 5px
}

tr.pickups_location{
	  display: flex;
    justify-content: space-between;
	border-top: 1px solid #015D6C;
}

tr.order-total{
	display: flex;
	justify-content: space-between;
	border-top: 1px solid #015D6C;
}
.woocommerce-checkout-review-order-table thead{
	display: flex;

}

.woocommerce-checkout-review-order-table thead tr{
	  display: flex;
	  width: 100%;
    display: flex;
    justify-content: space-between;
	border-top: 1px solid #015D6C;
}
.woocommerce-checkout-review-order-table {
	display: flex;
    flex-direction: column;
	  margin-top: 20px!important;
}
.woocommerce-checkout-review-order-table tbody{
	display: flex;
	flex-direction: column;
}

.woocommerce-checkout-review-order-table tbody tr{
	display: flex;
    justify-content: space-between;
    width: 100%;
	border-top: 1px solid #015d6c63;

	
}
.woocommerce-checkout-review-order-table  td {
	border: none!important;
}
.woocommerce-checkout-review-order-table th {
	border: none!important;
}

.woocommerce-checkout-review-order-table .cart-subtotal {
	border-top: 1px solid #015d6c63;
}
.woocommerce-checkout-review-order-table .woocommerce-shipping-totals {
	border-top: 1px solid #015D6C;
}
.woocommerce-checkout-review-order-table .product-name {
	display: flex;
}
/*------Checkout END------*/

/* Унифицированный стиль для всех миниатюр */
.woocommerce div.product div.images .flex-control-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
	max-width: 100%;
    justify-content: center;
	flex-wrap: wrap;
  
}

/* Сброс возможных специфичных стилей */
.woocommerce div.product div.images .flex-control-thumbs li,
.woocommerce div.product div.images .flex-control-thumbs li:first-child {
    width: 100px !important;
    height: 100px !important;
    margin: 0 !important;
    padding: 0 !important;
    /*opacity: 0.6;*/
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    list-style: none;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

/* Активная и при наведении */
.woocommerce div.product div.images .flex-control-thumbs li:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: #28a745;
}

/* Изображения внутри */
.woocommerce div.product div.images .flex-control-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* или 'cover', если хочешь без отступов */
    display: block;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    cursor: pointer;
    margin: 0;
    border: none;
  
}

@media (max-width: 480px) {
  /* Контейнер миниатюр */
  .woocommerce div.product div.images .flex-control-thumbs {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  /* Элементы миниатюр */
  .woocommerce div.product div.images .flex-control-thumbs li,
  .woocommerce div.product div.images .flex-control-thumbs li:first-child {
    flex: 0 0 calc(20% - 8px); /* 3 в строке */
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1; /* Квадратные миниатюры */
    padding: 2px !important;
  }

  /* Изображения внутри */
  .woocommerce div.product div.images .flex-control-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
	.woocommerce div.product div.images .flex-control-thumbs li:hover,
.woocommerce div.product div.images .flex-control-thumbs li img.flex-active {
    opacity: 1;
    border-color: #ddd;
}
}
.woocommerce-product-gallery__image,
.woocommerce-product-gallery__wrapper img {
    padding: 1px !important;
}

/* ===========================
   MiniCart (Kadence drawer)
   Optimized — minimal selectors
   =========================== */

/* Remove button (X) — centered */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .cart_list li a.remove{
  display:flex; align-items:center; justify-content:center;
  right:0; width:22px; height:22px; line-height:1;
  font-size:22px; font-weight:400; text-decoration:none;
}

/* Total price section */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .total{ padding-top:30px; }

/* Buttons container */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons{
  display:flex; flex-direction:row; gap:10px; margin-top:32px;
}

/* General button styles */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons a{
  display:inline-flex; align-items:center; justify-content:center;
  width:50%; height:48px; border-radius:8px;
  font:600 18px/1 inherit; padding:0 10px; border:0; margin-bottom:5px;
}

/* "Continue Shopping" button */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons a:not(.checkout){
  background:#603913; color:#fff;
}
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons a:not(.checkout):hover{
  background:#00aa4a; color:#fff;
}

/* "Checkout" button */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .button.checkout.wc-forward.wp-element-button{
  background:#603913; color:#fff; border:0;
}
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .button.checkout.wc-forward.wp-element-button:hover{
  background:#019341;
}

/* RTL layout — keep "Checkout" on the left */
html[dir="rtl"] :is(#cart-drawer, #mobile-drawer) .widget_shopping_cart .buttons{
  flex-direction:row-reverse;
}

/* Free-shipping progress bar */
/*.kadence-mini-cart-shipping-progress-wrap .kadence-mini-cart-shipping-progress{ background:#34E0A1; }*/
.kadence-mini-cart-shipping {
padding-top: 1.5em;
margin-bottom: 1.5em;
}

/* Quantity text size */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart :is(ul.cart_list li .quantity, ul.product_list_widget li .quantity){
  font-size:1em;
}

/* Product thumbnails */
:is(#cart-drawer, #mobile-drawer) .widget_shopping_cart :is(ul.cart_list li img, ul.product_list_widget li img){
  float:left; margin-right:8px; width:80px; height:auto; box-shadow:none;
}

/* Drawer headers */
#cart-drawer .drawer-inner .drawer-header{
  background:#99CA3B; color:#fff; margin-bottom:5px; padding-bottom:3px !important;
}
#mobile-drawer .drawer-inner .drawer-header{
  margin-bottom:24px !important; padding-bottom:20px !important; min-height:calc(1.2em + 36px);
}
h2.side-cart-header{ color:#fff; }

/* Shipping helper text */
.kadence-mini-cart-shipping-message{ font-size:100% !important; }

/*------POJO One Click Accessibility-Negishut--*/
#pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    /* left: 1vh; */
    position: fixed;
    bottom: 20px;
    left: 10px;
    cursor: pointer;
    z-index: 99999999;
	 
	
}
#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
  font-size: 170%;
	border-radius: 5px;
	padding: 5px;
	 box-shadow: 0px 5px 15px rgba(2, 88, 0, 0.20);
}
#pojo-a11y-toolbar {
	font-size: 22px !important;
}
/*------POJO One Click Accessibility-Negishut END--*/