.clubp {
    background: #f8f6f0;
    color: #171e2d;
    padding: 20px 0 48px;
}

.clubp-wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.clubp-crumb {
    display: flex;
    gap: 8px;
    margin: 0 0 16px;
    color: #6b707c;
    font-size: 14px;
}

.clubp-crumb a {
    color: #1c58a2;
    text-decoration: none;
}

.clubp-layout {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.clubp-intro {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}

.clubp-photo {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    background: #eceae4;
}

.clubp-photo__track {
    display: flex;
    height: 100%;
    transition: transform .25s ease;
}

.clubp-photo__track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.clubp-photo__nav,
.clubp-slots__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #171e2d;
    box-shadow: 0 2px 8px rgba(23, 30, 45, .12);
    cursor: pointer;
}

.clubp-photo__nav--prev { left: 8px; }
.clubp-photo__nav--next { right: 8px; }

.clubp-photo__count {
    position: absolute;
    right: 10px;
    bottom: 10px;
    padding: 2px 8px;
    border-radius: 999px;
    background: rgba(23, 30, 45, .72);
    color: #fff;
    font-size: 12px;
}

.clubp-intro h1,
.clubp-sms h2,
.clubp-card h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
}

.clubp-intro p,
.clubp-card p,
.clubp-sms p,
.clubp-note,
.clubp-quiet {
    margin: 8px 0 0;
    color: #6b707c;
    line-height: 1.45;
}

.clubp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.clubp-tags li {
    padding: 4px 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e8e7e3;
    font-size: 13px;
}

.clubp-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 18px;
}

.clubp-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 84px;
    padding: 16px 16px 16px 18px;
    border-radius: 22px;
    text-decoration: none;
    color: #171e2d;
    box-shadow: 0 8px 20px rgba(23, 30, 45, 0.08);
}

