/* ClassPass-style plans page */

.ch-plans-hero {
    background: linear-gradient(180deg, var(--ch-light) 0%, #fff 85%);
    padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.5rem, 6vw, 4rem);
    text-align: center;
}

.ch-plans-hero__title {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 800;
    max-width: 28rem;
    margin: 0 auto 1rem;
    line-height: 1.1;
}

.ch-plans-hero__sub {
    font-size: 1.1rem;
    max-width: 32rem;
    margin: 0 auto 1.75rem;
    opacity: 0.8;
    line-height: 1.55;
}

.ch-plans-hero__cta {
    border-radius: var(--ch-radius-pill);
    padding: 0.65rem 1.75rem;
    font-weight: 600;
}

.ch-plans-section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    margin-bottom: 1.5rem;
}

.ch-plans-section-head__title {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0;
}

.ch-plans-section-head__link {
    color: var(--ch-secondary);
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
}

.ch-plans-section-head__link:hover {
    text-decoration: underline;
}

.ch-plans-carousel-wrap {
    position: relative;
    padding: 0.85rem 2.75rem 0;
}

.ch-plans-carousel {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0.25rem 0.75rem;
    scrollbar-width: none;
}

.ch-plans-carousel::-webkit-scrollbar {
    display: none;
}

.ch-plans-carousel__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(44, 24, 16, 0.12);
    border-radius: 50%;
    background: #fff;
    color: var(--ch-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--ch-shadow-sm);
    transition: background 0.2s, border-color 0.2s;
}

.ch-plans-carousel__nav:hover {
    background: var(--ch-light);
    border-color: rgba(44, 24, 16, 0.2);
}

.ch-plans-carousel__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.ch-plans-carousel__nav--prev {
    left: 0;
}

.ch-plans-carousel__nav--next {
    right: 0;
}

.ch-plan-slide {
    flex: 0 0 calc((100% - 2rem) / 3);
    min-width: 15rem;
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid rgba(44, 24, 16, 0.1);
    border-radius: var(--ch-radius-lg);
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
    min-height: 11rem;
    cursor: pointer;
    font: inherit;
    color: inherit;
    width: auto;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.ch-plan-slide:hover {
    border-color: rgba(228, 114, 37, 0.45);
    box-shadow: var(--ch-shadow-sm);
}

.ch-plan-slide:focus-visible {
    outline: 2px solid var(--ch-secondary);
    outline-offset: 2px;
}

@media (max-width: 991.98px) {
    .ch-plan-slide {
        flex: 0 0 calc((100% - 1rem) / 2);
        min-width: 14rem;
    }
}

@media (max-width: 575.98px) {
    .ch-plans-carousel-wrap {
        padding-left: 0;
        padding-right: 0;
    }

    .ch-plans-carousel__nav {
        display: none;
    }

    .ch-plan-slide {
        flex: 0 0 85%;
        min-width: 0;
    }
}

.ch-plan-slide--popular {
    border-color: var(--ch-secondary);
    box-shadow: 0 4px 20px rgba(228, 114, 37, 0.12);
}

.ch-plan-slide--selected {
    border-color: var(--ch-secondary);
    border-width: 2px;
    box-shadow: 0 4px 20px rgba(228, 114, 37, 0.18);
}

.ch-plan-slide--popular.ch-plan-slide--selected {
    border-width: 2px;
}

.ch-plan-slide.is-disabled {
    opacity: 0.65;
}

.ch-plan-slide__badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--ch-light);
    color: var(--ch-dark);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--ch-radius-pill);
    border: 1px solid rgba(44, 24, 16, 0.08);
    white-space: nowrap;
    z-index: 1;
}

.ch-plan-slide--popular .ch-plan-slide__badge {
    background: var(--ch-secondary);
    color: #fff;
    border-color: var(--ch-secondary);
}

.ch-plan-slide__badge--current {
    background: #198754;
    color: #fff;
    border-color: #198754;
}

.ch-plan-slide__credits {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.ch-plan-slide__price {
    font-size: 1.1rem;
    font-weight: 700;
}

.ch-plan-slide__period {
    font-weight: 400;
    color: #6c757d;
    font-size: 0.9rem;
}

.ch-plan-slide__name {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: #6c757d;
}

.ch-plans-dots {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

.ch-plans-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.ch-plans-dots span.is-active {
    background: var(--ch-dark);
}

.ch-plan-detail {
    margin: 1.75rem auto 0;
    max-width: 40rem;
}

.ch-plan-detail__title {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0 0 0.75rem;
    text-align: center;
}

.ch-plan-detail__desc {
    font-size: 0.95rem;
    color: #6c757d;
    margin: 0 0 1rem;
    line-height: 1.55;
    text-align: left;
}

.ch-plan-detail__list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.ch-plan-detail__list li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}

.ch-plan-detail__list .bi {
    color: var(--ch-secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ch-plans-features {
    list-style: none;
    padding: 0;
    margin: 2.5rem auto 0;
    max-width: 22rem;
}

.ch-plans-features li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 0.65rem;
    font-size: 0.95rem;
}

.ch-plans-features .bi {
    color: var(--ch-secondary);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ch-plans-faq-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    margin-bottom: 2rem;
}
