/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 22px;
    font-weight: 400;
    letter-spacing: 0;
    background-color: rgba(255, 255, 255, 1) !important;
    color: rgba(155, 142, 126, 1) !important;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Preview Container - Side by Side Layout */
.preview-container {
    display: flex;
    min-height: 100vh;
    gap: 40px;
    padding: 40px;
    align-items: flex-start;
}

/* Landing Section */
.landing-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    min-height: 600px;
}

.landing-content {
    text-align: center;
    max-width: 600px;
}

.landing-title {
    font-family: "Francesco", Georgia, serif;
    font-size: 48px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: rgba(155, 142, 126, 1) !important;
    margin-bottom: 32px;
}

/* CTA Button */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(96, 27, 28) !important;
    color: rgb(255, 255, 255) !important;
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.48px;
    text-transform: none;
    padding: 15.312px 20px;
    border: none !important;
    border-radius: 4px;
    cursor: pointer;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta:hover {
    background-color: rgb(82, 15, 15) !important;
    transform: translateY(-1px);
}

.btn-cta:active {
    transform: translateY(0);
}

/* Booking Modal Overlay */
.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7) !important;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.booking-modal-overlay.active {
    display: flex;
}

.booking-modal {
    position: relative;
    width: 100%;
    max-width: 560px;
    background-color: rgba(255, 255, 255, 1) !important;
    border-radius: 0;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideIn 300ms ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none !important;
    color: rgba(155, 142, 126, 1) !important;
    font-size: 32px;
    cursor: pointer;
    z-index: 10;
    line-height: 1;
    padding: 4px;
    transition: opacity 200ms ease;
}

.modal-close:hover {
    opacity: 0.7;
}

/* Container */
.booking-container {
    flex: 1;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
}

/* Header - Removed (heading now inside steps)
.booking-header {
    margin-bottom: 0;
    text-align: center;
    padding: 0 0 20px 0;
}

.heading {
    font-family: "Francesco", Georgia, serif;
    font-size: 40px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: rgba(155, 142, 126, 1) !important;
    margin-bottom: 16px;
}
*/

/* Card */
.booking-card {
    background-color: rgba(255, 255, 255, 1) !important;
    border: 1px solid rgba(155, 142, 126, 1);
}

/* Booking Logo */
.booking-logo {
    display: block;
    width: 100%;
    max-width: 100px;
    height: auto;
    margin: 0 auto 16px auto;
    opacity: 0.9;
}

/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 2px;
    background-color: rgba(155, 142, 126, 0.25) !important;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 20px;
}

.progress-fill {
    height: 100%;
    background-color: rgba(96, 27, 28, 1) !important;
    width: 20%;
    transition: width 0.4s ease !important;
}

/* Form Wrapper */
.form-wrapper {
    position: relative;
    min-height: 320px;
    width: 100%;
}

/* Form Steps */
.form-step {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 300ms ease, transform 300ms ease;
    pointer-events: none;
    background-color: rgba(255, 255, 255, 1) !important;
    padding: 24px 24px 24px 24px;
    text-align: center;
    box-sizing: border-box;
    transform: translateX(0);
}

/* Intro/Landing Step (Step 0) */
.form-step-intro {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    min-height: 480px;
    position: relative;
    padding: 40px 24px !important;
}

.form-step-intro.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-step-intro:not(.active) {
    display: none !important;
}

.form-step-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.intro-content {
    position: relative;
    z-index: 2;
    max-width: 400px;
    text-align: center;
    padding: 0 20px;
}

.intro-heading {
    font-family: "Francesco", Georgia, serif;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.5px;
    color: rgba(255, 255, 255, 1) !important;
    margin: 0 0 20px 0;
}

.intro-copy {
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 400;
    color: rgba(255, 255, 255, 1) !important;
    margin: 0 0 32px 0;
    opacity: 0.95;
}

.btn-start {
    min-width: 200px;
    height: 54px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.48px;
    text-transform: uppercase;
}

.form-step[data-step="4"] {
    padding: 24px 24px 20px 24px;
}

.form-step:not(.active) {
    visibility: hidden;
}

.form-step.active {
    opacity: 1;
    position: relative;
    pointer-events: all;
    visibility: visible;
}

.form-step.exit-left {
    opacity: 0;
    visibility: hidden;
}

/* Step Content */
.step-content {
    padding: 0;
    max-width: 320px;
    margin: 0 auto;
}

/* Calendar step needs more width */
.form-step[data-step="1"] .step-content {
    max-width: 100%;
}

.step-caption {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 10px;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(155, 142, 126, 1) !important;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0;
    opacity: 0.6;
}

.step-label {
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    color: rgba(155, 142, 126, 1) !important;
    margin-bottom: 8px;
    letter-spacing: -0.4px;
}

