.nh-booking {
    --nh-dark: #2f3030;
    --nh-gold: #c99a12;
    --nh-gold-soft: #f8f2df;
    --nh-line: #e2e2e2;
    --nh-text: #252525;
    --nh-muted: #707070;
    --nh-error: #b42318;
    --nh-success: #218739;

    max-width: 940px;
    margin: 0 auto;
    color: var(--nh-text);
}

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

.nh-card {
    background: #fff;
    border: 1px solid var(--nh-line);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 28px rgba(0,0,0,.055);
}

.nh-section {
    display: grid;
    gap: 20px;
}

.nh-section-head {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #ededed;
}

.nh-section h3,
.nh-section h4 {
    margin: 0;
    color: var(--nh-dark);
}

.nh-section h3 {
    font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.nh-step {
    display: inline-grid;
    place-items: center;
    flex: 0 0 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--nh-gold);
    color: #fff;
    font-weight: 800;
    line-height: 1;
}

.nh-help {
    margin: 5px 0 0;
    color: var(--nh-muted);
}

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

.nh-booking label > span,
.nh-booking legend {
    display: block;
    font-weight: 650;
    margin-bottom: 7px;
}

.nh-booking input[type="text"],
.nh-booking input[type="email"],
.nh-booking input[type="tel"],
.nh-booking textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #cfcfcf;
    border-radius: 7px;
    padding: 12px 13px;
    background: #fff;
    color: var(--nh-text);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.nh-booking input[type="text"]:focus,
.nh-booking input[type="email"]:focus,
.nh-booking input[type="tel"]:focus,
.nh-booking textarea:focus {
    outline: none;
    border-color: var(--nh-gold);
    box-shadow: 0 0 0 3px rgba(201,154,18,.15);
}

.nh-calendar {
    max-width: 570px;
}

