:root {
    --c2wt-resa-bg: #ffd0a9;
    --c2wt-resa-accent: #fb9649;
    --c2wt-resa-accent-dark: #e87f31;
    --c2wt-resa-accent-light: #ffd8b8;
    --c2wt-resa-text: #2a1c12;
    --c2wt-resa-card: #fff6ec;
    --c2wt-resa-border: #f2b789;
    --c2wt-resa-shadow: 0 12px 24px rgba(251, 150, 73, 0.18);
}

.c2wt-resa-booking {
    font-family: "Garet Light", Sans-serif;
    color: var(--c2wt-resa-text);
}

.c2wt-resa-wrap {
    display: grid;
    grid-template-columns: 2fr 1.1fr 1.2fr;
    gap: 24px;
    margin-top: 16px;
}

.c2wt-resa-calendar-col,
.c2wt-resa-dates-col {
    align-self: start;
}

.c2wt-resa-step {
    background: transparent;
    border: 1px solid var(--c2wt-resa-border);
    padding: 16px;
    border-radius: 8px;
    box-shadow: none;
}

.c2wt-resa-step h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--c2wt-resa-text);
}

.c2wt-resa-hint {
    font-size: 13px;
    color: #6b4b35;
    margin-top: 8px;
}

.c2wt-resa-options label {
    margin-right: 16px;
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.c2wt-resa-options input[type="radio"] {
    accent-color: var(--c2wt-resa-accent);
}

.c2wt-resa-date-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.c2wt-resa-date-row {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.c2wt-resa-date-label {
    font-weight: 600;
    color: var(--c2wt-resa-text);
    font-size: 13px;
}

.c2wt-resa-empty-image {
    display: block;
    max-width: 100%;
    height: auto;
    opacity: 0.7;
    margin-bottom: 8px;
	border-radius: 10px !important;
}

.c2wt-resa-empty p {
    font-size: 14px;
}

.c2wt-resa-remove-date {
    border: 0;
    background: transparent;
    color: var(--c2wt-resa-accent-dark);
    font-size: 12px;
    padding: 0;
    cursor: pointer;
}

.c2wt-resa-remove-date:hover {
    text-decoration: underline;
}

.c2wt-resa-calendar:focus {
    outline: none;
    border-color: var(--c2wt-resa-accent);
    box-shadow: 0 0 0 2px rgba(251, 150, 73, 0.25);
}

.c2wt-resa-type-switch {
    display: inline-flex;
    border: 1px solid var(--c2wt-resa-border);
    border-radius: 999px;
    overflow: hidden;
    background: rgba(251, 150, 73, 0.25);
    padding: 3px;
    gap: 0;
    box-shadow: none;
    position: relative;
}

.c2wt-resa-switch-indicator {
    position: absolute;
    top: 3px;
    bottom: 3px;
    left: 0;
    width: 0;
    background: var(--c2wt-resa-accent);
    border-radius: 999px;
    transform: translateX(0);
    transition: transform 200ms ease, width 200ms ease, background-color 200ms ease;
    z-index: 1;
}

.c2wt-resa-type-btn {
    border: 0 !important;
    background: transparent !important;
    padding: 6px 12px;
    font-size: 12px !important;
    color: var(--c2wt-resa-text) !important;
    cursor: pointer;
    border-radius: 999px;
    text-transform: none;
    letter-spacing: 0.02em;
    box-shadow: none !important;
    transition: color 180ms ease;
    position: relative;
    z-index: 2;
    flex: 0 0 auto;
    text-align: center;
    white-space: nowrap;
}

.c2wt-resa-type-btn.is-active {
    color: #fff !important;
}

.c2wt-resa-type-switch.is-journee {
    background: var(--c2wt-resa-accent);
    border-color: var(--c2wt-resa-accent);
}

.c2wt-resa-type-switch.is-journee .c2wt-resa-switch-indicator {
    background: var(--c2wt-resa-accent-light);
}

.c2wt-resa-type-switch.is-journee .c2wt-resa-type-btn {
    color: #fff !important;
}

.c2wt-resa-type-switch.is-journee .c2wt-resa-type-btn.is-active {
    color: var(--c2wt-resa-accent-dark) !important;
}
.c2wt-resa-type-btn:focus {
    outline: none;
}

.c2wt-resa-summary {
    background: #fb9649;
    border: 1px solid var(--c2wt-resa-border);
    padding: 16px;
    border-radius: 10px;
    position: sticky;
    top: 24px;
    height: fit-content;
    box-shadow: none;
}

#c2wt-resa-add-to-cart {
	background: #ffd0a9 !important;
	color: #342519 !important;
}

.c2wt-resa-summary h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 700;
}

