.ca-frf {
    --ca-frf-accent: #5c3ef4;
    --ca-frf-accent-soft: rgba(92, 62, 244, .12);
    --ca-frf-accent-border: rgba(92, 62, 244, .34);
    --ca-frf-ink: #23395d;
    --ca-frf-muted: #8b96a9;
    color: #111827;
    font-family: inherit;
}

.ca-frf__form {
    align-items: end;
    border-bottom: 1px solid #e5e7eb;
    display: grid;
    gap: 22px;
    grid-template-columns: minmax(260px, 1.7fr) minmax(230px, 1.05fr) minmax(170px, .65fr) minmax(170px, .65fr);
    margin: 0 0 34px;
    padding: 0 0 30px;
}

.ca-frf__field {
    min-width: 0;
    position: relative;
}

.ca-frf__label {
    color: #64748b;
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.2;
    margin: 0 0 10px;
    text-transform: uppercase;
}

.ca-frf__control,
.ca-frf__select-button {
    align-items: center;
    background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
    border: 1px solid #dce3eb;
    border-radius: 8px;
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02), 0 8px 20px rgba(15, 23, 42, .03);
    display: flex;
    height: 46px;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
    width: 100%;
}

.ca-frf .ca-frf__control,
.ca-frf .ca-frf__select-button,
.ca-frf .ca-frf__date-shell {
    color: var(--ca-frf-ink) !important;
}

.ca-frf__control:focus-within,
.ca-frf__select-button:focus,
.ca-frf__select-button[aria-expanded="true"] {
    border-color: var(--ca-frf-accent);
    box-shadow: 0 0 0 3px var(--ca-frf-accent-soft), 0 12px 24px rgba(92, 62, 244, .08);
    outline: 0;
}

.ca-frf__control input,
.ca-frf__select-button {
    color: var(--ca-frf-ink) !important;
    font: inherit;
    font-size: 15px;
}

.ca-frf__control input {
    background: transparent;
    border: 0;
    height: 100%;
    min-width: 0;
    outline: 0;
    padding: 0 42px 0 42px;
    width: 100%;
}

.ca-frf__select-button span {
    color: var(--ca-frf-ink) !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ca-frf__control input::placeholder {
    color: #64748b;
}

.ca-frf__icon {
    color: #b8bec6;
    display: grid;
    height: 20px;
    left: 15px;
    place-items: center;
    pointer-events: none;
    position: absolute;
    transition: color .18s ease;
    width: 20px;
}

.ca-frf__icon svg,
.ca-frf__select-button svg {
    fill: currentColor;
    height: 18px;
    width: 18px;
}

.ca-frf__clear {
    align-items: center;
    background: transparent;
    border: 0;
    color: #a8b0bd;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    height: 32px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    position: absolute;
    right: 9px;
    transition: background .18s ease, color .18s ease;
    width: 32px;
}

.ca-frf__date-shell {
    align-items: center;
    background: #fff;
    border: 1px solid #d8e0ec;
    border-radius: 5px;
    box-shadow: 0 1px 1px rgba(15, 23, 42, .03);
    cursor: pointer;
    display: flex;
    height: 48px;
    overflow: visible;
    position: relative;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
    width: 100%;
}

.ca-frf__date-shell:hover,
.ca-frf__date-shell:focus-within {
    border-color: #6a9cff;
    box-shadow: 0 0 0 2px rgba(106, 156, 255, .25);
}

.ca-frf__date-shell.is-open {
    border-color: #6a9cff;
    box-shadow: 0 0 0 2px rgba(106, 156, 255, .28);
}

.ca-frf__date-icon {
    align-items: center;
    background: transparent;
    color: var(--ca-frf-ink);
    display: flex;
    height: 100%;
    justify-content: center;
    position: absolute;
    right: 10px;
    top: 0;
    width: 26px;
}

.ca-frf__date-icon svg {
    fill: currentColor;
    height: 18px;
    width: 18px;
}

.ca-frf__date-input {
    display: none;
}

.ca-frf__date-visible {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--ca-frf-ink) !important;
    cursor: pointer;
    flex: 1;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    height: 100% !important;
    line-height: 48px !important;
    min-width: 0;
    outline: 0 !important;
    padding: 0 48px 0 14px !important;
    width: 100% !important;
}

