@charset "utf-8";

/* Booking trigger button (inside listing cards) */

.booking-trigger,
.preview-book-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 16px;
    padding: 0 26px;
    height: 40px;
    border-radius: 40px;
    background-color: #ffa837;
    color: #fff;
    font-family: 'Quattrocento', serif;
    font-size: 13px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.booking-trigger:hover,
.preview-book-trigger:hover {
    background-color: #5e1406;
    color: #fff;
}

/* Modal (mechanics come from the modal base) */

.booking-modal-card {
    padding: 36px 36px 28px;
}

.booking-modal-card h3,
.booking-modal-card h3 * {
    font-family: 'Quattrocento', serif;
    font-size: 22px;
    line-height: 26px;
    text-transform: uppercase;
    text-align: left;
    margin-bottom: 6px;
}

.booking-modal-card h3 em {
    font-style: normal;
    color: #ffa837;
}

.booking-modal-sub {
    color: #9e9b90;
    font-size: 13px;
    line-height: 19px;
    margin-bottom: 22px;
}

#booking-form {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 16px;
}

.booking-field {
    width: 100%;
}

.booking-field-half {
    width: calc(50% - 8px);
}

.booking-field label {
    display: block;
    font-family: 'Quattrocento', serif;
    font-size: 11px;
    line-height: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a88d62;
    margin-bottom: 6px;
}

.booking-field input {
    width: 100%;
    border: solid 1px #dedede;
    border-radius: 4px;
    padding: 10px 12px;
    font-size: 14px;
    color: #5e1406;
    background: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-field input:focus {
    outline: none;
    border-color: #ffa837;
    box-shadow: 0 0 0 3px rgba(255, 168, 55, 0.18);
}

.booking-dates-tour,
.booking-dates-car {
    display: none;
}

.booking-modal.is-tour .booking-dates-tour {
    display: block;
}

.booking-modal.is-car .booking-dates-car {
    display: block;
}

.booking-submit-wrap {
    width: 100%;
    margin-top: 4px;
}

.booking-submit {
    width: 100%;
    height: 46px;
    border: none;
    border-radius: 40px;
    background-color: #ffa837;
    color: #fff;
    font-family: 'Quattrocento', serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.booking-submit:hover {
    background-color: #5e1406;
    color: #fff;
}

.booking-note {
    width: 100%;
    margin: 0;
    text-align: center;
    font-size: 12px;
    line-height: 18px;
    color: #9e9b90;
}

/* Toast messages */

.booking-toast {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1300;
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: calc(100% - 30px);
    background: #fff;
    border-left: solid 4px #a88d62;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 14px 18px;
    font-size: 14px;
    line-height: 20px;
    color: #5e1406;
}

.booking-toast-error {
    border-left-color: #5e1406;
    background: #fdf6f4;
}

.booking-toast-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #a88d62;
    flex-shrink: 0;
}

.booking-toast-error .booking-toast-icon {
    background: #5e1406;
}

.booking-toast-close {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 1;
    color: #9e9b90;
    cursor: pointer;
    padding: 0 4px;
}

@media (max-width: 600px) {
    .booking-modal-card {
        padding: 28px 20px 22px;
    }

    .booking-field-half {
        width: 100%;
    }
}
