﻿@keyframes shimmer-pass {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.sk {
    position: relative;
    overflow: hidden;
    background: #e7def8;
    border-radius: 6px;
}

    .sk::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient( 105deg, transparent 30%, rgba(255, 255, 255, 0.65) 50%, transparent 70% );
        animation: shimmer-pass 1.6s ease-in-out infinite;
    }

.filter-shimmer-card,
.psm-card {
    background: #f3ebfc;
    box-shadow: 0 2px 12px rgba(106, 45, 124, 0.07);
}

.fsm-divider,
.fsm-header {
    border-color: #e0c7f2;
}

@media (prefers-color-scheme: dark) {
    .sk {
        background: #d9c4f5;
    }

        .sk::after {
            background: linear-gradient( 105deg, transparent 30%, rgba(255, 255, 255, 0.15) 50%, transparent 70% );
        }

    .filter-shimmer-card,
    .psm-card {
        background: #c9b3f0;
        box-shadow: 0 2px 12px rgba(106, 45, 124, 0.1);
    }

    .fsm-divider,
    .fsm-header {
        border-color: #b89de6;
    }
}

#filterShimmer {
    display: none;
}

#productShimmer {
    display: none;
}

.filter-shimmer-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(106,45,124,0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fsm-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #f0eaf3;
    margin-bottom: 4px;
}

.fsm-opt-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fsm-divider {
    height: 1px;
    background: #f0eaf3;
    margin: 4px 0;
}

.fsm-collapse-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fsm-price-inputs {
    display: flex;
    align-items: center;
    gap: 6px;
}

.psm-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(106,45,124,0.06);
    margin-bottom: 4px;
}

.psm-img-wrap {
    position: relative;
    width: 100%;
    padding-top: 100%;
}

    .psm-img-wrap .sk {
        position: absolute;
        inset: 0;
        border-radius: 0;
    }

.psm-body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.psm-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.psm-icon-pair {
    display: flex;
    gap: 6px;
}
