.versai-store-archive {
    width: 100%;
    background: var(--versai-color-background);
}

.versai-store-zone {
    position: relative;
    width: 100%;
    padding-block: clamp(3.5rem, 6vw, 6.5rem);
    overflow: hidden;
}

.versai-store-zone--internal {
    background:
        radial-gradient(circle at 90% 18%, rgba(var(--versai-color-accent-rgb), 0.1), transparent 25rem),
        var(--versai-color-background);
}

.versai-store-zone--external {
    background:
        linear-gradient(90deg, rgba(var(--versai-color-accent-rgb), 0.12), rgba(var(--versai-color-accent-rgb), 0.03)),
        var(--versai-color-surface-muted);
}

.versai-store-zone__inner {
    width: min(100%, 118rem);
    margin-inline: auto;
}

.versai-store-zone__header {
    max-width: 34rem;
}

.versai-store-zone--internal .versai-store-zone__header {
    margin-inline-start: auto;
}

.versai-store-zone--external .versai-store-zone__header {
    margin-inline-end: auto;
}

.versai-store-zone__heading-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.versai-store-zone__title {
    margin: 0;
    color: var(--versai-color-heading);
    font-size: clamp(1.75rem, 2.2vw, 2.65rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.versai-store-zone__mark {
    display: inline-flex;
    width: clamp(1.85rem, 2.25vw, 2.55rem);
    height: clamp(1.85rem, 2.25vw, 2.55rem);
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--versai-color-accent-dark);
}

.versai-store-zone__mark .versai-line-icon {
    width: 100%;
    height: 100%;
}

.versai-store-zone__divider {
    display: block;
    width: 2.75rem;
    height: 0.16rem;
    margin-block: 0.95rem 1.2rem;
    margin-inline-start: 0;
    background: var(--versai-color-accent-dark);
    border-radius: var(--versai-radius-pill);
}

.versai-store-zone__description {
    color: var(--versai-color-text);
    font-size: clamp(0.96rem, 1.2vw, 1.15rem);
    line-height: 2.15;
}

.versai-store-zone__description p {
    margin-bottom: 0.65rem;
}

.versai-store-carousel {
    position: relative;
    padding-inline: clamp(2.2rem, 3vw, 3.5rem);
}

.versai-store-carousel__inner {
    overflow: hidden;
}

.versai-store-carousel__row {
    align-items: stretch;
    margin-inline: 0;
}

.versai-store-carousel__source,
.versai-store-carousel__clone {
    display: flex;
}

.versai-store-card {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    color: var(--versai-color-white);
    background: var(--versai-color-primary-deep);
    border: 1px solid rgba(var(--versai-color-primary-rgb), 0.14);
    border-radius: var(--versai-radius-md);
    box-shadow: var(--versai-shadow-md);
    isolation: isolate;
    transition: transform var(--versai-transition-base), box-shadow var(--versai-transition-base), border-color var(--versai-transition-fast);
}

.versai-store-card__media {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--versai-color-surface-muted);
}

.versai-store-card__media::after {
    position: absolute;
    inset: auto 0 0;
    height: 30%;
    background: linear-gradient(180deg, transparent, rgba(28, 16, 9, 0.24));
    content: "";
    pointer-events: none;
}

.versai-store-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--versai-transition-slow);
}

.versai-store-card__placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    color: var(--versai-color-accent-dark);
    background: linear-gradient(135deg, var(--versai-color-surface), var(--versai-color-surface-muted));
}

.versai-store-card__placeholder .versai-line-icon {
    width: 4rem;
    height: 4rem;
}

.versai-store-card__footer {
    display: flex;
    min-height: 5.5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.15rem;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent),
        var(--versai-color-primary-deep);
}

.versai-store-card__identity {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.8rem;
}

.versai-store-card__logo {
    display: inline-flex;
    width: 3.15rem;
    height: 3.15rem;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
    color: var(--versai-color-accent);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(var(--versai-color-accent-rgb), 0.38);
    border-radius: 50%;
}

