body.swc-embed-page {
    margin: 0;
    padding: 0;
    background: transparent;
}

.swc-booking-widget {
    --swc-primary-blue: #0284c7;
    --swc-secondary-blue: #38bdf8;
    --swc-light-blue: #e0f2fe;
    --swc-accent-blue: #0c4a6e;
    --swc-dark-blue: #075985;
    --swc-white: #ffffff;
    --swc-text-dark: #1f2937;
    --swc-text-light: #6b7280;
    --swc-heading-font: "Alice", serif;
    --swc-body-font: "Nunito", sans-serif;
    --swc-cal-header: #38bdf8;
    --swc-cal-unavailable: #f5b335;
    --swc-cal-turnover: #38bdf8;
    font-family: var(--swc-body-font);
    line-height: 1.6;
    color: var(--swc-text-dark);
    box-sizing: border-box;
}

.swc-booking-widget *,
.swc-booking-widget *::before,
.swc-booking-widget *::after {
    box-sizing: border-box;
}

.swc-booking-widget .swc-magic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.swc-booking-widget .swc-particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, rgba(2, 132, 199, 1) 0%, rgba(56, 189, 248, 0.8) 50%, transparent 70%);
    border-radius: 50%;
    animation: swc-float 6s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(2, 132, 199, 0.6);
}

.swc-booking-widget .swc-particle:nth-child(odd) {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(56, 189, 248, 1) 0%, rgba(2, 132, 199, 0.8) 50%, transparent 70%);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
    animation-duration: 8s;
}

.swc-booking-widget .swc-particle:nth-child(3n) {
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, rgba(224, 242, 254, 1) 0%, rgba(2, 132, 199, 0.6) 50%, transparent 70%);
    box-shadow: 0 0 6px rgba(224, 242, 254, 0.7);
    animation-duration: 5s;
}

@keyframes swc-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-25px) rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

.swc-booking-widget .swc-hero {
    min-height: 70vh;
    background-size: cover;
    background-position: center 15%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 160px 1.25rem 60px;
    margin-top: -130px;
}

.swc-booking-widget .swc-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%),
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 0%, transparent 20%, transparent 80%, rgba(255, 255, 255, 0.02) 100%);
    z-index: 1;
}

.swc-booking-widget .swc-hero-content {
    max-width: 1100px;
    text-align: center;
    z-index: 2;
    color: var(--swc-white);
}

.swc-booking-widget .swc-hero h1 {
    font-family: var(--swc-heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--swc-white);
    margin: 0 0 1rem;
    position: relative;
    display: inline-block;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    letter-spacing: 1px;
    line-height: 1.1;
}

.swc-booking-widget .swc-hero h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--swc-primary-blue), var(--swc-secondary-blue));
    animation: swc-draw-underline 1s ease-out 0.5s forwards;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.5);
}

@keyframes swc-draw-underline {
    to { width: 100%; }
}

.swc-booking-widget .swc-hero-text {
    font-size: 1.1rem;
    color: var(--swc-white);
    line-height: 1.6;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 500;
}

.swc-booking-widget .swc-form-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 50%, #bae6fd 100%);
    padding: 1rem 0.75rem;
    position: relative;
}

.swc-booking-widget.swc-booking-widget--transparent-bg .swc-form-section {
    background: transparent;
    padding: 0;
}

.swc-booking-widget.swc-booking-widget--transparent-bg .swc-cta-section {
    background: transparent;
}

.swc-booking-widget .swc-form-container {
    width: min(100%, 1200px);
    max-width: none;
    margin: 0 auto;
    background: var(--swc-white);
    border-radius: 12px;
    padding: 1rem 1.2rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.swc-booking-widget .swc-form-container::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.05) 0%, rgba(224, 242, 254, 0.02) 100%);
    border-radius: 20px;
    z-index: -1;
}

.swc-booking-widget .swc-form-grid {
    display: grid;
    gap: 0.55rem;
    position: relative;
    z-index: 2;
}

.swc-booking-widget .swc-form-group {
    margin-bottom: 0;
}

.swc-booking-widget .swc-form-input,
.swc-booking-widget .swc-form-textarea {
    width: 100%;
    padding: 0.38rem 0.55rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 0.8rem;
    line-height: 1.25;
    font-family: var(--swc-body-font);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
}

