/*
Theme Name:  Hello Elementor Child
Theme URL:   https://elementor.com
Description: Write here theme description.
Author:      Oded Talmon
Author URL:  https://odedta.com
Template:    hello-elementor
Version:     1.0.0
*/

/* Algolia Autocomplete: layout and visual improvements
-------------------------------------------------- */
.aa-dropdown-menu .aa-suggestion {
	border-bottom: 1px solid #ebebeb;
}

.aa-dropdown-menu .aa-suggestion:last-child {
	border-bottom: 0;
}

.aa-dropdown-menu .suggestion-link {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 10px 16px;
}

.aa-dropdown-menu .suggestion-link--term {
	justify-content: flex-end;
}

.aa-dropdown-menu .suggestion-post-thumbnail {
	width: 64px;
	height: 64px;
	object-fit: contain;
	flex-shrink: 0;
}

.aa-dropdown-menu .suggestion-post-title {
	font-size: 14px;
	font-weight: 600;
	color: #1a1a1a;
}

.aa-dropdown-menu .suggestion-post-content {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.aa-dropdown-menu .suggestion-post-meta {
	display: block;
	margin-top: 4px;
	font-size: 11px;
	color: #999;
}

.aa-dropdown-menu .suggestion-post-sku {
	display: inline-block;
	color: #aaa;
}

.aa-dropdown-menu .suggestion-post-price {
	display: inline-block;
	font-weight: 600;
	color: #888;
}

.aa-dropdown-menu .suggestion-post-price--sale strong {
	color: #c0392b;
}

.aa-dropdown-menu .suggestion-post-price--sale s {
	color: #bbb;
	font-weight: normal;
	margin-right: 4px;
}


/* Theme overrides
-------------------------------------------------- */
.product-search-results .product-search-results-content .search-results .entry .product-info a .price del bdi {
    text-decoration: line-through;
}

.woocommerce ul.products li.product a img {
    width: 100%;
    height: 232px;
    object-fit: contain;
}

.woocommerce ul.products li.product a img.product-brand-image {
    width: 100% !important;
    height: 70px !important;
    margin-bottom: 0;
}

.woocommerce ul.products li.product a {
    text-align: center;
}

.woocommerce ul.products li.product a h2 {
    text-align: center;
    color: #161616;
    font-size: 18px;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title {
    padding: 0 5px 10px 5px;
    font-weight: 700 !important;
    line-height: 1.2;
}

.woocommerce ul.products li.product .woocommerce-loop-category__title .category-count {
    margin-top: 5px;
    font-size: 13px;
    font-weight: 400 !important;
    line-height: 1;
}

.woocommerce ul.products li.product a .category-count {
    display: block;
    color: #161616;
    font-size: 14px;
}

.elementor-products-grid ul.products.elementor-grid li.product {
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .19), 0 6px 6px rgba(0, 0, 0, .22);
}

.elementor-products-grid ul.products.elementor-grid li.product a.button:hover,
.elementor-products-grid ul.products.elementor-grid li.product a.button {
    margin: 10px 0 20px 0;
    padding: 8px 20px;
    border: 0;
    background-color: #dd3333;
    color: white;
    font-size: 14px;
}

.elementor-products-grid ul.products.elementor-grid li.product .loop-product-sku-wrapper {
    padding: 5px;
    background-color: #dd3333;
    color: white;
    font-size: 13px;
    text-align: center;
}

.elementor-products-grid ul.products.elementor-grid li.product .woocommerce-loop-product__title {
    min-height: 70px;
    margin-bottom: 10px;
    padding: 20px 20px 0 20px;
}

.elementor-products-grid ul.products.elementor-grid li.product .price {
    line-height: 1.2 !important;
}

.price_before_vat {
    color: #575050;
    font-size: 14px;
}

.swiper .price_before_vat,
.product-search-results-content .price_before_vat {
    display: block;
}

.single-product .price_before_vat + .percentage-discount {
    color: #575050;
    font-size: 13px;
}

.single-product .elementor-headline-dynamic-text .price-data {
    position: relative;
    top: -15px;
}

.elementor-headline-dynamic-wrapper.elementor-headline-text-wrapper {
    top: 15px;
}

.elementor-products-grid ul.products.elementor-grid li.product .price .price_before_vat {
    display: block;
    color: #575050;
    font-size: 13px;
}

.woocommerce nav.woocommerce-pagination ul {
    margin: 5px 0;
    border: 0;
    font-size: .85em;
}

.woocommerce div.product form.cart .button {
    padding: 10px 30px 10px 30px;
    border-radius: 20px;
    background-color: #dd3333;
    color: white;
    transition: all 0.2s;
}

.woocommerce nav.woocommerce-pagination ul li {
    display: inline-block;
    margin: 0 2px;
    border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
    border-color: #dd3333;
    background-color: #dd3333;
    color: white;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
    border: 2px solid;
    border-radius: 99px;
    display: block;
    font-size: 1.1em;
    font-weight: bolder;
    height: 2.25em;
    line-height: 2em;
    min-width: 2.25em;
    padding: 0 7px;
    text-align: center;
    transition: all .3s;
    vertical-align: top;
    width: auto;
}

#toggle-header-search {
    cursor: pointer;
}

