/*
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: 5px;
    right: 5px;
    list-style: none;
    padding-right: 0;
    margin: 0;
    width: fit-content;
    display: flex;
    flex-direction: column;
    align-items: center;
}
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;
    max-width: 75px;
}
ul.product_badges li.wd_badge.badge_new {
    background: transparent;
    font-weight: 600;
}
li.icon-badge img{
    width: auto !important;
    height: 60px !important;
}
/* 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: 2px 15px !important;
    border-radius: 0;
    margin-bottom: 0;
    width: fit-content;
}
.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;
}
/* VISUAL MENU */
.visual-menu-container{
    display: flex;  
    column-gap: 15px;
}
.visual-menu-container .menu-item.icon_sticky {
    background-color: var(--e-global-color-9eb8583);
    padding: 10px 5px 10px 5px;
    width: 10%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #F4F4F2;
    border-radius: 10px;
    transition: all 0.5s ease;
}
.visual-menu-container .menu-item.icon_sticky p,
.visual-menu-container .menu-item.icon_sticky a{
    font-size: 16px;
    line-height: 18px;
    color:#000;
    display: block;
    width: 100%;
    margin-bottom: 0;
    transition: all 0.5s ease;
}
.menu-item.icon_sticky img {
    /* max-width: 40px !important; */
    min-height: 40px;
    max-height: 40px;
    margin-bottom: 5px !important;
}
.elementor-sticky--active .menu-item.icon_sticky img{
    max-width: 30px !important;
    min-height: 30px;
    max-height: 30px;
    transition: all 0.5s ease;
    margin: 0 !important;
    padding: 0;
}
.elementor-sticky--active .menu-item.icon_sticky a{
    display: flex;
    width: 100%;
    align-content: center;
    justify-content: center;
    align-items: center;
    transition: all 0.5s ease;
}
@media (max-width: 768px) {
    .visual-menu-container {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 10px 0;
        padding: 0 0 10px;
    }
    .menu-item.icon_sticky {
        width: 150px;
        min-width: 150px;
        max-width: 150px;
        scroll-snap-align: center;
    }
    .menu-item.icon_sticky img {
        max-width: 25px !important;
        min-height: 25px;
        max-height: 25px;
        margin-bottom: 5px !important;
    }
}

/* 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: #000 !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: #FFCB04 !important;
}
li.pfp-filter-chip.pfp-chip-reset-all a {
    border-radius: 8px !important;
    border: none !important;
    background: #FFCB04;
    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: #FFCB04;
    color: #000;
    padding: 5px;
    font-size: 17px;
    border-radius: 8px;
    border: none;
}
.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: #FFCB04!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: #FFCB04;
    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 !important;
    padding: 0 !important;
}

.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: #2D2D2D;
}
.widget-title.wpc-filter-title {
    font-size: 16px;
    color: #2D2D2D;
    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: #FBCA18;
    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;
}
.wsatc-variation select{
    max-width: 100px !important;
    width: 100px !important;
    margin-left: 10px;
}
.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: #FFCB04;
    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;
}
/* לא לחתוך טקסט במיני קארט */
.elementor-menu-cart__product-name a,
.elementor-menu-cart__product-name,
.elementor-menu-cart__product-name p,
.elementor-menu-cart__product .variation dd p {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important;
    max-width: none !important;
    word-break: break-word !important;
}
.wsatc-stick-cart-wrapper {
    background-color: #000!important;
    color: #FFF!important;
}
.wsatc-title-rating .product-title, .wsatc-stick-cart-wrapper .wsatc-price{
    color: #FFF!important;
}
@media screen and (max-width: 768px) {
    .wpc_show_bottom_widget .wpc-filters-open-button-container {
        margin-top: 0!important;
        margin-bottom: 0!important;
    }
    .floater{
        margin-bottom: 40px !important;
    }
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
    color: #000;
}
li.wd_badge.out_of {
    background: #000;
    color: #FBCA18;
    padding: 2px 4px;
    margin-bottom: 3px;
}
p.stock.stock_out {
    background: #CCC;
}
p.stock.stock_in {
    background: #c7e2ff;
}
.wsatc-price-stock{
    display: flex;
    align-items: center;
    align-content: center;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price, .woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product span.price
{
    color: #000;
    font-size: 1.25em;
}
.order-notes, .order-thanks, .order-colophon, .order-items, .order-addresses {
    margin-top: 10px;
    margin-bottom: 10px;
}
.order-addresses{
    display: flex;
    justify-content: flex-start;
}