.sc-shop-skeleton-card {
    cursor: default;
    pointer-events: none;
    user-select: none;
}

.sc-shop-image-wrap.is-loading {
    position: relative;
    overflow: hidden;
}

.sc-shop-shimmer,
.sc-shop-image-wrap.is-loading::after {
    position: relative;
    overflow: hidden;
    background: #f2f3f6;
}

.sc-shop-shimmer::after,
.sc-shop-image-wrap.is-loading::after {
    position: absolute;
    inset: 0;
    content: "";
    transform: translateX(-100%);
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.78) 48%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: sc-shop-shimmer 1.35s ease-in-out infinite;
}

.sc-shop-image-wrap.is-loading::after {
    z-index: 3;
    pointer-events: none;
}

.sc-shop-skeleton-image {
    width: 100%;
    min-height: 165px;
    aspect-ratio: 1 / 1;
    border-radius: inherit;
}

.sc-shop-skeleton-line {
    display: block;
    height: 12px;
    border-radius: 999px;
}

.sc-shop-skeleton-line--title {
    width: min(132px, 82%);
    height: 15px;
    margin-bottom: 9px;
}

.sc-shop-skeleton-line--label {
    width: min(96px, 62%);
    height: 10px;
}

.sc-shop-skeleton-arrow {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
}

.sc-shop-image-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 165px;
    place-items: center;
    color: #ed174c;
    background:
        radial-gradient(circle at 50% 35%, rgba(237, 23, 76, 0.10), transparent 42%),
        #fff3f6;
}

.sc-shop-image-placeholder[hidden] {
    display: none;
}

.sc-shop-image-placeholder svg {
    width: 44px;
    height: 44px;
    opacity: 0.62;
}

.sc-shop-state {
    grid-column: 1 / -1;
    display: flex;
    min-height: 190px;
    padding: 32px 18px;
    border: 1px dashed #e4e7ec;
    border-radius: 18px;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
}

.sc-shop-state__inner {
    max-width: 420px;
}

.sc-shop-state__icon {
    display: grid;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border-radius: 50%;
    place-items: center;
    color: #ed174c;
    background: #fff0f4;
}

.sc-shop-state__icon svg {
    width: 23px;
    height: 23px;
}

.sc-shop-state__title {
    margin: 0 0 6px;
    color: #151827;
    font-size: 17px;
    font-weight: 700;
}

.sc-shop-state__text {
    margin: 0;
    color: #69707d;
    font-size: 13px;
    line-height: 1.55;
}

.sc-shop-retry {
    display: inline-flex;
    min-height: 40px;
    margin-top: 16px;
    padding: 9px 18px;
    border: 1px solid #ed174c;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    background: #ed174c;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.sc-shop-retry:hover {
    background: #d81043;
    box-shadow: 0 8px 20px rgba(237, 23, 76, 0.20);
    transform: translateY(-1px);
}

.sc-shop-retry:focus-visible {
    outline: 3px solid rgba(237, 23, 76, 0.22);
    outline-offset: 3px;
}

.sc-shop-sr-status {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@keyframes sc-shop-shimmer {
    100% {
        transform: translateX(100%);
    }
}

@media (max-width: 575.98px) {
    .sc-shop-skeleton-image,
    .sc-shop-image-placeholder {
        min-height: 145px;
    }

    .sc-shop-skeleton-arrow {
        width: 30px;
        height: 30px;
        flex-basis: 30px;
    }

    .sc-shop-state {
        min-height: 165px;
        border-radius: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sc-shop-shimmer::after,
    .sc-shop-image-wrap.is-loading::after {
        animation: none;
    }

    .sc-shop-retry {
        transition: none;
    }
}
