/*
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");
.elementor-kit-27 {
    --e-global-color-primary: #222F55;
    --e-global-color-secondary: #F96B3F;
    --e-global-color-text: #222F55;
    --e-global-color-accent: #222F55;
    --e-global-color-bd9b8a8: #33E9BD;
    --e-global-color-1b4b416: #7246FE;
    --e-global-color-ffb1a1e: #FFFFFF;
    --e-global-color-ea389db: #000000;
    --e-global-typography-primary-font-family: "Open Sans Hebrew";
    --e-global-typography-secondary-font-family: "Open Sans Hebrew";
    --e-global-typography-secondary-font-weight: 400;
    --e-global-typography-text-font-family: "Open Sans Hebrew";
    --e-global-typography-text-font-weight: 400;
    --e-global-typography-accent-font-family: "Open Sans Hebrew";
    --e-global-typography-accent-font-weight: 700;
    color: var(--e-global-color-primary);
    font-family: "Open Sans Hebrew", Sans-serif;
}
/* 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;
    }
}
p {
    margin: 0;
}
.wd_header li.green{
    background: #24D377;
    border-radius: 25px;
    padding: 4px 2px!important;
}
.woocommerce .woocommerce-breadcrumb{
    margin: 0;
    padding: 0;
}
span.wpc-term-image-wrapper{
    display: none;
}
.stock_status {
    display: flex;
    justify-content: center;
    margin: 15px auto;
}
.stock_status p.stock.stock_in, .stock_status p.stock.stock_out{
    background: #EEEEEE;
    color: #0A2D59 !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 5px 20px !important;
    margin-bottom: 0;
    width: fit-content;
    border-radius: 25px;
}

@media(max-width:786px){
    .uc_title {
        min-height: 47px;
        max-height: 47px;
        overflow: hidden;
    }
}
/* FILTER */
/* ===== WPC Filters - styling only for set 3287 ===== */
.wpc-filters-widget-content,
.wpc-filters-widget-containers-wrapper{
    direction: rtl;
}

/* Top popup title */
.wpc-widget-popup-title{
    display: block;
    text-align: center;
    font-weight: 800;
    font-size: 22px;
    color: #0b2b4b;
    margin: 8px 0 18px;
}

/* Remove close icon clutter (optional) */
.wpc-widget-close-icon{
    opacity: 0.35;
}

/* Section headers */
.wpc-filter-header{
    border: 0 !important;
    padding: 0 !important;
    margin: 0 0 10px !important;
}
.wpc-filter-title{
    text-align: center;
    font-weight: 700;
    font-size: 16px;
    color: #0b2b4b;
    margin: 0;
}

/* Space between sections */
.wpc-filters-section{
    margin: 0 0 26px !important;
}

.wpc-filters-ul-list {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    align-content: flex-start;
}
.wpc-term-item{
    margin: 0 !important;
}
.wpc-term-item-content-wrapper{
    display: flex;
    flex-direction: row-reverse; /* checkbox on the right (RTL) */
    align-items: center;
    gap: 10px;
}

/* Links typography */
.wpc-filter-link{
    color: #0b2b4b !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 16px;
}
.wpc-filter-link:hover{
    text-decoration: underline !important;
}

