/* Chrome, Safari, Edge, Opera */
#price-min-desktop::-webkit-outer-spin-button,
#price-min-desktop::-webkit-inner-spin-button,
#price-max-desktop::-webkit-outer-spin-button,
#price-max-desktop::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
#price-min-desktop[type=number] {
    -moz-appearance: textfield;
}

.bg-custom-blue {
    color: #13357B;
}

.bread {
    margin-top: 5rem;
}

.hover-img {
    transition: opacity 0.4s ease-in-out;
}

.card:hover .hover-img {
    opacity: 1 !important;
}

.transition {
    transition: all 0.3s ease-in-out;
}

.input-number {
    position: relative;
    margin-right: 6px;
}

.packages-img {
    position: relative;
}

.packages-price {
    background: #13357B;
    color: #fff;
    font-weight: 600;
    position: absolute;
    top: 0;
    right: 0;
    border-bottom-left-radius: 10px;
}

.hover-icons {
    bottom: 15px;
    opacity: 0;
    transition: all 0.3s;
}

.packages-img:hover .hover-icons {
    opacity: 1;
}

.grid-container {
    display: grid;
    gap: 1rem;
}

/* Default (xs): 1 column */
.grid-container {
    grid-template-columns: 1fr;
}

.packages-item {
    width: 100%;
}

/* Small (sm): 2 columns */
@media (min-width: 576px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Medium (md): 3 columns */
@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large (lg) and up: 4 columns */
@media (min-width: 992px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Price Slider Customization */
#price-slider {
    height: 4px !important;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.noUi-target {
    height: 4px !important;
    border-radius: 2px !important;
    box-shadow: none !important;
    background: #e0e0e0 !important;
}

.noUi-connect {
    background: #13357B !important;
}

.noUi-horizontal .noUi-handle {
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    top: -7px !important;
    background: #fff !important;
    border: 2px solid #13357B !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08) !important;
    transition: box-shadow 0.2s !important;
}

.noUi-horizontal .noUi-handle:after,
.noUi-horizontal .noUi-handle:before {
    display: none !important;
}

.noUi-handle {
    cursor: pointer !important;
}

.noUi-handle:hover {
    box-shadow: 0 4px 12px rgba(178, 52, 55, 0.15) !important;
}

/* Modern Product Card Redesign */
.product-card {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 32px rgba(40, 40, 90, 0.10), 0 1.5px 6px rgba(178, 52, 55, 0.07);
    border: 1px solid #f0f0f0;
    transition: box-shadow 0.35s cubic-bezier(.4, 2, .6, 1), transform 0.25s;
    margin-bottom: 32px;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.product-card:hover {
    box-shadow: 0 8px 48px 0 rgba(178, 52, 55, 0.18), 0 2px 8px rgba(40, 40, 90, 0.10);
    transform: translateY(-6px) scale(1.025);
}

.product-img-area {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-area img.main-img,
.product-img-area img.hover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px 20px 0 0;
    transition: opacity 0.5s, transform 0.4s cubic-bezier(.4, 2, .6, 1);
}

.product-img-area img.hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
}

.product-card:hover .product-img-area img.hover-img {
    opacity: 1;
}

.product-img-area .img-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 60%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.18) 60%, rgba(0, 0, 0, 0));
    z-index: 3;
    pointer-events: none;
}

