/* Modern loading overlay for duration section */
.kls-schedule-block.kls-loading {
    position: relative;
}

.kls-schedule-block.kls-loading .kls-loading-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 20;
}

.kls-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #d1d5db;
    border-top: 4px solid #2d6cdf;
    border-radius: 50%;
    animation: kls-spin 1s linear infinite;
    background: none;
}

@keyframes kls-spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.kls-yacht-bg-shape {
    position: absolute;
    right: -120px;
    top: -110px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.kls-yacht-heading {
    background: #ffffff;
    padding: 0;
    border: 0;
    margin: 0;
}

.kls-results-shell {
    max-width: 1440px;
    margin: 0 auto;
    padding: 16px;
    background: #ffffff;
    border-radius: 10px;
}

.kls-results-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: var(--primary-color);
    border-radius: 8px;
    padding: 10px 20px;
}

.kls-results-titlebar h1 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.2;
}

.kls-results-title-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.kls-results-title-date {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.kls-results-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 1rem;
}

.kls-yacht-card {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background: #dde6ef;
    min-height: 420px;
    box-shadow: 0 10px 26px rgba(20, 34, 58, 0.12);
}

.kls-yacht-card-image {
    width: 100%;
    height: 100%;
}

.kls-yacht-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kls-yacht-card-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 18px 18px 24px;
    background: linear-gradient(180deg, rgba(112, 168, 211, 0.16) 0%, rgba(97, 151, 194, 0.84) 100%);
    backdrop-filter: blur(2px);
}

.kls-yacht-card-name {
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.kls-yacht-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    padding: 13px 20px;
    border-radius: 6px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-color) 100%);
    color: var(--color-white);
    font-size: 15px;
    font-weight: 400;
    text-decoration: none;
    border: 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.kls-yacht-card-btn:hover {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #fff06e 0%, #f5e441 100%);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14);
}

.kls-yacht-card-btn.is-disabled {
    background: #d6d6d6;
    color: #7a7a7a;
    pointer-events: none;
}

.kls-results-empty {
    padding: 28px 20px;
    color: #5c6780;
}

.kls-result-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #e5eaf2 0%, #f1f4f9 100%);
}

@media (max-width: 1100px) {
    .kls-results-grid {
        grid-template-columns: 1fr;
    }

    .kls-yacht-card {
        min-height: 360px;
    }
}

@media (max-width: 700px) {
    .kls-results-titlebar {
        padding: 20px 18px;
        flex-direction: column;
        align-items: flex-start;
    }

    .kls-results-titlebar h1 {
        font-size: 26px;
    }

    .kls-results-title-meta {
        justify-content: flex-start;
    }

    .kls-yacht-card-overlay {
        padding: 14px;
    }

    .kls-yacht-card-name {
        font-size: 20px;
    }

    .kls-yacht-card-btn {
        min-width: 88px;
        padding: 10px 14px;
        font-size: 16px;
    }
}

/* Booking detail page */

.kls-simple-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px 34px;
}

.kls-simple-form .kls-field {
    gap: 10px;
}

.kls-simple-form .kls-field label {
    color: #8c94a8;
    text-transform: uppercase;
    letter-spacing: 0.01em;
    font-size: 16px;
    font-weight: 500;
}

.kls-simple-form .kls-field input,
.kls-simple-form .kls-field select {
    width: 100%;
    min-height: 58px;
    background: #ffffff;
    border: 1px solid #e4e7ee;
    border-radius: 0;
    box-shadow: none;
    color: #2a2f44;
    font-size: 18px;
    padding: 0 16px;
}

.kls-simple-form .kls-activity-select {
    padding-right: 44px;
    background-position: right 14px center;
}

.kls-simple-form .kls-field input::placeholder {
    color: #a5adbd;
}

.kls-simple-form .kls-field-full {
    grid-column: 1 / -1;
}

.kls-stepper {
    display: flex !important;
    align-items: stretch;
    width: 100%;
}

.kls-stepper-btn {
    flex: 0 0 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e4e7ee;
    background: #ffffff;
    color: #9aa2b4;
    font-size: 34px;
    line-height: 1;
    min-height: 58px;
    padding: 0;
}

.kls-stepper .kls-adults-input {
    flex: 1 1 auto;
    width: auto;
    text-align: center;
    border-left: 0;
    border-right: 0;
    min-width: 80px;
}

.kls-simple-form .kls-date-input {
    width: 100%;
    padding-right: 46px;
}

