.booking-section {
    padding: 72px 0;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.booking-shell {
    border: 1px solid #cfddd3;
    border-radius: 24px;
    padding: 32px;
    background: #ffffff;
    box-shadow: 0 18px 40px rgba(18, 55, 36, 0.08);
}

.booking-head {
    margin-bottom: 24px;
}

.booking-kicker {
    margin: 0 0 8px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    font-weight: 700;
    color: #2e7d32;
}

.booking-title {
    margin: 0 0 10px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.15;
    color: #1f2b23;
}

.booking-subtitle {
    margin: 0;
    color: #546157;
    font-size: 16px;
}

.booking-form {
    display: grid;
    gap: 20px;
}

.booking-step {
    border: 1px solid #dbe7df;
    border-radius: 16px;
    padding: 20px;
    background: #fcfefc;
}

.booking-step-title {
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    color: #1f2b23;
}

.booking-step-title span {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: #2e7d32;
}

.booking-step-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.booking-step-grid-main {
    align-items: start;
}

.booking-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.booking-field span {
    font-size: 14px;
    color: #415246;
}

.booking-field input,
.booking-field select {
    min-height: 44px;
    border: 1px solid #c7d6cb;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 15px;
    font-family: inherit;
}

.booking-fieldset {
    border: 1px solid #d6e2d9;
    border-radius: 12px;
    padding: 10px;
    margin: 0;
    display: grid;
    gap: 8px;
}

.booking-fieldset legend {
    margin: 0;
    padding: 0 6px;
    font-size: 13px;
    color: #5a695f;
}

.choice-pill {
    position: relative;
}

.choice-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.choice-pill span {
    min-height: 40px;
    border: 1px solid #cfe0d4;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #2f3e34;
    font-weight: 600;
    background: #ffffff;
}

.choice-pill input:checked + span {
    border-color: #2e7d32;
    background: #e9f4ea;
    color: #1e5f25;
}

.booking-helper {
    margin: 0 0 12px;
    color: #637267;
    font-size: 14px;
}

.booking-slots {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.slot-btn {
    border: 1px solid #cfddd3;
    background: #ffffff;
    border-radius: 10px;
    min-height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 0.15s ease;
}

.slot-btn strong {
    font-size: 14px;
    color: #27352c;
    line-height: 1;
}

.slot-btn small {
    margin-top: 4px;
    font-size: 12px;
    color: #5f6f63;
}

.slot-btn:hover {
    border-color: #6ea877;
}

.slot-btn.is-selected {
    border-color: #2e7d32;
    background: #e8f4ea;
}

.booking-range {
    margin: 12px 0 0;
    font-weight: 600;
    color: #1f2b23;
}

.booking-items {
    display: grid;
    gap: 10px;
}

.booking-item {
    border: 1px solid #d8e4dc;
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #ffffff;
}

.booking-item-name {
    margin: 0;
    font-weight: 700;
    color: #1e2d24;
}

.booking-item-price {
    margin: 4px 0 0;
    font-size: 13px;
    color: #5e6e62;
}

.qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #b9ccbe;
    background: #f4faf5;
    color: #1f5f25;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.qty-value {
    min-width: 18px;
    text-align: center;
    font-weight: 700;
    font-size: 20px;
    color: #203128;
}

.booking-check {
    margin-top: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #445449;
}

.booking-summary {
    border: 1px solid #d2e0d5;
    border-radius: 16px;
    padding: 20px;
    background: #f5faf6;
}

.booking-summary h4 {
    margin: 0 0 8px;
    color: #1f2d24;
}

.booking-summary p {
    margin: 0 0 14px;
    color: #48574c;
}

.booking-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 26px;
    border-radius: 999px;
    border: 0;
    text-decoration: none;
    background: #2e7d32;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.booking-status {
    margin-top: 10px;
    font-size: 14px;
    color: #2a6f2f;
}

.booking-status.is-error {
    color: #b3261e;
}

