/* ==========================================================
   Soves Hotel Search Card
   Full fixed CSS with WordPress/Elementor hard overrides
========================================================== */

body .soves-hotel-search-card,
body .soves-hotel-search-card * {
    box-sizing: border-box;
}

.elementor-widget-soves_hotel_search,
.elementor-widget-soves_hotel_search > .elementor-widget-container,
.elementor-widget-soves_search_tabs,
.elementor-widget-soves_search_tabs > .elementor-widget-container {
    overflow: visible !important;
}

body .soves-hotel-search-card {
    --soves-primary: #d34034;
    --soves-primary-dark: #b83229;
    --soves-text: #172033;
    --soves-muted: #667085;
    --soves-border: #e1e7ef;
    --soves-soft: #f8fafc;

    width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
    border: 1px solid rgba(225, 231, 239, 0.95) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.10) !important;
    color: var(--soves-text) !important;
    overflow: visible !important;
}

/* General input/button reset inside card */
body .soves-hotel-search-card button,
body .soves-hotel-search-card input,
body .soves-hotel-search-card select,
body .soves-hotel-search-card textarea {
    font-family: inherit !important;
}

body .soves-hotel-search-card button {
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Main form */
body .soves-hotel-search-card .soves-hotel-search-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 86px !important;
    align-items: stretch !important;
    gap: 24px !important;
    margin: 0 !important;
}

/* Field grid */
body .soves-hotel-search-card .soves-hotel-search-fields {
    display: grid !important;
    grid-template-columns: minmax(230px, 1.15fr) repeat(4, minmax(160px, 1fr)) !important;
    border: 1px solid var(--soves-border) !important;
    border-radius: 3px !important;
    background: #ffffff !important;
    overflow: visible !important;
}

body .soves-hotel-search-card .soves-hotel-search-field {
    min-width: 0 !important;
    min-height: 96px !important;
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 15px 16px !important;
    border-right: 1px solid var(--soves-border) !important;
    background: #ffffff !important;
}

body .soves-hotel-search-card .soves-hotel-search-field:last-child {
    border-right: 0 !important;
}

/* Text */
body .soves-hotel-search-card .soves-hotel-search-label {
    display: block !important;
    margin: 0 !important;
    color: #3f4654 !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

body .soves-hotel-search-card .soves-hotel-search-main {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: var(--soves-text) !important;
    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

body .soves-hotel-search-card .soves-hotel-search-helper {
    display: block !important;
    max-width: 100% !important;
    margin: 0 !important;
    overflow: hidden !important;
    color: var(--soves-muted) !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
}

/* Trigger buttons: remove WordPress/Elementor button style */
body .soves-hotel-search-card button.soves-hotel-search-trigger,
body .soves-hotel-search-card [type="button"].soves-hotel-search-trigger {
    -webkit-appearance: none !important;
    appearance: none !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    min-height: 0 !important;
    height: auto !important;

    display: grid !important;
    gap: 5px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: inherit !important;
    font: inherit !important;
    line-height: normal !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;

    cursor: pointer !important;
}

body .soves-hotel-search-card button.soves-hotel-search-trigger:hover,
body .soves-hotel-search-card button.soves-hotel-search-trigger:focus,
body .soves-hotel-search-card button.soves-hotel-search-trigger:active {
    border: 0 !important;
    background: transparent !important;
    color: inherit !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
}

body .soves-hotel-search-card button.soves-hotel-search-trigger:focus-visible {
    outline: 2px solid rgba(211, 64, 52, 0.35) !important;
    outline-offset: 4px !important;
    border-radius: 4px !important;
}

/* Date fields */
body .soves-hotel-search-card .soves-hotel-search-field--date {
    cursor: pointer !important;
}

/* Important:
   This makes the native browser calendar open from the field area,
   instead of from a tiny hidden 1px input. */
body .soves-hotel-search-card .soves-hotel-search-date-input,
body .soves-hotel-search-card input.soves-hotel-search-date-input[type="date"] {
    position: absolute !important;
    inset: 0 !important;
    z-index: 5 !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 96px !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    color: transparent !important;
    opacity: 0 !important;

    cursor: pointer !important;
    pointer-events: auto !important;

    -webkit-appearance: none !important;
    appearance: none !important;
}

body .soves-hotel-search-card .soves-hotel-search-field--date .soves-hotel-search-label,
body .soves-hotel-search-card .soves-hotel-search-field--date .soves-hotel-search-main,
body .soves-hotel-search-card .soves-hotel-search-field--date .soves-hotel-search-helper {
    pointer-events: none !important;
}

/* Submit button */
body .soves-hotel-search-card button.soves-hotel-search-submit,
body .soves-hotel-search-card [type="submit"].soves-hotel-search-submit {
    -webkit-appearance: none !important;
    appearance: none !important;

    width: 86px !important;
    min-width: 86px !important;
    max-width: 86px !important;
    height: 100% !important;
    min-height: 96px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 12px !important;

    border: 0 !important;
    border-radius: 3px !important;
    outline: 0 !important;
    background: var(--soves-primary) !important;
    box-shadow: none !important;

    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-align: center !important;
    text-decoration: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;

    cursor: pointer !important;
    transition: background 0.18s ease, transform 0.18s ease !important;
}

body .soves-hotel-search-card button.soves-hotel-search-submit:hover,
body .soves-hotel-search-card button.soves-hotel-search-submit:focus,
body .soves-hotel-search-card [type="submit"].soves-hotel-search-submit:hover,
body .soves-hotel-search-card [type="submit"].soves-hotel-search-submit:focus {
    border: 0 !important;
    background: var(--soves-primary-dark) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    text-decoration: none !important;
}

body .soves-hotel-search-card button.soves-hotel-search-submit:active {
    transform: translateY(1px) !important;
}

body .soves-hotel-search-card button.soves-hotel-search-submit:focus-visible {
    outline: 3px solid rgba(211, 64, 52, 0.28) !important;
    outline-offset: 3px !important;
}

/* Dropdown panels */
body .soves-hotel-search-card .soves-hotel-search-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;

    display: none !important;

    width: min(380px, calc(100vw - 32px)) !important;
    padding: 14px !important;

    border: 1px solid var(--soves-border) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16) !important;
}