.kls-simple-form .kls-date-input::-webkit-calendar-picker-indicator {
    opacity: 1;
    cursor: pointer;
}

.kls-simple-form .kls-book-btn {
    margin-top: 8px;
    min-height: 64px;
    border-radius: 0;
    background: #ccb07f;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.kls-simple-form .kls-book-btn:hover {
    background: #b99a69;
}

@media (max-width: 849px) {
    .kls-simple-card {
        padding: 34px 22px 28px;
    }

    .kls-simple-title {
        font-size: 32px;
        margin-bottom: 28px;
    }

    .kls-simple-form {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .kls-stepper {
        display: flex !important;
    }

    .kls-stepper-btn {
        flex-basis: 72px;
    }
}

@media (max-width: 549px) {
    .kls-simple-card {
        padding: 26px 18px 22px;
    }

    .kls-simple-title {
        font-size: 28px;
    }

    .kls-simple-form .kls-field label {
        font-size: 14px;
    }

    .kls-simple-form .kls-field input,
    .kls-simple-form .kls-field select {
        font-size: 16px;
    }
}

@media (max-width: 849px) {
    .kls-yacht-booking {
        padding: 24px;
        border-radius: 20px;
    }

    .kls-yacht-heading h2 {
        font-size: 34px;
    }

    .kls-yacht-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 549px) {
    .kls-yacht-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    #kls-date-picker .ui-widget.ui-widget-content {
        flex-direction: column;
        gap: 12px;
    }

    #kls-date-picker .ui-datepicker-group {
        width: 100% !important;
        float: none !important;
    }

    #kls-date-picker .ui-datepicker-group+.ui-datepicker-group {
        display: none;
    }

    .kls-detail-left {
        order: 2;
    }
}

/* Final lock styles for simple form UI */