.nh-calendar-shell {
    border: 1px solid var(--nh-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.nh-calendar-head {
    display: grid;
    grid-template-columns: 54px 1fr 54px;
    align-items: center;
    min-height: 62px;
    background: var(--nh-dark);
    color: #fff;
}

.nh-month__title {
    text-align: center;
    font-weight: 750;
    font-size: 1.15rem;
    letter-spacing: .01em;
}

.nh-calendar-nav {
    appearance: none;
    border: 0;
    align-self: stretch;
    background: transparent;
    color: #fff;
    font-size: 1.65rem;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.nh-calendar-nav:hover:not(:disabled) {
    background: var(--nh-gold);
}

.nh-calendar-nav:disabled {
    opacity: .22;
    cursor: default;
}

.nh-month__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    padding: 14px;
}

.nh-weekday {
    text-align: center;
    font-size: .78rem;
    font-weight: 750;
    color: var(--nh-muted);
    padding: 5px 0 8px;
}

.nh-day {
    appearance: none;
    border: 1px solid #e0e0e0;
    border-radius: 7px;
    background: #fff;
    min-height: 46px;
    cursor: pointer;
    font: inherit;
    color: var(--nh-text);
    transition: transform .12s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.nh-day:not(:disabled):hover {
    border-color: var(--nh-gold);
    background: var(--nh-gold-soft);
    transform: translateY(-1px);
}

.nh-day.is-selected {
    border-color: var(--nh-gold);
    background: var(--nh-gold);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 3px 10px rgba(201,154,18,.25);
}

.nh-day--disabled {
    opacity: .2;
    cursor: not-allowed;
    background: #f5f5f5;
}

.nh-day--blank {
    border: 0;
    background: transparent;
}

.nh-time-wrap {
    display: grid;
    gap: 12px;
    padding-top: 4px;
}

.nh-times {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.nh-time {
    appearance: none;
    border: 1px solid #cfcfcf;
    border-radius: 999px;
    background: #fff;
    color: var(--nh-text);
    padding: 10px 18px;
    cursor: pointer;
    font: inherit;
    font-weight: 650;
    transition: border-color .18s ease, background .18s ease, color .18s ease, transform .12s ease;
}

.nh-time:hover {
    border-color: var(--nh-gold);
    background: var(--nh-gold-soft);
    transform: translateY(-1px);
}

.nh-time.is-selected {
    border-color: var(--nh-dark);
    background: var(--nh-dark);
    color: #fff;
}

.nh-choicebox {
    border: 0;
    padding: 0;
    margin: 0;
}

.nh-choicebox legend {
    margin-bottom: 12px;
}

.nh-choicebox legend small {
    font-weight: 400;
    color: var(--nh-muted);
    margin-left: 5px;
}

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

.nh-choice-grid--four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nh-choice {
    position: relative;
    display: block;
    cursor: pointer;
}

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

.nh-choice > span {
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    min-height: 88px;
    margin: 0 !important;
    padding: 15px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 10px;
    background: #fff;
    font-weight: 400 !important;
    transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .12s ease;
}

.nh-choice > span strong {
    color: var(--nh-dark);
}

.nh-choice > span small {
    margin-top: 5px;
    color: var(--nh-muted);
    line-height: 1.35;
}

.nh-choice:hover > span {
    border-color: var(--nh-gold);
    transform: translateY(-1px);
}

.nh-choice input:checked + span {
    border-color: var(--nh-gold);
    background: var(--nh-gold-soft);
    box-shadow: inset 4px 0 0 var(--nh-gold);
}

.nh-choice input:focus-visible + span {
    outline: 2px solid var(--nh-gold);
    outline-offset: 2px;
}

.nh-consent-wrap {
    background: #fafafa;
    border-radius: 10px;
    padding: 15px 16px;
}

.nh-consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.nh-consent input {
    margin-top: 3px;
}

.nh-booking button[type="submit"] {
    appearance: none;
    width: fit-content;
    border: 0;
    border-radius: 8px;
    padding: 13px 24px;
    background: var(--nh-gold);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    box-shadow: 0 5px 16px rgba(201,154,18,.22);
    transition: background .18s ease, transform .12s ease, box-shadow .18s ease;
}

.nh-booking button[type="submit"]:hover {
    background: var(--nh-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,.14);
}

.nh-booking button[type="submit"]:disabled {
    cursor: wait;
    opacity: .6;
    transform: none;
}

.nh-field-error {
    min-height: 0;
    margin-top: 7px;
    color: var(--nh-error);
    font-size: .9rem;
    font-weight: 600;
}

.nh-field-error:empty {
    display: none;
}

.nh-field-group.is-invalid input[type="text"],
.nh-field-group.is-invalid input[type="email"],
.nh-field-group.is-invalid input[type="tel"],
.nh-field-group.is-invalid textarea {
    border-color: var(--nh-error);
    box-shadow: 0 0 0 2px rgba(180,35,24,.08);
}

.nh-field-group.is-invalid .nh-calendar-shell,
.nh-field-group.is-invalid .nh-choice > span {
    border-color: rgba(180,35,24,.6);
}

.nh-booking__status {
    margin-bottom: 18px;
    border-radius: 9px;
}

.nh-booking__status.is-error,
.nh-booking__status.is-success,
.nh-booking__status.is-info {
    padding: 13px 15px;
    border: 1px solid;
}

.nh-booking__status.is-error {
    border-color: var(--nh-error);
    background: #fff5f4;
}

.nh-booking__status.is-success {
    border-color: var(--nh-success);
    background: #f2fbf4;
}

.nh-booking__status.is-info {
    border-color: #888;
    background: #fafafa;
}

.nh-no-slots {
    color: var(--nh-muted);
}

.nh-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 820px) {
    .nh-grid,
    .nh-choice-grid,
    .nh-choice-grid--four {
        grid-template-columns: 1fr;
    }

    .nh-card {
        padding: 20px;
    }

    .nh-calendar {
        max-width: none;
    }
}

@media (max-width: 480px) {
    .nh-card {
        padding: 17px 14px;
        border-radius: 10px;
    }

    .nh-month__grid {
        gap: 3px;
        padding: 9px;
    }

    .nh-day {
        min-height: 40px;
        border-radius: 5px;
    }

    .nh-calendar-head {
        grid-template-columns: 46px 1fr 46px;
    }

    .nh-times {
        display: grid;
        grid-template-columns: repeat(2, minmax(0,1fr));
    }

    .nh-time {
        text-align: center;
    }
}


.nh-required-note {
    margin: -8px 0 0;
    font-size: .9rem;
    color: var(--nh-muted);
}