.versai-store-card__logo-image {
    width: 100%;
    height: 100%;
    padding: 0.32rem;
    object-fit: contain;
}

.versai-store-card__logo .versai-line-icon {
    width: 1.75rem;
    height: 1.75rem;
}

.versai-store-card__text {
    display: block;
    min-width: 0;
}

.versai-store-card__title {
    display: block;
    overflow: hidden;
    color: var(--versai-color-white);
    font-size: clamp(1rem, 1.25vw, 1.22rem);
    font-weight: 650;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.versai-store-card__activity {
    display: block;
    margin-top: 0.15rem;
    overflow: hidden;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.76rem;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.versai-store-card__line {
    width: 2.8rem;
    height: 0.15rem;
    flex: 0 0 auto;
    background: var(--versai-color-accent);
    border-radius: var(--versai-radius-pill);
}

.versai-store-carousel__control {
    --versai-carousel-control-offset: 0.2rem;
    top: 50%;
    bottom: auto;
    display: inline-flex;
    width: 2.45rem;
    height: 2.45rem;
    align-items: center;
    justify-content: center;
    color: var(--versai-color-white);
    background: var(--versai-color-accent-dark);
    border: 0;
    border-radius: 50%;
    opacity: 1;
    box-shadow: 0 0.75rem 1.75rem rgba(53, 32, 20, 0.18);
    transform: translateY(-50%);
}

.versai-store-carousel__control .versai-line-icon {
    width: 1rem;
    height: 1rem;
}

.versai-store-zone__empty {
    padding: 3rem 1.5rem;
    color: var(--versai-color-muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.55);
    border: 1px dashed var(--versai-color-border-strong);
    border-radius: var(--versai-radius-md);
}



@media (min-width: 1200px) {
    .versai-store-zone__heading-row {
        flex-wrap: nowrap;
    }

    .versai-store-zone__title {
        white-space: nowrap;
    }
}

@media (max-width: 1199.98px) {
    .versai-store-zone {
        padding-block: clamp(3rem, 5vw, 4.5rem);
    }

    .versai-store-zone__header,
    .versai-store-zone--internal .versai-store-zone__header,
    .versai-store-zone--external .versai-store-zone__header {
        max-width: 52rem;
        margin-inline: auto;
        text-align: center;
    }

    .versai-store-zone__heading-row {
        justify-content: center;
    }

    .versai-store-zone__divider {
        margin-inline: auto;
    }

    .versai-store-carousel {
        margin-top: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .versai-store-zone {
        padding-block: 2.75rem;
    }

    .versai-store-zone__title {
        font-size: clamp(1.65rem, 7vw, 2.25rem);
    }

    .versai-store-zone__description {
        font-size: 0.94rem;
        line-height: 2;
    }

    .versai-store-carousel {
        padding-inline: 2.35rem;
    }

    .versai-store-card__footer {
        min-height: 5rem;
        padding: 0.75rem 0.9rem;
    }

    .versai-store-card__logo {
        width: 2.8rem;
        height: 2.8rem;
    }

    .versai-store-card__line {
        width: 2rem;
    }

    .versai-store-carousel__control {
        width: 2.2rem;
        height: 2.2rem;
    }
}

@media (max-width: 575.98px) {
    .versai-store-zone {
        padding-block: 2.35rem;
    }

    .versai-store-carousel {
        padding-inline: 1.9rem;
    }

    .versai-store-carousel__row {
        --bs-gutter-x: 0;
    }

    .versai-store-card {
        max-width: 23rem;
        margin-inline: auto;
    }

    .versai-store-carousel__control {
        --versai-carousel-control-offset: 0.1rem;
        width: 2.1rem;
        height: 2.1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .versai-store-card,
    .versai-store-card__image {
        transition: none;
    }
}