.kls-yacht-booking.kls-yacht-booking--simple .kls-simple-card {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 24px 16px 18px !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-simple-title {
    margin: 0 0 24px !important;
    font-size: 56px !important;
    line-height: 1.04 !important;
    font-weight: 400 !important;
    text-align: center !important;
    color: #1a214f !important;
    font-family: "Playfair Display", serif !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-simple-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-simple-form *,
.kls-yacht-booking.kls-yacht-booking--simple .kls-simple-form *::before,
.kls-yacht-booking.kls-yacht-booking--simple .kls-simple-form *::after {
    box-sizing: border-box !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-field {
    gap: 8px !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-field-full {
    grid-column: 1 / -1 !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-field label {
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    text-transform: uppercase !important;
    color: #8b94a8 !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-field input,
.kls-yacht-booking.kls-yacht-booking--simple .kls-field select {
    width: 100% !important;
    min-height: 52px !important;
    height: 52px !important;
    border: 1px solid #d9dde4 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #2a3347 !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 0 18px !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-date-input {
    padding-right: 62px !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-date-input::-webkit-calendar-picker-indicator {
    opacity: 1 !important;
    cursor: pointer !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-stepper {
    display: grid !important;
    grid-template-columns: 72px 1fr 72px !important;
    width: 100% !important;
    column-gap: 0 !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-stepper-btn {
    height: 52px !important;
    min-height: 52px !important;
    border: 1px solid #d9dde4 !important;
    border-radius: 0 !important;
    color: #8e97ab !important;
    font-size: 24px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-stepper .kls-adults-input {
    width: 100% !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 0 !important;
    border-left: 0 !important;
    border-right: 0 !important;
    text-align: center !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    color: #2a3347 !important;
    appearance: textfield;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-stepper .kls-adults-input::-webkit-outer-spin-button,
.kls-yacht-booking.kls-yacht-booking--simple .kls-stepper .kls-adults-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-activity-select {
    padding-right: 56px !important;
    background-position: right 18px center !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-book-btn.button,
.kls-yacht-booking.kls-yacht-booking--simple .kls-book-btn.button.primary {
    width: 100% !important;
    min-height: 74px !important;
    height: 74px !important;
    margin-top: 6px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #c9af82 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
}

.kls-yacht-booking.kls-yacht-booking--simple .kls-book-btn.button:hover,
.kls-yacht-booking.kls-yacht-booking--simple .kls-book-btn.button.primary:hover {
    background: #bda06f !important;
}

.ui-datepicker {
    z-index: 999999 !important;
    font-size: 14px !important;
}

.ui-datepicker .ui-datepicker-title {
    display: flex;
}

@media (max-width: 849px) {
    .kls-yacht-booking.kls-yacht-booking--simple {
        padding: 12px !important;
    }

    .kls-yacht-booking.kls-yacht-booking--simple .kls-simple-card {
        padding: 14px 8px 8px !important;
    }

    .kls-yacht-booking.kls-yacht-booking--simple .kls-simple-title {
        font-size: 48px !important;
    }

    .kls-yacht-booking.kls-yacht-booking--simple .kls-simple-form {
        grid-template-columns: 1fr 1fr !important;
        gap: 16px 14px !important;
    }

    .kls-yacht-booking.kls-yacht-booking--simple .kls-field label {
        font-size: 14px !important;
    }

    .kls-yacht-booking.kls-yacht-booking--simple .kls-field input,
    .kls-yacht-booking.kls-yacht-booking--simple .kls-field select,
    .kls-yacht-booking.kls-yacht-booking--simple .kls-stepper-btn {
        min-height: 56px !important;
        height: 56px !important;
        font-size: 13px !important;
    }

    .kls-yacht-booking.kls-yacht-booking--simple .kls-stepper {
        grid-template-columns: 56px 1fr 56px !important;
    }

    .kls-yacht-booking.kls-yacht-booking--simple .kls-book-btn.button,
    .kls-yacht-booking.kls-yacht-booking--simple .kls-book-btn.button.primary {
        min-height: 62px !important;
        height: 62px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 640px) {
    .kls-yacht-booking.kls-yacht-booking--simple .kls-simple-form {
        grid-template-columns: 1fr !important;
    }

    .kls-yacht-booking.kls-yacht-booking--simple .kls-stepper {
        grid-template-columns: 60px 1fr 60px !important;
    }
}

/* Booking form result page */

body.kls-booking-results-page #secondary,
body.kls-booking-results-page .blog-sidebar,
body.kls-booking-results-page .widget-area {
    display: none !important;
}

body.kls-booking-results-page #primary,
body.kls-booking-results-page .large-9,
body.kls-booking-results-page .large-8 {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
}

.kls-booking-results {
    margin: 22px auto 28px;
    background: #ffffff;
    border: 1px solid #e7ebf1;
    border-radius: 6px;
}

.kls-results-header h2 {
    margin: 0;
    color: #1f2d4a;
    font-size: 32px;
    font-family: "Playfair Display", serif;
}

.kls-results-header p {
    margin: 8px 0 0;
    color: #667089;
}

.kls-results-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 20px 0;
}

.kls-summary-item {
    padding: 10px 12px;
}

.kls-summary-item span {
    display: block;
    color: #000;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.kls-summary-item strong {
    display: block;
    margin-top: 4px;
    color: #22304d;
    font-size: 16px;
}

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

.kls-result-card {
    border: 1px solid #e6ebf3;
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.kls-result-card.is-unavailable {
    opacity: 0.82;
}

.kls-result-image-wrap {
    aspect-ratio: 16 / 9;
    background: #eef2f7;
}

.kls-result-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kls-result-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #e5eaf2 0%, #f1f4f9 100%);
}

.kls-result-content {
    padding: 14px;
}

.kls-result-content h3 {
    margin: 0;
    font-size: 22px;
    color: #1f2d4a;
}

.kls-result-content p {
    margin: 8px 0 10px;
    color: #5c6780;
    font-size: 14px;
}

.kls-result-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.kls-result-meta span {
    background: #f1f5fb;
    border: 1px solid #dbe5f3;
    color: #2c4265;
    font-size: 12px;
    padding: 4px 8px;
}

.kls-result-status {
    margin-top: 12px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 600;
}

.kls-result-status.is-available {
    background: #eef8ef;
    color: #1f6a2d;
    border: 1px solid #cce8d1;
}

.kls-result-status.is-sold-out {
    background: #fff3f3;
    color: #9c2a2a;
    border: 1px solid #f0d0d0;
}

.kls-results-empty {
    margin: 16px 0 4px;
    padding: 12px;
    background: #fff9ef;
    border: 1px solid #f1dfbd;
    color: #735824;
}

@media (max-width: 900px) {
    .kls-results-summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kls-results-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .kls-results-summary {
        grid-template-columns: 1fr;
    }

    .kls-results-header h2 {
        font-size: 26px;
    }
}

/* Booking detail page */

.kls-result-book-btn {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 14px;
    background: #d5ae82;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    border-radius: 3px;
    transition: background 0.2s;
}

.kls-result-book-btn:hover {
    background: #c9a474;
}

.kls-booking-detail {
    background: #ffffff;
    padding: 0;
}

/* Step Indicator */
.kls-step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    padding: 20px 24px;
    background: #f0f4f9;
    border-bottom: 1px solid #e3e8f0;
}

.kls-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
    flex: 0 0 auto;
}

.kls-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e3e8f0;
    color: #6b7c93;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.kls-step.is-active .kls-step-number {
    background: var(--color-primary);
    color: var(--color-white);
}

.kls-step.is-completed .kls-step-number {
    background: var(--color-secondary);
    color: var(--color-white);
}

.kls-step-label {
    font-size: 12px;
    font-weight: 600;
    color: #6b7c93;
    white-space: nowrap;
}

.kls-step.is-active .kls-step-label {
    color: var(--color-primary);
}

.kls-step.is-completed .kls-step-label {
    color: var(--color-secondary);
}

.kls-step-line {
    width: 70px;
    height: 2px;
    background: #e3e8f0;
    margin: 0 10px;
    flex: 0 0 auto;
}

.kls-step:last-child+.kls-step-line {
    display: none;
}

.kls-step.is-completed+.kls-step-line {
    background: var(--color-secondary);
}

.kls-detail-wrapper {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 20px;
}

/* Left panel: form */

.kls-detail-wrapper {
    margin-top: 1.5rem;
}

.kls-detail-left {
    padding: 24px;
    border: 1px solid #e3e8f0;
    overflow-y: auto;
    border-radius: 5px
}

.kls-detail-yacht-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 14px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 4px;
}

.kls-detail-yacht-header h1 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.kls-header-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    padding: 2px 6px;
}

.kls-header-meta {
    display: flex;
    align-items: stretch;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.kls-header-time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 2px 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.kls-day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
}

.kls-month {
    font-size: 11px;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.kls-time-main {
    font-size: 24px;
    line-height: 1;
    font-weight: 500;
}

.kls-time-ampm {
    font-size: 11px;
    margin-top: 4px;
    letter-spacing: 0.05em;
}

.kls-form-section {
    margin-bottom: 20px;
}

.kls-form-section h3 {
    margin: 0 0 12px;
    color: #1f2d4a;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Calendar styles */
#kls-date-picker {
    margin-bottom: 12px;
}

#kls-date-picker .ui-datepicker {
    width: 100%;
    border: 0;
    background: transparent;
    box-shadow: none;
}

#kls-date-picker .ui-datepicker-header {
    background: transparent;
    border: 0;
    color: #1f2d4a;
    margin-bottom: 12px;
}

#kls-date-picker .ui-datepicker-title {
    display: flex;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

#kls-date-picker .ui-datepicker-next,
#kls-date-picker .ui-datepicker-prev {
    top: 0;
    cursor: pointer;
}

#kls-date-picker .ui-widget.ui-widget-content {
    width: 100% !important;
    display: flex !important;
    gap: 20px;
}

#kls-date-picker table {
    width: 100%;
}

#kls-date-picker td {
    padding: 4px;
    text-align: center;
}

#kls-date-picker .ui-datepicker-unselectable {
    color: #ccc;
}

#kls-date-picker td.ui-datepicker-today a {
    background: #a8d46f;
    color: #ffffff;
    font-weight: bold;
}

