/* =========================================================
   BASE
========================================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --page-bg: #080808;
    --panel-bg: #111111;
    --panel-soft: #181818;
    --field-bg: #202020;
    --field-hover: #252525;

    --gold: #dfb82f;
    --gold-hover: #efc63c;
    --gold-border: #a98717;

    --white: #ffffff;
    --text: #dddddd;
    --muted: #888888;

    --border: #3f3f3f;
    --border-soft: #292929;

    --error: #e05c5c;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Montserrat", sans-serif;
    /*    background: var(--page-bg);*/
    color: var(--text);
    min-height: 100vh;
}

button,
input,
textarea {
    font-family: inherit;
}

/* =========================================================
   PAGE
========================================================= */

.booking-page {
    min-height: 100vh;
    padding: 45px 20px;
    background:
        radial-gradient(circle at 10% 20%, rgba(223, 184, 47, .035), transparent 28%),
        #080808;
    background: #fff;
}

.booking-wrapper {
    width: 100%;
    max-width: 1080px;
    max-width: 1000px;
    min-height: 720px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 315px 1fr;

    background: var(--panel-bg);

    border: 1px solid #252525;

    box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
}

/* =========================================================
   SIDEBAR
========================================================= */

.booking-sidebar {
    position: relative;

    padding: 50px 38px;

    display: flex;
    flex-direction: column;

    color: white;

    background:
        linear-gradient(180deg,
            rgba(5, 5, 5, .72),
            rgba(5, 5, 5, .97)),
        url("https://images.unsplash.com/photo-1579751626657-72bc17010498?auto=format&fit=crop&w=1000&q=85") center/cover;
    background: linear-gradient(rgba(5, 5, 5, .58),
            rgba(5, 5, 5, .88)),
        url("https://images.unsplash.com/photo-1579751626657-72bc17010498?auto=format&fit=crop&w=1000&q=85") center/cover;

    border-right: 1px solid #252525;
}

.booking-sidebar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 3px;
    height: 100%;

    background: var(--gold);
}

.sidebar-brand {
    color: var(--gold);

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 4px;

    margin-bottom: 16px;
}

.booking-sidebar h1 {
    font-family: "Cinzel", serif;

    font-size: 34px;
    line-height: 1.2;

    font-weight: 600;

    margin-bottom: 18px;
}

.booking-sidebar > p {
    color: #bbb;
    font-size: 12px;
    line-height: 1.8;
}

.gold-line {
    width: 45px;
    height: 2px;

    background: var(--gold);

    margin: 28px 0;
}

.sidebar-feature {
    padding: 17px 0;

    border-bottom: 1px solid rgba(255, 255, 255, .09);
}

.sidebar-feature strong {
    display: block;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 6px;
        font-family: 'Montserrat';
    font-weight: bold;
}

.sidebar-feature span {
    color: #aaa;
    font-size: 10px;
    line-height: 1.6;
}

.sidebar-footer {
    margin-top: auto;

    color: rgba(255, 255, 255, .28);

    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: 1.5px;

    line-height: 1.8;
}

/* =========================================================
   MAIN CONTENT
========================================================= */