body .soves-hotel-search-card .soves-hotel-search-field.is-open .soves-hotel-search-panel {
    display: block !important;
}

body > .soves-search-floating-panel {
    --soves-primary: #d34034;
    --soves-primary-dark: #b83229;
    --soves-text: #172033;
    --soves-muted: #667085;
    --soves-border: #e1e7ef;
    --soves-soft: #f8fafc;
    position: fixed !important;
    z-index: 2147483000 !important;
    max-width: calc(100vw - 24px) !important;
    pointer-events: auto;
}

body > .soves-search-floating-panel.soves-hotel-search-panel {
    display: block !important;
    width: min(380px, calc(100vw - 32px)) !important;
    padding: 14px !important;
    border: 1px solid var(--soves-border) !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16) !important;
}

body .soves-hotel-search-card .soves-hotel-search-panel::before {
    content: "" !important;
    position: absolute !important;
    top: -7px !important;
    left: 22px !important;
    width: 14px !important;
    height: 14px !important;
    border-left: 1px solid var(--soves-border) !important;
    border-top: 1px solid var(--soves-border) !important;
    background: #ffffff !important;
    transform: rotate(45deg) !important;
}

body > .soves-search-floating-panel.soves-hotel-search-panel::before,
body > .soves-search-floating-panel.soves-calendar::before {
    content: "" !important;
    position: absolute !important;
    top: -7px !important;
    left: 22px !important;
    width: 14px !important;
    height: 14px !important;
    border-left: 1px solid var(--soves-border) !important;
    border-top: 1px solid var(--soves-border) !important;
    background: #ffffff !important;
    transform: rotate(45deg) !important;
}

body > .soves-search-floating-panel.is-open-up::before {
    top: auto !important;
    bottom: -7px !important;
    transform: rotate(225deg) !important;
}

