@keyframes fadeOutAndHide {
  0% {
    opacity: 1;
    display: block;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    display: none;
  }
}
.xf-error-message {
	color : red!important;
	animation: fadeOutAndHide 10s forwards;
}	
.xf-success-message {
	color : green!important;
	animation: fadeOutAndHide 4s forwards;
}	
button.main-btn:disabled,
.main-btn[disabled] {
  background-color: #ccc !important;
  color: #888 !important;
  cursor: not-allowed !important;
  box-shadow: none !important;
  opacity: 0.65;
}
.rating-review i {
	font-size: 20px;
	color: #FFBE27;
}
.rating-review span {
    font-weight: 500;
    color: #000;
}	
.other-login-options .login-options {
    border: 1px solid #542DED;
    padding: 10px;
    text-align: center;
    border-radius: 5px;
    transition: all 0.2s;
    cursor: pointer;
}

.other-login-options .login-options span {
    color: #542DED;
}

.other-login-options .login-options:hover {
    color: #fff;
    background-color: #542DED;
    transition: all 0.2s;
}

.other-login-options .login-options:hover span {
    color: #fff;
}

/* ============== Product Details Page - Details Tabs ================ */
.each-tab-container {
    display: none;
}

.each-tab-container.active {
    display: block;
}

.product-specifications .each-product-specification {
    padding: 30px 50px;
}

/* ============== Alert Styles ======================== */
.alert-container {
    position: fixed;
    right: 32px;
    top: 32px;
    z-index: 99999;
}


/* ============== Event Details Styles Start ======================== */
/* .event-details-container .event-detail-item .event-item-head {
    color: #542DED;
} */

/* ============== Event Details Styles End ======================== */


/* =================== Navbar Mobile Cart ========================= */
.navbar-cart-mobile a {
    padding: 0 !important;
}
.navbar-search-mobile {
    padding: 8px 0;
}
.navbar-search-mobile .select-position{
    /* border: 1px solid #d1d1d1; */
    border-right: 0px;
    border-radius: 4px 0 0 4px;
    margin-right: 0px !important;
}
.navbar-search-mobile select {
    display: block !important;
}

.mobile-login-button a {
    line-height: 36px;
    color: #4C4C4C;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 500;
    transition: all 0.3s linear;
    display: flex;
    align-items: center;
}


/* ====================== Cart Popup =================== */
.multi-store-cart-popup {
    overflow: hidden;
}
.multi-store-cart-popup table tr {
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.multi-store-cart-popup .product-content {
    display: flex;
    align-items: center;
}
.multi-store-cart-popup tr:hover {
    background: #542ded14;
}
.multi-store-cart-dropdown .checkout-btn {
    padding: 0px !important;
}
.multi-store-cart-dropdown .checkout-footer .main-btn {
    margin: 0px !important;
}

/* ======================== Checkout Items Wrapper ============ */
.checkout-items-wrapper .checkout-style-1{
    /* border: 1px solid #d1d1d1; */
    box-shadow: none;
}
/* .checkout-multi-cart-selector {
    padding-bottom: 32px;
    border-bottom: 2px solid #212529;
}
.checkout-items-wrapper .each-store-cart-label {
    padding: 8px 16px;
    border: 1px solid #d1d1d1be;
    border-radius: 6px;
    cursor: pointer;
    transition: all;
    transition-duration: 0.2s;
}
.checkout-items-wrapper .each-store-cart-label:hover,
.checkout-items-wrapper .each-store-cart-label.active {
    transition: all;
    transition-duration: 0.2s;
    background: #542DED;
    color: #fff;
    border: 1px solid #542DED;
} */

.checkout-multi-cart-selector.vertical {
    padding: 0;
    border-bottom:  none;
   border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
}
.checkout-multi-cart-selector.vertical .each-store-cart-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    cursor: pointer;
}
.checkout-multi-cart-selector.vertical .each-store-cart-label:hover {
    background-color: #542ded14;
}
.checkout-multi-cart-selector.vertical .each-store-cart-label.active {
    background-color: #542DED;
    color: #fff;
}
.checkout-multi-cart-selector.vertical .remove-button:hover {
    color: red;
}

.checkout-address-selector {
    padding: 16px !important;
}
.checkout-address-selector > .row > div {
    padding: 8px !important;
}
.checkout-address-selector .each-address-item{
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}
.checkout-address-selector .each-address-item .address-line-item p{
    font-size: 0.9rem;
}
.checkout-address-selector .each-address-item.selected {
    border-color: #542DED;
}

/* ==============  Product List Page Facet ============ */
.xf-category-facet .collapse:not(.show) {
    display: block !important;
    height: 0;
    overflow: hidden;
    padding: 0px 0 !important;
}

.xf-category-facet,
.xf-leaf-facet-option {
    max-height: 200px; 
    overflow-y: auto;
}

.filter-style-8 .filter-category .category-list li a,
.filter-style-8 .filter-category .category-list li .sub-category li a {
    font-weight: 400;
}

.filter-style-8 .filter-category .category-list li a.show,
.filter-style-8 .filter-category .category-list li .sub-category li a.show {
    font-weight: 500;
}