.ca-frf__date-visible::placeholder {
    color: #718199 !important;
    opacity: 1 !important;
}

.ca-frf__date-shell .ca-frf__clear {
    background: transparent !important;
    border-radius: 50%;
    color: #9aa6b8 !important;
    display: flex;
    height: 24px;
    right: 38px;
    width: 24px;
    z-index: 3;
}

.ca-frf-calendar {
    background: #fff;
    border: 1px solid #e6ebf3;
    border-radius: 5px;
    box-shadow: 0 18px 40px rgba(24, 39, 75, .14), 0 3px 10px rgba(24, 39, 75, .08);
    left: 0;
    padding: 18px 18px 16px;
    position: absolute;
    top: calc(100% + 8px);
    width: 360px;
    z-index: 9999;
}

.ca-frf-calendar__head {
    align-items: center;
    color: var(--ca-frf-ink);
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    margin-bottom: 16px;
    text-align: center;
}

.ca-frf-calendar__head strong {
    color: var(--ca-frf-ink) !important;
    font-size: 21px;
    font-weight: 700;
    letter-spacing: .5px;
}

.ca-frf-calendar__nav {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--ca-frf-ink) !important;
    cursor: pointer;
    display: flex;
    font-size: 34px;
    font-weight: 700;
    height: 36px;
    justify-content: center;
    line-height: 1;
    padding: 0;
    width: 36px;
}

.ca-frf-calendar__nav:hover {
    background: #f1f4fb;
}

.ca-frf-calendar__days,
.ca-frf-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
}

.ca-frf-calendar__days {
    color: var(--ca-frf-muted);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.2px;
    margin-bottom: 10px;
}

.ca-frf-calendar__days span {
    padding: 6px 0;
}

.ca-frf-calendar__day {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 6px;
    color: var(--ca-frf-ink) !important;
    cursor: pointer;
    display: flex;
    font-size: 18px;
    height: 38px;
    justify-content: center;
    margin: 1px auto;
    padding: 0;
    width: 39px;
}

.ca-frf-calendar__day:hover {
    background: #eef2f8;
}

.ca-frf-calendar__day.is-muted {
    color: #9aa6b8 !important;
}

.ca-frf-calendar__day.is-today {
    color: var(--ca-frf-accent) !important;
    font-weight: 800;
}

.ca-frf-calendar__day.is-selected {
    background: #edf0f6 !important;
    color: var(--ca-frf-ink) !important;
    font-weight: 800;
}

.ca-frf-calendar__actions {
    border-top: 1px solid #edf1f7;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 14px;
    padding-top: 12px;
}

.ca-frf-calendar__actions button {
    background: #f4f6fb;
    border: 0;
    border-radius: 5px;
    color: var(--ca-frf-ink) !important;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 12px;
}

.ca-frf-calendar__actions button:hover {
    background: #e9edfa;
}

.ca-frf__clear:hover {
    background: var(--ca-frf-accent-soft);
    border-radius: 50%;
    color: var(--ca-frf-accent);
}

.ca-frf__select {
    position: relative;
}

.ca-frf__select-button {
    cursor: pointer;
    justify-content: space-between;
    padding: 0 14px;
    text-align: left;
}

.ca-frf__select-button svg {
    transition: transform .2s ease;
}

.ca-frf__select-button[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.ca-frf__menu {
    background: #fff;
    border: 1px solid #dce3eb;
    border-radius: 8px;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .1);
    left: 0;
    margin-top: 8px;
    max-height: 320px;
    overflow: auto;
    padding: 18px 16px;
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 9998;
}