#kls-date-picker td a {
    padding: 4px;
    display: block;
    border-radius: 3px;
    background: #ffffff;
    color: #1f2d4a;
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

#kls-date-picker td a:hover {
    background: #a8d46f;
    color: #ffffff;
}

#kls-date-picker td.ui-datepicker-current-day a.ui-state-active {
    background: var(--primary-color) !important;
    border: 1px solid var(--primary-color) !important;
    color: #ffffff;
    font-weight: bold;
}

#kls-date-picker td.ui-datepicker-current-day a.ui-state-active:hover {
    color: #ffffff !important;
}

#kls-date-picker td a:hover {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: #ffffff;
}

#kls-date-picker td.kls-day-available a {
    background: #93d095;
    color: #22322a;
    border: 1px solid #93d095;
}

#kls-date-picker td.kls-day-available a:hover {
    background: #7acb7f;
    color: #1c2a22;
    border: 1px solid #7acb7f;
}

#kls-date-picker td.kls-day-soldout span,
#kls-date-picker td.ui-datepicker-unselectable span {
    background: #000;
    border: 1px solid #000;
    padding: 4px;
    border-radius: 2px;
}

#kls-date-picker td.kls-day-soldout span,
#kls-date-picker td.ui-datepicker-unselectable span {
    color: #c5c7cb;
}