#header-search-wrapper {
    display: none;
}

.elementor-widget-woocommerce-menu-cart .elementor-menu-cart__toggle .elementor-button-icon {
    display: inline-flex;
}

.widget_woocommerce_product_search_filter_attribute_widget h2.widgettitle {
    font-size: 18px;
}

.footer-customers-swiper .elementor-swiper-button {
    padding: 10px;
    background-color: #e7e7e7;
}

.atts-icons img {
    max-width: 60px;
}

#product-search-form-1 input[type="text"] {
    direction: rtl;
    border: 1px solid #dddddd;
    border-radius: 50px;
    background-color: #ffffff;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    text-align: justify;
    transition: color .3s, border .3s, background .3s, opacity .3s;
}

#product-search-form-1 input[type="text"]:hover {
    box-shadow: inset 0 -1.8em 1em 0 transparent;
}

.product-search-results table.search-results tr:nth-child(n) td {
    text-align: right;
}

.product-search-results .search-results .entry a.button {
    display: inline-block;
    margin-top: 5px;
    padding: 2px 8px;
    background-color: #dd3333;
    color: white;
    font-size: 16px;
}

.product-search-results table.search-results tr td.product-info > a:first-child {
    color: inherit;
}

.on-sale-product-carousel h3 {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
}

.search-results-grid .elementor-post__text .elementor-post__title,
.news-carousel .elementor-widget-theme-post-content .elementor-widget-container,
.elementor-products-grid ul.products.elementor-grid li.product .woocommerce-loop-product__title {
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
}

.news-item-category {
    display: inline;
    opacity: 0.7;
    padding: 2px 5px 3px 5px;
    border-radius: 2px;
    background-color: #00000066;
    color: white;
    font-size: 11px;
    font-weight: 700;
    transition: background-color .3s, opacity .3s;
}

.news-item-category:hover {
    opacity: 1;
    background-color: #d26e4b;
}

.news-item-content p {
    color: #161616;
    font-size: 17px;
    font-weight: 400;
    line-height: 25px;
    text-align: center;
}

.on-sale-item-category,
.on-sale-item-category a {
    color: #161616b3;
    font-size: 10px;
    font-weight: 400;
    line-height: 12px;
    letter-spacing: -0.23px;
    text-align: center;
}

.zbm-call-btn {
    overflow: hidden;
    transition-duration: 0.3s;
    transition-property: transform;
}

.zbm-call-btn:hover {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
}

.home .product-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 30px;
}

.home .product-categories a {
    display: block;
    text-align: center;
}

.home .product-categories img {
    margin-bottom: 15px;
    width: 100%;
    height: 232px;
    object-fit: cover;
    border-radius: 15px;
}

.home .product-categories p {
    margin-bottom: 5px;
    color: #555555;
    font-family: "Work Sans", Sans-serif;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.23px;
}

.home .product-categories p.category-count {
    margin-bottom: 0;
    color: #111111;
    font-family: "Work Sans", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.23px;
}