.c2wt-resa-summary-list ul {
    padding-left: 16px;
    margin: 0 0 12px 0;
    font-size: 13px;
}

.c2wt-resa-summary-counts,
.c2wt-resa-summary-total {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 13px;
}

.c2wt-resa-errors {
    color: #9d2a16;
    margin-bottom: 8px;
    font-size: 13px;
}

.c2wt-resa-booking .single_add_to_cart_button,
.c2wt-resa-booking .single_add_to_cart_button.button,
.c2wt-resa-booking .single_add_to_cart_button.alt {
    background: var(--c2wt-resa-accent) !important;
    border-color: var(--c2wt-resa-accent) !important;
    color: #ffffff !important;
    font-weight: 600;
    border-radius: 999px;
    padding: 12px 18px;
    width: 100%;
}

.c2wt-resa-booking .single_add_to_cart_button:hover {
    background: var(--c2wt-resa-accent-dark);
    border-color: var(--c2wt-resa-accent-dark);
}

.c2wt-resa-booking .single_add_to_cart_button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.c2wt-resa-calendar {
    display: none;
}

.flatpickr-calendar {
    border: 0;
    box-shadow: none;
    background: transparent;
    width: 100%;
    max-width: none;
}

.c2wt-resa-calendar-col {
    border: 0;
}

.flatpickr-calendar.inline {
    width: 100%;
    max-width: none;
}

.flatpickr-innerContainer,
.flatpickr-rContainer {
    width: 100%;
}

.flatpickr-days {
    width: 100%;
    margin: 0;
    padding: 0;
    display: block;
}

.flatpickr-weekdays,
.dayContainer {
    width: 100%;
    margin: 0;
    padding: 0;
}

.flatpickr-weekdays {
    display: flex;
}

.flatpickr-weekday {
    width: calc(100% / 7);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    display: block;
}

.flatpickr-days .dayContainer {
    display: flex;
    flex-wrap: wrap;
    min-width: 100%;
    max-width: 100%;
    gap: 0;
}

.flatpickr-day {
    flex: 0 0 calc(100% / 7);
    max-width: calc(100% / 7);
    aspect-ratio: 1 / 1;
    height: auto;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    padding: 0;
    border-radius: 999px;
    font-size: 15px;
    background: transparent;
    position: relative;
    z-index: 1;
    box-shadow: none;
    border: 0;
}

.flatpickr-day::after {
    display: none;
}

.flatpickr-day.today {
    border: 1px solid var(--c2wt-resa-accent-dark);
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--c2wt-resa-accent) !important;
    color: #fff !important;
    border-color: var(--c2wt-resa-accent) !important;
    box-shadow: none !important;
}

.flatpickr-day.inRange {
    background: var(--c2wt-resa-accent) !important;
    color: #fff;
    border-radius: 0;
    box-shadow: none !important;
}

.flatpickr-day.startRange {
    border-top-left-radius: 999px;
    border-bottom-left-radius: 999px;
}

.flatpickr-day.endRange {
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
}

.flatpickr-day:hover,
.flatpickr-day:focus {
    border-color: transparent !important;
    box-shadow: none !important;
}

.flatpickr-day:not(.selected):not(.startRange):not(.endRange):not(.inRange):hover,
.flatpickr-day:not(.selected):not(.startRange):not(.endRange):not(.inRange):focus {
    background: rgba(251, 150, 73, 0.35) !important;
}

.flatpickr-day.c2wt-resa-weekend,
.flatpickr-day.c2wt-resa-blackout {
    color: rgba(42, 28, 18, 0.35);
}

.flatpickr-day.c2wt-resa-weekend:hover,
.flatpickr-day.c2wt-resa-blackout:hover,
.flatpickr-day.c2wt-resa-weekend:focus,
.flatpickr-day.c2wt-resa-blackout:focus {
    background: transparent !important;
}

.flatpickr-day:focus {
    outline: none;
}


@media (max-width: 900px) {
    .c2wt-resa-wrap {
        grid-template-columns: 1fr;
    }

    .c2wt-resa-summary {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        top: auto;
        border-radius: 0;
        z-index: 999;
        padding: 12px 16px;
        box-shadow: 0 -12px 24px rgba(251, 150, 73, 0.2);
    }

    .c2wt-resa-summary-list {
        display: none;
    }
}