.step-sublabel {
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 400;
    color: rgba(155, 142, 126, 0.8) !important;
    margin-bottom: 16px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.step-label-small {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    color: rgba(155, 142, 126, 1) !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0;
}

/* Buttons */
.btn {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 11px;
    line-height: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    border: none !important;
    cursor: pointer;
    transition: all 200ms ease;
    text-align: center;
}

.btn-primary {
    background-color: rgba(96, 27, 28, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    border: 1px solid rgba(96, 27, 28, 1) !important;
    border-radius: 4px;
    height: 36px;
    padding: 0 24px;
    width: auto;
    min-width: 160px;
}

.btn-primary:hover:not(:disabled) {
    background-color: rgba(82, 15, 15, 1) !important;
    border-color: rgba(82, 15, 15, 1) !important;
    transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-large {
    background-color: rgba(255, 255, 255, 1) !important;
    color: rgba(96, 27, 28, 1) !important;
    border: 1px solid rgba(96, 27, 28, 1) !important;
    border-radius: 4px;
    height: 36px;
    padding: 0 12px;
    width: 100%;
    font-size: 13px;
    letter-spacing: 0;
    margin-bottom: 6px;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 200ms ease;
}

.btn-large:hover {
    background-color: rgba(96, 27, 28, 0.1) !important;
    color: rgba(96, 27, 28, 1) !important;
    border-color: rgba(96, 27, 28, 1) !important;
    transform: translateY(-1px);
}

.btn-large.selected {
    background-color: rgba(96, 27, 28, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    border-color: rgba(96, 27, 28, 1) !important;
}

.btn-large.selected:hover {
    background-color: rgba(82, 15, 15, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    border-color: rgba(82, 15, 15, 1) !important;
}

/* Back Button */
.btn-back {
    background: none;
    border: none !important;
    color: rgba(155, 142, 126, 1) !important;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    margin-bottom: 16px;
    transition: all 200ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.btn-back:hover {
    transform: translateX(-4px);
    background-color: rgba(155, 142, 126, 0.1) !important;
}

.btn-back svg {
    display: block;
    width: 20px;
    height: 20px;
    color: inherit;
    transition: transform 200ms ease;
}

.btn-back:hover svg {
    transform: translateX(-2px);
}

/* Calendar Controls */
.calendar-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    padding: 0;
}

.month-year-selector {
    flex: 1;
    text-align: center;
    padding: 0 8px;
    position: relative;
}

.month-year-trigger {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(155, 142, 126, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0;
    background: none;
    border: none !important;
    padding: 0;
    cursor: pointer;
    transition: opacity 200ms ease;
}

.month-year-trigger:hover {
    opacity: 0.7;
}

.month-year-trigger:focus {
    outline: none;
}

/* Custom Dropdown Menu */
.month-year-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(242, 242, 240, 1) !important;
    border: 1px solid rgba(155, 142, 126, 1) !important;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 200px;
    max-height: 280px;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
    transition: opacity 200ms ease, visibility 200ms ease;
}

.month-year-dropdown-menu.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.dropdown-options {
    padding: 4px 0;
}

.dropdown-option {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: rgba(155, 142, 126, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 200ms ease;
    background: none;
    border: none !important;
    width: 100%;
    text-align: left;
}

.dropdown-option:hover {
    background-color: rgba(155, 142, 126, 0.1) !important;
}

.dropdown-option.selected {
    background-color: rgba(96, 27, 28, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
}

/* Custom scrollbar for dropdown */
.month-year-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.month-year-dropdown-menu::-webkit-scrollbar-track {
    background: rgba(155, 142, 126, 0.1);
}

.month-year-dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(155, 142, 126, 1);
    border-radius: 3px;
}

.month-year-dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 27, 28, 1);
}

.month-nav {
    background: transparent;
    border: 1px solid rgba(155, 142, 126, 0.2) !important;
    color: rgba(155, 142, 126, 1) !important;
    width: 24px;
    height: 24px;
    border-radius: 0.25rem;
    font-size: 11px;
    cursor: pointer;
    transition: all 200ms ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.month-nav svg {
    display: block;
    width: 12px;
    height: 12px;
    color: inherit;
}

.month-prev {
    background: transparent;
}

.month-next {
    background-color: rgba(96, 27, 28, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    border-color: rgba(96, 27, 28, 1) !important;
}

.month-nav:hover:not(:disabled) {
    opacity: 0.8;
}

.month-next:hover:not(:disabled) {
    background-color: rgba(82, 15, 15, 1) !important;
}

.month-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Date Scroller */
.date-scroller {
    position: relative;
    margin-bottom: 0;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 6px;
}

.weekday {
    text-align: center;
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 9px;
    font-weight: 600;
    color: rgba(155, 142, 126, 1) !important;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0;
}

.date-cards {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    padding: 0;
}

.date-card-empty {
    width: 100%;
    aspect-ratio: 1;
}

.date-card {
    width: 100%;
    aspect-ratio: 1;
    background-color: transparent !important;
    border: 1px solid rgba(155, 142, 126, 0.2) !important;
    border-radius: 3px;
    cursor: pointer;
    transition: all 200ms ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0px;
    position: relative;
    padding: 2px;
}

.date-card:hover:not(.disabled) {
    border-color: rgba(155, 142, 126, 1) !important;
    background-color: rgba(155, 142, 126, 0.05) !important;
}

.date-card.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: rgba(155, 142, 126, 0.05) !important;
}

.date-card.selected {
    background-color: rgba(96, 27, 28, 1) !important;
    border-color: rgba(96, 27, 28, 1) !important;
}

.date-card.selected .date-number {
    color: rgba(255, 255, 255, 1) !important;
}

.date-card.selected .date-status {
    color: rgba(255, 255, 255, 1) !important;
    opacity: 1;
}

.date-number {
    font-size: 13px;
    line-height: 1;
    font-weight: 500;
    color: rgba(155, 142, 126, 1) !important;
}

.date-status {
    font-size: 10px;
    line-height: 1;
    color: rgba(155, 142, 126, 1) !important;
    opacity: 0.7;
}

.date-card.available .date-status {
    color: #4A934A !important;
}

.date-card.disabled .date-status {
    color: #B33030 !important;
}


/* Time Selection */
.time-slots {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.btn-time-slot {
    border: 1px solid rgba(96, 27, 28, 1) !important;
    border-radius: 4px;
    height: 30px;
    padding: 0 10px;
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 200ms ease;
}

.btn-time-slot.available {
    background-color: rgba(255, 255, 255, 1) !important;
    color: rgba(96, 27, 28, 1) !important;
    border-color: rgba(96, 27, 28, 1) !important;
}

.btn-time-slot.available:hover {
    background-color: rgba(96, 27, 28, 0.1) !important;
    color: rgba(96, 27, 28, 1) !important;
    border-color: rgba(96, 27, 28, 1) !important;
}

.btn-time-slot.available.selected {
    background-color: rgba(96, 27, 28, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    border-color: rgba(96, 27, 28, 1) !important;
}

.btn-time-slot.available.selected:hover {
    background-color: rgba(82, 15, 15, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    border-color: rgba(82, 15, 15, 1) !important;
}

.btn-time-slot.unavailable {
    background-color: rgba(155, 142, 126, 0.1) !important;
    color: rgba(155, 142, 126, 0.5) !important;
    border-color: rgba(155, 142, 126, 0.2) !important;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Tasting Type Selection */
.tasting-type-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 12px;
}

.tasting-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tasting-description {
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-style: italic;
    color: rgba(155, 142, 126, 1) !important;
    opacity: 0.7;
    margin: 0;
    padding: 0 4px;
    text-align: center;
    pointer-events: none;
}

/* Party Size Selection */
.party-size-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-bottom: 12px;
}

/* Form Fields */
.form-fields {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
    text-align: center;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: none;
}

.form-group input {
    width: 100%;
    height: 44px;
    padding: 0 16px;
    background-color: rgba(255, 255, 255, 1) !important;
    border: 1px solid rgba(155, 142, 126, 0.3) !important;
    border-radius: 4px;
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: rgba(155, 142, 126, 1) !important;
    transition: all 200ms ease;
    text-align: left;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(96, 27, 28, 1) !important;
    background-color: rgba(96, 27, 28, 0.02) !important;
}

.form-group input::placeholder {
    color: rgba(155, 142, 126, 1) !important;
    opacity: 0.5;
}

/* Error States */
.form-group.has-error input,
.form-group.has-error textarea {
    border-color: rgba(200, 50, 50, 1) !important;
    background-color: rgba(200, 50, 50, 0.03) !important;
}

.form-group.has-error input:focus,
.form-group.has-error textarea:focus {
    border-color: rgba(200, 50, 50, 1) !important;
}

.error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(200, 50, 50, 1) !important;
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.3;
    margin-top: 8px;
    text-align: center;
}

.error-message svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.step-error-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(200, 50, 50, 1) !important;
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 12px;
    text-align: center;
    padding: 8px 12px;
    background-color: rgba(200, 50, 50, 0.05);
    border-radius: 4px;
}

.step-error-message svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.form-group textarea {
    width: 100%;
    min-height: 80px;
    padding: 12px 16px;
    background-color: rgba(255, 255, 255, 1) !important;
    border: 1px solid rgba(155, 142, 126, 0.3) !important;
    border-radius: 4px;
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: rgba(155, 142, 126, 1) !important;
    transition: all 200ms ease;
    text-align: left;
    resize: vertical;
}

.form-group textarea:focus {
    outline: none;
    border-color: rgba(96, 27, 28, 1) !important;
    background-color: rgba(96, 27, 28, 0.02) !important;
}

.form-group textarea::placeholder {
    color: rgba(155, 142, 126, 1) !important;
    opacity: 0.5;
}

/* Button Container */
.button-container {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.time-button-container {
    margin-top: 20px;
    padding-top: 16px;
}

.button-container .btn-next {
    background-color: rgba(96, 27, 28, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    border: 1px solid rgba(96, 27, 28, 1) !important;
    min-width: 180px;
    height: 44px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.48px;
}

.button-container .btn-next:hover:not(:disabled) {
    background-color: rgba(82, 15, 15, 1) !important;
    border-color: rgba(82, 15, 15, 1) !important;
}

/* Confirmation Step */
.confirmation-step {
    text-align: center;
    padding: 0;
}

.confirmation-heading {
    font-family: "Francesco", Georgia, serif;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 400;
    margin-bottom: 6px;
    color: rgba(155, 142, 126, 1) !important;
    letter-spacing: -0.4px;
}

.confirmation-subheading {
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 16px;
    color: rgba(155, 142, 126, 1) !important;
    letter-spacing: -0.2px;
}

[data-summary="email"] {
    color: rgba(96, 27, 28, 1) !important;
    font-weight: 400;
}

.booking-summary {
    background-color: rgba(255, 255, 255, 1) !important;
    border-left: 1px solid rgba(155, 142, 126, 1);
    border-right: 1px solid rgba(155, 142, 126, 1);
    border-top: 1px solid rgba(155, 142, 126, 1);
    border-bottom: none;
    border-radius: 0;
    padding: 12px 14px;
    margin-bottom: 16px;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(155, 142, 126, 0.15);
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0;
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-weight: 500;
    opacity: 0.7;
}

.summary-value {
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    letter-spacing: 0;
}

.confirmation-note {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(96, 27, 28, 1) !important;
    letter-spacing: 0;
    text-transform: uppercase;
    opacity: 1;
    margin-top: 12px;
}

.confirmation-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.confirmation-link {
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 12px;
    color: rgba(155, 142, 126, 1) !important;
    text-decoration: none;
    transition: color 200ms ease;
    letter-spacing: -0.2px;
}

.confirmation-link:hover {
    color: rgba(96, 27, 28, 1) !important;
    text-decoration: underline;
}

.link-separator {
    font-size: 12px;
    color: rgba(155, 142, 126, 1) !important;
    opacity: 0.5;
}

/* Confirmation Address Section */
.confirmation-address {
    margin-top: 20px;
    text-align: center;
}

.address-label {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(155, 142, 126, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.address-link {
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: rgba(96, 27, 28, 1) !important;
    text-decoration: none;
    transition: opacity 200ms ease;
    letter-spacing: -0.2px;
}

.address-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Confirmation Contact Section */
.confirmation-contact {
    margin-top: 16px;
    text-align: center;
}

.contact-label {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(155, 142, 126, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 6px;
}

.email-link {
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 13px;
    color: rgba(96, 27, 28, 1) !important;
    text-decoration: none;
    transition: opacity 200ms ease;
    letter-spacing: -0.2px;
}

.email-link:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Confirmation Social Section */
.confirmation-social {
    margin-top: 20px;
    text-align: center;
}

.social-label {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 10px;
    font-weight: 500;
    color: rgba(155, 142, 126, 1) !important;
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(96, 27, 28, 1) !important;
    transition: opacity 200ms ease, transform 200ms ease;
}

.social-icon:hover {
    opacity: 0.7;
    transform: translateY(-2px);
}

.social-icon svg {
    width: 24px;
    height: 24px;
}

/* Loading State */
.btn-primary.loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
}

.btn-primary.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid rgba(255, 255, 255, 1) !important;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 600ms linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .preview-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .landing-section {
        min-height: 400px;
    }
}

@media (max-width: 640px) {
    .preview-container {
        padding: 16px;
    }

    .landing-section {
        min-height: 300px;
        padding: 20px 10px;
    }

    .landing-title {
        font-size: 36px;
    }

    .btn-cta {
        font-size: 11px;
        padding: 14px 18px;
    }

    .booking-modal {
        max-height: 95vh;
    }

    .modal-close {
        top: 12px;
        right: 12px;
        font-size: 28px;
    }

    .booking-card {
        padding: 0 !important;
    }

    .form-step {
        padding: 12px 16px 24px 16px;
    }

    .form-step[data-step="1"] {
        padding: 12px 8px 24px 8px;
    }

    .form-step[data-step="1"] .step-content {
        max-width: 100% !important;
        width: 100% !important;
    }

    .date-card {
        min-height: unset !important;
    }

    .form-step[data-step="4"] {
        padding: 12px 20px 20px 20px;
    }

    .form-step-intro {
        min-height: 400px;
        padding: 30px 20px !important;
        margin: -1px;
        width: calc(100% + 2px);
    }

    .intro-heading {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .intro-copy {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .btn-start {
        min-width: 180px;
        height: 50px;
        font-size: 14px;
    }

    .heading {
        font-size: 32px;
    }

    .step-label {
        font-size: 24px;
    }

    .step-sublabel {
        font-size: 12px;
        max-width: 280px;
    }

    .step-label-small {
        font-size: 13px;
    }

    .tasting-type-selection {
        gap: 14px;
    }

    .tasting-description {
        font-size: 16px;
    }

    .btn-large {
        height: 34px;
        font-size: 12px;
    }

    .booking-logo {
        max-width: 85px;
        margin-bottom: 8px;
        margin-top: 8px;
    }

    .progress-bar {
        margin-bottom: 12px;
    }

    .btn-back {
        margin-bottom: 6px;
        padding: 4px;
    }

    .step-caption {
        margin-bottom: 4px;
    }

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

    .btn-primary {
        min-width: 140px;
        height: 40px;
    }

    .button-container .btn-next {
        min-width: 160px;
        height: 40px;
    }

    .booking-container {
        padding-bottom: 120px;
    }

    .form-group input {
        height: 42px;
        font-size: 14px;
    }

    .form-group textarea {
        min-height: 76px;
        font-size: 14px;
    }

    .date-cards {
        gap: 3px;
    }

    .calendar-weekdays {
        gap: 3px;
    }

    .date-number {
        font-size: 12px;
    }

    .date-status {
        font-size: 12px;
    }

    .month-year-trigger {
        font-size: 12px;
    }

    .dropdown-option {
        font-size: 11px;
        padding: 8px 14px;
    }
}

@media (max-width: 480px) {
    .landing-title {
        font-size: 32px;
    }

    .btn-cta {
        font-size: 11px;
        padding: 12px 16px;
    }

    .booking-card {
        padding: 0 !important;
    }

    .form-step {
        padding: 12px 12px 20px 12px;
    }

    .form-step[data-step="1"] {
        padding: 12px 4px 20px 4px;
    }

    .form-step[data-step="1"] .step-content {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .date-scroller,
    .date-cards,
    .calendar-weekdays {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
    }

    .date-card {
        min-height: unset !important;
        aspect-ratio: 1;
    }

    .form-step[data-step="4"] {
        padding: 12px 16px 16px 16px;
    }

    .form-step-intro {
        min-height: 360px;
        padding: 24px 16px !important;
        margin: -1px;
        width: calc(100% + 2px);
    }

    .intro-heading {
        font-size: 22px;
        margin-bottom: 14px;
    }

    .intro-copy {
        font-size: 13px;
        line-height: 1.4;
        margin-bottom: 24px;
    }

    .btn-start {
        min-width: 160px;
        height: 48px;
        font-size: 13px;
    }

    .heading {
        font-size: 28px;
    }

    .step-label {
        font-size: 22px;
    }

    .step-sublabel {
        font-size: 11px;
        max-width: 260px;
    }

    .step-label-small {
        font-size: 12px;
    }

    .confirmation-heading {
        font-size: 22px;
    }

    .tasting-type-selection {
        gap: 12px;
    }

    .tasting-description {
        font-size: 15px;
        line-height: 1.3;
    }

    .btn-large {
        height: 32px;
        font-size: 11px;
    }

    .booking-logo {
        max-width: 75px;
        margin-bottom: 6px;
        margin-top: 6px;
    }

    .progress-bar {
        margin-bottom: 10px;
    }

    .btn-back {
        margin-bottom: 4px;
        padding: 4px;
    }

    .step-caption {
        margin-bottom: 3px;
    }

    .btn-primary {
        min-width: 140px;
        padding: 0 20px;
        height: 38px;
    }

    .button-container .btn-next {
        min-width: 140px;
        height: 38px;
    }

    .booking-container {
        padding-bottom: 140px;
    }

    .form-group input {
        height: 32px;
        font-size: 12px;
    }

    .step-content {
        max-width: 100%;
    }

    .summary-item {
        flex-direction: column;
        gap: 6px;
        align-items: flex-start;
    }

    .summary-value {
        text-align: left;
    }

    .booking-summary {
        padding: 20px 16px;
        text-align: left;
    }

    .date-number {
        font-size: 12px;
    }

    .date-status {
        font-size: 12px;
    }

    .month-year-trigger {
        font-size: 11px;
    }

    .dropdown-option {
        font-size: 10px;
        padding: 8px 12px;
    }

    .month-year-dropdown-menu {
        min-width: 180px;
        max-height: 240px;
    }

    .calendar-controls {
        padding: 0 4px;
    }

    /* Fix calendar cutoff on iPhone */
    .form-step[data-step="1"] .step-content {
        max-width: 100%;
        width: 100%;
    }

    .date-scroller {
        width: 100%;
        overflow: visible !important;
    }

    .date-cards {
        gap: 2px;
    }

    .date-card {
        aspect-ratio: 1;
        min-height: unset;
        padding: 2px;
    }

    .calendar-weekdays {
        gap: 2px;
    }

    .date-number {
        font-size: 11px;
    }
}

/* Accessibility */
.btn:focus-visible,
.date-card:focus-visible,
.form-group input:focus-visible {
    outline: 2px solid rgba(96, 27, 28, 1);
    outline-offset: 2px;
}

/* Hidden class utility - scoped to booking form only */
.booking-container .hidden,
.booking-modal .hidden,
.booking-modal-overlay .hidden {
    display: none !important;
}

/* Exit Intent Modal */
.exit-intent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms ease, visibility 300ms ease;
}

.exit-intent-overlay.show {
    opacity: 1;
    visibility: visible;
}

.exit-intent-modal {
    background-color: rgba(204, 143, 47, 1.00) !important;
    border: 1px solid rgba(96, 27, 28, 0.3) !important;
    border-radius: 8px;
    padding: 40px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
    transform: scale(0.9);
    transition: transform 300ms ease;
}

.exit-intent-logo {
    max-width: 120px;
    height: auto;
    margin: 0 auto 24px;
    display: block;
}

.exit-intent-overlay.show .exit-intent-modal {
    transform: scale(1);
}

.exit-intent-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none !important;
    color: rgba(96, 27, 28, 1) !important;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
    transition: opacity 200ms ease;
}

.exit-intent-close:hover {
    opacity: 0.7;
}

.exit-intent-heading {
    font-family: "Francesco", Georgia, serif;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 400;
    color: rgba(96, 27, 28, 1) !important;
    margin-bottom: 16px;
}

.exit-intent-text {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(96, 27, 28, 1) !important;
    margin-bottom: 24px;
    opacity: 0.9;
}

.exit-intent-input {
    width: 100%;
    height: 38px;
    padding: 0 14px;
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid rgba(96, 27, 28, 0.3) !important;
    border-radius: 4px;
    font-family: "HAL Timezone", Helvetica, Arial, sans-serif;
    font-size: 14px;
    color: rgba(96, 27, 28, 1) !important;
    transition: all 200ms ease;
    text-align: center;
    margin-bottom: 16px;
}

.exit-intent-input:focus {
    outline: none;
    border-color: rgba(96, 27, 28, 1) !important;
    background-color: rgba(255, 255, 255, 1) !important;
}

.exit-intent-input::placeholder {
    color: rgba(96, 27, 28, 1) !important;
    opacity: 0.5;
}

.exit-intent-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.exit-intent-submit {
    background-color: rgba(96, 27, 28, 1) !important;
    color: rgba(255, 255, 255, 1) !important;
    border: none !important;
    border-radius: 4px;
    height: 38px;
    padding: 0 24px;
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 200ms ease;
}

.exit-intent-submit:hover:not(:disabled) {
    background-color: rgba(82, 15, 15, 1) !important;
    transform: translateY(-1px);
}

.exit-intent-submit:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.exit-intent-skip {
    background-color: transparent !important;
    color: rgba(96, 27, 28, 1) !important;
    border: 1px solid rgba(96, 27, 28, 0.4) !important;
    border-radius: 4px;
    height: 38px;
    padding: 0 24px;
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 200ms ease;
}

.exit-intent-skip:hover {
    background-color: rgba(96, 27, 28, 0.1) !important;
    border-color: rgba(96, 27, 28, 1) !important;
}
/* ========================================
   Hero Section Styles
   ======================================== */

.reddy-booking-hero {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: hidden !important;
}

.reddy-booking-hero-image-wrapper {
    width: 100% !important;
    height: 500px !important;
    position: relative !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
}

.reddy-booking-hero picture {
    width: 100% !important;
    height: 100% !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.reddy-booking-hero-image {
    width: 100% !important;
    height: 100% !important;
    -o-object-fit: cover !important;
    object-fit: cover !important;
    -o-object-position: center center !important;
    object-position: center center !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
}

.reddy-booking-hero-content {
    width: 100% !important;
    height: 100% !important;
    position: relative !important;
    z-index: 2 !important;
    display: -webkit-box !important;
    display: -webkit-flex !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-align: center !important;
    -webkit-align-items: center !important;
    -ms-flex-align: center !important;
    align-items: center !important;
    -webkit-box-pack: center !important;
    -webkit-justify-content: center !important;
    -ms-flex-pack: center !important;
    justify-content: center !important;
    padding: 20px !important;
}

.reddy-booking-hero-text {
    max-width: 800px !important;
    width: 100% !important;
    text-align: center !important;
    padding: 20px !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 8px !important;
}

.reddy-booking-hero-title {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif !important;
    font-size: clamp(32px, 5vw, 56px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.reddy-booking-hero-subtitle {
    font-family: "Helvetica Now Display", Helvetica, Arial, sans-serif !important;
    font-size: clamp(16px, 2.5vw, 22px) !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

/* Mobile Styles */
@media only screen and (max-width: 768px) {
    .reddy-booking-hero-image-wrapper {
        height: 300px !important;
    }

    .reddy-booking-hero-text {
        padding: 16px !important;
        max-width: 90% !important;
    }

    .reddy-booking-hero-title {
        margin-bottom: 8px !important;
    }
}

/* Small Mobile */
@media only screen and (max-width: 480px) {
    .reddy-booking-hero-image-wrapper {
        height: 250px !important;
    }

    .reddy-booking-hero-text {
        padding: 12px !important;
    }
}

/* Safari-specific fixes */
@supports (-webkit-appearance: none) {
    .reddy-booking-hero-image {
        -webkit-transform: translateZ(0) !important;
        transform: translateZ(0) !important;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .reddy-booking-hero-image-wrapper {
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
    }

    .reddy-booking-hero-image {
        -webkit-transform: translate3d(0, 0, 0) !important;
        transform: translate3d(0, 0, 0) !important;
    }
}

/* Ensure booking container works well with hero */
.reddy-booking-hero + .booking-container,
.reddy-booking-hero + .reddy-booking-button-wrapper {
    margin-top: 40px !important;
}

@media only screen and (max-width: 768px) {
    .reddy-booking-hero + .booking-container,
    .reddy-booking-hero + .reddy-booking-button-wrapper {
        margin-top: 30px !important;
    }
}

/* ========================================
   Enhanced Mobile & Safari Support
   ======================================== */

/* Prevent iOS zoom on input focus */
@media only screen and (max-width: 768px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea,
    select {
        font-size: 16px !important;
        /* iOS Safari won't zoom if font-size is 16px or larger */
    }
}

/* Safari smooth scrolling */
.booking-form,
.booking-modal-overlay,
.date-scroller {
    -webkit-overflow-scrolling: touch !important;
}

/* Fix for Safari flexbox bugs - removed to prevent grid layout issues */

/* Prevent text selection on buttons (better for mobile) */
.btn,
.btn-cta,
.btn-primary,
.btn-back,
.btn-next,
.btn-party,
.date-card,
.time-slot,
.month-nav {
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0) !important;
    -webkit-touch-callout: none !important;
}

/* Better touch targets for mobile */
@media only screen and (max-width: 768px) {
    .btn,
    .btn-cta,
    .btn-primary,
    .btn-back,
    .month-nav,
    .time-slot {
        min-height: 44px !important;
        /* Apple's recommended minimum touch target size */
    }
}

/* Fix iOS Safari bottom safe area */
@supports (padding: max(0px)) {
    .booking-form {
        padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
    }

    /* No extra padding when intro step is active */
    .booking-form:has(.form-step-intro.active) {
        padding-bottom: 0 !important;
    }

    .booking-modal {
        padding-bottom: max(20px, env(safe-area-inset-bottom)) !important;
    }
}

/* Prevent horizontal scroll on mobile */

@media only screen and (max-width: 768px) {
    .booking-container {
        width: 95% !important;
    }
}

/* Fix for Safari's 100vh issue */
@supports (-webkit-touch-callout: none) {
    .booking-modal-overlay {
        min-height: -webkit-fill-available !important;
    }
}

/* Better form field styling for mobile Safari */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 4px !important;
}

/* Fix for iOS Safari's default input styling */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus {
    outline: none !important;
    -webkit-box-shadow: 0 0 0 2px rgba(96, 27, 28, 0.2) !important;
    box-shadow: 0 0 0 2px rgba(96, 27, 28, 0.2) !important;
}

/* Prevent double-tap zoom on buttons */
button {
    touch-action: manipulation !important;
}

/* Better scrolling for calendar */
.date-scroller {
    -webkit-overflow-scrolling: touch !important;
    overflow: visible !important;
}

/* Mobile viewport height fix */
@media only screen and (max-width: 768px) {
    .booking-modal-overlay {
        height: 100vh !important;
        height: -webkit-fill-available !important;
    }
}

/* Improve touch response */
@media (hover: none) and (pointer: coarse) {
    /* Touch devices only */
    .btn:active,
    .btn-cta:active,
    .btn-primary:active,
    .date-card:active,
    .time-slot:active {
        -webkit-transform: scale(0.98) !important;
        transform: scale(0.98) !important;
    }
}

/* Safari-specific backdrop filter fallback */
@supports not (backdrop-filter: blur(10px)) {
    .booking-modal-overlay {
        background-color: rgba(0, 0, 0, 0.8) !important;
    }

    .reddy-booking-hero-text {
        background-color: rgba(0, 0, 0, 0.5) !important;
    }
}

/* Accessibility improvements for mobile */
@media only screen and (max-width: 768px) {
    /* Ensure adequate spacing for touch */
    .form-group + .form-group {
        margin-top: 16px !important;
    }

    .btn + .btn {
        margin-top: 12px !important;
    }

    /* Better modal sizing on mobile */
    .booking-modal {
        width: 95% !important;
        max-width: 500px !important;
        margin: 10px auto !important;
    }
}

/* Fix for Android Chrome address bar */
@media only screen and (max-width: 768px) {
    .booking-modal-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        overflow-y: auto !important;
    }
}

/* Smooth transitions for better UX */
.date-card,
.time-slot,
.btn-party {
    -webkit-transition: all 0.2s ease !important;
    -o-transition: all 0.2s ease !important;
    transition: all 0.2s ease !important;
}

/* Fix for orientation change */
@media only screen and (orientation: landscape) and (max-height: 500px) {
    .booking-modal {
        max-height: 90vh !important;
        overflow-y: auto !important;
    }

    .booking-card {
        padding: 16px !important;
    }
}

/* ========================================
   Height-Based Responsive Rules
   Ensures calendar/form never gets cut off
   ======================================== */

/* Embedded form - ensure it can scroll if needed */
.booking-container {
    overflow: visible !important;
}

.booking-card {
    overflow: visible !important;
}

.form-wrapper {
    min-height: auto !important;
    overflow: visible !important;
}

/* Modal - ensure full content is always accessible */
.booking-modal {
    max-height: none !important;
    overflow-y: auto !important;
    margin: auto !important;
}

.booking-modal-overlay {
    overflow-y: auto !important;
    padding: 20px !important;
    align-items: flex-start !important;
}

/* Short screens (laptops, smaller monitors) */
@media only screen and (max-height: 800px) {
    .booking-modal-overlay {
        padding: 15px !important;
    }

    .booking-modal {
        margin: 15px auto !important;
    }

    .form-step {
        padding: 20px !important;
    }

    .form-step[data-step="4"] {
        padding: 20px !important;
    }

    .step-label {
        margin-bottom: 12px !important;
    }

    .booking-container {
        padding-bottom: 60px !important;
    }
}

/* Very short screens (small laptops, landscape tablets) */
@media only screen and (max-height: 700px) {
    .booking-modal-overlay {
        padding: 10px !important;
    }

    .booking-modal {
        margin: 10px auto !important;
    }

    .form-step {
        padding: 16px !important;
    }

    .step-label {
        font-size: 24px !important;
        margin-bottom: 10px !important;
    }

    .step-caption {
        margin-bottom: 6px !important;
    }

    .calendar-controls {
        margin-bottom: 8px !important;
    }

    .calendar-weekdays {
        margin-bottom: 4px !important;
    }

    .date-cards {
        gap: 3px !important;
    }

    .progress-bar {
        margin-bottom: 16px !important;
    }

    .booking-container {
        padding-bottom: 40px !important;
    }

    .btn-back {
        margin-bottom: 10px !important;
    }
}

/* Extra short screens (landscape phones, very compact displays) */
@media only screen and (max-height: 600px) {
    .booking-modal-overlay {
        padding: 5px !important;
        align-items: flex-start !important;
    }

    .booking-modal {
        margin: 5px auto !important;
    }

    .form-step {
        padding: 12px !important;
    }

    .step-label {
        font-size: 20px !important;
        margin-bottom: 8px !important;
    }

    .step-label-small {
        font-size: 11px !important;
        margin-bottom: 12px !important;
    }

    .step-caption {
        margin-bottom: 4px !important;
        font-size: 9px !important;
    }

    .calendar-controls {
        margin-bottom: 6px !important;
    }

    .date-cards {
        gap: 2px !important;
    }

    .date-card {
        padding: 1px !important;
    }

    .date-number {
        font-size: 11px !important;
    }

    .progress-bar {
        margin-bottom: 12px !important;
    }

    .booking-logo {
        max-width: 70px !important;
        margin-bottom: 10px !important;
    }

    .booking-container {
        padding-bottom: 30px !important;
    }

    .btn-back {
        margin-bottom: 8px !important;
        padding: 4px !important;
    }

    .tasting-type-selection {
        gap: 10px !important;
        margin-bottom: 8px !important;
    }

    .party-size-selection {
        gap: 4px !important;
        margin-bottom: 8px !important;
    }

    .btn-large {
        height: 26px !important;
        margin-bottom: 4px !important;
    }

    .time-slots {
        gap: 4px !important;
    }

    .btn-time-slot {
        height: 26px !important;
    }

    .button-container {
        margin-top: 16px !important;
    }

    .button-container .btn-next {
        height: 36px !important;
    }
}

/* Combine height + width for specific scenarios */
@media only screen and (max-height: 700px) and (max-width: 640px) {
    .step-content {
        max-width: 100% !important;
    }

    .booking-modal {
        width: 100% !important;
        max-width: 100% !important;
        border-radius: 0 !important;
    }

    .booking-modal-overlay {
        padding: 0 !important;
    }
}

/* Landscape orientation on mobile */
@media only screen and (orientation: landscape) and (max-height: 450px) {
    .booking-modal-overlay {
        padding: 5px !important;
    }

    .booking-modal {
        margin: 5px auto !important;
    }

    .form-step {
        padding: 10px 16px !important;
    }

    .step-label {
        font-size: 18px !important;
        margin-bottom: 6px !important;
    }

    .calendar-controls {
        margin-bottom: 4px !important;
    }

    .calendar-weekdays {
        margin-bottom: 2px !important;
    }

    .date-cards {
        gap: 2px !important;
    }

    .date-number {
        font-size: 10px !important;
    }

    .booking-logo {
        max-width: 50px !important;
        margin-bottom: 6px !important;
    }

    .progress-bar {
        margin-bottom: 8px !important;
    }

    .btn-back {
        margin-bottom: 6px !important;
        font-size: 16px !important;
    }
}