.ca-frf .ca-frf__select-button,
.ca-frf .ca-frf__option,
.ca-frf .ca-frf__option span {
    color: var(--ca-frf-ink) !important;
}

.ca-frf .ca-frf__select-button,
.ca-frf .ca-frf-calendar button {
    appearance: none;
    -webkit-appearance: none;
    font-family: inherit !important;
    text-transform: none !important;
}

.ca-frf .ca-frf__select-button {
    background: #fff !important;
    line-height: 1.2 !important;
}

.ca-frf .ca-frf-calendar__nav,
.ca-frf .ca-frf-calendar__day {
    line-height: 1 !important;
    padding: 0 !important;
}

.ca-frf .ca-frf-calendar__actions button {
    line-height: 1.1 !important;
    padding: 8px 12px !important;
}

.ca-frf__menu[hidden],
.ca-frf-calendar[hidden] {
    display: none !important;
}

.elementor-element-edit-mode .ca-frf {
    min-height: 132px;
}

.elementor-element-edit-mode .ca-frf__form,
.elementor-editor-active .ca-frf__form {
    margin-bottom: 18px;
    padding: 16px 0 24px;
}

.elementor-element-edit-mode .ca-frf__date-shell,
.elementor-editor-active .ca-frf__date-shell,
.elementor-element-edit-mode .ca-frf__control,
.elementor-editor-active .ca-frf__control,
.elementor-element-edit-mode .ca-frf__select-button,
.elementor-editor-active .ca-frf__select-button {
    height: 46px;
}

.ca-frf__option {
    align-items: center;
    cursor: pointer;
    display: flex;
    gap: 16px;
    min-height: 56px;
}

.ca-frf__term-dot {
    background: var(--ca-term-color, var(--ca-frf-accent));
    border-radius: 50%;
    display: inline-block;
    flex: 0 0 8px;
    height: 8px;
    width: 8px;
}

.ca-frf__option input {
    clip: rect(0 0 0 0);
    height: 1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
}

.ca-frf__checkbox {
    align-items: center;
    border: 2px solid #b8c1ce;
    border-radius: 6px;
    display: inline-block;
    flex: 0 0 40px;
    height: 40px;
    position: relative;
    width: 40px;
}

.ca-frf__option input:checked + .ca-frf__checkbox {
    background: #fff;
    border-color: var(--ca-term-color, var(--ca-frf-accent));
    box-shadow: 0 0 0 3px var(--ca-term-bg, var(--ca-frf-accent-soft));
}

.ca-frf__option input:checked + .ca-frf__checkbox::after {
    border-bottom: 4px solid var(--ca-term-color, var(--ca-frf-accent));
    border-right: 4px solid var(--ca-term-color, var(--ca-frf-accent));
    content: "";
    height: 19px;
    left: 13px;
    position: absolute;
    top: 6px;
    transform: rotate(45deg);
    width: 10px;
}

.ca-frf__status {
    color: #64748b;
    font-size: 14px;
    min-height: 20px;
}

.ca-frf__results {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(var(--ca-frf-columns, 3), minmax(0, 1fr));
    opacity: 1;
    transition: opacity .2s ease;
}

.ca-frf.is-loading .ca-frf__results {
    opacity: .45;
}

.ca-frf-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.ca-frf-card__image-link {
    background: #f1f5f9;
    display: block;
    overflow: hidden;
}

.ca-frf-card__image,
.ca-frf-card__placeholder {
    aspect-ratio: 16 / 10;
    display: block;
    height: auto;
    object-fit: cover;
    width: 100%;
}

.ca-frf-card__body {
    padding: 18px 20px 22px;
}

.ca-frf-card__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.ca-frf-card__term {
    background: #8f5cff;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 13px;
}

.ca-frf-card__title {
    font-size: 22px;
    line-height: 1.25;
    margin: 0 0 10px;
}

.ca-frf-card__title a {
    color: inherit;
    text-decoration: none;
}

