﻿/* Components Bundle - Auto-generated */
/* Page Loading */
.loading-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, .98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity .3s ease, visibility .3s ease
}

.loading-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none
}

.loading-wrapper .box-loading {
    text-align: center
}

.loading-wrapper .box-loading .thumb {
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite
}

.loading-wrapper .box-loading .thumb img {
    max-width: 150px;
    height: auto
}

.loading-wrapper .box-loading h6 {
    font-size: 16px;
    color: #666;
    margin: 0
}

.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 8px
}

.loading-box {
    text-align: center
}

.loading-spinner {
    margin-bottom: 20px;
    animation: pulse 1.5s ease-in-out infinite
}

.loading-logo {
    max-width: 120px;
    height: auto;
    opacity: .8
}

.loading-text {
    font-size: 16px;
    color: #666;
    margin: 0;
    font-weight: 500
}

.products-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 60px 20px;
    grid-column: 1/-1
}

.no-products,
.products-error,
.no-reviews,
.no-questions,
.reviews-error,
.questions-error {
    text-align: center;
    padding: 60px 20px;
    color: #999
}

.no-products i,
.products-error i,
.no-reviews i,
.no-questions i,
.reviews-error i,
.questions-error i {
    font-size: 64px;
    color: #ddd;
    margin-bottom: 20px;
    display: block
}

.products-error i,
.reviews-error i,
.questions-error i {
    color: #ff6b6b
}

.no-products p,
.products-error p,
.no-reviews p,
.no-questions p,
.reviews-error p,
.questions-error p {
    font-size: 16px;
    margin-bottom: 20px
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1
    }

    50% {
        transform: scale(1.05);
        opacity: .8
    }
}

@keyframes loading {
    0% {
        background-position: 200% 0
    }

    100% {
        background-position: -200% 0
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

.skeleton-card .card-inner {
    pointer-events: none
}

.modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    z-index: 99999
}

.modal.active .modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5)
}

.modal.active .modal-dialog {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 16px;
    max-height: 90vh;
    overflow-y: auto;
    width: 90%;
    animation: modalIn .3s ease
}

.modal.active .modal-dialog.modal-sm {
    max-width: 480px
}

.modal.active .modal-dialog.modal-lg {
    max-width: 800px
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

#compare-bar {
    animation: slideUp .3s ease
}

@keyframes slideUp {
    from {
        transform: translateY(100%)
    }

    to {
        transform: translateY(0)
    }
}

#discount-banner {
    animation: fadeIn .3s ease
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.float-option ul li button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s
}

.float-option ul li button:hover {
    background: #f5f5f5;
    border-color: #ddd
}

.float-option ul li button i {
    font-size: 14px;
    color: #666
}

.infinite-scroll-loader {
    text-align: center;
    padding: 30px;
    color: #666
}

.infinite-scroll-loader .inline-spinner {
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 3px solid #eee;
    border-top-color: #310ffb;
    border-radius: 50%;
    animation: spin .6s linear infinite;
    margin-left: 8px;
    vertical-align: middle
}

/* Mega Menu */
.megamenu-layout.loading {
    position: relative;
    min-height: 300px
}

.menu-header .sub-header {
    cursor: pointer;
    transition: all .3s ease
}

.menu-header .sub-header:hover {
    opacity: .8
}

.menu-category .sub-category {
    display: none;
    animation: fadeIn .3s ease
}

.menu-category .sub-category.active {
    display: block
}

/* Header Auth */
.link-item.user-menu,
.link-item.signin {
    transition: all .3s ease
}

/* Cart Buttons */
.btn-add-to-cart,
#btn-add-to-cart {
    position: relative;
    transition: all .3s ease
}

.btn-add-to-cart.loading,
#btn-add-to-cart.loading {
    pointer-events: none;
    opacity: .7
}

#btn-add-to-cart.loading i {
    animation: spin .8s linear infinite
}

.btn-add-to-cart.in-cart,
#btn-add-to-cart.in-cart {
    background: #4CAF50;
    border-color: #4CAF50
}