/*
Theme Name: WebSmart
Version: 1.0
Description: A child theme of Hello Elementor
Author: WebDigital.co.il
Template: hello-elementor
*/

@import url("../hello-elementor/style.css");
p{
    margin-top: 0;
}
/* Product badges */
ul.product_badges {
    position: absolute;
    top: 20px;
    right: 20px;
    list-style: none;
    padding-right: 0;
    margin: 0;
    width: fit-content;
    display: flex;
    flex-direction: column;
}
ul.product_badges li, p.stock.stock_in, p.stock.out-of-stock {
    padding: 0;
    border-radius: 0;
    width: fit-content;
    font-size: 13px;
    color: #171719;
    width:fit-content;
}
ul.product_badges li {
    display: flex;
    align-content: center;
    align-items: center;
    /* line-break: auto; */
    font-size: 13px !important;
    line-height: 13px;
    font-weight: 600;
    margin-bottom: 5px;
    padding: 4px 10px;
}
li.icon-badge {
    padding: 0 !important;
}
ul.product_badges li.badge_new {
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-primary);
}
ul.product_badges li.badge_onsale {
    background: var(--e-global-color-43151fc);
    color: #FFF;
}
ul.product_badges li.badge_display_device{
    background: var(--e-global-color-secondary);
    color: #222222;
}
li.icon-badge img{
    width: auto !important;
    height: 35px;
}
li.badge_gift_purchase {
    background: #0046FF;
    color: #FFF !important;
}
@media(max-width:786px){
    ul.product_badges li{
        height: 25px;
        font-size: 13px !important;
        line-height: 11px;
    }
}
/* Footer Top Categories*/
ul.top-categories, ul.top-posts{
    padding: 0;
    margin: 0;
    list-style: none;
}
ul.top-categories li, ul.top-posts li{
    padding-top: 3px;
    padding-bottom: 3px;
}
ul.top-categories li a, ul.top-posts li a {
    color: #FFF;
}
.stock_status {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}
p.stock.stock_in, p.stock.stock_out{
    background: #EEEEEE;
    color: #171719 !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 5px 20px !important;
    margin-bottom: 0;
    width: fit-content;
    border-radius: 25px;
}
.elementor-sticky--active .elementor-icon-box-icon {
    height: 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s ease;
    pointer-events: none;
    overflow: hidden;
    margin: 0 !important;
    padding: 0;
}
.elementor-sticky--active .elementor-widget-icon-box .elementor-widget-container{
    padding: 10px 5px 10px 5px!important;
    min-height: 60px!important;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}
.news_ticker p {
    margin-bottom: 0;
    text-align: center !important;
}
span.elementor-icon-list-text p {
    margin-bottom: 0;
}
/* ELEMENTOR MENU CART */
.elementor-menu-cart__main {
    width: 400px!important;
}
.elementor-menu-cart__product-image.product-thumbnail img {
    width: 50px;
}

/* plus filter */
.pfp-term-item-content-wrapper label a {
    color: #000 !important;
    margin-right: 5px;
}
ul.pfp-filters-ul-list li ul {
    list-style: none;
    padding-right: 15px;
    margin: 10px 0;
}
.pfp-filters-ul-list li {
    margin-bottom: 10px !important;
}
/* product archive */
input.pfp-filters-range-min, input.pfp-filters-range-max {
    border: none;
    width: 70px !important;
    padding: 0;
    color: #000;
    font-weight: 700;
}
input.pfp-filters-range-max {
    text-align: left;
}
.pfp-filter-title {
    margin-bottom: 5px!important;
    font-weight: 700;
    font-size: 18px;
}
.ui-slider-horizontal .ui-slider-range {
    background: var(--e-global-color-secondary) !important;
}
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    background: var(--e-global-color-primary) !important;
}
li.pfp-filter-chip.pfp-chip-reset-all a {
    border-radius: 8px !important;
    border: none !important;
    background: var(--e-global-color-secondary);
    color: #FFF !important;
    font-size: 16px;
    font-weight: 600 !important;
}
li.pfp-filter-chip a {
    font-size: 16px;
    font-weight: 600 !important;
    border-radius: 8px !important;
    border: none !important;
    background: #D4D9DD;
    color: #000 !important;
}
.pfp-filter-chip-name {
    margin-right: 0!important;
    color: #000 !important;
}
span.pfp-chip-remove-icon{
    margin-right: 5px!important;
}
ul.pfp-filter-chips-list.pfp-filter-chips-9347 {
    padding-right: 0;
}
body .pfp-filter-chips-list li.pfp-filter-chip, .pfp-filter-chips-list li, li.pfp-filter-chip {
    margin: 0 0 0 8px;
}
select.wpc-orderby-select {
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-primary);
    padding: 5px;
    font-size: 17px;
    border-radius: 0;
    border: none;
    font-weight: 700;
    font-family: inherit;
}

