.ult-cat-filters-sec .wd-carousel-item{
    max-width: 115px !important;
    width: 115px !important;
}
.ult-cat-filters-carousel .wd-carousel-item{
    max-width: fit-content !important;
    width: fit-content !important;
    padding: 0 !important;
}
.ult-cat-filters-carousel  .wd-carousel-wrap{
    gap: 13px !important;
}
.ult-cat-filters-carousel .elementor-icon-box-title{
    white-space: nowrap;
}
.ult-cat-filters-carousel .ult-filters-cat-box:hover .elementor-icon {
    background-color: #E5F9EF !important;
    fill: #2C8766 !important;
    color: #2C8766 !important;
}
.ult-cat-filters-carousel .ult-filters-cat-box{
    height: 100px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}
.ult-sec-bg-net{
    background-image:
            linear-gradient(#e5e0e175 1px, transparent 1px),
            linear-gradient(90deg, #e5e0e175 1px, transparent 1px);
    background-size: 32px 32px;
 }
.ult-shop-search{
    width: 100%;
}
.ult-shop-search input{
    border-radius: 100px;
    height: 46px;
    padding: 8px 35px !important;
    border-color: #E5E0E1 !important;
    background-color: #fdfdfd;
}
.ult-shop-search .wpc-search-icon{
    left: auto;
    right: 12px;
    color: #616b70 !important;
}
.ult-shop-search input:focus{
    border-color: #2c8766 !important;
}
.ult-shop-side-filters ul li>div{
    padding: 0 !important;
}
.ult-shop-side-filters input{
    margin-right: 0 !important;
}
.ult-shop-side-filters ul{
    height: 245px;
    overflow-y: scroll;
}
.ult-shop-side-filters .wpc-filters-section{
    border-top: 1px solid #e5e0e1;
    padding-top: 20px;
    margin-bottom: 20px;
}
.ult-shop-top-filter-active,
.ult-shop-top-filter-active:hover{
    background-color: #e5f9ef !important;
    border-color: #2C876670 ;
}
.ult-shop-top-filter-active .elementor-icon{
    background-color: #2c8766 !important;
}
.ult-cat-filters-carousel .ult-filters-cat-box.ult-shop-top-filter-active:hover .elementor-icon {
    background-color: #2c8766 !important;
}
.ult-shop-top-filter-active  svg,
.ult-shop-top-filter-active:hover svg{
    stroke: #FDFDFD !important;
}

/* start product-popup */
.ult-product-hidden-popup-content {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8); /* Dark overlay */
}
.ult-product-hidden-popup-content .modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 0;
    width: 80%;
    max-width: 768px;
    position: relative;
    border-radius: 10px;
}
.ult-product-hidden-popup-content .close-btn {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}
#ult-product-global-popup-overlay {
    position: fixed;
    z-index: 999999; /* Higher than everything */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #75797bde;
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ult-shop-product-global-modal-content {
    background: #fff;
    padding: 0;
    width: 90%;
    max-width: 768px;
    border-radius: 26px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.ult-shop-product-global-modal-content::-webkit-scrollbar {
    display: none !important; /* Equivalent to .container::-webkit-scrollbar */
}

.ult-product-global-close-btn {
    position: sticky;
    z-index: 10;
    right: calc(100% - 60px);
    top: 16px;
    font-size: 22px;
    font-weight: 400;
    cursor: pointer;
    color: #282f33;
    background-color: #fdfdfd;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}
/* Force the body to stop scrolling */
/* This class will be toggled by JS */
.ult-scroll-locked {
    overflow: hidden !important;
    position: relative !important;
    height: 100% !important;
    width: 100% !important;
}
/* end product popup */
/* Base styling for both states */
.ult-stock-status {
    font-size: 14px;
}

/* Specific color for 'In stock' */
.ult-stock-status.ult-in-stock {
    color: #616b70;
}

/* Specific color for 'Out of stock' */
.ult-stock-status.ult-out-of-stock {
    color: #cc0000;
}
/* overlay when run ajax on Shop Products Loop Grid */
/* 1. Create the loading overlay */
.ult-shop-products-loop-grid.e-loading-overlay::before {
    content: "";
    position: absolute;
    z-index: 10;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    /* 2. Create the Spinner */
    width: 40px;
    height: 40px;
    border: 4px solid rgba(49, 130, 101, 0.2); /* Light green */
    border-top: 4px solid #318265; /* Darker green - match your cart icon */
    border-radius: 50%;

    /* 3. Animation */
    animation: spin 1s linear infinite;
}

/* 4. Make the content fade while loading */
.ult-shop-products-loop-grid.e-loading-overlay {
    opacity: 0.5;
    position: relative; /* Needed for the absolute spinner */
    min-height: 300px;  /* Prevents the layout from collapsing */
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
/* START - Style Pagination in Shop Products Loop Grid -  */
.ult-shop-products-loop-grid .elementor-pagination .page-numbers{
    padding: 12px;
    border: 1px solid #e5e0e1;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: inline-block;
    justify-content: center;
    vertical-align: middle;
    line-height: 11px;
}
.ult-shop-products-loop-grid .elementor-pagination .page-numbers:hover{
    border-color: #2c8766;
    background-color: #fdfdfd;
}
.ult-shop-products-loop-grid .elementor-pagination .page-numbers.current{
    background-color: #2c8766;
}
.ult-shop-products-loop-grid .elementor-pagination span.page-numbers.prev,
.ult-shop-products-loop-grid .elementor-pagination span.page-numbers.next{
    opacity: 0.4;
}
/* END - Style Pagination in Shop Products Loop Grid -  */
.ult-shop-product-card-price .amount{
    color: #2c8766 !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    line-height: 1.5em
}
.ult-shop-product-card-price .woocommerce-Price-currencySymbol{
    font-size: 16px !important;
    color: #616b70 !important;
    line-height: 1.3em
}
.ult-shop-product-popup-price .amount{
    color: #2c8766 !important;
    font-weight: 800 !important;
    font-size: 30px !important;
    line-height: 36px
}
.ult-shop-product-popup-price .woocommerce-Price-currencySymbol{
    font-size: 14px !important;
    color: #616b70 !important;
    line-height: 20px
}
.ult-shop-product-card-cart-btn .wd-action-text, .ult-shop-product-card-cart-btn  .added_to_cart{
    display: none !important;
}
.ult-shop-product-card-cart-btn .wd-check-icon{
    content: "";
    display: inline-block;
    width: 16px;
    height: 16px;
    /* This matches the minimalist cart style in your image */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><circle cx="9" cy="21" r="1"></circle><circle cx="20" cy="21" r="1"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    vertical-align: middle;
    margin-left: -1px ;
}
.ult-shop-product-card-cart-btn  a{
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px;
    padding: 0;
    box-shadow: 0px 0px 20px 0px rgba(49, 130, 101, 0.4);
}
.ult-shop-product-card-cart-btn{
    margin-right: auto !important;
}

.ult-shop-product-card:hover{
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
    transform: translate(0, -2px);
}
.ult-shop-product-card:hover .ult-shop-product-card-img-container::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(33, 37, 41, 0.30);
    transition: background 0.3s ease;
    z-index: 1;
}
.ult-shop-product-card .ult-shop-product-card-quick-view-btn {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}
.ult-shop-product-card:hover .ult-shop-product-card-quick-view-btn {
    opacity: 1;
    visibility: visible;
}
.ult-shop-product-card-quick-view-btn{
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) !important;
}
.ult-shop-product-card:hover .ult-shop-product-card-title a,
.ult-shop-product-card-title a:hover{
    text-decoration: underline;
    color: #2C8766 !important;
}
.ult-shop-product-popup-cart .quantity{
    flex-wrap: nowrap;
    display: flex;
    width: 122px;
    max-width: 122px;
    border: 1px solid #e5e0e1;
    border-radius: 100px;
    padding-block: 6px;
    padding-inline: 8px;
}
.ult-shop-product-popup-cart .quantity input{
    background: transparent;
    color: #192125;
    font-size: 14px;
    width: 32px;
    min-width: 32px;
    height: 32px !important;
    min-height: 32px;
}
.ult-shop-product-popup-cart .quantity input[type=number]{
    border: none;
}

.ult-shop-product-popup-cart .quantity  input[type=number]::-webkit-outer-spin-button,
.ult-shop-product-popup-cart .quantity  input[type=number]::-webkit-inner-spin-button {
    display: none;
}
.ult-shop-product-popup-cart .quantity input[type=button]{
    border-radius: 50%;
    padding: 0;
}
.ult-shop-product-popup-cart .quantity input[type=button]:hover{
    background-color: #e5e0e1;
}
.ult-shop-product-popup-cart button[type=submit]{
    background-color: #2c8766;
    border-radius: 100px;
    padding-block: 12px;
    padding-inline: 20px;
    width: 188px;
}
.ult-shop-product-popup-cart button[type=submit]:hover{
    background-color: #378d6e;
}
.cart-widget-side{
    z-index: 999999;
}

/****************************test********************************/
/* Container for the fields */
.ult-shop-product-global-modal-content .ult-custom-fields-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two equal columns */
    gap: 10px; /* Space between the boxes */
    direction: rtl; /* Ensures right-to-left alignment */
    padding: 10px 0;
}