.kls-calendar-legend {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 10px;
}

.kls-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #525e6e;
}

.kls-legend-swatch {
    width: 18px;
    height: 18px;
    border-radius: 2px;
    display: inline-block;
}

.kls-legend-available {
    background: #93d095;
}

.kls-legend-soldout {
    background: #ececec;
}

.kls-selected-date {
    margin-top: 10px;
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid #d7e3f2;
    background: #ffffff;
    color: #3a5f86;
    font-weight: 600;
    font-size: 13px;
}

/* Time slots */
.kls-schedule-block {
    display: none;
}

.kls-schedule-block.is-visible {
    display: block;
}

.kls-time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.kls-time-btn {
    padding: 8px 10px;
    border: 1px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    line-height: normal;
}

.kls-time-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--color-white)
}

.kls-time-btn.is-selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--color-white)
}

.kls-time-btn.kls-disabled,
.kls-time-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
    background: #f3f5f8;
    color: #8e98ab;
    border-color: #cfd6e2;
}

/* Duration options */
.kls-duration-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.kls-duration-btn {
    padding: 10px 12px;
    border: 1px solid var(--primary-color);
    background: #fff;
    color: var(--primary-color);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    white-space: nowrap;
    line-height: normal
}

.kls-duration-btn:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--color-white);
}

.kls-duration-btn.is-selected {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--color-white);
}

.kls-duration-btn.kls-disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
    background: #ececec
}

.kls-duration-price {
    float: right;
    font-weight: 700;
}

.kls-detail-submit-btn {
    flex: 1;
    padding: 12px;
    border: 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    line-height: normal;
    min-height: auto;
    background: var(--color-secondary);
    color: var(--color-white);
}

.kls-detail-submit-btn:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* Step Content */
.kls-step-content {
    display: none;
}

.kls-step-content.is-active {
    display: block;
}

/* Form Groups */
.kls-form-group {
    margin-bottom: 14px;
}

.kls-form-group label {
    display: block;
    margin-bottom: 6px;
    color: #1f2d4a;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.kls-form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #c5d3e8;
    border-radius: 4px;
    font-size: 13px;
    color: #1f2d4a;
}

.kls-form-group input:focus {
    outline: none;
    border-color: #6b8dd6;
    box-shadow: 0 0 0 2px rgba(107, 141, 214, 0.1);
}

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

.kls-contact-field {
    margin-bottom: 0;
}

.kls-contact-field-full {
    grid-column: 1 / -1;
}

.kls-contact-field label {
    font-size: 14px;
    letter-spacing: 0.08em;
    text-transform: none;
    font-weight: 500;
    margin-bottom: 4px;
}

.kls-contact-field input {
    padding: 10px 0 8px;
    border: 0;
    border-bottom: 1px solid #79b4e8;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
    color: #1f2d4a;
}

.kls-contact-field input:focus {
    border-color: #3f90d5;
    box-shadow: none;
}

.kls-contact-field.kls-has-error input {
    border-bottom-color: #d92d20;
}

.kls-seat-limit-warning {
    font-weight: 500;
}

.kls-step2-continue {
    margin-top: 0;
    padding: 16px;
    border-radius: 6px;
    font-size: 22px;
    text-transform: none;
    font-weight: 600;
}

.kls-step2-nav {
    margin-top: 28px;
}

.kls-step3-nav {
    margin-top: 28px;
}

.kls-step3-nav .kls-step-back-btn,
.kls-step3-nav .kls-step3-confirm {
    flex: 1;

}

/* Availability Message */
.kls-availability-msg {
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 12px;
    display: none;
}