.product-archive-sidebar .elementor-widget-sidebar .widget:not(:last-child) {
    margin-bottom: 20px;
}

#clear-cart {
    display: block !important;
    border: none !important;
    background-color: transparent !important;
    text-align: center !important;
    text-decoration: underline !important;
    cursor: pointer !important;
}

#product-archive-banner:not(:empty) .elementor-shortcode img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
}

.rtl .woocommerce .col2-set .col-2,
.rtl .woocommerce-page .col2-set .col-2,
.rtl .woocommerce .col2-set .col-1,
.rtl .woocommerce-page .col2-set .col-1 {
    float: none;
    width: 100%;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 0;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    color: #333333;
    font-size: .97em;
    height: 3.0084em;
    max-width: 100%;
    padding: 25px 10px 15px 10px;
    transition: color .3s, border .3s, background .3s, opacity .3s;
    vertical-align: middle;
    width: 100%;
}

.woocommerce form .form-row textarea {
    height: auto;
}

.woocommerce-checkout * {
    font-size: 16px;
}

.woocommerce-checkout h3 {
    margin: 10px 0 5px 0;
    font-size: 24px;
    line-height: 1.2;
}

.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order {
    border-radius: 0;
    background-color: #dd3333;
}

.woocommerce-cart form .form-row,
.woocommerce-checkout form .form-row {
    position: relative;
}

.woocommerce-cart form .form-row label,
.woocommerce-checkout form .form-row label {
    line-height: 2;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    opacity: 0;
    position: absolute;
    right: 1.1em;
    top: 0.5em;
    transition: all .3s;
    white-space: nowrap;
    opacity: .8;
    z-index: 1;
}

.single-product form.cart {
    flex-wrap: wrap !important;
}

.single-product form.cart .wc-pao-addons-container {
    width: 100%;
}

.select2-container {
    box-sizing: border-box;
    display: inline-block;
    margin: 0;
    position: relative;
    vertical-align: middle;
}

.select-resize-ghost,
.select2-container .select2-choice,
.select2-container .select2-selection,
.woocommerce form .form-row select {
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #ffffff;
    background-position: left 0.45em top 50%;
    background-repeat: no-repeat;
    background-size: auto 16px;
    border-radius: 0;
    box-shadow: inset 0 -1.4em 1em 0 rgba(0, 0, 0, .02);
    display: flex;
    align-items: center;
    height: 3.0084em;
    padding-left: 1.4em;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 6px;
}

.select2-container[dir=rtl] .select2-selection--single .select2-selection__rendered {
    padding: 25px 10px 15px 10px;
}

div.quantity {
    display: flex !important;
    justify-content: center;
    align-items: center;
}

.elementor-menu-cart__product-price div.quantity {
    justify-content: flex-start;
}

.quantity button.minus,
.quantity button.minus:active,
.quantity button.minus:hover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid #dddddd !important;
    outline: none !important;
    background-color: #00000008 !important;
    color: #666666 !important;
    font-size: 26px !important;
    line-height: 0;
}

.quantity button.plus,
.quantity button.plus:active,
.quantity button.plus:hover {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 25px;
    height: 25px;
    margin: 0 !important;
    padding: 5px !important;
    border: 1px solid #dddddd !important;
    outline: none !important;
    background-color: #00000008 !important;
    color: #666666 !important;
    font-size: 26px !important;
    line-height: 0;
}

.quantity button:hover {
    background-color: rgba(0, 0, 0, 0.03) !important;
}

.quantity .qty {
    width: 50px !important;
    height: 25px !important;
    padding: 0px;
    border: 1px solid #eeeeee;
    background-color: rgba(255, 255, 255, 0.08);
    color: #000000;
    text-align: center;
    transition: all 0.2s;
    -webkit-appearance: textfield;
    -moz-appearance: none;
    appearance: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: #161616;
}

.elementor-posts .elementor-post__thumbnail {

}

.elementor-menu-cart__product.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

.elementor-widget-search .elementor-widget-woocommerce-product-price p.price {
    margin: 0;
    font-weight: 600;
}

.elementor-widget-search input[type="search"] {
    border-radius: 50px !important;
}