.booking-content {
    padding: 42px 55px 55px;

    background:
        linear-gradient(145deg,
            #151515 0%,
            #101010 100%);
}

/* =========================================================
   PROGRESS
========================================================= */

.progress {
    display: flex;
    align-items: center;

    margin-bottom: 45px;
}

.progress-step {
    display: flex;
    align-items: center;
}

.progress-number {
    width: 31px;
    height: 31px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #181818;

    border: 1px solid #383838;

    color: #777;

    font-size: 9px;
    font-weight: 700;

    transition: .25s;
}

.progress-step.active .progress-number {
    background: var(--gold);
    border-color: var(--gold);

    color: #111;
}

.progress-step.done .progress-number {
    background: var(--gold);
    border-color: var(--gold);

    color: #111;
}

.progress-label {
    margin-left: 7px;

    color: #707070;

    font-size: 8px;

    text-transform: uppercase;
    letter-spacing: .8px;
}

.progress-step.active .progress-label {
    color: var(--white);
}

.progress-step.done .progress-label {
    color: var(--gold);
}

.progress-line {
    flex: 1;

    height: 1px;

    margin: 0 10px;

    background: #303030;
}

/* =========================================================
   STEPS
========================================================= */

.form-step {
    display: none;
}

.form-step.active {
    display: block;

    animation: stepFade .35s ease;
}

@keyframes stepFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.eyebrow {
    color: var(--gold);

    font-size: 9px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 2.5px;

    margin-bottom: 9px;
}

.step-title {
    font-family: "Cinzel", serif;

    color: white;

    font-size: 28px;

    font-weight: 600;

    margin-bottom: 9px;
}

.step-text {
    color: var(--muted);

    font-size: 10px;
    line-height: 1.8;

    margin-bottom: 31px;
}

.field-heading {
    color: var(--gold);
    font-family: "Cinzel", serif;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    font-family: 'Montserrat';
}

/* =========================================================
   CALENDAR
========================================================= */

.calendar {
    background: #181818;

    border: 1px solid #343434;

    margin-bottom: 28px;
}

.calendar-header {
    height: 58px;

    padding: 0 18px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #151515;

    border-bottom: 1px solid #333;
}

.calendar-header button {
    width: 36px;
    height: 36px;

    border: 0;

    background: transparent;

    color: var(--gold);

    font-size: 21px;

    cursor: pointer;

    transition: .2s;
}

.calendar-header button:hover {
    background: #222;
}

.calendar-month {
    font-family: "Cinzel", serif;

    color: white;

    font-size: 14px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);

    padding: 14px;

    gap: 4px;
}

.day-name {
    text-align: center;

    padding: 8px 0;

    color: #707070;

    font-size: 8px;
    font-weight: 600;

    text-transform: uppercase;
}

.calendar-day {
    height: 40px;

    border: 0;
    border-radius: 3px;

    background: transparent;

    color: #d0d0d0;

    font-size: 10px;

    cursor: pointer;

    transition: .2s;
}

.calendar-day:hover:not(:disabled) {
    background: #252525;
    color: var(--gold);
}

.calendar-day.selected {
    background: var(--gold);

    color: #111;

    font-weight: 700;
}

.calendar-day.today:not(.selected) {
    border: 1px solid var(--gold);

    color: var(--gold);
}

.calendar-day:disabled {
    color: #424242;

    text-decoration: line-through;

    cursor: not-allowed;
}

/* =========================================================
   TIME AREA
========================================================= */

.time-area {
    display: none;
}

.time-area.show {
    display: block;
}

.selected-date-note {
    padding: 12px 15px;

    margin-bottom: 15px;

    background: #191919;

    border-left: 2px solid var(--gold);

    color: #888;

    font-size: 9px;
}

.selected-date-note strong {
    color: #ddd;
}

.time-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 8px;

    max-height: 270px;

    overflow-y: auto;

    padding-right: 6px;
}

.time-grid::-webkit-scrollbar {
    width: 4px;
}

.time-grid::-webkit-scrollbar-track {
    background: #191919;
}

.time-grid::-webkit-scrollbar-thumb {
    background: var(--gold);
}

.time-button {
    height: 44px;

    background: #202020;

    border: 1px solid #454545;

    color: #e0e0e0;

    font-size: 9px;

    cursor: pointer;

    transition: .2s;
}

.time-button:hover {
    border-color: var(--gold);

    background: #242424;
}

.time-button.selected {
    background: var(--gold);

    border-color: var(--gold);

    color: #111;

    font-weight: 700;
}

/* =========================================================
   BUTTONS
========================================================= */

.actions {
    display: flex;

    justify-content: space-between;

    gap: 12px;

    margin-top: 31px;
}

.btn {
    min-height: 50px;

    padding: 0 28px;

    border: 0;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: 1.1px;

    cursor: pointer;

    transition: .25s;
}

.btn-primary {
    margin-left: auto;

    background: var(--gold);

    color: #111;
}

.btn-primary:hover {
    background: var(--gold-hover);

    transform: translateY(-1px);
}

.btn-primary:disabled {
    background: #343434;

    color: #666;

    cursor: not-allowed;

    transform: none;
}

.btn-back {
    background: #202020;

    border: 1px solid #424242;

    color: #ccc;
}

.btn-back:hover {
    border-color: var(--gold);

    color: var(--gold);
}

/* =========================================================
   SELECTED DATE / TIME
========================================================= */

.selection-bar {
    display: grid;

    grid-template-columns: 1fr 1fr;

    background: #202020;

    border: 1px solid #444;

    margin-bottom: 28px;
}

