/*
Theme Name: Hello Child theme
Version: 1.0
Description: A child theme of Elementor Hello Theme
Author: Elchanan Levavi
Template: hello-elementor
*/

body {
    font-family: "atlas", Sans-serif;
}

html, body {
    overflow-x: hidden;
}

p:last-child {margin-bottom: 0;}

input[type="text"], input[type="date"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], select, textarea {
    border-radius: 0;
}

input:focus {
    border-bottom: 2px solid red;
}

section:not(.related.products), .woocommerce-notices-wrapper:not(:empty) {
    padding: 20px 40px 20px 40px;
}

@media (max-width: 767px){
    section:not(.related.products), .woocommerce-notices-wrapper {
        padding: 8px 10px 8px 10px;
    }
}

.button {
	transition-duration: .4s
}
  
/* full height section */
.full-height .elementor-container {
    min-height: 100vh; /* Fallback */
    min-height: calc((var(--vh, 1vh) * 100) - 40px);
 }
 @media(max-width:767px) {
    .full-height .elementor-container {
        min-height: calc((var(--vh, 1vh) * 100) - 60px);
     }
 }

/* Products archive */

.woocommerce .woocommerce-ordering {
    margin: 0 0 3em;
    float: right;
}

.woocommerce .woocommerce-result-count {
    float: unset;
    font-size: 0.8em;
}

@media (max-width: 767px) {
    .elementor-wc-products .products {
        grid-template-columns: repeat(1,1fr);
    }
}

.elementor-products-grid.elementor-wc-products ul.products.elementor-grid li.product a.woocommerce-loop-product__link {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: 35px 110px 45px 40px;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    }
    
    .woocommerce ul.products li.product a img { grid-area: 1 / 1 / 5 / 2; margin-bottom: 0; align-self: end; }
    .elementor-wc-products ul.products li.product .woocommerce-loop-product__title { grid-area: 2 / 2 / 3 / 3; margin-top: 30px; margin-right: 15px; padding-bottom: 0; }
    .elementor-wc-products ul.products li.product .price { grid-area: 3 / 2 / 4 / 3; margin-right: 15px; align-self: center;}


.woocommerce ul.products li.product a img {
    max-height: 240px;
    object-fit: contain;
  /* test */	
  height: 240px
  	object-fit: cover;
}

.woocommerce-loop-product__title {
      height: 2.9em;
      overflow: hidden;
   	  text-overflow: ellipsis;
}

.elementor-wc-products ul.products li.product .button {
	position: relative;
    bottom: 60px;
    right: 33.3%;
    margin-right: 15px;
}

.elementor-wc-products.elementor-products-grid .added_to_cart {
    font-size: 0.9rem;
    font-weight: normal;
    padding: 0;
    position: relative;
    top: -20px;
}

.woocommerce .woocommerce-ordering select {
    background: var(--e-global-color-4af4043);
    border: 0;
    width: 100%;
    font-family: 'discordia';
    font-weight: bold;
    font-size: 0.6em;
}

.woocommerce ul.products li.product span.onsale {
    display: block;
    background-color: var( --e-global-color-f27b2fc );
    font-size: 0.6em;
    font-weight: normal;
    min-width: 4.2em;
    min-height: 4.2em;
    line-height: 4.2em;
    left: auto;
    right: 17px;
    bottom: 10px;
    top: unset;
}

.woocommerce ul.products li.product .woocommerce-placeholder {
    border: unset;
}

@media(max-width:767px) {
    .woocommerce .woocommerce-ordering select {
        font-size: 0.8em;
    }
}

@media(max-width:767px) {
    .woocommerce .woocommerce-ordering {
        width: 100%;
    }
}
/* filter*/

@media(min-width:1401px){
    body:not(.elementor-editor-active) .search-and-filter .elementor-tab-title {display:none;}
    .search-and-filter .elementor-toggle .elementor-tab-content {display:block; padding:0;}
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle, .woocommerce .widget_price_filter .ui-slider .ui-slider-range {
    background-color: var(--e-global-color-primary);
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
    width: 0.8em;
    height: 0.8em;
    top: -0.15em;
}

.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
    background-color: #cbc1b5;
    margin-right: 0;
    margin-left: 0;
}

.widget_layered_nav h5 {
    font-size: 0.7em;
    margin-bottom: 4px;
}
.widget_price_filter h5 {
    font-size: 0.7em;
    margin-bottom: 20px;
}

.select2-container--default .select2-selection--single, .widget_price_filter .price_label, .woocommerce .widget_price_filter .price_slider_amount .button {
    font-size: 0.7em;
}
.select2-container--default .select2-selection--single {
    border-radius: 0!important;
}