.swc-booking-widget .swc-form-input::placeholder,
.swc-booking-widget .swc-form-textarea::placeholder {
    color: #6b7280;
    opacity: 1;
}

.swc-booking-widget .swc-form-input:focus,
.swc-booking-widget .swc-form-textarea:focus {
    outline: none;
    border-color: var(--swc-primary-blue);
    box-shadow: 0 0 0 2px rgba(2, 132, 199, 0.12);
    background: var(--swc-white);
}

.swc-booking-widget .swc-form-textarea {
    resize: vertical;
    min-height: 48px;
}

.swc-booking-widget .swc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}

.swc-booking-widget .swc-calendar-group {
    margin-top: 0.15rem;
}

.swc-booking-widget .swc-calendar-panel {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
    background: #fff;
}

.swc-booking-widget .swc-calendar-toolbar {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: stretch;
    background: var(--swc-cal-header);
}

.swc-booking-widget .swc-calendar-nav {
    border: 0;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.swc-booking-widget .swc-calendar-nav:hover {
    background: rgba(255, 255, 255, 0.35);
}

.swc-booking-widget .swc-calendar-months,
.swc-booking-widget .swc-checkout-calendar.is-multi-month {
    display: grid;
    grid-template-columns: repeat(var(--swc-cal-month-count, 3), minmax(0, 1fr));
    gap: 0;
}

.swc-booking-widget .swc-cal-month {
    border-right: 1px solid rgba(255, 255, 255, 0.35);
}

.swc-booking-widget .swc-cal-month:last-child {
    border-right: 0;
}

.swc-booking-widget .swc-cal-month-title {
    text-align: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.3rem 0.2rem;
    background: var(--swc-cal-header);
}

.swc-booking-widget .swc-cal-weekdays,
.swc-booking-widget .swc-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.swc-booking-widget .swc-cal-weekdays {
    background: #4b5563;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
}

.swc-booking-widget .swc-cal-weekdays span {
    text-align: center;
    padding: 0.2rem 0;
}

.swc-booking-widget .swc-cal-day {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 26px;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #111827;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0;
    cursor: default;
    font-family: inherit;
    line-height: 1;
}

.swc-booking-widget button.swc-cal-day {
    appearance: none;
    -webkit-appearance: none;
}

.swc-booking-widget .swc-cal-day.is-empty {
    background: #f9fafb;
    border-color: #e5e7eb;
}

.swc-booking-widget .swc-cal-day.is-unavailable {
    background: var(--swc-cal-unavailable);
    color: #fff;
    border-color: #e5a82e;
}

.swc-booking-widget .swc-cal-day.is-not-selectable {
    cursor: default;
}

.swc-booking-widget .swc-cal-day.is-selectable {
    cursor: pointer;
}

.swc-booking-widget .swc-cal-day.is-selectable.is-available:hover,
.swc-booking-widget .swc-cal-day.is-selectable.is-checkin:hover {
    outline: 2px solid var(--swc-primary-blue);
    outline-offset: -2px;
    z-index: 1;
}

.swc-booking-widget .swc-cal-day.is-checkin {
    background: linear-gradient(to top left, var(--swc-cal-turnover) 50%, #fff 50%);
}

.swc-booking-widget .swc-cal-day.is-checkout {
    background: linear-gradient(to top left, #fff 50%, var(--swc-cal-turnover) 50%);
}

.swc-booking-widget .swc-cal-day.is-today.is-not-selectable {
    box-shadow: inset 0 0 0 2px rgba(12, 74, 110, 0.35);
}

.swc-booking-widget .swc-cal-day.is-selected-checkin,
.swc-booking-widget .swc-cal-day.is-selected-checkout {
    box-shadow: inset 0 0 0 2px var(--swc-accent-blue);
    z-index: 2;
}

.swc-booking-widget .swc-calendar-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.85rem;
    padding: 0.35rem 0.55rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6b7280;
}

.swc-booking-widget .swc-legend-item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.swc-booking-widget .swc-legend-swatch {
    width: 14px;
    height: 14px;
    border: 1px solid #d1d5db;
    display: inline-block;
}

.swc-booking-widget .swc-legend-swatch.is-available {
    background: #fff;
}

.swc-booking-widget .swc-legend-swatch.is-unavailable {
    background: var(--swc-cal-unavailable);
    border-color: var(--swc-cal-unavailable);
}

.swc-booking-widget .swc-legend-swatch.is-checkin {
    background: linear-gradient(to top left, var(--swc-cal-turnover) 50%, #fff 50%);
}

.swc-booking-widget .swc-legend-swatch.is-checkout {
    background: linear-gradient(to top left, #fff 50%, var(--swc-cal-turnover) 50%);
}

.swc-booking-widget .swc-date-summary {
    margin: 0.3rem 0 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--swc-dark-blue);
}

.swc-booking-widget .swc-checkout-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.swc-booking-widget .swc-checkout-modal[hidden] {
    display: none;
}

.swc-booking-widget .swc-checkout-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.swc-booking-widget .swc-checkout-modal-dialog {
    position: relative;
    width: min(100%, 720px);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    padding: 1.25rem 1.25rem 1rem;
    z-index: 1;
}

.swc-booking-widget .swc-checkout-modal-close {
    position: absolute;
    top: 0.35rem;
    right: 0.55rem;
    border: 0;
    background: transparent;
    font-size: 1.6rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
}

.swc-booking-widget .swc-checkout-modal-title {
    margin: 0 0 0.35rem;
    font-family: var(--swc-heading-font);
    color: var(--swc-primary-blue);
    font-size: 1.35rem;
    font-weight: 600;
}

.swc-booking-widget .swc-checkout-modal-subtitle {
    margin: 0 0 0.75rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--swc-text-dark);
}

.swc-booking-widget .swc-checkout-modal-hint {
    margin: 0.65rem 0 0;
    font-size: 0.85rem;
    color: var(--swc-text-light);
}

.swc-booking-widget .swc-checkout-calendar.is-multi-month {
    gap: 0.75rem;
}

.swc-booking-widget .swc-checkout-calendar .swc-cal-month {
    border: 1px solid #d1d5db;
    border-radius: 4px;
    overflow: hidden;
}

.swc-booking-widget .swc-checkout-calendar .swc-cal-month-title {
    background: var(--swc-cal-header);
}

.swc-booking-widget .swc-submit-button {
    width: 100%;
    background: linear-gradient(135deg, var(--swc-primary-blue) 0%, var(--swc-dark-blue) 100%);
    color: var(--swc-white);
    border: none;
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: var(--swc-body-font);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.25);
    margin-top: 0.2rem;
}

.swc-booking-widget .swc-submit-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s;
}