/* כל האופציות – לבן */
select.wpc-orderby-select option {
    background: #ffffff;
    color: #000000;
}

/* האופציה שנבחרה */
select.wpc-orderby-select option:checked {
    background: var(--e-global-color-secondary);
    color: var(--e-global-color-primary);
}

.wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-handle {
    top: -7px!important;
    margin-left: -8px!important;
}
.wpc-filters-range-inputs .ui-slider .ui-slider-handle {
    width: 16px!important;
    height: 16px!important;
}
.wpc-filters-range-slider-wrapper{
    margin: 10px 11px 10px!important;
}
.woocommerce-breadcrumb a {
    white-space: nowrap;
}
.woocommerce-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    align-items: center;
}
@media (max-width: 768px) {
    .woocommerce-breadcrumb {
        white-space: nowrap;
        overflow-x: auto;
        display: block;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 10px !important;
        scrollbar-width: none;
    }
    .woocommerce-breadcrumb a {
        display: inline-block;
        padding-right: 10px;
    }
    .pfp-filters-range-column.pfp-filters-range-max-column {
        text-align: left;
    }
}
.wd_caculators p {
    margin-bottom: 5px;
}
.custom-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-content: center;
    align-items: center;
    column-gap: 25px;
}
@media(max-width:786px){
    .custom-wrapper {
        display: flex;
        flex-wrap: wrap;
    }
}
.flex-control-nav {
    display: flex;
    justify-content: flex-start;
    gap: 1vw;
    list-style: none;
    padding-bottom: 8px !important;
    margin-top: 15px !important;
    overflow-x: auto!important;
    overflow-y: hidden;
    max-width: 100%;
    scrollbar-width: thin;
    scrollbar-color: #313335 #EAEAEA;
    scroll-behavior: smooth;
}
.flex-control-nav li {
    flex: 0 0 calc(100% / 5.5);
    display: inline-block;
}
.flex-control-nav img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease;
}
.flex-control-nav img:hover {
    transform: scale(1.1);
}
.flex-control-nav::-webkit-scrollbar-thumb {
    background-color: #313335;
    border-radius: 10px;
}
.flex-control-nav::-webkit-scrollbar-track {
    background-color: #EAEAEA;
    border-radius: 10px;
}