.ca-frf-card__excerpt {
    color: #64748b;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 16px;
}

.ca-frf-card__read-more {
    color: #6d3df5;
    font-weight: 700;
    text-decoration: none;
}

.ca-frf__empty {
    color: #64748b;
    grid-column: 1 / -1;
    margin: 0;
}

@media (max-width: 1024px) {
    .ca-frf__form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ca-frf__results {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .ca-frf__form,
    .ca-frf__results {
        grid-template-columns: 1fr;
    }

    .ca-frf__form {
        gap: 16px;
        margin-bottom: 32px;
        padding-bottom: 24px;
    }

    .ca-frf-calendar {
        max-width: calc(100vw - 32px);
        width: 100%;
    }

    .ca-frf-calendar__day {
        font-size: 17px;
        height: 34px;
        width: 34px;
    }
}

/* Final Elementor-safe skin. Kept at the end so theme/editor styles lose. */
.elementor .ca-frf,
.elementor-editor-active .ca-frf,
.ca-frf {
    background: #fff !important;
    border-top: 1px solid #e5ebf4;
    color: var(--ca-frf-ink) !important;
    overflow: visible !important;
    position: relative;
    z-index: 20;
}

.elementor .ca-frf__form,
.elementor-editor-active .ca-frf__form,
.ca-frf .ca-frf__form {
    align-items: end !important;
    background: #fff !important;
    border-bottom: 1px solid #e5ebf4 !important;
    column-gap: 24px !important;
    display: grid !important;
    grid-template-columns: minmax(280px, 1.65fr) minmax(250px, 1.15fr) minmax(180px, .72fr) minmax(180px, .72fr) !important;
    margin: 0 !important;
    padding: 28px 0 32px !important;
    row-gap: 18px !important;
}

.elementor .ca-frf__field,
.elementor-editor-active .ca-frf__field,
.ca-frf .ca-frf__field {
    min-width: 0 !important;
    position: relative !important;
}

.elementor .ca-frf__label,
.elementor-editor-active .ca-frf__label,
.ca-frf .ca-frf__label {
    color: #66758d !important;
    display: block !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    line-height: 1.1 !important;
    margin: 0 0 11px !important;
    text-transform: uppercase !important;
}

.elementor .ca-frf__control,
.elementor .ca-frf__select-button,
.elementor .ca-frf__date-shell,
.elementor-editor-active .ca-frf__control,
.elementor-editor-active .ca-frf__select-button,
.elementor-editor-active .ca-frf__date-shell,
.ca-frf .ca-frf__control,
.ca-frf .ca-frf__select-button,
.ca-frf .ca-frf__date-shell {
    align-items: center !important;
    background: #fff !important;
    border: 1px solid #d7e0ed !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    color: var(--ca-frf-ink) !important;
    display: flex !important;
    font-family: inherit !important;
    height: 48px !important;
    line-height: 1 !important;
    min-height: 48px !important;
    outline: 0 !important;
    position: relative !important;
    transition: border-color .16s ease, box-shadow .16s ease !important;
    width: 100% !important;
}

.elementor .ca-frf__control:focus-within,
.elementor .ca-frf__select-button:focus,
.elementor .ca-frf__select-button[aria-expanded="true"],
.elementor .ca-frf__date-shell:focus,
.elementor .ca-frf__date-shell:focus-within,
.elementor .ca-frf__date-shell.is-open,
.elementor-editor-active .ca-frf__control:focus-within,
.elementor-editor-active .ca-frf__select-button:focus,
.elementor-editor-active .ca-frf__select-button[aria-expanded="true"],
.elementor-editor-active .ca-frf__date-shell:focus,
.elementor-editor-active .ca-frf__date-shell:focus-within,
.elementor-editor-active .ca-frf__date-shell.is-open,
.ca-frf .ca-frf__control:focus-within,
.ca-frf .ca-frf__select-button:focus,
.ca-frf .ca-frf__select-button[aria-expanded="true"],
.ca-frf .ca-frf__date-shell:focus,
.ca-frf .ca-frf__date-shell:focus-within,
.ca-frf .ca-frf__date-shell.is-open {
    border-color: var(--ca-frf-accent) !important;
    box-shadow: 0 0 0 3px rgba(92, 62, 244, .14) !important;
}

.elementor .ca-frf__control input,
.elementor-editor-active .ca-frf__control input,
.ca-frf .ca-frf__control input {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--ca-frf-ink) !important;
    font-size: 15px !important;
    height: 100% !important;
    line-height: 48px !important;
    padding: 0 16px 0 44px !important;
}