.swc-booking-widget .swc-submit-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.4);
}

.swc-booking-widget .swc-submit-button:hover:not(:disabled)::before {
    left: 100%;
}

.swc-booking-widget .swc-submit-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.swc-booking-widget .swc-form-feedback {
    display: none;
    margin-top: 0.2rem;
    padding: 0.45rem 0.55rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}

.swc-booking-widget .swc-form-feedback.is-visible {
    display: block;
}

.swc-booking-widget .swc-form-feedback.is-success {
    color: #155724;
    background: #d4edda;
    border: 1px solid #c3e6cb;
}

.swc-booking-widget .swc-form-feedback.is-error {
    color: #721c24;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.swc-booking-widget .swc-form-feedback.is-loading {
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.swc-booking-widget .swc-cta-section {
    background: linear-gradient(135deg, var(--swc-accent-blue) 0%, var(--swc-dark-blue) 100%);
    color: var(--swc-white);
    position: relative;
    overflow: hidden;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.swc-booking-widget .swc-cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(135, 206, 235, 0.2) 0%, transparent 70%);
    animation: swc-rotate 20s linear infinite;
    pointer-events: none;
}

.swc-booking-widget .swc-cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    gap: 1.5rem;
}

.swc-booking-widget .swc-cta-title {
    font-family: var(--swc-heading-font);
    font-size: 2.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: var(--swc-white);
    text-align: left;
    margin: 0;
    flex: 1;
}

.swc-booking-widget .swc-cta-phone {
    display: inline-block;
    background: var(--swc-white);
    color: var(--swc-accent-blue);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    white-space: nowrap;
}