.woocommerce .widget_price_filter .price_slider_amount .button {
    float: left;
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-b6371ee);
    border: 1px solid var( --e-global-color-primary );
}
.woocommerce .widget_price_filter .price_slider_amount .button:hover, .woocommerce .widget_price_filter .price_slider_amount .button:focus {
    background-color: #878787;
    border: 1px solid #878787;
}

.widget_price_filter .price_label {
    float: right;
}

.select2-results__option {
    font-size: 0.7em;
}

.select2-container--default .select2-results__option--highlighted[aria-selected], .select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var( --e-global-color-primary )!important;
}

/* Single product */
.woocommerce table.shop_attributes, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td, table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th, .woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
    background-color: unset;
    border-bottom: unset;
    border: unset;
    text-align: right;
    font-style: inherit;
}

.woocommerce div.product p.price del, 
.woocommerce div.product span.price del,
.woocommerce ul.products li.product .price del {
    font-size: 0.8em;
    display: block;
}

.woocommerce .vertical-products ul.products li.product .price del {
    display: inline-block;
}

.woocommerce div.product p.price ins, .woocommerce div.product span.price ins, .woocommerce ul.products li.product .price ins {
    display: inline-block;
    text-decoration: unset;
}

@media (max-width: 1024px) {
    .woocommerce table.shop_attributes, .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td, table tbody > tr:nth-child(odd) > td, table tbody > tr:nth-child(odd) > th, .woocommerce table.shop_attributes tr:nth-child(even) td, .woocommerce table.shop_attributes tr:nth-child(even) th {
        border-bottom: 2px solid var( --e-global-color-primary );
    }
}

@media(min-width:1025px) {
    .woocommerce .shop_attributes tbody {
        display: flex;
        justify-content: center;
    }
    .woocommerce table.shop_attributes th, .woocommerce table.shop_attributes td p {
        padding: 0;
        line-height: 1;
    }

    .woocommerce table.shop_attributes th {
        width: unset;
        padding-left: 10px;
    }

    .woocommerce table.shop_attributes th:after {
        content: ':';
    }

    .woocommerce .woocommerce-product-attributes-item {
        padding-left: 15px;
        padding-right: 15px;
    }
    .woocommerce .woocommerce-product-attributes-item:not(:last-child) {
        border-left: 2px solid var( --e-global-color-primary );
    }
}

/* quantity */
.single-product input.qty::-webkit-outer-spin-button,
.single-product input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.single-product input.qty[type=number] {
  -moz-appearance: textfield;
}
.woocommerce div.product form.cart div.quantity {
    margin: 0;
    display: flex;
    border-style: solid;
    border-color: #000;
    border-width: 2px 0;
}

.single-product div.product form.cart .plus, .single-product div.product form.cart .minus {
    font-size: 1.6em;
    line-height: 1;
    padding: 0 15px;
    color: var( --e-global-color-primary );
    background-color: var( --e-global-color-b6371ee );
    border-color: var( --e-global-color-primary );
}

.single-product div.product form.cart .plus:hover, .single-product div.product form.cart .minus:hover, .single-product div.product form.cart .plus:focus, .single-product div.product form.cart .minus:focus {
    color: var( --e-global-color-b6371ee );
    background-color: var( --e-global-color-primary );
    border-color: var( --e-global-color-primary );
}

.woocommerce div.product.elementor .quantity .qty {
    font-size: 1em;
    width: 2.5em;
    padding: 0;
}

.rtl :is(.elementor-widget-woocommerce-product-add-to-cart,.woocommerce div.product .elementor-widget-woocommerce-product-add-to-cart,.elementor-widget-wc-add-to-cart,.woocommerce div.product .elementor-widget-wc-add-to-cart) form.cart button.plus { margin-right: 0; }

/* add to cart button */
.woocommerce div.product form.cart .single_add_to_cart_button {
    margin-right: 10px;
}

.woocommerce .single_add_to_cart_button + a.added_to_cart {
    width: 100%;
    margin-right: 7.5em;
}