body .soves-hotel-search-card .soves-hotel-search-panel h3 {
    margin: 0 0 14px !important;
    color: var(--soves-text) !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

/* Location search input */
body .soves-hotel-search-card .soves-hotel-search-panel-search {
    display: block !important;
    margin-bottom: 12px !important;
}

body .soves-hotel-search-card .soves-hotel-search-panel-search input {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 12px !important;

    border: 1px solid var(--soves-border) !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    box-shadow: none !important;

    color: var(--soves-text) !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

body .soves-hotel-search-card .soves-hotel-search-panel-search input:focus {
    border-color: rgba(211, 64, 52, 0.7) !important;
    outline: 3px solid rgba(211, 64, 52, 0.18) !important;
    box-shadow: none !important;
}

/* Location options */
body .soves-hotel-search-card .soves-hotel-search-options {
    max-height: 310px !important;
    overflow: auto !important;
    margin: 0 -14px -14px !important;
    padding-bottom: 6px !important;
}

body .soves-hotel-search-card .soves-hotel-search-location-group {
    border-top: 1px solid var(--soves-border) !important;
}

body .soves-hotel-search-card .soves-hotel-search-location-group:first-child {
    border-top: 0 !important;
}

body .soves-hotel-search-card [hidden],
body .soves-hotel-search-card .soves-hotel-search-location-group[hidden],
body .soves-hotel-search-card button[hidden] {
    display: none !important;
}

body .soves-hotel-search-card button.soves-hotel-search-country-option,
body .soves-hotel-search-card button.soves-hotel-search-option {
    -webkit-appearance: none !important;
    appearance: none !important;

    width: 100% !important;
    display: grid !important;
    gap: 3px !important;

    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;

    color: inherit !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;

    cursor: pointer !important;
}

body .soves-hotel-search-card button.soves-hotel-search-country-option {
    padding: 13px 16px !important;
}

body .soves-hotel-search-card button.soves-hotel-search-option {
    padding: 11px 16px 11px 30px !important;
    border-top: 1px solid rgba(225, 231, 239, 0.72) !important;
}

body .soves-hotel-search-card button.soves-hotel-search-country-option:hover,
body .soves-hotel-search-card button.soves-hotel-search-country-option:focus,
body .soves-hotel-search-card button.soves-hotel-search-option:hover,
body .soves-hotel-search-card button.soves-hotel-search-option:focus {
    background: var(--soves-soft) !important;
    color: inherit !important;
    outline: none !important;
}

body .soves-hotel-search-card button.soves-hotel-search-country-option.is-selected,
body .soves-hotel-search-card button.soves-hotel-search-option.is-selected {
    background: rgba(211, 64, 52, 0.09) !important;
}

body .soves-hotel-search-card .soves-hotel-search-country-option strong,
body .soves-hotel-search-card .soves-hotel-search-option strong {
    color: var(--soves-text) !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

body .soves-hotel-search-card .soves-hotel-search-country-option span,
body .soves-hotel-search-card .soves-hotel-search-option span {
    color: var(--soves-muted) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

body .soves-hotel-search-card .soves-hotel-search-country-option.is-selected strong,
body .soves-hotel-search-card .soves-hotel-search-option.is-selected strong {
    color: var(--soves-primary) !important;
}

body .soves-hotel-search-card .soves-hotel-search-empty {
    margin: 0 !important;
    padding: 14px 16px !important;
    color: var(--soves-muted) !important;
    font-size: 13px !important;
}

/* Guest panel */
body .soves-hotel-search-card .soves-hotel-search-panel--guests {
    width: min(520px, calc(100vw - 32px)) !important;
}

body .soves-hotel-search-card .soves-hotel-search-stepper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    border: none !important;
    border-bottom: 0 !important;
    padding: 16px 18px !important;
    background: #ffffff !important;
}

body .soves-hotel-search-card .soves-hotel-search-stepper:first-of-type {
    border-radius: 8px 8px 0 0 !important;
}

body .soves-hotel-search-card .soves-hotel-search-stepper:last-of-type {
    border-bottom: 1px solid var(--soves-border) !important;
    border-radius: 0 0 8px 8px !important;
}

body .soves-hotel-search-card .soves-hotel-search-stepper > span {
    color: var(--soves-text) !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

body .soves-hotel-search-card .soves-hotel-search-stepper__controls {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
}

body .soves-hotel-search-card .soves-hotel-search-stepper__controls button {
    -webkit-appearance: none !important;
    appearance: none !important;

    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 999px !important;
    background: #e9eff6 !important;
    box-shadow: none !important;

    color: #344054 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-align: center !important;

    cursor: pointer !important;
}

body .soves-hotel-search-card .soves-hotel-search-stepper__controls button:hover,
body .soves-hotel-search-card .soves-hotel-search-stepper__controls button:focus {
    background: var(--soves-primary) !important;
    color: #ffffff !important;
    outline: none !important;
}

body .soves-hotel-search-card .soves-hotel-search-stepper__controls strong {
    min-width: 24px !important;
    color: var(--soves-text) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

/* Price panel */
body .soves-hotel-search-card .soves-hotel-search-panel--price {
    width: min(320px, calc(100vw - 32px)) !important;
    padding: 0 !important;
}

body .soves-hotel-search-card .soves-hotel-search-panel--price h3 {
    margin: 0 !important;
    padding: 16px 18px !important;
    border-bottom: 1px solid var(--soves-border) !important;
    color: var(--soves-text) !important;
    font-size: 17px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

body .soves-hotel-search-card .soves-hotel-search-panel--price::before {
    left: 18px !important;
}

/* Price options behave like select options */
body .soves-hotel-search-card .soves-hotel-search-price-option {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--soves-border) !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition: background 0.16s ease, color 0.16s ease !important;
}

body .soves-hotel-search-card .soves-hotel-search-price-option:last-child {
    border-bottom: 0 !important;
}

/* Hide checkboxes completely */
body .soves-hotel-search-card .soves-hotel-search-price-option input,
body .soves-hotel-search-card .soves-hotel-search-price-option input[type="checkbox"],
body .soves-hotel-search-card input[data-soves-price-range] {
    position: absolute !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;

    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;

    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;

    -webkit-appearance: none !important;
    appearance: none !important;
}

body .soves-hotel-search-card .soves-hotel-search-price-option span {
    display: flex !important;
    align-items: center !important;
    min-height: 58px !important;
    padding: 0 18px !important;
}

body .soves-hotel-search-card .soves-hotel-search-price-option span:hover{
    background: var(--soves-primary) !important;
}
body .soves-hotel-search-card .soves-hotel-search-price-option span:hover strong{
    color: #ffffff !important;
}

body .soves-hotel-search-card .soves-hotel-search-price-option strong {
    color: var(--soves-text) !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

body .soves-hotel-search-card .soves-hotel-search-price-option:hover {
    background: var(--soves-soft) !important;
}

body .soves-hotel-search-card .soves-hotel-search-price-option.is-selected,
body .soves-hotel-search-card .soves-hotel-search-price-option:has(input:checked) {
    background: var(--soves-primary) !important;
}

body .soves-hotel-search-card .soves-hotel-search-price-option.is-selected strong,
body .soves-hotel-search-card .soves-hotel-search-price-option:has(input:checked) strong {
    color: #ffffff !important;
}

/* Portaled search panels keep the same styling after moving under body. */
body > .soves-search-floating-panel.soves-hotel-search-panel h3 {
    margin: 0 0 14px !important;
    color: var(--soves-text) !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

body > .soves-search-floating-panel .soves-hotel-search-panel-search {
    display: block !important;
    margin-bottom: 12px !important;
}

body > .soves-search-floating-panel .soves-hotel-search-panel-search input {
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid var(--soves-border) !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: var(--soves-text) !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

body > .soves-search-floating-panel .soves-hotel-search-panel-search input:focus {
    border-color: rgba(211, 64, 52, 0.7) !important;
    outline: 3px solid rgba(211, 64, 52, 0.18) !important;
    box-shadow: none !important;
}

body > .soves-search-floating-panel .soves-hotel-search-options {
    max-height: 310px !important;
    overflow: auto !important;
    margin: 0 -14px -14px !important;
    padding-bottom: 6px !important;
}

body > .soves-search-floating-panel .soves-hotel-search-location-group {
    border-top: 1px solid var(--soves-border) !important;
}

body > .soves-search-floating-panel .soves-hotel-search-location-group:first-child {
    border-top: 0 !important;
}

body > .soves-search-floating-panel [hidden],
body > .soves-search-floating-panel button[hidden] {
    display: none !important;
}

body > .soves-search-floating-panel button.soves-hotel-search-country-option,
body > .soves-search-floating-panel button.soves-hotel-search-option {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    display: grid !important;
    gap: 3px !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    box-shadow: none !important;
    color: inherit !important;
    text-align: left !important;
    text-decoration: none !important;
    text-transform: none !important;
    cursor: pointer !important;
}

body > .soves-search-floating-panel button.soves-hotel-search-country-option {
    padding: 13px 16px !important;
}

body > .soves-search-floating-panel button.soves-hotel-search-option {
    padding: 11px 16px 11px 30px !important;
    border-top: 1px solid rgba(225, 231, 239, 0.72) !important;
}

body > .soves-search-floating-panel button.soves-hotel-search-country-option:hover,
body > .soves-search-floating-panel button.soves-hotel-search-country-option:focus,
body > .soves-search-floating-panel button.soves-hotel-search-option:hover,
body > .soves-search-floating-panel button.soves-hotel-search-option:focus {
    background: var(--soves-soft) !important;
    color: inherit !important;
    outline: none !important;
}

body > .soves-search-floating-panel button.soves-hotel-search-country-option.is-selected,
body > .soves-search-floating-panel button.soves-hotel-search-option.is-selected {
    background: rgba(211, 64, 52, 0.09) !important;
}

body > .soves-search-floating-panel .soves-hotel-search-country-option strong,
body > .soves-search-floating-panel .soves-hotel-search-option strong {
    color: var(--soves-text) !important;
    font-size: 15px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
}

body > .soves-search-floating-panel .soves-hotel-search-country-option span,
body > .soves-search-floating-panel .soves-hotel-search-option span {
    color: var(--soves-muted) !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

body > .soves-search-floating-panel .soves-hotel-search-country-option.is-selected strong,
body > .soves-search-floating-panel .soves-hotel-search-option.is-selected strong {
    color: var(--soves-primary) !important;
}

body > .soves-search-floating-panel .soves-hotel-search-empty {
    margin: 0 !important;
    padding: 14px 16px !important;
    color: var(--soves-muted) !important;
    font-size: 13px !important;
}

body > .soves-search-floating-panel.soves-hotel-search-panel--guests {
    width: min(520px, calc(100vw - 32px)) !important;
}

body > .soves-search-floating-panel .soves-hotel-search-stepper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 20px !important;
    border: none !important;
    border-bottom: 0 !important;
    padding: 16px 18px !important;
    background: #ffffff !important;
}

body > .soves-search-floating-panel .soves-hotel-search-stepper:first-of-type {
    border-radius: 8px 8px 0 0 !important;
}

body > .soves-search-floating-panel .soves-hotel-search-stepper:last-of-type {
    border-bottom: 1px solid var(--soves-border) !important;
    border-radius: 0 0 8px 8px !important;
}

body > .soves-search-floating-panel .soves-hotel-search-stepper > span {
    color: var(--soves-text) !important;
    font-size: 15px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;
}

body > .soves-search-floating-panel .soves-hotel-search-stepper__controls {
    display: inline-flex !important;
    align-items: center !important;
    gap: 14px !important;
}

body > .soves-search-floating-panel .soves-hotel-search-stepper__controls button {
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 34px !important;
    min-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #e9eff6 !important;
    box-shadow: none !important;
    color: #344054 !important;
    font-size: 18px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-align: center !important;
    cursor: pointer !important;
}

body > .soves-search-floating-panel .soves-hotel-search-stepper__controls button:hover,
body > .soves-search-floating-panel .soves-hotel-search-stepper__controls button:focus {
    background: var(--soves-primary) !important;
    color: #ffffff !important;
    outline: none !important;
}

body > .soves-search-floating-panel .soves-hotel-search-stepper__controls strong {
    min-width: 24px !important;
    color: var(--soves-text) !important;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 600 !important;
    text-align: center !important;
}

body > .soves-search-floating-panel.soves-hotel-search-panel--price {
    width: min(320px, calc(100vw - 32px)) !important;
    padding: 0 !important;
}

body > .soves-search-floating-panel.soves-hotel-search-panel--price::before {
    left: 18px !important;
}

body > .soves-search-floating-panel .soves-hotel-search-price-option {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 1px solid var(--soves-border) !important;
    background: #ffffff !important;
    cursor: pointer !important;
    transition: background 0.16s ease, color 0.16s ease !important;
}

body > .soves-search-floating-panel .soves-hotel-search-price-option:last-child {
    border-bottom: 0 !important;
}

body > .soves-search-floating-panel .soves-hotel-search-price-option input,
body > .soves-search-floating-panel .soves-hotel-search-price-option input[type="checkbox"],
body > .soves-search-floating-panel input[data-soves-price-range] {
    position: absolute !important;
    width: 1px !important;
    min-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

body > .soves-search-floating-panel .soves-hotel-search-price-option span {
    display: flex !important;
    align-items: center !important;
    min-height: 58px !important;
    padding: 0 18px !important;
}

body > .soves-search-floating-panel .soves-hotel-search-price-option span:hover,
body > .soves-search-floating-panel .soves-hotel-search-price-option:hover,
body > .soves-search-floating-panel .soves-hotel-search-price-option.is-selected,
body > .soves-search-floating-panel .soves-hotel-search-price-option:has(input:checked) {
    background: var(--soves-primary) !important;
}

body > .soves-search-floating-panel .soves-hotel-search-price-option strong {
    color: var(--soves-text) !important;
    font-size: 16px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
}

body > .soves-search-floating-panel .soves-hotel-search-price-option span:hover strong,
body > .soves-search-floating-panel .soves-hotel-search-price-option.is-selected strong,
body > .soves-search-floating-panel .soves-hotel-search-price-option:has(input:checked) strong {
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 1200px) {
    body .soves-hotel-search-card .soves-hotel-search-form {
        grid-template-columns: 1fr !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-fields {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-field:nth-child(3n) {
        border-right: 0 !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-field:nth-child(n + 4) {
        border-top: 1px solid var(--soves-border) !important;
    }

    body .soves-hotel-search-card button.soves-hotel-search-submit,
    body .soves-hotel-search-card [type="submit"].soves-hotel-search-submit {
        width: 100% !important;
        max-width: none !important;
        min-width: 100% !important;
        min-height: 54px !important;
    }
}

@media (max-width: 767px) {
    body .soves-hotel-search-card {
        padding: 14px !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-fields {
        grid-template-columns: 1fr !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-field,
    body .soves-hotel-search-card .soves-hotel-search-field:nth-child(3n),
    body .soves-hotel-search-card .soves-hotel-search-field:last-child {
        min-height: 82px !important;
        border-right: 0 !important;
        border-top: 1px solid var(--soves-border) !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-field:first-child {
        border-top: 0 !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-date-input,
    body .soves-hotel-search-card input.soves-hotel-search-date-input[type="date"] {
        min-height: 82px !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-panel {
        left: 0 !important;
        right: auto !important;
        width: min(100%, calc(100vw - 32px)) !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-panel--guests,
    body .soves-hotel-search-card .soves-hotel-search-panel--price {
        width: min(100%, calc(100vw - 32px)) !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-main {
        font-size: 18px !important;
    }
}

body .soves-hotel-search-card [hidden],
body .soves-hotel-search-card button[hidden],
body .soves-hotel-search-card [data-soves-location-group][hidden],
body .soves-hotel-search-card [data-soves-location-option][hidden] {
    display: none !important;
}

/* ==========================================================
   Custom Soves Calendar
========================================================== */

/* Remove native input focus/border completely */
body .soves-hotel-search-card .soves-hotel-search-date-input,
body .soves-hotel-search-card input.soves-hotel-search-date-input[type="date"] {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-width: 1px !important;
    min-height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: transparent !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Remove the red/outline border around the date text */
body .soves-hotel-search-card .soves-hotel-search-field--date,
body .soves-hotel-search-card .soves-hotel-search-field--date:focus,
body .soves-hotel-search-card .soves-hotel-search-field--date:focus-within,
body .soves-hotel-search-card .soves-hotel-search-field--date:active {
    outline: none !important;
    box-shadow: none !important;
}

body .soves-hotel-search-card .soves-hotel-search-field--date .soves-hotel-search-main,
body .soves-hotel-search-card .soves-hotel-search-field--date .soves-hotel-search-main:focus,
body .soves-hotel-search-card .soves-hotel-search-field--date .soves-hotel-search-main:active {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
}

/* Calendar popup */
body .soves-hotel-search-card .soves-calendar {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: 292px;
    padding: 14px;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

body > .soves-search-floating-panel.soves-calendar {
    width: 292px;
    padding: 14px;
    border: 1px solid #e1e7ef;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
}

body .soves-hotel-search-card .soves-calendar::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 22px;
    width: 14px;
    height: 14px;
    border-left: 1px solid #e1e7ef;
    border-top: 1px solid #e1e7ef;
    background: #ffffff;
    transform: rotate(45deg);
}

body .soves-hotel-search-card .soves-calendar[hidden],
body > .soves-search-floating-panel.soves-calendar[hidden] {
    display: none !important;
}

body .soves-hotel-search-card .soves-calendar__header,
body > .soves-search-floating-panel .soves-calendar__header {
    display: grid;
    grid-template-columns: 32px 1fr 32px;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

body .soves-hotel-search-card .soves-calendar__nav,
body > .soves-search-floating-panel .soves-calendar__nav {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border: 1px solid #edf1f6 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #172033 !important;
    box-shadow: none !important;
    font-size: 20px !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

body .soves-hotel-search-card .soves-calendar__nav:hover,
body > .soves-search-floating-panel .soves-calendar__nav:hover {
    background: #f6f8fb !important;
}

body .soves-hotel-search-card .soves-calendar__title,
body > .soves-search-floating-panel .soves-calendar__title {
    color: #101828;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    text-align: center;
}

body .soves-hotel-search-card .soves-calendar__weekdays,
body .soves-hotel-search-card .soves-calendar__days,
body > .soves-search-floating-panel .soves-calendar__weekdays,
body > .soves-search-floating-panel .soves-calendar__days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

body .soves-hotel-search-card .soves-calendar__weekdays,
body > .soves-search-floating-panel .soves-calendar__weekdays {
    margin-bottom: 8px;
}

body .soves-hotel-search-card .soves-calendar__weekdays span,
body > .soves-search-floating-panel .soves-calendar__weekdays span {
    color: #101828;
    font-size: 13px;
    line-height: 1;
    font-weight: 600;
    text-align: center;
}

body .soves-hotel-search-card .soves-calendar__weekdays span.is-weekend,
body > .soves-search-floating-panel .soves-calendar__weekdays span.is-weekend {
    color: #d34034;
}

body .soves-hotel-search-card .soves-calendar__day,
body > .soves-search-floating-panel .soves-calendar__day {
    width: 100% !important;
    height: 100% !important;
    min-width: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 6px !important;
    background: transparent !important;
    color: #172033 !important;
    box-shadow: none !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
}

body .soves-hotel-search-card .soves-calendar__day:hover,
body > .soves-search-floating-panel .soves-calendar__day:hover {
    background: #eef2f7 !important;
}

body .soves-hotel-search-card .soves-calendar__day.is-other-month,
body > .soves-search-floating-panel .soves-calendar__day.is-other-month {
    color: #98a2b3 !important;
}

body .soves-hotel-search-card .soves-calendar__day.is-weekend,
body > .soves-search-floating-panel .soves-calendar__day.is-weekend {
    color: #d34034 !important;
}

body .soves-hotel-search-card .soves-calendar__day.is-selected,
body > .soves-search-floating-panel .soves-calendar__day.is-selected {
    background: #d34034 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

body .soves-hotel-search-card .soves-calendar__day.is-today:not(.is-selected),
body > .soves-search-floating-panel .soves-calendar__day.is-today:not(.is-selected) {
    background: #f2f4f7 !important;
    font-weight: 600 !important;
}

body .soves-hotel-search-card .soves-calendar__day.is-disabled,
body > .soves-search-floating-panel .soves-calendar__day.is-disabled {
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

@media (max-width: 560px) {
    body .soves-hotel-search-card .soves-hotel-search-panel,
    body .soves-hotel-search-card .soves-calendar,
    body > .soves-search-floating-panel {
        width: min(100%, calc(100vw - 24px)) !important;
        max-width: calc(100vw - 24px) !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-stepper {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px !important;
    }

    body .soves-hotel-search-card .soves-hotel-search-stepper__controls {
        justify-content: space-between;
        width: 100%;
    }
}