.product-actions {
    margin-top: 1.1rem;
    display: flex;
    justify-content: center;
    gap: 1.1rem;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.3s, transform 0.3s;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.product-action-btn {
    width: 42px;
    height: 42px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(178, 52, 55, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #13357B;
    font-size: 1.25rem;
    border: none;
    outline: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.product-action-btn:hover {
    background: #13357B;
    color: #fff;
}

/* Remove Quick View button */
.quick-view-btn {
    display: none !important;
}

.product-details {
    padding: 22px 18px 18px 18px;
    text-align: center;
}

.product-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #232323;
    margin-bottom: 0.15rem;
    letter-spacing: 0.01em;
}

.product-subtitle {
    font-size: 0.98rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.product-price {
    color: #13357B;
    font-size: 1.22rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.product-badge {
    display: inline-block;
    background: linear-gradient(90deg, #13357B 60%, #e85d5d 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 2px 12px;
    margin-bottom: 0.7rem;
    letter-spacing: 0.04em;
}

/* Store Product Card Modern Styles */
.store-01 .product {
    background: #fff;
    border-radius: 0px;
    border: 1px solid #f0f0f0;
    margin-bottom: 32px;
    overflow: hidden;
    transition: box-shadow 0.1s, transform 0.25s;
    position: relative;
}

.store-01 .product:hover {
    -webkit-box-shadow: 0px 0px 6px 0px #E4E7ED, 0px 0px 0px 2px #13357B;
    box-shadow: 0px 0px 6px 0px #E4E7ED, 0px 0px 0px 2px #13357B;
}

.store-01 .product-img {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f7f7f7;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.store-01 .product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    transition: opacity 0.4s, transform 0.4s cubic-bezier(.4, 2, .6, 1);
    display: block;
}

.store-01 .product-img .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}

.store-01 .product:hover .product-img .hover-img {
    opacity: 1;
    animation: hoverImgScale 1s cubic-bezier(.4, 2, .6, 1) forwards;
}

.store-01 .product-body {
    padding: 18px 16px 16px 16px;
    text-align: center;
}

.store-01 .product-category {
    font-size: 0.92rem;
    color: #8D99AE;
    font-weight: 600;
    margin-bottom: 0.2rem;
    letter-spacing: 0.03em;
}

.store-01 .product-name {
    font-size: 1.08rem;
    font-weight: 700;
    color: #232323;
    margin-bottom: 0.3rem;
}

.store-01 .product-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.store-01 .product-name a:hover {
    color: #13357B;
}

.store-01 .product-price {
    color: #13357B;
    font-size: 1.12rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.store-01 .product-old-price {
    color: #aaa;
    font-size: 0.98rem;
    text-decoration: line-through;
    margin-left: 0.4rem;
}

.store-01 .product-label {
    position: absolute;
    top: 1px;
    right: 5px;
    z-index: 3;
}

.store-01 .product-label .new,
.store-01 .product-label .sale {
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 0px;
    padding: 2px 12px;
    letter-spacing: 0.04em;
}

.store-01 .product-label .new {
    background: linear-gradient(90deg, #13357B 60%, #1443a3 100%);
    color: #fff;
}

.store-01 .product-label .sale {
    color: var(--bs-primary);
    background: #fff;
    border: 2px solid var(--bs-primary);
}

/* Responsive grid fix */
@media (max-width: 767px) {
    .store-01 .col-xs-6 {
        width: 50%;
        float: left;
    }
}

@media (min-width: 768px) {
    .store-01 .col-md-4 {
        width: 33.3333%;
        float: left;
    }
}

@media (max-width: 575px) {
    .store-01 .col-xs-6 {
        width: 50%;
    }
}

@keyframes hoverImgScale {
    from {
        opacity: 0;
        transform: scale(1.5);
    }

    to {
        opacity: 1;
        transform: scale(1.01);
    }
}

@keyframes hoverImgUnscale {
    from {
        opacity: 1;
        transform: scale(1.01);
    }

    to {
        opacity: 0;
        transform: scale(1.5);
    }
}

.store-01 .product-img .hover-img {
    animation: hoverImgUnscale 0.3s ease-in-out forwards;
    transform: scale(1.5);
    opacity: 0;
}

.store-01 .product:hover .product-img .hover-img {
    opacity: 1;
    animation: hoverImgScale 0.3s ease-in-out forwards;
}

/* Custom Pagination Styles */
.pagination {
    padding: 0.75rem 1.5rem !important;
    border-radius: 0 !important;
}

.pagination .page-link {
    border-radius: 0 !important;
    padding: 0.6rem 1.1rem !important;
}



/* for filter panel as sidebar in x<=991px */
@media (max-width: 991px) {
    #aside {
        position: fixed;
        padding: 15px;
        top: 0;
        left: 0;
        width: 280px;
        height: 100%;
        background: #fff;
        overflow-y: auto;
        z-index: 9999;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.2);
        transform: translateX(-100%);
        animation-duration: 0.2s;
        animation-fill-mode: forwards;
    }

    #aside.active {
        animation-name: slideInX91;
    }

    #aside.closing {
        animation-name: slideOutX91;
    }

    @keyframes slideInX91 {
        from {
            transform: translateX(-100%);
        }

        to {
            transform: translateX(0);
        }
    }

    @keyframes slideOutX91 {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-100%);
        }
    }

    body.sidebar-open {
        overflow: hidden;
    }

    .sidebar-overlay {
        display: none;
    }

    .sidebar-overlay.active {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 9998;
    }
}

