.shop-loader {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    padding: 1rem;
    overflow: auto;
    background: rgba(25, 19, 23, 0.32);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    place-items: center;
}

.shop-loader.is-active {
    display: grid;
}

.shop-loader__card {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: min(100%, 340px);
    padding: 30px 26px 26px;
    color: #111827;
    background: #fcfcfc;
    border: 1px solid rgba(157, 1, 40, 0.1);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(35, 15, 24, 0.16);
    text-align: center;
}

.shop-loader__mark {
    display: grid;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    color: #9d0128;
    background: #f5e9ed;
    border-radius: 50%;
    place-items: center;
}

.shop-loader__mark svg {
    width: 40px;
    height: 40px;
}

.shop-loader__brand {
    margin-bottom: 10px;
    color: #9d0128;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2.5px;
}

.shop-loader__title {
    font-size: 18px;
    font-weight: 650;
    line-height: 1.4;
}

.shop-loader__description {
    margin: 8px 0 24px;
    color: #6b7280;
    font-size: 13px;
    line-height: 1.6;
}

.shop-loader__track {
    display: block;
    width: 100%;
    height: 3px;
    overflow: hidden;
    background: #f0e3e7;
    border-radius: 99px;
}

.shop-loader__track::after {
    display: block;
    width: 40%;
    height: 100%;
    content: '';
    background: #9d0128;
    border-radius: inherit;
    animation: shop-loading-travel 1.6s ease-in-out infinite;
}

.shop-loading-surface {
    background: rgba(252, 252, 252, 0.86);
    border-radius: 8px;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.shop-loading-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 8px 12px;
    background: #fcfcfc;
    border: 1px solid #f0e3e7;
    border-radius: 99px;
    box-shadow: 0 4px 16px rgba(35, 15, 24, 0.06);
}

.shop-loading-inline > span {
    width: 5px;
    height: 5px;
    background: #9d0128;
    border-radius: 50%;
    animation: shop-loading-pulse 1.2s ease-in-out infinite;
}

.shop-loading-inline > span:nth-child(2) { animation-delay: 0.15s; }
.shop-loading-inline > span:nth-child(3) { animation-delay: 0.3s; }

@keyframes shop-loading-travel {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

@keyframes shop-loading-pulse {
    0%, 80%, 100% { opacity: 0.35; transform: scale(0.8); }
    40% { opacity: 1; transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
    .shop-loader__track::after,
    .shop-loading-inline > span {
        animation: none;
    }
    .shop-loader__track::after { margin-inline: auto; }
}