.elementor .ca-frf__control input::placeholder,
.elementor-editor-active .ca-frf__control input::placeholder,
.ca-frf .ca-frf__control input::placeholder {
    color: #718199 !important;
    opacity: 1 !important;
}

.elementor .ca-frf__icon,
.elementor-editor-active .ca-frf__icon,
.ca-frf .ca-frf__icon {
    color: #a9b3c2 !important;
    left: 16px !important;
}

.elementor .ca-frf__select-button,
.elementor-editor-active .ca-frf__select-button,
.ca-frf .ca-frf__select-button {
    cursor: pointer !important;
    justify-content: space-between !important;
    padding: 0 14px !important;
    text-align: left !important;
}

.elementor .ca-frf__select-button span,
.elementor-editor-active .ca-frf__select-button span,
.ca-frf .ca-frf__select-button span {
    color: var(--ca-frf-ink) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
}

.elementor .ca-frf__select-button svg,
.elementor-editor-active .ca-frf__select-button svg,
.ca-frf .ca-frf__select-button svg {
    color: var(--ca-frf-ink) !important;
    flex: 0 0 auto !important;
}

.elementor .ca-frf__menu,
.elementor-editor-active .ca-frf__menu,
.ca-frf .ca-frf__menu {
    background: #fff !important;
    border: 1px solid #dce3eb !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, .12) !important;
    left: 0 !important;
    max-height: 310px !important;
    min-width: 100% !important;
    overflow: auto !important;
    padding: 14px !important;
    position: absolute !important;
    right: auto !important;
    top: calc(100% + 8px) !important;
    width: 100% !important;
    z-index: 100000 !important;
}

.elementor .ca-frf__option,
.elementor-editor-active .ca-frf__option,
.ca-frf .ca-frf__option {
    align-items: center !important;
    color: var(--ca-frf-ink) !important;
    display: flex !important;
    font-size: 15px !important;
    gap: 16px !important;
    min-height: 56px !important;
    padding: 4px 2px !important;
}

.elementor .ca-frf__checkbox,
.elementor-editor-active .ca-frf__checkbox,
.ca-frf .ca-frf__checkbox {
    border: 2px solid #b8c1ce !important;
    border-radius: 6px !important;
    flex: 0 0 40px !important;
    height: 40px !important;
    position: relative !important;
    width: 40px !important;
}

.elementor .ca-frf__option input:checked + .ca-frf__checkbox,
.elementor-editor-active .ca-frf__option input:checked + .ca-frf__checkbox,
.ca-frf .ca-frf__option input:checked + .ca-frf__checkbox {
    background: #fff !important;
    border-color: var(--ca-term-color, var(--ca-frf-accent)) !important;
    box-shadow: 0 0 0 3px var(--ca-term-bg, var(--ca-frf-accent-soft)) !important;
}

.elementor .ca-frf__option input:checked + .ca-frf__checkbox::after,
.elementor-editor-active .ca-frf__option input:checked + .ca-frf__checkbox::after,
.ca-frf .ca-frf__option input:checked + .ca-frf__checkbox::after {
    border-bottom: 4px solid var(--ca-term-color, var(--ca-frf-accent)) !important;
    border-right: 4px solid var(--ca-term-color, var(--ca-frf-accent)) !important;
    content: "" !important;
    height: 19px !important;
    left: 13px !important;
    position: absolute !important;
    top: 6px !important;
    transform: rotate(45deg) !important;
    width: 10px !important;
}