.elementor-widget-search .elementor-widget-woocommerce-product-price .price-data {
    color: #161616;
    font-size: 13px;
    font-weight: 300;
}

.woocommerce-page div.product div.bundled_product_images figure a img {
    width: 100%;
    height: 100px;
    object-fit: contain;
}

.elementor-add-to-cart.elementor-product-bundle .joinchat__woo-btn__wrapper {
    margin-bottom: 30px;
}

.woocommerce div.product p.price, .woocommerce div.product span.price {
    font-size: inherit;
}

.product-search-filter-reset-heading {
    margin: 35px 0 10px 0;
}

#tt #tt-btn-close,
#amp-tt #tt-btn-close {
    left: 25px;
    right: auto !important;
}

#tt #tt-btn-close::before {
    content: "\f00d";
    font-family: "Font Awesome 5 Free", serif;
    font-weight: 900;
}

.div-table,
.responsive-table {
    position: relative;
    overflow-x: auto;
    width: 100%;
}

.div-table table,
.responsive-table table {
    direction: rtl;
}

.iframe-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.product-search-filter-terms .product-search-filter-attribute .term-thumbnail {
    max-width: 60px !important;
}

.product-search-product_cat-filter-item.current-cat > a::after,
.product-search-attribute-filter-item.current-attribute > a::after {
    content: "\f057" !important;
}

.product-search-filter-reset-clear.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
}

.gallery {
    display: grid;
    grid-gap: 20px;
}

.gallery.gallery-columns-1 {
    grid-template-columns: 1fr;
}

.gallery.gallery-columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.gallery.gallery-columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.gallery.gallery-columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.gallery .gallery-item {
    text-align: center;
}

.grid-list-view-btns-wrapper {
    display: flex;
}

.grid-list-view-btns-wrapper i {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    background-color: #eeeeee;
    cursor: pointer;
}

.grid-list-view-btns-wrapper i.active {
    color: #dd3333;
}

.grid-list-view-btns-wrapper i:first-child {
    margin-left: 7px;
}

.elementor-products-grid .woocommerce.list ul.products.elementor-grid {
    grid-template-columns: 1fr;
}

.elementor-products-grid .woocommerce.list ul.products.elementor-grid li:not(.product-category) {
    display: grid;
    grid-template-columns: 50% 50%;
    row-gap: 10px;
}

.elementor-products-grid .woocommerce.list ul.products.elementor-grid li:not(.product-category) .loop-product-sku-wrapper {
    grid-row: 1;
    grid-column: 1 / 3;
}

.elementor-products-grid .woocommerce.list ul.products.elementor-grid li:not(.product-category).product-data-wrapper {
    grid-row: 2;
    grid-column: 1 / 2;
}

.elementor-products-grid .woocommerce.list ul.products.elementor-grid li:not(.product-category) .loop-item-short-description {
    grid-row: 2;
    grid-column: 2 / 3;
}

.elementor-products-grid .woocommerce.list ul.products.elementor-grid li:not(.product-category) .loop-item-add-to-cart {
    grid-row: 3;
    grid-column: 1 / 3;
}

.wpc-term-item-content-wrapper .wpc-term-count {
    margin-right: 5px;
}

.wpc-term-item-content-wrapper .wpc-term-count-brackets-open,
.wpc-term-item-content-wrapper .wpc-term-count-brackets-close {
    display: inline-block;
}

.woocommerce table.shop_table {
    border: none;
}

.woocommerce table.shop_table td,
.woocommerce table.shop_table th {
    display: table-cell;
    padding: 10px;
    border: 1px solid #dddddd;
    background-color: transparent;
    color: black;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
    width: auto !important;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
#add_payment_method .wc-proceed-to-checkout a.checkout-button:focus,
#add_payment_method .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:focus,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce .cart .button, .woocommerce .cart input.button {
    padding: 10px 20px;
    border-radius: 0;
    background-color: #dd3333;
    color: white;
    font-size: 16px;
    font-weight: 600;
}