.swc-booking-widget .swc-cta-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.4);
    color: var(--swc-accent-blue);
}

.swc-booking-widget .swc-cta-phone i {
    color: var(--swc-accent-blue);
    margin-right: 0.5rem;
}

body.swc-modal-open {
    overflow: hidden;
}

@keyframes swc-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .swc-booking-widget .swc-hero {
        min-height: 68vh;
        /* Clear sticky site header + admin bar; keep under-header bleed via negative margin */
        padding: 220px 1.25rem 88px;
        margin-top: -90px;
        background-attachment: scroll;
        background-position: center 30%;
        background-size: cover;
        align-items: flex-end;
    }

    .swc-booking-widget .swc-form-section {
        padding: 0.75rem 0.5rem;
    }

    .swc-booking-widget .swc-form-container {
        padding: 0.7rem 0.75rem;
    }

    .swc-booking-widget .swc-form-row {
        grid-template-columns: 1fr;
    }

    .swc-booking-widget .swc-hero h1 {
        font-size: 2rem;
        margin: 0 0 0.85rem;
    }

    .swc-booking-widget .swc-hero-text {
        font-size: 1rem;
        line-height: 1.5;
        max-width: 34rem;
        margin-left: auto;
        margin-right: auto;
    }

    .swc-booking-widget .swc-cta-title {
        font-size: 1.8rem;
    }

    .swc-booking-widget .swc-cta-content {
        flex-direction: column;
        text-align: center;
    }

    .swc-booking-widget .swc-cta-title {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .swc-booking-widget .swc-hero {
        min-height: 64vh;
        padding: 210px 1.1rem 80px;
        margin-top: -80px;
        background-attachment: scroll;
        background-position: center 28%;
        align-items: flex-end;
    }

    .swc-booking-widget .swc-form-section {
        padding: 0.6rem 0.4rem;
    }

    .swc-booking-widget .swc-form-container {
        padding: 0.65rem 0.6rem;
    }

    .swc-booking-widget .swc-hero h1 {
        font-size: 1.7rem;
        margin-bottom: 0.75rem;
    }

    .swc-booking-widget .swc-hero-text {
        font-size: 0.95rem;
        line-height: 1.45;
    }
}

/* Shortcode: full_width="1" — stretch form to 100% of parent (no 1200px cap) */
.swc-booking-widget.swc-booking-widget--full-width {
    width: 100%;
}

.swc-booking-widget.swc-booking-widget--full-width .swc-form-container,
.swc-booking-widget.swc-booking-widget--full-width .swc-hero-content,
.swc-booking-widget.swc-booking-widget--full-width .swc-cta-content {
    width: 100%;
    max-width: none;
}

/* Shortcode: rounded="0" — square corners for iframe/Wix embeds */
.swc-booking-widget.swc-booking-widget--flat .swc-form-container,
.swc-booking-widget.swc-booking-widget--flat .swc-form-container::before,
.swc-booking-widget.swc-booking-widget--flat .swc-form-input,
.swc-booking-widget.swc-booking-widget--flat .swc-form-textarea,
.swc-booking-widget.swc-booking-widget--flat .swc-submit-button,
.swc-booking-widget.swc-booking-widget--flat .swc-calendar-panel,
.swc-booking-widget.swc-booking-widget--flat .swc-checkout-modal-dialog,
.swc-booking-widget.swc-booking-widget--flat .swc-checkout-calendar .swc-cal-month,
.swc-booking-widget.swc-booking-widget--flat .swc-form-feedback,
.swc-booking-widget.swc-booking-widget--flat .swc-cta-phone {
    border-radius: 0;
}

/* Embed mode (Wix/iframe): system fonts, lighter chrome, no particles */
.swc-booking-widget.swc-booking-widget--embed {
    --swc-heading-font: Georgia, "Times New Roman", Times, serif;
    --swc-body-font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.swc-booking-widget.swc-booking-widget--embed .swc-form-container {
    box-shadow: none;
}

.swc-booking-widget.swc-booking-widget--embed .swc-form-container::before {
    display: none;
}

.swc-booking-widget.swc-booking-widget--embed .swc-magic-bg {
    display: none;
}
