/* 
Theme Name: Kesher Yami Online
Theme URI: https://www.TalPress.co.il
Description: A Theme For Kesher Yami
Author: TalPress
Author URI: https://www.TalPress.co.il
Template: hello-elementor
Version: 1.0.2
Text Domain: talpress
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

.grecaptcha-badge {display:none !important;}
input[type=tel] {text-align:right;}

.tp-credit{color:#000;font-size:14px;text-align:center;padding:3px 0;}
.tp-credit a {color:#000}

.woocommerce-Price-currencySymbol{font-size:80%}
.fancy-title {position:relative;}
.fancy-title:before {border-top:1px solid rgba(198, 198, 198, 1);left:0;top:50%;width:40%;height:1px;position:absolute;content:"";}
.fancy-title:after {border-top:1px solid rgba(198, 198, 198, 1);right:0;top:50%;width:40%;height:1px;position:absolute;content:"";}
.elementor-widget-woocommerce-product-add-to-cart .button {text-align:right;position:relative;}
.elementor-widget-woocommerce-product-add-to-cart .button:after {content:"";height:22px;width:22px;position:absolute;left:11px;top:10px;background-image: url(img/add-to-cart.svg);background-size: contain;background-repeat:no-repeat;}

.jet-mega-menu-mega-container__inner [data-elementor-post-type="jet-menu"] .e-con-full {margin-right:0;margin-left:0;}
/** CUSTOM STOCK OPTIONS **/
.tp-stock-status{display:inline-flex;align-items:center;gap:.5em;font-weight:500;font-size:13px;font-family: var(--e-global-typography-primary-font-family)}
.tp-stock-status svg{width:23px;height:23px;flex:0 0 auto}
.tp-instock,.tp-onbackorder{color: rgba(11, 166, 0, 1);}
.tp-outofstock{color:#e11900;}
.tp-stock-status .tp-text{line-height:1}
.tp-instock svg,.tp-onbackorder svg {border: 1px solid rgba(11, 166, 0, 1);border-radius: 100%;padding: 3px;}
.tp-outofstock svg {border: 1px solid #e11900;border-radius: 100%;padding: 3px;}

/** QUANTITY +/- **/
.cart.quantity {display:flex;}
.woocommerce .quantity .qty {width: 30px !important;text-align: center;appearance: textfield;border: 0 !important;border-radius: 0 !important;}
.tp-qty{display:inline-flex;align-items:stretch;border:1px solid var( --e-global-color-9a00450 );border-radius:0px;overflow:hidden}
.tp-qty.t1 {display:none}
.tp-qty input.qty{border:0;max-width:70px;text-align:center;padding:8px 6px;min-height:40px;background:#fff}
.tp-qty .tp-qty-btn{display: inline-flex;align-items: center;justify-content: center;width: 20px;padding: 0 10px;cursor: pointer;user-select: none;background: #fff !important;border: 0 !important;color: #000 !important;}
.tp-qty .tp-qty-btn:disabled{cursor:not-allowed}

/** PRODUCT PAGE TABS **/
.product-description li {padding:10px;border:1px solid rgba(198, 198, 198, 1);border-bottom:0;}
.product-description li:last-child {border-bottom:1px solid rgba(198, 198, 198, 1);}
.product-description li:nth-child(odd) {background:rgba(248, 248, 248, 1)}
.product-description li:nth-child(even) {background:#fff}
.product-description ul {padding-right:0;list-style-type:none;}
.elementor-widget-n-tabs .e-n-tabs-heading {border-bottom:1px solid rgba(198, 198, 198, 1);}

/** WOOCOMMERCE CUSTOM PRODUCT GALLERY **/
.tp-wc-gallery{max-width:100%}
.tp-wc-gallery .tp-main{position:relative;border:1px solid rgba(198, 198, 198, 1);border-radius:0;overflow:hidden;background:#fff}
.tp-wc-gallery .tp-main .slick-slide{display:flex!important;align-items:center;justify-content:center}
.tp-wc-gallery .tp-main img{max-width:100%;height:auto;display:block}
.tp-wc-gallery .tp-thumbs{width:85%;margin:10px auto;position:relative}
.tp-wc-gallery .tp-thumbs .slick-slide{outline:none;width:72px;height:72px;border:1px solid rgba(198, 198, 198, 1);overflow:hidden;display:flex!important;align-items:center;justify-content:center;background:#fff;cursor:pointer;margin:0 4px;}
.tp-wc-gallery .tp-thumbs img{max-width:100%;max-height:100%;display:block}
.tp-wc-gallery .tp-thumbs .slick-current{border-color:var( --e-global-color-9a00450);}
.tp-wc-gallery .tp-main .slick-prev,
.tp-wc-gallery .tp-main .slick-next{z-index:2; width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #e5e7eb;box-shadow:none;}
.tp-wc-gallery .tp-main .slick-prev:before,
.tp-wc-gallery .tp-main .slick-next:before{color:#111827;font-size:14px;opacity:1}
.tp-wc-gallery .tp-thumbs .slick-prev,
.tp-wc-gallery .tp-thumbs .slick-next{z-index:2; width:28px;height:28px;top:50%;justify-content: center;display: flex;align-items: center;}
.tp-wc-gallery .tp-thumbs .slick-prev:before,
.tp-wc-gallery .tp-thumbs .slick-next:before{color:#111827;font-size:12px;opacity:0;display:none}
[dir="rtl"] .tp-wc-gallery .tp-thumbs .slick-next {left: -50px;}
[dir="rtl"] .tp-wc-gallery .tp-thumbs .slick-prev {right: -50px;}
.tp-wc-hide-default .woocommerce-product-gallery{display:none !important}

/** YITH FRENQUENTLY BOUGHT TOGETHER ADJUSTMENTS **/
.yith-wfbt-section .yith-wfbt-items {margin-top:0;}
.wfbt-cards { margin-top: 0; }
.wfbt-rtl   { direction: rtl; }
.yith-wfbt-item.wfbt-card:first-child {display:none !important;}
.wfbt-card-grid {display: grid;grid-template-columns: repeat(2, minmax(0, 1fr));gap: 16px;list-style: none;margin: 0 0 16px;padding: 0;}
.wfbt-card {background: #fff;border: 1px solid rgba(198, 198, 198, 1);border-radius: 0;padding: 12px;transition: box-shadow .2s ease;}
.wfbt-card:hover { box-shadow: 0 6px 16px rgba(0,0,0,.06); }
.wfbt-card__wrap { display: block; cursor: pointer; }
.wfbt-card__body {display: grid;grid-template-columns: 70% 1fr;align-items: start;gap: 12px;}
.wfbt-card__thumb img { width: 72px; height: auto; }
.wfbt-card__title {display: -webkit-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;overflow: hidden;text-decoration: none;color: inherit;font-size:14px;font-weight: 400;}
.wfbt-card__meta {margin-top: 8px;display: flex;align-items: center;gap: 10px;font-size: 14px;}
.wfbt-card__price { font-weight: 400;font-size:14px;color:rgba(0, 61, 166, 1); }
.wfbt-card__choose { font-size: 12px; text-decoration: underline; }
.yith-wfbt-section .yith-wfbt-item label {padding-left: 0px;padding-right:30px;}
.wfbt-card__check {position: absolute;opacity: 0;pointer-events: none;}
.wfbt-card__wrap::before {content: "";position: absolute;inset-inline-end: 14px;inset-block-start: 14px;width: 14px; height: 14px;border: 2px solid #3b82f6;border-radius: 3px;background: #fff;right: 0;top: 0;left: auto;}
.wfbt-card__check:checked + .wfbt-card__body,
.wfbt-card__wrap:has(.wfbt-card__check:checked) {}
.wfbt-card__wrap:has(.wfbt-card__check:checked)::before {background: #3b82f6;box-shadow: inset 0 0 0 2px #fff;}
.wfbt-bar {display: flex;align-items: center;justify-content: space-between;gap: 12px;}
.wfbt-bar__total { font-size: 14px; font-weight: 600; text-decoration:none !important;}
.wfbt-bar__total ins {text-decoration:none !important;}
.wfbt-bar__label { color: #111; margin-inline-end: 6px; }
.wfbt-bar__amount { color: #111; }
.wfbt-bar__save { margin-inline-start: 8px; color: #059669; font-weight: 500; }
.yith-wfbt-submit-button  {background: rgba(0, 61, 166, 1) !important;color: #fff !important;padding: 12px 15px 12px 50px !important;font-size: 16px !important;font-weight: 400 !important;border-radius: 0 !important;text-align: right;}
.yith-wfbt-submit-button:after {content:"";height:22px;width:22px;position:absolute;left:11px;top:10px;background-image: url(img/add-to-cart.svg);background-size: contain;background-repeat:no-repeat;}}
.yith-wfbt-submit-button:hover { filter: brightness(.96); }

/** HEADER CART COUNTING **/
.tp-cart-count-number:empty,
.tp-cart-count-number[data-count="0"],.tp-cart-count-number[data-count="1"] {display: none;}

/** WOOCOMMERCE PAGINATION **/
.wc-pager {font-family:"IBM Plex Sans Hebrew";display: flex;align-items: center;justify-content: center;font-size: 18px;font-weight:300;line-height: 1;direction:ltr;}
.wc-pager a,.wc-pager span {text-decoration: none;}
.wc-pager .wc-pager__num {color: rgba(0, 61, 166, 1);margin:0 3px}
.wc-pager .wc-pager__num.is-current {color: rgba(0, 0, 0, 1);font-weight: 600;pointer-events: none;}
.wc-pager .wc-pager__arrow {margin:0 3px;font-size: 32px; color: rgba(0, 61, 166, 1);position: relative;bottom: 2px;}
.wc-pager .wc-pager__arrow.is-disabled {color: rgba(198, 198, 198, 1);cursor: default;pointer-events: none;}

/** YITH FILTERS ADJUSTMENTS **/
.yith-wcan-filters-opener {position:relative;border-radius: 0px;text-align:right;border-color: rgb(198, 198, 198);color: rgb(0, 0, 0);font-family: "IBM Plex Sans Hebrew";width: 100%;margin: 0 auto;}
.yith-wcan-filters-opener:hover,.yith-wcan-filters-opener:active,.yith-wcan-filters-opener:focus {background: var(--e-global-color-9a00450);border-color: var(--e-global-color-9a00450);color:#fff;}
.yith-wcan-filters-opener i.filter-icon {display:none !important;}
.yith-wcan-filters-opener::after {background: url(img/down.svg);background-size:contain;background-position: center center;background-repeat:no-repeat;content: "";height: 13px;width: 13px;display: block;position: absolute;left: 10px;top: 40%;}
.is-hidden {display: none !important;}
.filters-container {font-family:var(--e-global-typography-primary-font-family)}
.yith-wcan-filters .yith-wcan-filter .filter-items .filter-item.hierarchy-collapsable .toggle-handle
{right:auto;left:10px;top:10px;}
.yith-wcan-filters .yith-wcan-filter .filter-title.collapsable.open::after,
.yith-wcan-filters .yith-wcan-filter .filter-title.collapsable.opened::after
{background-image: url(img/minus.svg) !important}
.yith-wcan-filters .yith-wcan-filter .filter-title.collapsable.closed::after,
.yith-wcan-filters .yith-wcan-filter .filter-title.collapsable:not(.opened)::after, .yith-wcan-filters .yith-wcan-filter .filter-title.collapsable:not(.open)::after
{background-image: url(img/plus.svg)}
.yith-wcan-filters .yith-wcan-filter {margin-bottom:0;}
.yith-wcan-filters .yith-wcan-filter .filter-title {font-size: 16px;font-weight: 700;margin: 0;padding: 10px 0;border-bottom: 1px solid rgb(198, 198, 198);}
.apply-filters,
.yith-wcan-reset-filters {margin: 10px auto;display: block;background: var(--e-global-color-accent) !important;
color: #fff;border-radius: 0 !important;  border: 0 !important;}
.yith-wcan-reset-filters:hover {background:#000;}
.show-more {cursor:pointer}
.item-count, .filter-item label  {color:#333333 !important;font-weight:500;}
li.level-1,li.level-2,li.level-3 {margin-bottom:7px !important;}
li.level-1 label,li.level-2 label,li.level-3 label {line-height:19px;}
.yith-wcan-filters.horizontal:not(.filters-modal) {text-align: right;margin-bottom: 0 !important;}
#filter_28846_1,#filter_28846_1 .filter-title  {margin-bottom:0 !important}
.matching-items.filter-items {padding-right:0;}
body.rtl .yith-wcan-filters .yith-wcan-filter .filter-items.level-0 ul {padding-right:0 !important}
.yith-wcan-filters.horizontal:not(.filters-modal) .yith-wcan-filter .filter-title.collapsable + .filter-content .filter-content-footer
{background-color: transparent;margin: 5px 0 0 0;padding: 0;text-align: right;}
.stickme.is-sticky {position: fixed;top: 0;left: 0;right: 0;z-index: 9999;}
.stick-reserve {width: 100%;display: block;height: 0;}

/** MEGA MENU ADJUSTMENTS **/
.expand,.expand *,.jet-mega-menu-mega-container__inner {transition: all 0.250s ease-in-out;}
.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-mega-container,.expand {  margin-left: auto !important;}
.expand {display: flex !important;flex-direction: row-reverse !important;justify-content: flex-start !important;gap: 0 !important;}
.expand .col1,.expand .col2 {flex: 0 0 auto !important;min-width: 0 !important;}
.jet-mega-menu-mega-container__inner {display: flex;justify-content: start;}	
.tpmm .tpmm-inner { display:flex; flex-direction:row-reverse;font-family: "IBM Plex Sans Hebrew"; }
.tpmm { --tp-col-fixed:259.2px; --tp-col-expanded:518.4px; }
.tpmm-inner{ display:flex; flex-direction:row-reverse; width: var(--tp-container, 259.2px); }
.tpmm-parent-panel, .tpmm-child-panel{ min-width:0; }
.tpmm-parent-panel{ padding:0 30px;width: var(--tp-col-fixed); flex:0 0 var(--tp-col-fixed); }
.tpmm-child-panel { width: calc(var(--tp-container, 259.2px) - var(--tp-col-fixed)); flex:0 0 auto; display:none;}
.tpmm-parent-list, .tpmm-child-list{ list-style:none; margin:0; padding:0; }
.tpmm-link{ display:block; padding:8px 0; text-decoration:none;color:#000;font-size: 16px;font-weight: 600; }
.tpmm-parent-item.has-children > .tpmm-link .tpmm-caret{ margin-right:8px; transform:scaleX(-1); }
.tpmm, .tpmm-inner, .tpmm-parent-panel, .tpmm-child-panel { transition:none; }
.tpmm .tpmm-inner { display:flex; flex-direction:row-reverse; }
html[dir="rtl"] .jet-mega-menu-mega-container .sub-menu.elementor-nav-menu--dropdown {
  left:auto !important; right:100% !important;
}
html[dir="rtl"] .jet-mega-menu-mega-container .sub-menu.elementor-nav-menu--dropdown {
  left:auto !important; right:100% !important;
}

/** CATEGORY LIST ON WOOCOMMERCE PARENT CATEGORIES **/
.wc-category-list{line-height:2;list-style-type:none;padding-right:0 !important;font-family: var(--e-global-typography-primary-font-family)}
.wc-category-list__item a {font-weight: 500;color: var(--yith-wcan-anchors_style_text, #434343);}
.wc-category-list__item  {padding: 7px 0;}

/** BRAND PAGE **/
.ky-brand-subcats{display:grid;gap:18px;grid-template-columns:1fr;}
@media (min-width:1024px){.ky-brand-subcats{grid-template-columns:repeat(4,1fr);}}
@media (max-width:1024px){.ky-brand-subcats{grid-template-columns:repeat(2,1fr);}}
@media (max-width:768px){.ky-brand-subcats{display:block}}
.ky-brand-subcat{padding:15px;display:block;border:1px solid #D6D6D6;background:#fff;text-decoration:none;transition: all 0.300s ease-in-out;}
.ky-brand-subcat:hover{box-shadow: 0px 0px 10px 0px #F0F0F0;border-color:rgba(0, 61, 166, 0.5019607843137255)}
.ky-term-image{display:block;position:relative;padding-top:75%;overflow:hidden;background:#fafafa}
.ky-term-image img{position:absolute;inset:0;width:100%;height:240px;object-fit:cover}
.ky-term-name{display:block;background:#0054B3;color:#fff;margin-top:20px;text-align:center;font-weight:500;padding:12px;font-size:15px;line-height:1.2}
.ky-term-name:hover {background:#000;}
.ky-brand-admin-tools{margin-top:12px}
.ky-brand-edit-link{color:#0054B3;text-decoration:underline}

/** MY ACCOUNT **/
.talpress-account-dashboard .woocommerce-MyAccount-navigation {display: none;}
.talpress-account-dashboard .woocommerce-MyAccount-content {width: 100%;}

.talpress-account-endpoint .woocommerce {display: flex;flex-direction: column;}
.talpress-account-endpoint .woocommerce-MyAccount-navigation {order: 1;width: 100%;margin: 0 0 16px 0;}
.talpress-account-endpoint .woocommerce-MyAccount-content {order: 2;width: 100%;}
.talpress-account-hub { margin: 16px 0 24px; }
.account-hub {display: grid;grid-template-columns: repeat(12, 1fr);gap: 20px;}
.account-hub__tile {grid-column: span 6;display: flex;align-items: center;gap: 16px;padding: 18px 20px;text-decoration: none;background: #fff;border: 1px solid rgba(0,0,0,.06);border-radius: 12px;box-shadow: 0 1px 2px rgba(0,0,0,.04);transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;}
.account-hub__tile:hover {transform: translateY(-2px);box-shadow: 0 6px 18px rgba(0,0,0,.08);border-color: rgba(0,0,0,.12);}
.account-hub__icon {flex: 0 0 auto;width: 54px; height: 54px;border-radius: 50%;display: inline-flex; align-items: center; justify-content: center;font-size: 28px;background: var(--e-global-color-accent);color: #fff;}
.account-hub__content { display: grid; gap: 4px; }
.account-hub__title   { font-weight: 700; font-size: 18px; line-height: 1.2; color: #0f172a; }
.account-hub__desc    { font-size: 14px; line-height: 1.35; color: #475569; }
@media (min-width: 1100px) { .account-hub__tile { grid-column: span 4; } }
@media (max-width: 639px)  { .account-hub__tile { grid-column: span 12; } }
.account-hub__tile.is-current {border-color: #1746d3;background: #f0f4ff;box-shadow: 0 2px 8px rgba(23,70,211,.15);}
.account-hub__tile.is-current .account-hub__icon {background: var(--e-global-color-accent);color: #fff;}
.woocommerce-account .woocommerce-MyAccount-navigation {display:none;}
.woocommerce-account .woocommerce-MyAccount-content {float:none;width:100%}

/** WOOCOMMERCE NOTICES **/
.woocommerce-info,
.woocommerce-message,
.woocommerce-error 
{border-radius: 8px;padding: 14px 18px; margin: 20px 0;font-size: 15px;line-height: 1.4;border: 1px solid transparent;display: flex;align-items: center;gap: 10px;font-family:var(--e-global-typography-primary-font-family);}
.woocommerce-info {background: #f0f6ff;border-color: #003DA6;color: #003DA6;}
.woocommerce-info::before {content: "\f348";font-family: dashicons;font-size: 18px;color: #003DA6;line-height: 1;right: auto;left: 14px;top: 36% !important;}
.woocommerce-message {font-family:var(--e-global-typography-primary-font-family);background: #f6fff9;border-color: #28a745;color: #1e7e34;}
.woocommerce-message::before {content: "\f147";font-family: dashicons;font-size: 18px;color: #28a745;line-height: 1;right: auto;left: 14px;top: 36% !important;}
.woocommerce-error {background: #fff5f5;border-color: #dc3545;color: #a71d2a;}
.woocommerce-error::before {content: "\f534";font-family: dashicons;font-size: 18px;color: #dc3545;line-height: 1;right: auto;left: 14px;top: 36% !important;}

/** MOBILE **/
@media all and (max-width:768px){
	.tp-cart-count .tp-cart-count-text {display:none;}
	.tp-cart-count {position: absolute;top: -21px;font-size: 12px;color: #fff;background: #0BA600;border-radius: 100%;width: 17px;height: 17px;  display: flex;justify-content: center;align-items: center;font-weight: 600;}
	.tp-cart-count-number[data-count="1"] {display:block;}
	.tp-cart-count[data-count="0"],
	.tp-cart-count-number:empty,
    .tp-cart-count-number[data-count="0"] {
        display: none;
    }
	.fancy-title:before {width:18%;}
	.fancy-title:after {width:18%;}
	
	.product-listing .quantity .qty {width: 15px !important;font-size: 12px;}
	.tp-qty .tp-qty-btn {  padding: 0;width:auto;}
	.single_add_to_cart_button  {text-align:center;padding:13px;}
	.elementor-widget-woocommerce-product-add-to-cart .button::after {display:none;}
	
	[dir="rtl"] .tp-wc-gallery .tp-thumbs .slick-next {left: -30px;}
	[dir="rtl"] .tp-wc-gallery .tp-thumbs .slick-prev {right: -30px;}
	
	.wfbt-card-grid { grid-template-columns: 1fr; }
}

/** FIX TO HIDE THE CART ICON WHEN IT DOESN'T FIT **/
.product-listing {container-type: inline-size;}
@container (max-width: 233px) {
  .single_add_to_cart_button::after {
    display: none;
  }