.elementor-27675 .elementor-element.elementor-element-68d2dfd{--display:flex;--min-height:0px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-27675 .elementor-element.elementor-element-68d2dfd.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-27675 .elementor-element.elementor-element-756f33e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}@media(max-width:1024px){.elementor-27675 .elementor-element.elementor-element-68d2dfd{--margin-top:-40px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}}@media(min-width:769px){.elementor-27675 .elementor-element.elementor-element-68d2dfd{--content-width:1500px;}}/* Start custom CSS for html, class: .elementor-element-1eafa97 *//* Composite Container Layout */
.containercomposite {
    display: flex;
    max-width: 1500px;
    gap: 20px;
}

/* Left Side: Category Container */
.category-container {
    display: flex;
    flex-direction: column;

    width: 1000px;
    gap: 15px;
    padding: 20px;
    background-color: #FAFAFA;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-container h4 {
    font-family: 'Lexend Deca', Arial, Helvetica, sans-serif;
    font-size: 1.7em;
    margin-top: 15px;
    color: #030F0E;
    font-weight: bold;
    margin-bottom: 15px;
}
/* Loading Overlay */
.loading-overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7); /* White semi-transparent background */
    z-index: 389; /* Ensure it's above all other elements */
    justify-content: center;
    align-items: center;
}

.loading-gif {
    width: 500px; /* Adjust size as needed */
    height: auto;
}

.attribute-grid {
    display: flex;
    flex-direction: column; /* Stack items vertically */
    gap: 5px; /* Small spacing between rows */
    background-color: #f9f9f9; /* Light background for the container */
    padding: 4px; /* Padding around the content */
    border-radius: 4px; /* Rounded corners */
    border: 1px solid #ddd; /* Subtle border */
    max-height: 240px; /* Limit height to avoid overflow */
    overflow-y: scroll; /* Always show vertical scrollbar to prevent width shifting */
    width: 100%; /* Ensure grid width doesn't expand */
    box-sizing: border-box; /* Include padding and borders in width */
    font-size: 11.5px; /* Compact font size for better fit */
    min-width: 250px; /* Add a minimum width to stabilize layout */
}

.attribute-grid-item {
    display: flex; /* Side-by-side layout */
    justify-content: space-between; /* Space between name and value */
    align-items: center; /* Vertically center content */
    padding: 5px; /* Padding inside each row */
    border-bottom: 1px solid #eee; /* Light separator between rows */
    flex-shrink: 0; /* Prevent shrinking */
    word-wrap: break-word; /* Break long words */
}

.attribute-grid-item:last-child {
    border-bottom: none; /* Remove border for the last row */
}

.attribute-name {
    font-weight: bold; /* Highlight attribute name */
    color: #03624C; /* Main green color */
    text-align: left; /* Align name to the left */
    word-wrap: break-word; /* Break long words */
    flex: 2.9; /* Name takes 1 part of space */
    
    
   
}

.attribute-value {
    color: #666; /* Grey color for contrast */
    font-weight: bold; /* Highlight attribute value */
    text-align: right; /* Align value to the right */
    word-wrap: break-word; /* Break long values if needed */
    flex: 2.5; /* Value takes 2 parts of space */
    padding-left: 10px; /* Add space between name and value */



}




/* Individual Category Item Styling */
.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background-color: #EBEBEB;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    font-family: 'Lexend Deca', Arial, Helvetica, sans-serif;
    color: #242424;
    transition: background-color 0.3s;
    max-height: 75px;
    
}

.category-item img {
   height: 50px;
   width: 50px;

}

.category-item:hover {
    background-color: #d5d5d5;
}

.plus-button {
    background: #03624C;
    color: #ffffff;
    padding: 2px 15px;
    border-radius: 100%;
    font-size: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: ease 0.3s;
}

.plus-button:hover {
    background: #030F0E;
    color: #00A851;
}

#preview-image {
    width: 250px;
    height: 250px;
    transition: opacity 0.3s ease; /* Add this for smooth transitions */
    opacity: 1; /* Ensure image is visible initially */
}