.elementor .ca-frf__date-display,
.elementor-editor-active .ca-frf__date-display,
.ca-frf .ca-frf__date-display {
    color: var(--ca-frf-ink) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 0 44px 0 14px !important;
}

.elementor .ca-frf__date-visible,
.elementor-editor-active .ca-frf__date-visible,
.ca-frf .ca-frf__date-visible {
    color: var(--ca-frf-ink) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 0 48px 0 14px !important;
}

.elementor .ca-frf__date-icon,
.elementor-editor-active .ca-frf__date-icon,
.ca-frf .ca-frf__date-icon {
    color: var(--ca-frf-ink) !important;
    right: 13px !important;
}

.elementor .ca-frf-calendar,
.elementor-editor-active .ca-frf-calendar,
.ca-frf .ca-frf-calendar {
    background: #fff !important;
    border: 1px solid #e4e9f2 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 45px rgba(24, 39, 75, .16) !important;
    left: 0 !important;
    padding: 18px !important;
    top: calc(100% + 8px) !important;
    width: 370px !important;
    z-index: 100001 !important;
}

.elementor .ca-frf-calendar__day,
.elementor .ca-frf-calendar__nav,
.elementor-editor-active .ca-frf-calendar__day,
.elementor-editor-active .ca-frf-calendar__nav,
.ca-frf .ca-frf-calendar__day,
.ca-frf .ca-frf-calendar__nav {
    align-items: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    justify-content: center !important;
}

.elementor .ca-frf-calendar__day,
.elementor-editor-active .ca-frf-calendar__day,
.ca-frf .ca-frf-calendar__day {
    color: var(--ca-frf-ink) !important;
    font-size: 17px !important;
    height: 38px !important;
    width: 38px !important;
}

.elementor .ca-frf-calendar__day:hover,
.elementor-editor-active .ca-frf-calendar__day:hover,
.ca-frf .ca-frf-calendar__day:hover {
    background: #eef2f8 !important;
}

.elementor .ca-frf-calendar__day.is-today,
.elementor-editor-active .ca-frf-calendar__day.is-today,
.ca-frf .ca-frf-calendar__day.is-today {
    color: var(--ca-frf-accent) !important;
}

.elementor .ca-frf-calendar__day.is-selected,
.elementor-editor-active .ca-frf-calendar__day.is-selected,
.ca-frf .ca-frf-calendar__day.is-selected {
    background: #eceffa !important;
}

.datepicker.dropdown-menu {
    border: 1px solid #e4e9f2 !important;
    border-radius: 8px !important;
    box-shadow: 0 18px 45px rgba(24, 39, 75, .16) !important;
    color: var(--ca-frf-ink) !important;
    font-family: inherit !important;
    padding: 14px !important;
    z-index: 100002 !important;
}

.datepicker table {
    border-collapse: separate !important;
    border-spacing: 3px !important;
    margin: 0 !important;
}

.datepicker thead tr:first-child th {
    color: var(--ca-frf-ink) !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    height: 36px !important;
}

.datepicker th.prev,
.datepicker th.next {
    border-radius: 6px !important;
    color: var(--ca-frf-ink) !important;
    font-size: 22px !important;
}

.datepicker th.prev:hover,
.datepicker th.next:hover {
    background: #f1f4fb !important;
}

.datepicker th.dow {
    color: #99a3b4 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1px !important;
    padding: 8px 0 !important;
    text-transform: uppercase !important;
}

.datepicker td,
.datepicker th {
    border: 0 !important;
    height: 34px !important;
    text-align: center !important;
    width: 34px !important;
}

.datepicker td.day {
    border-radius: 6px !important;
    color: var(--ca-frf-ink) !important;
    font-size: 15px !important;
    line-height: 34px !important;
    padding: 0 !important;
}