.kls-availability-msg.kls-available {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.kls-availability-msg.kls-unavailable {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.kls-booking-notice {
    display: block;
    margin-bottom: 12px;
}

/* Step Navigation Buttons */
.kls-step-nav-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.kls-step-next-btn,
.kls-step-back-btn {
    flex: 1;
    padding: 12px;
    border: 0;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    line-height: normal;
}

.kls-step-next-btn {
    background: var(--color-secondary);
    color: #ffffff;
    width: 100%;
}

.kls-step-next-btn:hover {
    background: var(--color-secondary);
}

.kls-step-next-btn:disabled {
    background: #d8dbe2;
    color: #8f98a8;
    cursor: not-allowed;
}

.kls-step-back-btn {
    background: #e3e8f0;
    color: #1f2d4a;
}

.kls-step-back-btn:hover {
    background: #d3d9e5;
}

/* Booking Summary */
.kls-booking-summary {
    border: 1px solid #e3e8f0;
    border-radius: 4px;
    padding: 14px;
    margin-bottom: 14px;
}

.kls-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    color: #1f2d4a;
}

.context-info {
    margin-top: 14px;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #dbe4f2;
    background: #f6f9ff;
    color: #24324d;
    font-size: 13px;
    line-height: 1.6;
}

.context-info> :first-child {
    margin-top: 0;
}

.context-info> :last-child {
    margin-bottom: 0;
}

.context-info p,
.context-info ul,
.context-info ol {
    margin: 0 0 10px;
}

.context-info a {
    color: #0d5bd8;
    text-decoration: underline;
}

.context-info strong {
    color: #13233f;
}

/* Right panel: yacht info and pricing */
.kls-detail-right {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.kls-detail-image-wrap {
    aspect-ratio: 1;
    background: #eef2f7;
    overflow: hidden;
}

.kls-detail-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kls-detail-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, #e5eaf2 0%, #f1f4f9 100%);
}

.kls-detail-info {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    background-color: #e6f8fd;
}

.kls-detail-info p {
    margin: 0 0 12px;
    color: #5c6780;
    font-size: 13px;
    line-height: 1.5;
}

.kls-detail-specs {
    margin-bottom: 14px;
}

.kls-spec-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13px;
    color: #5c6780;
    border-bottom: 1px solid #e3e8f0;
}

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

.kls-spec-icon {
    font-size: 16px;
}

.kls-spec-text {
    flex: 1;
}

.kls-detail-summary {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e3e8f0;
}

.kls-summary-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 13px;
    color: #5c6780;
}

.kls-summary-block strong {
    color: #1f2d4a;
    font-weight: 600;
}

.kls-summary-block.is-total {
    border-top: 1px solid #e3e8f0;
    padding-top: 10px;
    margin-top: 8px;
    font-size: 15px;
    color: #1f2d4a;
}

.kls-total-amount {
    color: #d5ae82;
    font-family: "Playfair Display", serif;
    font-size: 18px !important;
}

.ui-datepicker-row-break {
    display: none;
}

.ui-datepicker-multi-2 .ui-datepicker-group {
    width: 100% !important;
    float: unset !important;
}

.ui-helper-clearfix:before,
.ui-helper-clearfix:after {
    content: unset !important;
}

.kls-contact-field input:focus,
.kls-contact-field input:hover,
.kls-contact-field input {
    box-shadow: unset;
}

.required {
    color: red;
}

/* .kls-day-available .ui-state-default {
    background-color: #ececec !important;
} */

@media (max-width: 1024px) {
    .kls-detail-wrapper {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .kls-detail-left {
        border-right: 0;
        border-bottom: 1px solid #e3e8f0;
    }
}

@media (max-width: 580px) {
    .kls-step-indicator {
        padding: 14px 12px;
        gap: 0;
    }

    .kls-step-line {
        width: 70px;
        margin: 0 6px;
    }

    .kls-step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .kls-step-label {
        font-size: 10px;
    }

    .kls-detail-left {
        padding: 14px;
    }

    .kls-header-date {
        min-width: 64px;
    }

    .kls-header-time {
        min-width: 82px;
    }

    .kls-day,
    .kls-time-main {
        font-size: 20px;
    }

    .kls-time-slots {
        gap: 6px;
    }

    .kls-duration-options {
        gap: 6px;
    }

    .kls-time-btn,
    .kls-duration-btn {
        font-size: 14px;
        padding: 6px 8px;
        margin: 0;
    }

    .kls-detail-info {
        padding: 12px;
    }

    .kls-contact-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .kls-contact-field label {
        font-size: 14px;
    }

    .kls-contact-field input {
        font-size: 14px;
    }

    .kls-step2-continue {
        font-size: 14px;
        padding: 14px;
    }

    .kls-step3-nav .kls-step3-confirm,
    .kls-step3-nav .kls-step-back-btn {
        font-size: 14px;
        padding: 14px;
        margin: 0;
    }

    .kls-step-nav-buttons {
        flex-direction: column;
    }

    .kls-step-next-btn,
    .kls-step-back-btn {
        font-size: 14px;
        width: 100%;
    }

    .shadow-col {
        padding: 40px 0;
    }
}