/* Custom purple square checkbox */
.wpc-term-item-content-wrapper input[type="checkbox"]{
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.wpc-term-item-content-wrapper label{
    position: relative;
    padding-right: 22px; /* room for square */
    line-height: 1.2;
    margin: 0 !important;
    cursor: pointer;
}
.wpc-term-item-content-wrapper label{
    position: relative;
    padding-right: 22px;
}

/* הקופסה */
.wpc-term-item-content-wrapper label:before{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: #fff;
    border: 1px solid var(--e-global-color-primary);
    border-radius: 2px;
    box-sizing: border-box;
}

/* מצב מסומן – רקע */
.wpc-term-item-content-wrapper input[type="checkbox"]:checked + label:before{
    background: var(--e-global-color-primary);
    border-color: var(--e-global-color-primary);
}

.wpc-term-item-content-wrapper label{
    position: relative;
    padding-right: 22px;
}

.wpc-term-item-content-wrapper
input[type="checkbox"]:checked + label:after{
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'>\
<circle cx='10' cy='10' r='10' fill='%237B61FF'/>\
<path d='M6 10.5l2.5 2.5L14 7.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/>\
</svg>");
}

.wpc-filter-link {
    margin-right: 0!important;
}
/* Disabled/selected state - keep it neat */
.wpc-term-disabled .wpc-filter-link{
    opacity: 0.65;
}
.wpc-term-disabled label{
    opacity: 0.8;
}

/* "Show more" link in red */
.wpc-see-more-control,
.wpc-see-less-control{
    display: block;
    text-align: center;
    margin-top: 8px;
    color: #D61C4E !important;
    font-weight: 600;
    text-decoration: none !important;
}

/* ===== Price range styling (match the purple slider look) ===== */

/* Make the numbers look like the design (no boxed inputs) */

.wpc-filters-range-column:after{
    content: "₪";
    font-weight: 800;
    color: #0b2b4b;
}
input.wpc-filters-range-min,
input.wpc-filters-range-max{
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
    width: auto !important;
    max-width: 70px;
    text-align: center !important;
    font-weight: 800;
    font-size: 16px;
    color: #0b2b4b !important;
}

/* Slider line + handles */
.wpc-filters-range-slider-wrapper{
    padding: 0 6px;
}
.ui-slider{
    height: 3px !important;
    border: 0 !important;
    background: #e6e8ef !important;
    border-radius: 999px;
}
.ui-slider .ui-slider-range{
    background: #0A2D59 !important;
    border-radius: 999px;
}
.ui-slider .ui-slider-handle{
    width: 10px !important;
    height: 10px !important;
    border-radius: 50% !important;
    border: 0 !important;
    background: #684392 !important;
    top: -3.5px !important;
    box-shadow: none !important;
}
.wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-handle {
    margin-left: -5px!important;
}
.wpc-filters-range-slider-wrapper {
    margin: 15px 0 0!important;
}

/* Bottom buttons (apply/cancel) – make cleaner */
.wpc-filters-widget-controls-wrapper{
    gap: 10px;
}
.wpc-filters-apply-button{
    background: #0b2b4b !important;
    color: #fff !important;
    border-radius: 10px;
    padding: 12px 14px !important;
    font-weight: 700;
    text-align: center;
}
.wpc-filters-close-button{
    background: transparent !important;
    color: #0b2b4b !important;
    border: 1px solid #cfd6e4 !important;
    border-radius: 10px;
    padding: 12px 14px !important;
    font-weight: 700;
    text-align: center;
}

a.wpc-see-more-control.wpc-toggle-a {
    display: block;
    text-align: right;
    text-decoration: none !important;
    border: none !important;
}
ul.wpc-filter-chips-list {
    padding-right: 0;
    margin: 0;
}
select.wpc-orderby-select{
    background: #F2F5F7;
    color: #0A2D59;
    padding: 10px;
    font-size: 17px;
    font-weight: 700;
    border-radius: 25px;
    border: none;
}
body .wpc-filter-chips-list li.wpc-filter-chip:not(.wpc-chip-reset-all) a {
    border-color: #F2F5F7;
    background: #F2F5F7;
    color: #0A2D59;
    font-weight: 500;
}

a.button.chat-with-agent {
    background: #FFF !important;
    color: #35AE49 !important;
    margin-right: 10px !important;
    border: 1px solid #35AE49;
    border-radius: 5px;
}

/* SINGLE PRODUCT */

.woocommerce div.product div.images .flex-control-thumbs li {
    width: 16%;
    padding: 10px;
    box-sizing: content-box;
}
.woocommerce div.product div.images .flex-control-thumbs li img {
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.08),
        0 4px 12px rgba(15, 23, 42, 0.04);
    transition: box-shadow 0.3s ease;
    opacity: 1;
}
ol.flex-control-nav.flex-control-thumbs {
    display: flex;
    flex-direction: row;
}
p.stock.out-of-stock{
    display: none;
}

@media (max-width: 767px){
  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid{
    direction: rtl !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;

    gap: 12px !important;

    overflow-x: auto !important;
    overflow-y: visible !important;

    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;

    padding: 14px 1px 18px !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid > .uc_post_grid_style_one_item{
    flex: 0 0 auto !important;
    width: 45% !important;
    min-width: 45% !important;
    max-width: 320px !important;
    scroll-snap-align: start;
    box-sizing: border-box !important;
  }

  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid{
    scroll-padding-right: 10px !important;
    scroll-padding-left: 10px !important;
    }

    .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid > .uc_post_grid_style_one_item{
    scroll-margin-right: 10px !important;
    scroll-margin-left: 10px !important;
    }

  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid::-webkit-scrollbar{
    height: 0 !important;
  }
  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid{
    scrollbar-width: thin;
    scrollbar-color: rgba(18, 38, 84, 0.55) rgba(18, 38, 84, 0.12);
  }

  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid::-webkit-scrollbar{
    height: 10px;
  }

  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid::-webkit-scrollbar-track{
    background: rgba(18, 38, 84, 0.12);
    border-radius: 999px;
  }

  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid::-webkit-scrollbar-thumb{
    background: rgba(18, 38, 84, 0.55);
    border-radius: 999px;
    border: 2px solid rgba(18, 38, 84, 0.12);
  }

  .mob_scroll .uc_post_grid_style_one_wrap.uc-items-wrapper.ue-woo-grid::-webkit-scrollbar-thumb:hover{
    background: rgba(18, 38, 84, 0.72);
  }
}
.elementor-widget-woocommerce-product-content,
.elementor-widget-woocommerce-product-content p{
  direction: rtl;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.elementor-widget-woocommerce-product-content{
  overflow-x: hidden;
}

.elementor-widget-woocommerce-product-content p{
  white-space: normal;
}

@media (max-width: 767px){

  .mob_scroll_banners{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory !important;
    direction: rtl !important;
    padding-inline: 15px !important;
    padding-bottom: 10px!important;
  }

  .mob_scroll_banners > .mob_scroll_banner{
    flex: 0 0 80% !important;
    width: 80% !important;
    max-width: 80% !important;
    scroll-snap-align: start !important;
  }

  .mob_scroll_banners > .mob_scroll_banner img{
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 18px !important;
  }

}

form.cart {
    display: flex;
    flex-direction: row;
}
button.single_add_to_cart_button.button.alt {
    width: 50%;
}
a.button.chat-with-agent {
    width: 49%;
    text-align: center;
}