/* The individual field box */
.ult-shop-product-global-modal-content .ult-field-row {
    background-color: #f2f0f1; /* Light gray background from image */
    padding: 8px 12px;
    border-radius: 15px; /* Smooth rounded corners */
    display: flex;
    flex-direction: column; /* Stack label and value */
    align-items: flex-start; /* Align text to the start of the box (right side in RTL) */
    justify-content: center;
}

/* The Label (e.g., القطر) */
.ult-shop-product-global-modal-content .ult-field-label {
    font-family: "Inter", Sans-serif;
    font-size: 10px;
    color: #616B70;
    font-weight: 600;
}

/* The Value (e.g., 25 مم) */
.ult-shop-product-global-modal-content .ult-field-value-box {
    font-family: "Inter", Sans-serif;
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    color: #242424;
}
.ult-shop-product-popup-cart .bundle_button{
    display: flex;
    justify-content: center;
    align-items: center;
}
.ult-shop-product-popup-cart .bundled_item_wrap .quantity.quantity_hidden{
    border: none;
}
.ult-shop-product-popup-cart .bundled_product{
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.ult-shop-side-filters .wpc-filter-_price .wpc-filters-range-inputs .ui-slider-horizontal{
    height: 10px;
    border-radius: 100px;
    background: #efefef;
    border: 1px solid #e5e0e1;
}
.ult-shop-side-filters .wpc-filters-range-inputs .ui-slider-horizontal .ui-slider-range{
    background-color: #2c8766;
}
.ult-shop-side-filters .wpc-filters-range-inputs .ui-slider .ui-slider-handle{
    background-color: #2c8766 !important;
    border: none !important;
    top: -4px;
    width: 15px;
    height: 15px;
}

.ult_products_count{
    color: #192125;
    font-weight: 700;
    font-family: "Inter", Sans-serif;
}
.ult-width-fit-content,
.ult-width-fit-content .elementor-shortcode{
    width: fit-content !important;
    max-width: fit-content !important;
}
.ult-shop-products-sorting select{
    border-radius: 100px;
    border: 1px solid #E5E0E1 !important;
    background-color: #fdfdfd;
    height: 46px;
    min-width: 140px;
    color: #282f33;
    font-weight: 700;
    font-family: "Inter", Sans-serif;
    font-size: 12px;
}
.ult-shop-products-sorting select:focus{
    border-color: #2c8766 !important;
}

