/* /shops2/ — магазины в 2 колонки, стиль realboxing */

.shops.shops--about {
    --shops-gap: var(--section-gap, 1.875rem);
    margin-bottom: 3.5rem;
}

.shops-about__intro {
    max-width: 46rem;
    margin-bottom: calc(var(--shops-gap) * 1.5);
}

.shops-about__title {
    font-size: var(--fs-2xl);
    font-weight: var(--fw-medium);
    line-height: 1.2;
    margin: 0 0 1rem;
    letter-spacing: var(--letter-spacing);
}

.shops-about__lead {
    font-size: var(--fs-base);
    line-height: 1.55;
    color: rgb(var(--color-text-base));
}

.shops-about__lead p {
    margin: 0 0 0.75rem;
}

.shops-about__lead p:last-child {
    margin-bottom: 0;
}

.shops-about__lead a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.shops-stores {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.shops-stores__item {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    height: 100%;
}

.shops-stores__img {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: rgb(var(--color-light-1));
}

.shops-stores__img picture,
.shops-stores__img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shops-stores__img-placeholder {
    width: 100%;
    height: 100%;
    background: rgb(var(--color-light-1));
}

.shops-stores__title {
    margin: 0;
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    letter-spacing: var(--letter-spacing);
    line-height: 1.25;
}

/* Как Brandshop: label | value в одну строку */
.shop-more__info {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    /* выравнивает карты в соседних колонках, если адреса разной длины */
    flex: 1 1 auto;
}

.shop-more__row {
    display: grid;
    grid-template-columns: 7.25rem 1fr;
    column-gap: 0.75rem;
    align-items: baseline;
}

.shop-more__label {
    color: rgba(var(--color-text-base), 0.45);
    font-size: var(--fs-sm);
    line-height: 1.4;
}

.shop-more__value {
    font-size: var(--fs-sm);
    line-height: 1.4;
    color: rgb(var(--color-text-base));
}

.shop-more__value a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.shop-more__map-link {
    margin-top: 0.15rem;
    font-size: var(--fs-sm);
    color: rgba(var(--color-text-base), 0.65);
    text-decoration: underline;
    text-underline-offset: 0.15em;
    align-self: flex-start;
}

.shop-more__map-link:hover {
    color: rgb(var(--color-text-base));
}

.shop-more__map-wrap {
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: rgb(var(--color-light-1));
}

.shop-more__map {
    width: 100%;
    height: 14rem;
    background: rgb(var(--color-light-1));
}

.shop-more__map--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(var(--color-text-base), 0.5);
    font-size: var(--fs-sm);
}

.shop-more__gallery {
    width: 100%;
}

.shop-more__gallery .shop-card__slider,
.shop-more__gallery .shop-card__slider-thumbs {
    width: 100%;
}

.shop-more__gallery .shop-card__slider {
    border-radius: var(--border-radius);
    overflow: hidden;
    background: rgb(var(--color-light-1));
}

.shop-more__gallery .shop-card__slider .swiper-slide {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgb(var(--color-light-1));
}

.shop-more__gallery .shop-card__slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-more__gallery .shop-card__slider-thumbs {
    margin-top: 0.625rem;
}

.shop-more__gallery .shop-card__slider-thumbs .swiper-wrapper {
    justify-content: center;
}

.shop-more__gallery .shop-card__slider-thumbs .swiper-slide {
    width: 3rem;
    height: 2.25rem;
    opacity: 0.5;
    cursor: pointer;
    overflow: hidden;
    border-radius: var(--border-radius);
    background: rgb(var(--color-light-1));
    border: 1px solid transparent;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.shop-more__gallery .shop-card__slider-thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: rgba(var(--color-text-base), 0.35);
}

.shop-more__gallery .shop-card__slider-thumbs .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ymaps-2-1-79-balloon {
    display: block;
    background: #fff;
    border: 1px solid rgba(var(--color-text-base), 0.15);
    border-radius: var(--border-radius);
    width: 280px;
    box-shadow: none;
}

.ymaps-2-1-79-balloon__tail {
    display: none;
}

.ymaps-2-1-79-balloon * {
    font-family: var(--font-family) !important;
}

@media (min-width: 768px) {
    .shops-stores {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 2rem;
        align-items: stretch;
    }

    .shop-more__map {
        height: 16rem;
    }

    .shop-more__row {
        grid-template-columns: 7.25rem 1fr;
    }
}

@media (min-width: 1200px) {
    .shops.shops--about {
        margin-bottom: 4.5rem;
    }

    .shops-stores {
        gap: 2.25rem 2.5rem;
    }

    .shop-more__map {
        height: 17rem;
    }
}