.clubp-action span {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.clubp-action strong {
    font-size: 16px;
    font-weight: 600;
}

.clubp-action strong b {
    margin-left: 6px;
    color: #1c58a2;
}

.clubp-action small {
    font-size: 13px;
    color: #6b707c;
    line-height: 1.3;
}

.clubp-action i {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M9 6l6 6-6 6' stroke='%23171E2D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center no-repeat;
}

.clubp-action--book { background: #e7f0fa; }
.clubp-action--coach { background: #e7f6ee; }
.clubp-action--events { background: #fff4dc; }
.clubp-action--map { background: #fde8e3; }

.clubp-seekers {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.clubp-side .clubp-seekers {
    display: none;
}

.clubp-seekers__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.clubp-seekers__head h2 {
    margin: 0;
    font-size: 16px;
}

.clubp-seekers__head a {
    color: #1c58a2;
    text-decoration: none;
    font-size: 13px;
}

.clubp-seeker {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid #e8e7e3;
    border-radius: 16px;
    background: #fff;
    color: inherit;
    text-decoration: none;
}

.clubp-seeker__avatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
    background: #f8f6f0;
    color: #1c58a2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.clubp-seeker__body {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 8px;
    min-width: 0;
}

.clubp-seeker__body em {
    margin-left: 6px;
    font-style: normal;
    font-size: 11px;
    color: #6b707c;
}

.clubp-seeker__body small {
    grid-column: 1 / -1;
    color: #6b707c;
    font-size: 12px;
}

.clubp-promo {
    display: flex;
    gap: 8px;
}

.clubp-promo input {
    flex: 1;
    height: 48px;
    border: 1px solid #e8e7e3;
    border-radius: 12px;
    padding: 0 14px;
    font-size: 16px;
}

.clubp-promo button {
    height: 48px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #e8e7e3;
    background: #f8f6f0;
    font-weight: 600;
}

.clubp-promo-ok {
    margin: 0;
    color: #1f7a4d;
    font-size: 13px;
}

.clubp-price-old {
    color: #6b707c;
    text-decoration: line-through;
}

.clubp-book-card {
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid #e8e7e3;
}

.clubp-book-title,
.clubp-confirm-title {
    margin: 0;
    font-size: 20px;
}

.clubp-book-lead {
    margin: 4px 0 0;
    color: #6b707c;
    font-size: 14px;
}

.clubp-dates {
    display: flex;
    grid-column: 1 / -1;
    gap: 8px;
    overflow-x: auto;
    margin: 12px 0 4px;
    padding-bottom: 4px;
}

.clubp-date {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 14px;
    border: 1px solid #e8e7e3;
    border-radius: 20px;
    background: #fff;
    color: #171e2d;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
}

.clubp-date.is-on {
    background: #db523e;
    border-color: #db523e;
    color: #fff;
}

.clubp-confirm-title {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.clubp-seeker-add {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    margin-top: 4px;
    color: #1c58a2;
    text-decoration: none;
    font-weight: 600;
}

.clubp-price-now {
    display: block;
    color: #171e2d;
    font-size: 22px;
    font-weight: 700;
}

.clubp-filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

.clubp-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    font-size: 13px;
    color: #6b707c;
}

.clubp-field--branch,
.clubp-field--duration {
    grid-column: 1 / -1;
}

.clubp-field select,
.clubp-field input,
.clubp-phone {
    width: 100%;
    height: 48px;
    border: 1px solid #e8e7e3;
    border-radius: 12px;
    background: #fff;
    color: #171e2d;
    font: inherit;
    font-size: 16px;
}

.clubp-field select,
.clubp-field input {
    padding: 0 12px;
}

.clubp-stepper {
    display: flex;
    align-items: center;
    height: 48px;
    border: 1px solid #e8e7e3;
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.clubp-stepper strong {
    flex: 1;
    text-align: center;
    color: #171e2d;
    font-size: 16px;
}

.clubp-stepper button {
    width: 48px;
    height: 48px;
    border: 0;
    background: transparent;
    color: #171e2d;
    font-size: 22px;
    cursor: pointer;
}

.clubp-stepper button:disabled {
    color: #c5c3bc;
    cursor: default;
}

.clubp-phone {
    display: flex;
    align-items: center;
    padding: 0 8px 0 0;
}

.clubp-phone select {
    width: auto;
    height: 100%;
    border: 0;
    background: transparent;
    padding: 0 4px 0 12px;
}

.clubp-phone input {
    height: 100%;
    border: 0;
    padding: 0 8px;
    min-width: 0;
}

.clubp-slots-wrap {
    position: relative;
    margin-top: 14px;
}

.clubp-slots {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 44px 10px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
}

.clubp-slots::-webkit-scrollbar {
    height: 0;
}

.clubp-slot {
    flex: 0 0 auto;
    scroll-snap-align: start;
    min-width: 72px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid #e8e7e3;
    border-radius: 12px;
    background: #fff;
    color: #171e2d;
    font: inherit;
    font-size: 15px;
    cursor: pointer;
}

.clubp-slot.is-busy {
    background: #eceae4;
    color: #878c96;
    cursor: default;
}

.clubp-slot.is-range {
    background: #db523e;
    border-color: #db523e;
    color: #fff;
}

.clubp-slots__nav {
    z-index: 1;
}

.clubp-slots__nav--prev { left: 0; }
.clubp-slots__nav--next { right: 0; }

.clubp-contacts {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.clubp .booking-payment {
    margin-top: 16px;
    background: #fff;
    border: 1px solid #e8e7e3;
    color: #171e2d;
}

.clubp .booking-payment legend,
.clubp .booking-payment__option strong {
    color: #171e2d;
}

.clubp .booking-payment__option small {
    color: #6b707c;
}

.clubp-summary {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
    padding: 14px 16px;
    border-radius: 16px;
    background: #fde8e3;
    border: 0;
}

.clubp-summary strong {
    display: block;
}

.clubp-summary span {
    color: #6b707c;
}

.clubp-submit {
    width: 100%;
    height: 52px;
    border: 0;
    border-radius: 14px;
    background: #db523e;
    color: #fff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
}

.clubp-submit--pay {
    background: #f5c542;
    color: #171e2d;
}

.clubp-submit:disabled {
    background: #c5c3bc;
    color: #fff;
    cursor: default;
}

.clubp-sms {
    margin-top: 18px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8e7e3;
}

.clubp-sms h2 {
    font-size: 22px;
}

.clubp-quiet a,
.clubp-card a,
.clubp-route {
    color: #1c58a2;
}

.clubp-route {
    display: inline-block;
    margin-top: 8px;
}

.clubp-map {
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    background: #eceae4;
}

.clubp-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.clubp-card {
    margin-top: 12px;
    padding: 16px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e8e7e3;
}

.clubp-card h2 {
    font-size: 18px;
}

@media (max-width: 520px) {
    .clubp-filters {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 900px) {
    .clubp {
        padding: 28px 0 72px;
    }

    .clubp-wrap {
        padding: 0 40px;
    }

    .clubp-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 320px;
        gap: 28px;
        align-items: start;
    }

    .clubp-intro {
        display: grid;
        grid-template-columns: 400px minmax(0, 1fr);
        gap: 24px;
        align-items: start;
    }

    .clubp-photo {
        width: 400px;
        height: 232px;
    }

    .clubp-filters {
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 10px;
    }

    .clubp-dates {
        flex: 1 0 100%;
    }

    .clubp-field,
    .clubp-field--branch,
    .clubp-field--duration {
        flex: 1;
        grid-column: auto;
    }

    .clubp-field--duration {
        flex: 0 0 190px;
    }

    .clubp-contacts {
        grid-template-columns: 1fr 1.2fr;
    }

    .clubp-actions {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .clubp-confirm-title {
        display: none;
    }

    .clubp-submit--pay {
        background: #db523e;
        color: #fff;
    }

    .clubp-seekers--inline {
        display: none;
    }

    .clubp-side .clubp-seekers {
        display: flex;
    }

    .clubp-summary {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .clubp-submit {
        width: auto;
        min-width: 240px;
        padding: 0 22px;
    }

    .clubp-map {
        height: 220px;
    }
}
