/* ===== СЕКЦИЯ ТАРИФОВ ===== */
.tariffs-outer {
    background: #EFEFEE;
    padding: 60px 0;
    overflow: hidden;
}

.tariffs-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.tariffs-title {
    text-align: center;
    color: #3E1A3E;
    font-size: 36px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin-bottom: 40px;
}

.tariffs-slider-wrapper {
    position: relative;
}

.tariffs-swiper {
    overflow: hidden;
}
.tariffs-swiper .swiper-wrapper {
    align-items: stretch;
}
.tariffs-swiper .swiper-slide {
    height: auto;
    display: flex;
}

/* ===== КАРТОЧКА ТАРИФА ===== */
.tariff-card {
    width: 100%;
    border-radius: 12px;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-sizing: border-box;
}

.tariff-card-gradient {
    background: linear-gradient(180deg, #E8E3E9 0%, rgba(232, 227, 233, 0) 100%);
}

.tariff-card-plain {
    background: #FFFFFF;
}

.tariff-card-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    width: 100%;
}

.tariff-card-name {
    color: #3E1A3E;
    font-size: 28px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    margin: 0;
    word-break: break-word;
}

.tariff-card-desc {
    color: rgba(62, 26, 62, 0.50);
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    margin: 0;
    word-break: break-word;
}

.tariff-card-prices {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.tariff-card-price {
    color: #3E1A3E;
    font-size: 32px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

.tariff-card-old-price {
    color: rgba(62, 26, 62, 0.50);
    font-size: 20px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-decoration: line-through;
}

/* ===== СПИСОК ВОЗМОЖНОСТЕЙ ===== */
.tariff-card-features {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1 1 auto;
}

.tariff-card-features li {
    color: #3E1A3E;
    font-size: 15px;
    font-family: 'Manrope', sans-serif;
    font-weight: 300;
    text-align: center;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(62, 26, 62, 0.15);
}

.tariff-card-features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ===== КНОПКА ===== */
.tariff-card-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
    width: 100%;
    background: linear-gradient(63deg, #3E1A3E 0%, #C200C2 100%);
    border-radius: 900px;
    color: #fff;
    font-size: 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: auto;
}

.tariff-card-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(194, 0, 194, 0.3);
    color: #fff;
    text-decoration: none;
}

/* ===== СТРЕЛКИ НАВИГАЦИИ ===== */
.tariffs-prev,
.tariffs-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    width: 17px;
    height: 31px;
    transition: opacity 0.3s;
    outline: none;                     /* убираем обводку */
    box-shadow: none;                  /* убираем тень, если есть */
}

.tariffs-prev {
    left: -45px;
}

.tariffs-next {
    right: -45px;
}

.tariffs-prev svg,
.tariffs-next svg {
    display: block;
    width: 100%;
    height: 100%;
}

.tariffs-prev:hover svg path,
.tariffs-next:hover svg path {
    fill-opacity: 0.5;
}

.tariffs-prev:focus,
.tariffs-next:focus {
    outline: none;
    box-shadow: none;
}

/* ===== АДАПТИВ ===== */
@media (max-width: 1280px) {
    .tariffs-prev {
        left: -25px;
    }
    .tariffs-next {
        right: -25px;
    }
}

@media (max-width: 767px) {
    .tariffs-outer {
        padding: 40px 0;
    }
    
    .tariffs-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .tariff-card {
        padding: 24px 16px;
        gap: 16px;
    }
    
    .tariff-card-name {
        font-size: 18px;
    }
    
    .tariff-card-desc {
        font-size: 12px;
    }
    
    .tariff-card-price {
        font-size: 24px;
    }
    
    .tariff-card-old-price {
        font-size: 16px;
    }
    
    .tariff-card-features li {
        font-size: 12px;
        padding-bottom: 8px;
    }
    
    .tariff-card-btn {
        height: 48px;
        font-size: 13px;
    }
    
    .tariffs-prev,
    .tariffs-next {
        width: 12px;
        height: 22px;
    }
    .tariffs-prev {
        left: -15px;
    }
    .tariffs-next {
        right: -15px;
    }
}