/* Selected Products Display Styling */
.selected-products {
    padding: 10px;
    display: none;
    background-color: #ffffff;
    border-left: 4px solid #03624C;
    margin-top: -5px;
    margin-left: 10px;
    margin-right: 15px;
    border-radius: 6px;
    display: none;
    box-shadow: 0 5px 3px rgba(0, 0, 0, 0.052);

}

/* Individual Selected Product Styling */
.category-product {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px solid #ddd;
    
}

.category-product img {
    width: 55px;
    margin-right: 30px;
}

/* For Selected Products Section Titles */
.category-product .product-title {
    text-overflow: ellipsis; /* Add "..." for overflowing text */
    max-width: 60%; /* Adjust to fit your design */
}
/* For Modal Product List Titles */
.product-item .product-title {
    text-overflow: ellipsis; /* Add "..." for overflowing text */
    max-width: 70%; /* Adjust to leave space for price or other elements */
    text-align: left;
    margin-left: -50px;

}
.product-title {
     
    font-size: 16px;
    font-weight: 500;
    color: #242424;
    flex-grow: 1;
    overflow: hidden;
    white-space: nowrap;
}

/* Custom Spacing */
.custom-spacing {
    margin-left: 10px;
}

/* Custom Price Styling */
.custom-price {
    font-weight: bold;
    font-size: 14px;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: auto;
}

.product-link {
    font-size: 14px;
    color: #03624C;
    text-decoration: none;
}

.product-link:hover {
    text-decoration: underline;
}

.remove-button {
    background-color: transparent;
    font-size: 1.3em;
    color: #767676;
    cursor: pointer;
    border: none;
    transition: color 0.2s ease-out;
    display: inline-flex;
    align-items: center;
}

.remove-button:hover {
    color: #00DF82;
    background-color: transparent;
}

/* Right Side: Cart Summary */

.cart-summary {
    width: 450px;
    padding: 25px;
    border: 1px solid #ddd;
    border-left: 5px solid #03624C;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    align-self: flex-start; /* Ensure it aligns to the top and doesn't stretch */
    /*position: sticky; /* Keep it fixed within the viewport while scrolling */
    /*top: 160px; /* Offset from the top of the viewport */
}

.cart-summary h4 {
    font-size: 1.6em;
    color: #03624C;
    font-family: 'Lexend Deca', Arial, Helvetica, sans-serif;
    font-weight: bold;
    margin-bottom: 15px;
}

.cart-summary p {
    font-size: 13.5px;
    margin-top: 20px;
    font-weight: 500;
    text-transform: uppercase;
    font-family: 'Lexend', Arial, Helvetica, sans-serif;
    color: #333;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1.5px solid #649085;
}

.cart-item img {
    width: 35px;
    margin-right: 15px;
    border-radius: 4px;
}

.cart-item .small-text {
    flex-grow: 1;
    font-size: 13px;
    font-weight: 500;
    
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    color: #444444;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.cart-item .product-quantity {
    margin-left: 15px;
    margin-right: 25px;
    color: #555;
    font-weight: normal;
}

.cart-item .product-price {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-weight: 700;
    margin-left: 30px;
    font-size: 12px;
    white-space: nowrap;
    color: #000;
}

/* Add to Cart Button Styling */
.addalltowoocart-button {
    background-color: #03624C;
    color: #ffffff;
    border: 3px solid transparent;
    font-family: 'Lexend', Arial, Helvetica, sans-serif;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    letter-spacing: 1.3px;
    font-size: 1.05em;
    cursor: pointer;
    transition: ease-out 0.3s;
}

.addalltowoocart-button i {
    font-size: 1em;
    margin-right: 10px;
}

.addalltowoocart-button:hover {
    border: 3px solid #03624C;
    background-color: transparent;
    color: #03624C;
}
.fa-solid.fa-download {
    font-size: 1.2em;
}
.export-pdf-button {
    background-color: transparent;
    color: #030F0E;
    border: 3px solid #030F0E;
    font-family: 'Lexend', Arial, Helvetica, sans-serif;
    padding: 12px 20px;
    border-radius: 0px;
    font-weight: 600;
    letter-spacing: 1.3px;
    font-size: .9em;
    cursor: pointer;
    transition: ease-out 0.3s;
    margin-top: 10px; /* Adds spacing between the buttons */
}