.selection-box {
    text-align: center;

    padding: 15px;
}

.selection-box:first-child {
    border-right: 1px solid #444;
}

.selection-box small {
    display: block;

    color: #777;

    font-size: 7px;

    text-transform: uppercase;
    letter-spacing: 1.2px;

    margin-bottom: 6px;
}

.selection-box strong {
    color: white;

    font-size: 11px;
}

/* =========================================================
   FORM
========================================================= */

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;

    color: #c5c5c5;

    font-size: 8px;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .8px;

    margin-bottom: 7px;
}

.required {
    color: var(--gold);
}

.form-control {
    width: 100%;

    height: 51px;

    padding: 0 15px;

    background: #202020;

    border: 1px solid #484848;

    color: white;

    font-size: 10px;

    outline: none;

    transition: .2s;
}

.form-control::placeholder {
    color: #737373;
}

.form-control:hover {
    border-color: #606060;
}

.form-control:focus {
    border-color: var(--gold);

    background: #222;
}

textarea.form-control {
    height: 90px;

    padding-top: 14px;

    resize: vertical;
}

/* Remove ugly number arrows */

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    opacity: 1;
}

/* =========================================================
   TERMS
========================================================= */

.terms {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin-top: 20px;

    color: #888;

    font-size: 9px;
    line-height: 1.7;
}

.terms input {
    width: 16px;
    height: 16px;

    margin-top: 1px;

    accent-color: var(--gold);
}

.terms a {
    color: var(--gold);

    text-decoration: underline;
}

/* =========================================================
   REVIEW
========================================================= */

.review-card {
    background: #181818;

    border: 1px solid #343434;
}

.review-heading {
    padding: 18px 20px;

    background: #0b0b0b;

    border-bottom: 1px solid #343434;
}

.review-heading span {
    display: block;

    color: var(--gold);

    font-size: 7px;

    text-transform: uppercase;
    letter-spacing: 1.7px;

    margin-bottom: 6px;
}

.review-heading strong {
    font-family: "Cinzel", serif;

    color: white;

    font-size: 14px;

    font-weight: 500;
}

.review-body {
    padding: 7px 21px;
}

.review-row {
    display: flex;

    justify-content: space-between;

    gap: 30px;

    padding: 13px 0;

    border-bottom: 1px solid #303030;

    font-size: 9px;
}

.review-row:last-child {
    border-bottom: 0;
}

.review-row span:first-child {
    color: #777;
}

.review-row span:last-child {
    color: #e5e5e5;

    font-weight: 600;

    text-align: right;

    word-break: break-word;
}

.review-notice {
    margin-top: 18px;

    padding: 13px 15px;

    background: #191919;

    border-left: 2px solid var(--gold);

    color: #888;

    font-size: 8px;
    line-height: 1.8;
}

/* =========================================================
   CONFIRMATION
========================================================= */

.confirmation {
    text-align: center;
}

.confirm-check {
    width: 72px;
    height: 72px;

    margin: 3px auto 20px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gold);

    color: #111;

    font-size: 28px;

    box-shadow: 0 0 35px rgba(223, 184, 47, .12);
}

.confirmation h2 {
    font-family: "Cinzel", serif;

    color: white;

    font-size: 28px;

    margin-bottom: 9px;
}

.confirm-intro {
    color: #888;

    font-size: 10px;
    line-height: 1.8;
}

.booking-number {
    display: inline-block;

    margin: 23px 0;

    padding: 14px 34px;

    background: #202020;

    border: 1px solid #454545;
}

.booking-number small {
    display: block;

    color: #777;

    font-size: 7px;

    text-transform: uppercase;
    letter-spacing: 1.6px;

    margin-bottom: 5px;
}

.booking-number strong {
    font-family: "Cinzel", serif;

    color: var(--gold);

    font-size: 20px;
}

.confirm-card {
    width: 100%;
    max-width: 520px;

    margin: auto;

    text-align: left;

    border-top: 1px solid #333;
}

.confirm-row {
    display: flex;

    justify-content: space-between;

    gap: 25px;

    padding: 12px 2px;

    border-bottom: 1px solid #303030;

    font-size: 9px;
}

.confirm-row span:first-child {
    color: #777;
}

.confirm-row span:last-child {
    color: #e5e5e5;

    font-weight: 600;

    text-align: right;
}