#add_payment_method .wc-proceed-to-checkout a.checkout-button,
#add_payment_method .wc-proceed-to-checkout a.checkout-button:hover,
#add_payment_method .wc-proceed-to-checkout a.checkout-button:focus,
#add_payment_method .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:focus,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:active,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:focus,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button:active {
    padding: 20px 30px;
}

#order_comments {
    padding-top: 20px;
}

#billing_phone {
    direction: ltr;
    text-align: right;
}

.shop-sidebar {
    overflow: hidden;
}

.cost-calculator {
    display: block;
}

.product-sku {
    display: inline-block;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
    background-color: #dd3333;
    color: white;
    font-size: 14px;
}

ul.product-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
}

ul.product-attributes li {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border: 1px solid #dddddd;
}

ul.product-attributes li a {
    color: inherit;
}

ul.product-attributes li img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

/* Ensure the wrapper handles the glossary <p> tags correctly */
.attr-combined-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-top: 15px;
}

/* Remove default paragraph margins inside the attribute cell so they don't push text down */
.attr-combined-wrap p {
    margin: 0 !important;
    padding: 0 !important;
    display: inline; /* Keep it on the same line as the image */
}

.attr-term-img {
    border-radius: 3px;
    flex-shrink: 0; /* Prevent the image from squishing */
}

.product-search-filter-terms .product-search-filter-attribute {
    display: none !important;
    max-height: 350px;
    overflow-y: auto;
}

.product-search-filter-terms .product-search-filter-attribute.active {
    display: block !important;
}

.product-search-filter-terms-heading {
    cursor: pointer;
}

.product-search-filter-terms-heading::after {
    content: "+";
    float: left;
}

.product-search-filter-terms-heading.active::after {
    content: "-";
}

.wpc-filters-main-wrap li.wpc-term-item label {
    align-items: center;
}

.wpc-filters-main-wrap li.wpc-term-item label img {
    max-width: 35px !important;
    margin: 0 5px 0 10px;
}

.mini-cart-price-plus-delivery {
    text-align: center;
}

.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    height: 100%;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -webkit-transition: all 0.3s;
    animation: popupIn 0.3s;
}

.popup.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-wrapper {
    position: relative;
    width: 100%;
    max-width: 600px;
    background-color: #ffffff;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.popup-content {
    padding: 30px;
}

.popup-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #a43234;
    color: white;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.popup-close:hover {
    background-color: #dd3333;
}

.form-control {
    display: block;
    width: 100%;
    height: 40px;
    padding: 0 10px;
    border: 1px solid #dddddd;
    border-radius: 5px;
    background-color: #ffffff;
    color: black;
    font-size: 16px;
}

.form-group {
    position: relative;
    margin-bottom: 5px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

form input,
form select,
form textarea {
    direction: rtl;
    text-align: right;
}

form input[type="tel"],
form select,
form textarea {
    direction: ltr;
    text-align: right;
}

form button[type="submit"] {
    margin-top: 10px;
}

body .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    background-color: #a43234;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.btn:hover,
.btn:focus,
.btn:active {
    background-color: #dd3333;
}

.btn-primary {
    background-color: #a43234;
}

body .btn i {
    margin-left: 10px;
}

#generate-quote .select2 .select2-selection {
    height: auto;
    min-height: 40px;
    padding: 0 15px;
    border: 1px solid black;
    box-shadow: none;
}

#generate-quote .select2 .select2-search__field {
    margin: 0;
    line-height: 1;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop-table th:first-child {
    width: 20%;
}

.woocommerce-cart .cart-collaterals .cart_totals table.shop-table td:first-child {
    width: 80%;
}

.woocommerce-checkout .elementor-widget-search {
    display: none;
}

.wpc-filter-collapsible .wpc-filter-title .wpc-open-icon,
.wpc-filter-collapsible-reverse.wpc-filter-collapsible.wpc-closed .wpc-filter-title .wpc-open-icon,
.wpc-filter-collapsible.wpc-closed .wpc-filter-title .wpc-open-icon,
.wpc-filter-has-selected.wpc-closed .wpc-filter-title .wpc-open-icon {
    right: -5px !important;
}


@keyframes popupIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@media (max-width: 1600px) {
    .woocommerce ul.products li.product a img {
        height: 165px;
    }
}