.woocommerce div.product div.images .flex-control-thumbs li img {
    opacity: 1;
}
table tbody tr:hover > td, table tbody tr:hover > th {
    background-color: #FFF;
}
table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th {
    background-color: #FFF;
}
table tbody tr:hover > td, table tbody tr:hover > th {
    background-color: #FFF;
}
.e-n-tabs-heading .e-n-tab-title[aria-selected="true"] .e-n-tab-title-text {
    font-weight: bold; /* טקסט בולד לטאב פעיל */
}
a.pfp-filters-close-button {
    background: #000;
    color: #FFF;
}
a.pfp-filters-apply-button.pfp-posts-loaded {
    background: var(--e-global-color-secondary)!important;
    color: #000!important;
    font-weight: 600!important;
}
.pfp-icon-html-wrapper {
    margin-right: auto!important;
    margin-left: 5px!important;
}
@media (max-width: 786px) {
    .e-n-tabs.e-activated .e-n-tabs-heading {
        display: flex;
        overflow-x: auto !important;
        justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        margin: 10px 0;
        padding: 0 0 10px;
    }

    .e-n-tabs.e-activated .e-n-tab-title {
        flex: 0 0 auto; /* קובע שכל אלמנט יהיה ברוחב אוטומטי */
        margin-right: 10px; /* מרווח בין הטאבים */
    }

    .e-n-tabs.e-activated .e-n-tabs-heading::-webkit-scrollbar {
        height: 5px; /* גובה הסקרול */
    }

    .e-n-tabs.e-activated .e-n-tabs-heading::-webkit-scrollbar-thumb {
        background: #888; /* צבע של פס הגלילה */
    }

    .e-n-tabs.e-activated .e-n-tabs-heading::-webkit-scrollbar-track {
        background: #f1f1f1; /* צבע רקע של פס הגלילה */
    }
    button.e-n-tab-title {
    margin: 0 !important;
    line-height: 22px !important;
}
}
/* FOOTER CREDIT */
.foot_credit {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-content: stretch;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.foot_credit p, .foot_credit a{
    margin-bottom: 0!important;
}
@media(max-width:786px){
    .foot_credit {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-content: center;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .foot_credit p, .foot_credit a{
        text-align: center;
        margin-bottom: 0!important;
    }
}
.wsatc-stick-cart-wrapper .wsatc-price {
    color: #000;
    border-radius: 10px;
    font-weight: 700;
    font-size: 16px;
}
.wsatc-stick-cart-wrapper .wsatc-add-to-cart {
    background-color: var(--e-global-color-secondary);
    color: #000000;
    padding: 10px 30px;
    font-weight: 700;
    font-size: 16px;
}
.wsatc-stick-cart-wrapper .product-title {
    color: #000;
    font-size: 16px;
    font-weight: 600;
}
@media(max-width:786px){
    .wsatc-stick-cart-wrapper .product-title {
        font-size: 14px;
        line-height: 18px;
    }
    
}

.ti-widget-container.ti-col-5 {
    display: flex;
    flex-direction: row-reverse;
    column-gap: 15px;
}
.ti-widget.ti-goog .ti-footer {
    padding-right: 0;
    padding-left: 20px;
}
.woocommerce .woocommerce-breadcrumb {
    margin: 0;
    padding: 0;
}

.single-product form.cart .single_add_to_cart_button { 
    margin-inline-end: 10px; 
}
.single-product .chat-with-agent{
    display:inline-flex; 
    align-items:center; 
    justify-content:center;
    padding:12px 20px; 
    border-radius:4px; 
    text-decoration:none;
    background: #2D2D2D !important;
}

/* FILTER EVERYTHING */
body .wpc-filters-main-wrap .wpc-filter-has-hierarchy .wpc-term-item-content-wrapper {
    padding-right: 18px!important;
}
.wpc-filters-main-wrap ul.children {
    margin-left: 0!important;
}
ul.children {
    padding-right: 8px!important;
}
a.wpc-filter-link{
    color: var(--e-global-color-primary);
}
.widget-title.wpc-filter-title {
    font-size: 16px;
    color: var(--e-global-color-primary);
    font-weight: 700;
    margin-bottom: 0!important;
}
ul.wpc-filters-ul-list.wpc-filters-checkboxes {
    margin-top: 5px;
}
body .wpc-filters-main-wrap li.wpc-term-item{
    margin-bottom: 10px;
}
.wpc-term-image-wrapper {
    display: none!important;
}
i.wpc-toggle-children-list {
    width: 24px;
    top: 0;
    bottom: 0;
    right: auto;
    left: 0;
    position: absolute;
}
ul.wpc-filter-chips-list {
    padding: 0;
    margin: 0;
}
li.wpc-filter-chip a {
    border: 1px solid #CCC !important;
    background: #CCC;
    font-size: 15px;
    font-weight: 700 !important;
    border-radius: 0 !important;
}
body .wpc-filter-chips-list li.wpc-chip-reset-all a {
    border-color: transparent;
    color: inherit;
    background: var(--e-global-color-secondary);
    border-radius: 0;
    font-size: 15px;
    font-weight: 700;
}
ul.wpc-filter-chips-list{
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    column-gap: 10px;
}
a.wpc-see-more-control.wpc-toggle-a, a.wpc-see-less-control.wpc-toggle-a{
    color: #000;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
}
.wsatc-variation select {
    max-width: 120px !important;
    width: 120px !important;
    margin-left: 10px;
    border-radius: 25px;
}
.woocommerce-message {
    border-top-color: var(--e-global-color-primary);
}
.woocommerce-message::before {
    content: "\e015";
    color: var(--e-global-color-primary);
}
a.button.wc-forward {
    background: var(--e-global-color-secondary);
    color: #000;
}
/* שבירת שורות לשמות מוצרים */
.woocommerce-checkout-review-order-table .product-name {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: block;
}

/* גם לווריאציות בתוך המוצר */
.woocommerce-checkout-review-order-table .product-name dl,
.woocommerce-checkout-review-order-table .product-name p,
.woocommerce-checkout-review-order-table .product-name span {
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
}
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-checkout-review-order-table .cart_item td.product-name {
    max-width: 100%!important;
    padding-inline-end: 15px!important;
}
.woocommerce-privacy-policy-text p a{
    text-decoration: underline;
}
.wsatc-product-img>img{
    margin-left: 15px;
    margin-right: 0!important;
}
.wsatc-price del {
    display: none;
}
a.wsatc-add-to-cart.wsatc-wiggle{
    border-radius: 25px;
}
/* head_links */
.head_links ul li:first-child span {
    background: #FCC732;
    color: #17264E !important;
    padding: 3px 10px;
}
span.sku_display {
    font-size: 15px;
}

/* מסתיר את שתי התיבות */
.wpc-filter-_price .wpc-filters-range-wrapper input.wpc-filters-range-min,
.wpc-filter-_price .wpc-filters-range-wrapper input.wpc-filters-range-max{
  display:none !important;
}

/* הופך את שני ה"מספרים" לטקסט יפה */
.wpc-filter-_price .wpc-filters-range-wrapper .wd-price-val{
  display:inline-block;
  width: fit-content;
  text-align:center;
  font-weight:700;
  font-size:14px;
  line-height:1;
  padding:6px 0;
  background:#fff;
  color: var(--e-global-color-primary);
}

/* BTS */
input.cwg_popup_submit{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
    border-radius: 0px 0px 0px 0px;
    padding: 10px 50px 10px 50px;
    color: var(--e-global-color-dfebdfa);
    background-color: var(--e-global-color-423324e);
    transition: all 0.2s;
    border: none;
    font-size: 16px;
    width: 40%;
    font-weight: 700;
    cursor: pointer;
}
.cwginstock-subscribe-form .panel-primary>.panel-heading {
    color: #000!important;
    background-color: #FFF!important;
    border-color: #FFF!important;
}
.cwginstock-subscribe-form .panel-primary {
    border-color: #FFF!important;
}
.cwginstock-subscribe-form .panel, .swal2-popup .cwginstock-panel-body .form-group{
    margin-bottom: 0!important;
}
a.wd-button-link.wd-size-sm {
    background-color: var(--e-global-color-c7053a1);
    font-size: 15px;
    font-weight: 700;
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    padding: 3px 10px 3px 10px;
}
span.wd-button-icon svg {
    width: 8px;
    vertical-align: bottom;
    margin-left: 3px;
}

/* Mobile: 2 columns x 2 rows + horizontal swipe */
@media (max-width: 767px) {

  .home .uc_post_grid_style_one.woocommerce_product_grid .uc_post_grid_style_one_wrap{
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;

    display: grid !important;

    grid-template-rows: repeat(2, auto) !important;

    grid-auto-flow: column !important;

    grid-auto-columns: calc((100% - 12px) / 2) !important;

    gap: 12px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;

    direction: rtl;

    scroll-snap-type: x mandatory;
    scroll-padding-inline: 12px;

    max-width: 100%;
    box-sizing: border-box;
  }

  /* להחזיר RTL לתוכן של כל כרטיס (כדי שהעברית לא תתהפך) */
  .home .uc_post_grid_style_one.woocommerce_product_grid .uc_post_grid_style_one_item{
    direction: rtl;
    scroll-snap-align: start;
    min-width: 0;
  }

  /* אופציונלי: להעלים Scrollbar */
  .home .uc_post_grid_style_one.woocommerce_product_grid .uc_post_grid_style_one_wrap::-webkit-scrollbar{
    display:none;
  }
  .home .uc_post_grid_style_one.woocommerce_product_grid .uc_post_grid_style_one_wrap{
    scrollbar-width:none;
  }
}

.dialog-message.dialog-lightbox-message .wd-tax-switch-bar {
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
}
.single-product p.price {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    column-gap: 10px;
    justify-content: flex-end;
}
.single-product .ppc-button-wrapper{
    display: none !important;
}