.email-message {
    width: 100%;
    max-width: 520px;

    margin: 20px auto 0;

    padding: 14px;

    background: #191919;

    border: 1px solid #303030;

    color: #888;

    font-size: 8px;
    line-height: 1.8;
}


/* =========================================================
   MIZZONI LOCATION SELECTION
========================================================= */

.location-select-screen {
    max-width: 820px;
    margin: 45px 0;
}

.location-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
    margin-top: 38px;
}


/* =========================================================
   LOCATION CARD
========================================================= */

.location-card {
    position: relative;

    min-height: 210px;
    padding: 38px 35px 34px;

    background:
        linear-gradient(145deg,
            #1b1b1b 0%,
            #141414 100%);

    border: 1px solid #383838;

    text-decoration: none !important;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    box-sizing: border-box;
    overflow: hidden;

    transition:
        border-color 0.3s ease,
        transform 0.3s ease,
        background 0.3s ease;
}


/* GOLD TOP DETAIL */

.location-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 55px;
    height: 3px;

    background: #dfb82f;

    transition: width 0.35s ease;
}


.location-card::after {
    content: "M";

    position: absolute;
    right: 22px;
    top: 5px;

    font-family: "Cinzel", serif;
    font-size: 115px;
    line-height: 1;

    color: rgba(255, 255, 255, 0.018);

    pointer-events: none;
}


/* SMALL MIZZONI TEXT */

.location-card .location-small {
    position: relative;
    z-index: 2;

    margin: 0 0 11px;

    font-family: "Montserrat", sans-serif;
    font-size: 9px;
    font-weight: 700;

    letter-spacing: 3px;
    text-transform: uppercase;

    color: #dfb82f;
}


/* LOCATION NAME */

.location-card strong {
    position: relative;
    z-index: 2;

    margin: 0;

    font-family: "Cinzel", serif;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 600;

    color: #ffffff;

    text-transform: uppercase;
}


/* =========================================================
   REAL BOOK BUTTON
========================================================= */

.location-card .location-action {
    position: relative;
    z-index: 2;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 27px;
    padding: 13px 20px;

    background: #dfb82f;
    border: 1px solid #dfb82f;

    font-family: "Montserrat", sans-serif;
    font-size: 10px;
    line-height: 1;
    font-weight: 700;

    letter-spacing: 1.4px;
    text-transform: uppercase;

    color: #111111;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease;
}


/* =========================================================
   HOVER
========================================================= */

.location-card:hover {
    border-color: #806d27;

    background:
        linear-gradient(145deg,
            #202020 0%,
            #161616 100%);

    transform: translateY(-4px);

    text-decoration: none !important;
}

.location-card:hover::before {
    width: 100%;
}

.location-card:hover .location-action {
    background: #ffffff;
    border-color: #ffffff;
    color: #111111;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

    .location-select-screen {
        margin: 30px 0;
    }

    .location-options {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 28px;
    }

    .location-card {
        min-height: 185px;
        padding: 30px 27px;
    }

    .location-card strong {
        font-size: 25px;
    }

    .location-card .location-action {
        margin-top: 22px;
    }
}


/* Loc */


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 850px) {

    .booking-page {
        padding: 0;
    }

    .booking-wrapper {
        grid-template-columns: 1fr;

        min-height: 100vh;
    }

    .booking-sidebar {
        padding: 32px 25px;
    }

    .booking-sidebar h1 {
        font-size: 27px;
    }

    .sidebar-feature,
    .sidebar-footer {
        display: none;
    }

    .gold-line {
        margin: 17px 0;
    }

    .booking-content {
        padding: 30px 24px 45px;
    }
}

@media (max-width: 600px) {

    .progress-label {
        display: none;
    }

    .progress-line {
        margin: 0 7px;
    }

    .step-title {
        font-size: 23px;
    }

    .time-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .selection-bar {
        grid-template-columns: 1fr 1fr;
    }

    .actions {
        flex-direction: column-reverse;
    }

    .btn {
        width: 100%;
    }

    .review-row,
    .confirm-row {
        gap: 15px;
    }
}

@media (max-width: 400px) {

    .booking-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .time-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Phone landscape: use page scrolling instead of nested time-slot scrolling. */
@media (orientation: landscape) and (max-height: 500px) and (pointer: coarse) {
    .time-grid {
        max-height: none;
        overflow-y: visible;
    }
}
