/* Блок «Акции» (лента акционных квартир) — токены из Figma */

.promo-lenta {
    --promo-orange: #F97135;
    --promo-dark: #1E1E1E;
    --promo-spec: #181818;
    --promo-gray: #757575;
    --promo-old: #7C7C7C;
}

.promo-lenta-wrap {
    position: relative;
}

.promo-lenta-swiper {
    padding: 10px 5px 20px;
}

.promo-lenta-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
}

.promo-lenta-card__img {
    display: block;
    height: 200px;
    margin: 8px;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f3f4;
}

.promo-lenta-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.promo-lenta-card__body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6px 16px 20px;
    flex: 1 1 auto;
}

.promo-lenta-card__title {
    font-weight: 700;
    font-size: 15px;
    line-height: 1.15;
    text-transform: uppercase;
    color: var(--promo-dark);
    margin-bottom: 4px;
}

.promo-lenta-card__city {
    font-size: 12px;
    color: var(--promo-gray);
    margin-bottom: 12px;
}

.promo-lenta-card__specs {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    font-size: 14px;
    color: var(--promo-spec);
    margin-bottom: 12px;
}

.promo-lenta-card__specs span {
    padding: 0 10px;
    position: relative;
}

/* надстрочная 2 в «м²» не должна распирать строку и сдвигать площадь */
.promo-lenta-card__specs sup {
    font-size: 0.7em;
    line-height: 0;
}

.promo-lenta-card__specs span + span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 12px;
    background: #c9c9c9;
}

.promo-lenta-card__prices {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.promo-lenta-card__price-old {
    font-size: 18px;
    color: var(--promo-old);
    text-decoration: line-through;
}

.promo-lenta-card__price-new {
    font-size: 20px;
    font-weight: 700;
    color: var(--promo-orange);
    white-space: nowrap;
}

.promo-lenta-card__btn {
    margin-top: auto;
    display: inline-block;
    background: var(--promo-orange);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    padding: 12px 28px;
    border-radius: 30px;
    transition: opacity .2s ease;
}

.promo-lenta-card__btn:hover {
    color: #fff;
    opacity: .88;
    text-decoration: none;
}

/* Навигация слайдера — по Figma: pill-подложка 91x44 + два круга 35px.
   Активная кнопка (есть куда листать) — белый круг + оранжевая стрелка.
   Неактивная (.swiper-button-disabled) — белый@50% + стрелка оранжевый@60%. */
.promo-lenta-nav {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}

.promo-lenta-pager {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 6px 0 5px;
    background: #e3e3e3;
    border-radius: 22px;
}

.promo-lenta-nav .swiper-button-prev,
.promo-lenta-nav .swiper-button-next {
    position: static;
    width: 35px;
    height: 35px;
    margin: 0;
    border-radius: 50%;
    background: #fff;
    transition: background .2s ease;
}

.promo-lenta-nav .swiper-button-prev::after,
.promo-lenta-nav .swiper-button-next::after {
    font-size: 13px;
    font-weight: 700;
    color: #f97135;
}

/* Неактивное состояние — гасим дефолтную прозрачность Swiper и красим по Figma */
.promo-lenta-nav .swiper-button-disabled {
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
    cursor: default;
}

.promo-lenta-nav .swiper-button-disabled::after {
    color: rgba(249, 113, 53, 0.6);
}

@media (max-width: 767px) {
    .promo-lenta-card__img {
        height: 180px;
    }
}