.booking-status.is-success {
    color: #2a6f2f;
}

.booking-inline-warning {
    margin: 6px 0 12px;
    padding: 10px 12px;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #b10f0a;
    background: #ffe9e7;
    border: 1px solid #f3b7b2;
    border-radius: 10px;
}

.booking-inline-link {
    border: 0;
    background: transparent;
    padding: 0;
    color: #1e5f25;
    text-decoration: underline;
    cursor: pointer;
    font-size: inherit;
    font-family: inherit;
}

.booking-legal-modal-card {
    max-height: 80vh;
    overflow: auto;
}

.booking-legal-content p {
    line-height: 1.4;
    margin: 0 0 10px;
}

.booking-guest-modal-card {
    width: min(420px, calc(100% - 24px));
    margin: 12vh auto;
    animation: booking-guest-modal-show 0.2s ease-out;
}

.booking-guest-modal-card h3 {
    margin: 0 0 10px;
    color: #b10f0a;
    text-align: center;
}

.booking-guest-modal-card .cabinet-pay-modal-summary p {
    text-align: center;
}

.booking-guest-modal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 16px;
    justify-content: stretch;
}

.booking-guest-modal-actions .booking-auth-btn {
    width: 100%;
}

@keyframes booking-guest-modal-show {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1200px) {
    .booking-slots {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .booking-shell {
        padding: 24px;
    }

    .booking-step-grid {
        grid-template-columns: 1fr;
    }

    .booking-slots {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .booking-section {
        padding: 56px 0;
    }

    .booking-step {
        padding: 14px;
    }

    .booking-slots {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .booking-item {
        align-items: flex-start;
        flex-direction: column;
    }
}

.booking-auth {
    border: 1px solid #dbe7df;
    border-radius: 16px;
    padding: 16px;
    background: #fcfefc;
    margin-bottom: 20px;
}

.booking-auth-guest {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.booking-auth-form {
    border: 0;
    border-radius: 0;
    padding: 0;
    background: transparent;
    display: grid;
    gap: 8px;
}

.booking-auth-form[hidden] {
    display: none !important;
}

.booking-auth-form h4 {
    margin: 0;
    font-size: 16px;
    color: #1f2d24;
}

.booking-auth-user {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.booking-auth-user-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.booking-auth-text {
    margin: 0;
    color: #2f3e34;
}

.booking-auth-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border: 1px solid #2e7d32;
    border-radius: 999px;
    padding: 0 16px;
    background: #2e7d32;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

.booking-auth-btn:hover {
    text-decoration: none;
}

.booking-auth-status {
    margin: 10px 0 0;
    color: #2a6f2f;
    font-size: 14px;
}

.slot-btn strong {
    font-size: 12px;
}

.slot-btn.is-disabled {
    border-color: #d6d6d6;
    background: #f1f1f1;
    color: #8a8a8a;
    cursor: not-allowed;
}

.slot-btn.is-disabled strong,
.slot-btn.is-disabled small {
    color: #8a8a8a;
}

@media (max-width: 992px) {
    .booking-auth-guest {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .booking-auth-user {
        flex-direction: column;
        align-items: flex-start;
    }

    .booking-auth-user-actions {
        width: 100%;
    }
}

.booking-auth-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.booking-link-btn {
    border: 0;
    background: transparent;
    color: #1e5f25;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
}

.booking-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.booking-summary-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.booking-btn-secondary {
    background: #ffffff;
    color: #1e5f25;
    border: 1px solid #2e7d32;
}

.booking-btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.booking-checks-inline {
    display: grid;
    gap: 8px;
    margin-bottom: 8px;
}

.booking-pay-methods {
    display: grid;
    gap: 8px;
    margin: 12px 0 0;
}

.booking-pay-status {
    margin: 10px 0 0;
}

.booking-auth-guest {
    display: block;
}

@media (max-width: 992px) {
    .booking-auth-grid {
        grid-template-columns: 1fr;
    }
}