.export-pdf-button i {
    font-size: 1em;
    margin-right: 10px;
}

.export-pdf-button:hover {
    background-color: #030F0E;
    color: #00DF82;
}




/* Modal/Popup Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Black overlay */
    z-index: 1000000000;
    opacity: 0; /* Start hidden */
    transition: opacity 0.05s ease-in-out; /* Smooth fade effect */
}
/* Modal - When visible */
.modal.show {
    display: block; /* Show the modal */
    opacity: 1; /* Fully visible */
}

/* Modal - When hiding */
.modal.hide {
    opacity: 0; /* Fade-out */
    transition: opacity 0.1s ease-in-out; /* Smooth fade effect */
}

/* Align Product List and Preview */
.modal-body {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* Modal Content (Zoom Effect) */
.modal-content {
    width: 85%;
    height: 75%;
    max-width: 1200px;
    background: #fff;
padding: 35px 35px;
    border-radius: 15px;
    margin: auto;
    position: relative;
    top: 15%;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    overflow-y: scroll;

    transform: scale(0.85); /* Start smaller */
    opacity: 0; /* Start hidden */
    transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out; /* Smooth zoom and fade */
}
/* Modal Content - Show */
.modal.show .modal-content {
    transform: scale(1); /* Zoom to full size */
    opacity: 1; /* Fully visible */
}
/* Modal Content - Hide */
.modal.hide .modal-content {
    transform: scale(0.85); /* Shrink */
    opacity: 0; /* Fade-out */
}


.close-button {
    position: absolute;
    top: 25px;
    right: 37px;
    font-size: 2em;
    color: #242424;
    cursor: pointer;
    transition: ease-out 0.2s;
}

.close-button:hover {
    color: #00DF82;
}

/* Search Bar Styling in Modal */
.search-bar {
    position: relative;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.search-bar input {
    flex-grow: 1;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1.1em;
}

#clear-search {
    display: none;
    position: absolute;
    right: 250px;
    top: 12px;
    color: #767676;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.3s;
}

#clear-search:hover {
    color: #333;
}



/* Filter Bar Styling */
.filter-bar {
    display: flex;
    margin-left: 5px;
    gap: 5px;
    align-items: center;
}

.filter-bar select {
    width: 220px;
    margin-left: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 1em;
    font-family: 'Lexend', Arial, Helvetica, sans-serif;
}

/* Product List in Modal */
.product-list {
    flex-grow: 1;
    width: 100%;
    max-width: 73%;
    position: relative;
    opacity: 0; /* Hidden initially for fade-in effect */
    transition: opacity 0.3s ease-out; /* Flashing effect */
}
.loader {
    position: absolute;
    top: 54%;
    left: 38%;
    opacity: 0.2;
    transform: translate(-50%, -50%);
    width: 116px;
    height: 120px;
    z-index: 10000;
}

.loader:before,
.loader:after {
    content: "";
    position: absolute;
    background-image: url('https://qwerty.ma/wp-content/uploads/2024/10/Asset-11@2x.png');
    background-size: cover;
    width: 100%;
    height: 100%;
}
.loader:after {
    animation: loaderAnimation 1s infinite;
}
@keyframes loaderAnimation {
    to {
        transform: scale(1.8);
        opacity: 0;
    }
}
.product-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background 0.3s;
}

.product-item:hover {
    background: #f0f0f0;
}