.woocommerce div.product.elementor form.cart:not(.grouped_form):not(.variations_form) {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

/* mini cart */
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle_button:hover,
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle_button:focus{
  border: 0;
}
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product {
    grid-template-columns: 20% auto;
}
  
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image a, .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-image img {
    max-height: 70px;
    width: auto;
}

.elementor-menu-cart__product-name, .elementor-menu-cart__product-price {
    padding-right: 0;
    margin-right: -20px;
}
.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-name {
  align-self: end;
  padding-right: 0;
}

@media (max-width: 767px) {
  .elementor-widget.elementor-widget-woocommerce-menu-cart.elementor-menu-cart--cart-type-mini-cart .elementor-menu-cart__container {
      width: calc(100vw - 40px);
  }
  
  .elementor-widget-woocommerce-menu-cart .elementor-menu-cart__product-remove {
    left: 10px;
	}
}

/* cart page */
.woocommerce table.cart img {
    max-height: 100px;
    object-fit: contain;
}

.elementor-widget-woocommerce-cart .woocommerce input.input-text.qty {
    text-align: center;
}

@media(max-width:767px) {
    .elementor-widget-woocommerce-cart .woocommerce table.cart tr {
        padding: 0;
    }

    .elementor-widget-woocommerce-cart .woocommerce table.shop_table .product-remove a {
        font-size: 2.4em;
    }
    .elementor-widget-woocommerce-cart .woocommerce table.cart td.product-remove {
        padding: 0;
    }
}

/* vertical product */
.vertical-products .woocommerce-loop-product__title {
    transform: rotate(-90deg) translate(206px, -60px);
    transform-origin: bottom right;
  	align-self: self-end;
    text-align: left;
}

.vertical-products ul.products li.product .price {
    transform: rotate(-90deg) translate(205px, 10px);
    transform-origin: bottom right;
  	margin-right: unset;
  align-self: unset;
}
    
.vertical-products ul.products li.product a img { grid-area: 1 / 1 / 5 / 2;  }
.vertical-products.elementor-wc-products ul.products li.product .woocommerce-loop-product__title { grid-area: 1 / 2 / 4 / 3; margin-right: -30px; }
.vertical-products.elementor-wc-products ul.products li.product .price { grid-area: 4 / 2 / 5 / 3; }

.elementor-widget-woocommerce-product-related .woocommerce-Price-amount {
    display: flex;
    justify-content: flex-end;
}
.elementor-widget-woocommerce-product-related .woocommerce-Price-currencySymbol {
    padding-right: 5px;
}

/* woocommerce-message */
.woocommerce-notices-wrapper > *:not(:last-child) {
    margin-bottom: 15px;
}
.woocommerce-message, .woocommerce-info {
    padding-top: 10px;
    padding-bottom: 10px;
    border: solid 3px var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    font-family: 'atlas', sans-serif;
    max-width: 1340px;
    margin: auto;
}

.woocommerce-message::before, .woocommerce-info:before {
    top: 0.5em;
}

.elementor-widget-woocommerce-cart .woocommerce .return-to-shop a {
    background-color: var( --e-global-color-a6052fe );
    border-color: var( --e-global-color-primary );
    color: var( --e-global-color-primary );
    font-family: "atlas", Sans-serif;
    font-size: 0.7em;
    font-weight: bold;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-radius: 0px 0px 0px 0px;
    margin-top: 20px;
}

.woocommerce .woocommerce-message .button.wc-forward {
    border-radius: 0;
    text-align: center;
    font-size: 0.7em;
}

@media(max-width:767px) {
    .woocommerce-message {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        padding-top: 5px;
        padding-bottom: 5px;
    }
}




/* accessibility toolbar */

#pojo-a11y-toolbar.pojo-a11y-toolbar-right {
    top: unset!important;
    bottom: 0;
	  font-family: arial, sans-serif;
		right: -240px;
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-right .pojo-a11y-toolbar-toggle
{
  bottom: 8px;
  background-color: #ddd;
  border-radius: 50% 0 0 50%;
  padding: 6px;
	right: 240px;
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-open .pojo-a11y-toolbar-toggle {
	-webkit-box-shadow: none;
	box-shadow: none;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-toggle a {
    display: inline-block;
    font-size: 150%;
    line-height: 0;
    padding: 8px;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.1);
	border-radius: 50%;
}

body.pojo-a11y-readable-font, body.pojo-a11y-readable-font *:not(i):not(span) {
    font-family: Arial,Helvetica,sans-serif !important;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay ul.pojo-a11y-toolbar-items {
    padding: 0;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay ul.pojo-a11y-toolbar-items li.pojo-a11y-toolbar-item a.pojo-a11y-toolbar-link {
    border-top: 1px solid #ddd;
    text-decoration: none;
	padding: 10px 15px!important;
}


#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay ul.pojo-a11y-toolbar-items li.pojo-a11y-toolbar-item a:not(.active):hover {
    background-color: #eee;
    text-decoration: underline;
}

#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay {
    width: 240px;
}

body.rtl #pojo-a11y-toolbar .pojo-a11y-toolbar-overlay ul.pojo-a11y-toolbar-items li.pojo-a11y-toolbar-item a svg {
padding-left: 12px;
height: 2em;
width: 2.5em;
}

.button:focus-visible, .elementor-button:focus-visible {
    outline: 2px solid #db0303;
    outline-offset: 3px;
}

.elementor-posts--skin-classic .elementor-post.hentry {
    overflow: visible;
}


.single-product .woocommerce-message {
    position: absolute;
    top: -10000em;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}