@media (max-width: 1400px) {
    .woocommerce ul.products li.product a img {
        height: 150px;
    }
}

@media (max-width: 1280px) {
    body .elementor-widget-wc-archive-products .woocommerce.columns-4 ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    body .elementor-widget-wc-archive-products .woocommerce.columns-4 ul.products {
        grid-template-columns: repeat(2, 1fr);
    }

    .home .product-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .home .product-categories img,
    .product-categories img {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .gallery.gallery-columns-2,
    .gallery.gallery-columns-3,
    .gallery.gallery-columns-4 {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        display: none;
    }

    #wbs-table td::before {
        float: right;
    }

    #wbs-table tbody td.product-thumbnail a {
        display: block;
    }

    .woocommerce table.shop_table_responsive tr td,
    .woocommerce-page table.shop_table_responsive tr td {
        direction: rtl;
        text-align: right;
    }

    .elementor-add-to-cart.elementor-product-bundle .small_width.bundle_form div.bundled_product_summary .bundled_product_images,
    .elementor-add-to-cart.elementor-product-bundle .small_width.composite_form .bundle_form div.bundled_product_summary .bundled_product_images {
        float: none !important;
        max-width: 100% !important;
        padding: 0 10px !important;
    }

    div.bundled_product_summary,
    .woocommerce div.product.bundled_product_summary {
        display: grid;
        grid-template-columns: 25% 75%;
        grid-gap: 0;
        padding-bottom: 20px !important;
        margin-bottom: 20px !important;
    }

    .bundled_product_summary .details {
        padding: 0 10px !important;
    }

    form div.bundled_product_summary::before {
        display: none;
    }

    h4.bundled_product_title.product_title {
        font-size: 15px;
    }

    .woocommerce-page div.product div.bundled_product_images figure a img {
        width: 100%;
        height: 100px;
        object-fit: contain;
    }

    .footer-text .elementor-headline span {
        display: block;
        text-align: center;
    }

    .footer-text .elementor-headline span:nth-of-type(2) {
        display: inline-block;
        margin-bottom: 10px;
    }

    .elementor-products-grid.elementor-widget-wc-archive-products ul.products.elementor-grid.columns-3 {
        grid-template-columns: 1fr !important;
    }

    .responsive-table {
        position: relative;
        overflow: auto;
    }
}

/* ==========================================================================
   SEARCH RESULTS PAGE REDESIGN
   ========================================================================== */

/* 1. Hide sidebar on search results page */
body.search-results [role="complementary"],
body.search [role="complementary"],
body.search-results main + aside,
body.search main + aside {
    display: none !important;
}

/* Make main content full width when sidebar is hidden */
body.search-results main,
body.search main {
    width: 100% !important;
    max-width: 100% !important;
    flex: 1 1 100% !important;
}

/* 2. Smaller product images in search results (20% of original ~150px) */
body.search-results article img,
body.search article img {
    max-width: 150px !important;
    width: 150px !important;
    height: auto !important;
    object-fit: contain;
}

/* 3. Truncate search result descriptions to 3 lines */
body.search-results article p,
body.search article p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.5em;
}

/* 4. Pagination styling - both top and bottom using Algolia class */
.ais-Pagination-list {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-wrap: wrap;
    gap: 8px !important;
    margin: 30px auto !important;
    padding: 0 !important;
    list-style: none !important;
}

.ais-Pagination-item {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ais-Pagination-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-width: 45px !important;
    height: 45px !important;
    padding: 10px 15px !important;
    border: 2px solid #dd3333 !important;
    border-radius: 50% !important;
    background-color: white !important;
    color: #dd3333 !important;
    font-size: 18px !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.ais-Pagination-link:hover {
    background-color: #dd3333 !important;
    color: white !important;
}

/* Current/active page styling */
.ais-Pagination-item--selected .ais-Pagination-link {
    background-color: #dd3333 !important;
    color: white !important;
}

/* Disabled items (first/previous on page 1) */
.ais-Pagination-item--disabled .ais-Pagination-link {
    opacity: 0.5;
    cursor: not-allowed;
}