.stock-indicator {
    flex-shrink: 0; /* Ensures the indicator size is fixed */
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

/* Stock Indicator Colors */
.stock-indicator.in_stock {
    background-color: green; /* Green for in stock */
}

.stock-indicator.backorder {
    background-color: orange; /* Orange for backorder */
}

.stock-indicator.out_of_stock {
    background-color: red; /* Red for out of stock */
}

/* Product Item States */
.product-item {
    cursor: pointer; /* Default pointer for all items */
    transition: background-color 0.3s;
}

.product-item.out_of_stock {
    cursor: not-allowed; /* Disable pointer for out of stock */
    opacity: 0.6; /* Make out of stock less visible */
}


.product-item:hover {
    background-color: #f0f0f0; /* Highlight background on hover */
}

.product-item .product-title,
.product-item .product-price {
    transition: color 0.3s;
}

.product-item.out_of_stock:hover .product-title,
.product-item.out_of_stock:hover .product-price {
    color: #610303; /* Highlight title and price on hover */
}
.product-item.in_stock:hover .product-title,
.product-item.in_stock:hover .product-price {
    color: #03624C; /* Highlight title and price on hover */
}
.product-item.backorder:hover .product-title,
.product-item.backorder:hover .product-price {
    color: #613E03; /* Highlight title and price on hover */
}

/* Product Preview Section in Modal */
.product-preview {
    flex-grow: 1;
    max-width: 27%;
    border-left: 1px solid #ddd;
    padding-left: 10px;
    
}

.product-preview img {
    width: 250px;
    height: 250px;

    transition: ease-out 0.3s;
}


/* Pagination Styling in Modal */
.pagination {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 10px;
}

.pagination button {
    padding: 5px 10px;
    border: none;
    background-color: #eaeaea;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.pagination button:hover {
    background-color: #d5d5d5;
}

/* General styles for tablet (max-width 1024px) and mobile (max-width 767px) */
@media (max-width: 1024px) {
    /* Ensure composite container doesn't collapse */
    .containercomposite {
        flex-wrap: wrap; /* Allow wrapping if needed */
        gap: 20px; /* Maintain spacing */
    }

    /* Ensure category container maintains its width */
    .category-container {
        width: 100%; /* Ensure full width for smaller screens */
        min-width: 320px; /* Prevent collapse */
    }

    /* Prevent text or icons in category items from collapsing */
    .category-item {
        padding: 15px 20px; /* Keep consistent padding */
        font-size: 14px; /* Slightly reduce font size for readability */
        white-space: nowrap; /* Prevent text from breaking into multiple lines */
        overflow: hidden; /* Ensure no overflow issues */
    }

    .category-item img {
        height: 40px; /* Adjust size but keep visible */
        width: 40px;
    }

    .plus-button {
        min-width: 30px; /* Prevent collapse */
        min-height: 30px; /* Prevent collapse */
    }

    /* Ensure cart summary stays visible */
    .cart-summary {
        width: 100%; /* Full width for smaller screens */
        min-width: 320px; /* Prevent collapse */
    }

    .cart-item img {
        width: 35px; /* Maintain visibility */
        height: auto;
    }

    .cart-item .small-text {
        white-space: nowrap; /* Prevent text wrapping */
        overflow: hidden;
        text-overflow: ellipsis; /* Add ellipsis for overflow */
    }
}

@media (max-width: 767px) {
    /* Selected Products Container */
    .selected-products {
        display: block;
        margin: 10px 0;
        padding: 5px;
        background-color: #ffffff;
        border-radius: 6px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    /* Individual Product in the Category */
    .category-product {
        display: flex;
        align-items: center;

        padding: 8px 10px;
        border-bottom: 1px solid #eee;
    }

    .category-product:last-child {
        border-bottom: none;
    }

    .category-product img {
        width: 50px;
        height: auto;
        flex-shrink: 0;
        margin-right: 12px;
    }

    .category-product .product-title {
        font-size: 14px;
        font-weight: bold;
        color: #242424;
        max-width: 100%; /* Ensure it spans full width */
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        display: block; /* Ensure block-level for stacking */
       
    }

    .category-product .product-link {
        font-size: 14px; /* Adjust link size */
        color: #03624C;
        text-decoration: none;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        display: block; /* Force the link onto a new line */
       
    }

    .category-product .product-link:hover {
        text-decoration: underline;
    }

    .category-product .remove-button {
        font-size: 18px;
        color: #767676;
        cursor: pointer;
        margin-left: auto; /* Push it to the far right */
        transition: color 0.2s ease;
    }

    .category-product .remove-button:hover {
        color: #FF0000;
    }
}/* End custom CSS */