.datepicker td.day:hover {
    background: #eef2f8 !important;
}

.datepicker td.old,
.datepicker td.new {
    color: #9aa6b8 !important;
}

.datepicker td.today,
.datepicker td.today:hover {
    background: transparent !important;
    color: var(--ca-frf-accent) !important;
    font-weight: 800 !important;
}

.datepicker td.active,
.datepicker td.active:hover,
.datepicker td.active:hover:hover,
.datepicker td.active.disabled,
.datepicker td.active.disabled:hover {
    background: #eceffa !important;
    color: var(--ca-frf-ink) !important;
    font-weight: 800 !important;
    text-shadow: none !important;
}

@media (max-width: 1100px) {
    .elementor .ca-frf__form,
    .elementor-editor-active .ca-frf__form,
    .ca-frf .ca-frf__form {
        grid-template-columns: minmax(240px, 1fr) minmax(220px, 1fr) minmax(160px, .8fr) minmax(160px, .8fr) !important;
    }
}

/* Lovable-style filter layout */
.elementor .ca-frf,
.elementor-editor-active .ca-frf,
.ca-frf {
    border-bottom: 1px solid #e5ebf4 !important;
    border-top: 1px solid #e5ebf4 !important;
}

.elementor .ca-frf__form,
.elementor-editor-active .ca-frf__form,
.ca-frf .ca-frf__form {
    border-bottom: 1px solid #dfe6f0 !important;
    grid-template-columns: minmax(320px, 1.7fr) minmax(250px, 1fr) minmax(160px, .65fr) minmax(160px, .65fr) !important;
    padding: 28px 0 12px !important;
}

.ca-frf__field--product {
    align-self: end !important;
}

.ca-frf__field--product.has-selected-terms {
    align-self: start !important;
}

.elementor .ca-frf__control,
.elementor .ca-frf__select-button,
.elementor .ca-frf__date-shell,
.elementor-editor-active .ca-frf__control,
.elementor-editor-active .ca-frf__select-button,
.elementor-editor-active .ca-frf__date-shell,
.ca-frf .ca-frf__control,
.ca-frf .ca-frf__select-button,
.ca-frf .ca-frf__date-shell {
    border-radius: 10px !important;
    height: 44px !important;
    min-height: 44px !important;
}

.elementor .ca-frf__control input,
.elementor-editor-active .ca-frf__control input,
.ca-frf .ca-frf__control input,
.elementor .ca-frf__date-visible,
.elementor-editor-active .ca-frf__date-visible,
.ca-frf .ca-frf__date-visible {
    line-height: 44px !important;
}

.ca-frf__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
    min-height: 0;
}

.ca-frf__chips:empty {
    display: none;
}

.ca-frf__chip {
    align-items: center;
    appearance: none;
    background: var(--ca-term-bg, #ede8ff) !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    color: var(--ca-term-color, var(--ca-frf-accent)) !important;
    cursor: pointer;
    display: inline-flex;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    gap: 8px;
    line-height: 1 !important;
    min-height: 36px;
    padding: 0 13px !important;
    text-transform: none !important;
}

.ca-frf__chip:hover {
    background: var(--ca-term-bg, #e2dcff) !important;
    filter: saturate(1.15);
}

.ca-frf__summary {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: 27px 0 34px;
}

.ca-frf__summary p {
    color: #637189;
    font-size: 13px;
    line-height: 1.3;
    margin: 0;
}

.ca-frf__summary a {
    color: var(--ca-frf-accent) !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
}

.ca-frf__summary a:hover {
    text-decoration: underline !important;
}

@media (max-width: 1100px) {
    .elementor .ca-frf__form,
    .elementor-editor-active .ca-frf__form,
    .ca-frf .ca-frf__form {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 640px) {
    .elementor .ca-frf__form,
    .elementor-editor-active .ca-frf__form,
    .ca-frf .ca-frf__form {
        grid-template-columns: 1fr !important;
    }

    .ca-frf__summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }
}
