
/* Custom Utility Classes and Components */

/* Utility Classes */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.justify-content-evenly {
    justify-content: space-evenly;
}

.justify-content-center {
    justify-content: center;
}

.text-center {
    text-align: center;
}

a:focus {
    outline: none!important;
}

/* Order Help */
#orderHelpAccordion {
    margin-top: 0px !important;
}

#orderHelpAccordion .accordion-item{
    border-width: 1px 0px 1px 0px !important;
}
#headingOrderHelp svg{
    margin-right: 10px;
}
#headingOrderHelp button{
    font-family: var(--e-global-typography-d4eb1b4-font-family) !important;
    font-size: var(--e-global-typography-d4eb1b4-font-size) !important;
    font-weight: var(--e-global-typography-d4eb1b4-font-weight) !important;
}

/* Back to Cart */
.backtocart {
    margin-left: 14px !important;
}

.cwd-back-to-cart {
    color: var(--e-global-color-525e8dc)!important;
    font-family: var(--e-global-typography-428f0d1-font-family)!important;
    font-size: var(--e-global-typography-428f0d1-font-size)!important;
    font-weight: var(--e-global-typography-428f0d1-font-weight)!important;
    text-decoration: none!important;
}

.cwd-back-to-cart svg {
    fill: var(--e-global-color-525e8dc)!important;
}

/* Empty Cart Template */
.cart-empty-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    background-color: white;
    font-family: "Montserrat", Sans-serif;
    border: 1px solid #e3e3e3;
}

.cart-empty-header {
    color: #000000;
    padding: 10px 20px;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #e3e3e3;
}

.store-title {
    font-size: 24px;
    margin: 0;
}

.store-closed {
    padding: 1em 1.5em;
    margin: 1em 0;
    border-left: 4px solid #f0c36d;
    background-color: #fef9e8;
    color: #515151;
    border-radius: 3px;
    position: relative;
}

.table-number-button {
    background-color: #F0F0F0;
    color: #181819;
    border: none;
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
    padding: 5px 16px;
    border-radius: 5px;
    cursor: default;
}

.cart-empty-body {
    margin: 50px 0px;
}

.back-to-menu {
    width: 100%;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #FFFFFF;
    vertical-align: bottom;
    background-color: #095D44!important;
    border-radius: .375rem;
}

.cart-empty-footer {
    padding: 20px 15px;
    border-top: 1px solid #e3e3e3;
}

/* Modal Styles */
.modal, .note-modal {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(128, 128, 128, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.modal.show, .note-modal.show {
    display: flex;
}

.modal-content, .note-modal-content {
    background-color: #fff;
    padding: 10px;
    border-radius: 5px;
    max-width: 450px;
    position: relative;
    text-align: center;
    min-width: 100px;
}

.close-modal-x, .close-note-modal-x {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
}

.close-modal-x:hover, .close-note-modal-x:hover {
    color: #000;
}

.close-custom-modal {
    margin-top: 10px;
}

.modal-heading {
    border-bottom: 1px solid #eee;
    margin: 25px;
    padding-bottom: 10px;
}

.custom-coupen-popup-btn, .custom-note-popup-btn {
    width: 100%;
    background-color: transparent!important;
    color: #000000!important;
    border: 1px solid #eeeeee!important;
    margin-bottom: 15px!important;
}

.custom-coupen-popup-btn, .custom-note-popup-btn {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}

.custom-coupen-popup-btn p, .custom-note-popup-btn p {
    margin-bottom: 0px;
}

.modal .button {
    padding: 10px 20px !important;
    margin-top: 10px !important;
}

/* Search Form */
.search-form-fields {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

#search {
    width: 85%;
}

#search_button {
    width: 15%;
}

/* Autocomplete */
#autocomplete-results {
    display: none;
    font-family: 'Poppins';
    border: 1px solid #ccc;
    background: #ffffff;
    position: absolute;
    z-index: 1000;
    max-height: 210px;
    overflow-y: auto;
    width: 100%;
}

#autocomplete-results a {
    display: block;
    padding: 10px;
    text-decoration: none;
    color: #000;
}

#autocomplete-results a:hover {
    background: #f0f0f0;
}

#autocomplete-results .ac-product-details {
    display: flex;
    gap: 20px;
    align-items: center;
    font-family: 'Poppins';
    font-weight: 600;
    padding-bottom: 10px;
}

#autocomplete-results .autocomplete-item {
    border-bottom: 1px solid #ccc;
}

#autocomplete-results .autocomplete-item:last-child {
    border: none !important;
}

#autocomplete-results .ac-product-details .product-title {
    color: var(--e-global-color-primary);
}

#autocomplete-results .ac-product-details .product-price {
    color: var(--e-global-color-d7b2bb9);
    background: var(--e-global-color-4083cc5);
    border-radius: 25px;
    padding: 3px 7px;
}

#autocomplete-results .autocomplete-product-img {
    width: 80px;
    height: auto;
}

/* Category List */
.cwd-category-list .active {
    border-color: var(--e-global-color-de24fb8)!important;
}

.bold-label {
    font-weight: bold;
}

/* Tooltip */
.tooltipicon {
    position: relative;
    display: inline-block;
}

.tooltipicon .tooltiptext {
    visibility: hidden;
    background: #ffffff;
    color: #000000;
    text-align: left;
    border-radius: 6px;
    padding: 15px;
    box-shadow: 0 0 5px #000;
    position: absolute;
    z-index: 1;
    width: 250px;
    left: -100px;
    top: 31px;
}

.tooltipicon:hover .tooltiptext {
    visibility: visible;
}

/* Custom Link Section */
.custom-link-section a {
    text-decoration: none!important;
}

.custom-link-section a p {
    margin: 0px !important;
    padding: 0px 20px 0px 10px;
    padding-left:0px !important;
    color: var(--e-global-color-f5770ec) !important;
    font-family: var(--e-global-typography-d4eb1b4-font-family)!important;
    font-size: var(--e-global-typography-d4eb1b4-font-size)!important;
    font-weight: var(--e-global-typography-d4eb1b4-font-weight)!important;
}

.custom-link-items {
    margin: 20px 0px 30px 0px !important;
}

/* Elementor Image Carousel */
.elementor-image-carousel a {
    text-decoration: none !important;
}

.elementor-image-carousel .swiper-slide-image {
    padding: 3px;
}

.swiper-slide.active .swiper-slide-image {
    border-color: var(--e-global-color-de24fb8) !important;
}

/* Responsive Utilities */
@media only screen and (max-width: 600px) {
    #search {
        width: 65%;
    }

    #search_button {
        width: 35%;
    }
}