.product-style-3 .product-image .product-item img {
    height: 250px;
    object-fit: contain;
}

.filter-style-8 .filter-category .category-list li .sub-category {
    padding-left: 16px !important;
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.filter-style-8 .filter-category .category-list {
    padding-top: 0px !important;
}

.filter-style-8,
.filter-style-3,
.filter-style-2{
   box-shadow: none;
    border-bottom: 1px solid #EFEFEF;
}

.xf-search-page {
    border-right: 1px solid #EFEFEF;
    padding-right: 0;
}
.filter-select-area {
    padding-top: 8px;
}

/*========= Product List page ==============*/
.product-item-container {
    border: 1px solid #4c4c4c26;
    border-radius: 8px;
    overflow: hidden;
}

.product-image-container {
    border-bottom: 1px solid #4c4c4c26;
}

.product-image-container .product-image-back {
    width: 100%;
    aspect-ratio: 4/5;
    background-size: cover;
    background-position: center;
}

.product-details-container {
    padding: 16px;
}

.product-price-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-price-container .product-price-cutoff {
    text-decoration: line-through;
    color: #4C4C4C;
    font-size: 0.8rem;
}
.product-price-container .product-price {
    color: #542DED;
}
.product-price-container {
    padding-top: 8px;
}
.product-price-container .product-add-to-cart {
    padding: 6px 16px;
    border: 2px solid #542DED;
    color: #542DED;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
}
.product-price-container .product-add-to-cart:hover {
    background: #542DED;
    color: #fff;
}
.product-details-container .product-title {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Specifies the number of lines to display */
    line-clamp: 2; /* Standard property for line clamping */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    line-height: 1.5em;
    min-height: 3em;
}
.cursor-pointer {
    cursor: pointer;
}
.product-search-filter-toggle-button {
    display: none;
}

@media screen and (max-width: 992px) {
    .product-search-filter-toggle-button {
        display: block;
        border: 1px solid #D1D1D1;
        width: auto;
        padding: 6px 16px;
        border-radius: 6px;
        margin-left: 10px;
        margin-top: 10px;
        color: #542DED;
        cursor: pointer;
    }
    .product-search-toggle-close{
        font-weight: 700;
        color: #000;
        width: auto;
        padding: 10px 0;
    }
    .product-search-filters-mobile {
        opacity: 0;
        top: -1000px;
        position: fixed;
        transition: opacity 0.2s ease;
    }
    
    .product-search-filters-mobile.active {
        opacity: 1;
        background: #fff;
        z-index: 100;
        height: 100%;
        top: 0;
        overflow-y: auto;
    }
}

/* ============= product event card ============== */
.product-item-event {
    .product-image-back {
        aspect-ratio: 16/9;
    }
    .product-price-container {
        display: block;
    }
    .event-description {
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2; /* Specifies the number of lines to display */
        line-clamp: 2; /* Standard property for line clamping */
        -webkit-box-orient: vertical;
        text-overflow: ellipsis;
        line-height: 1em;
        min-height: 2em;
    }
    .product-add-to-cart {
        margin-top: 16px;
        text-align: center;
    }
    .event-data-chip {
        position: absolute;
        z-index: 10;
        color: #fff;
        font-size: 0.8rem;
        padding: 6px 16px;
        border-radius: 6px;
        font-weight: 500;
        background-color: #532dedce;
        
    }
    .event-chip-top-left {
        top: 12px;
        left: 12px;
    }
    .event-chip-top-right {
        top: 12px;
        right: 12px;
    }
    .event-chip-bottom-left {
        bottom: 12px;
        left: 12px;
    }
    .event-chip-bottom-right {
        bottom: 12px;
        right: 12px;
    }
    .event-chip-center-left {
        top: calc(50% - 16px);
        left: 12px;
    }
    .event-chip-center-right {
        top: calc(50% - 16px);
        right: 12px;
    }
}


/* =============== Store Carousel ============== */
.stores-list-carousel {
    gap: 16px;
    flex-wrap: nowrap;
}
.stores-list-carousel .each-store-item {
    width: 150px;
    aspect-ratio: 1/1;
    border-radius: 8px;
    overflow: hidden;
    min-width: 150px;
}
.stores-list-carousel .each-store-item .each-store-item-image {
    background-position: center;
    background-size: cover;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
}



/* ==============  Product Type Image ============ */
.product-types-container .product-type-image {
    display: flex;
    justify-content: center;
    align-items: center;
}
.product-types-container .product-type-image div {
    background-position: center;
    background-size: cover;
    width: 100px;
    background-repeat: no-repeat;
    aspect-ratio: 1/1;
}
.product-types-container .row {
    border-top: 1px solid #4c4c4c26;
    border-bottom: 1px solid #4c4c4c26;
}
.product-types-container .row > div:last-child {
    border-right: 1px solid #4c4c4c26;
}
.product-types-container .row > div {
    padding: 32px;
    border-left: 1px solid #4c4c4c26;
}
.product-types-container .each-product-type {
    cursor: pointer;
}
.product-types-container .row > div:hover {
    box-sizing: 1px 1px 5px 5px;
}