/* ============================================================
   Stayo Search Filter — Premium CSS v1.2
   Full specificity override to prevent theme interference
   ============================================================ */

/* ── Hard reset on all sf- elements ── */
.sf-wrap, .sf-wrap *, .sf-wrap *::before, .sf-wrap *::after {
    box-sizing: border-box !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif !important;
    line-height: 1.4 !important;
}

.sf-wrap button, .sf-wrap a {
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer !important;
}

/* ── Wrapper ── */
.sf-wrap {
    position: relative !important;
    width: 100% !important;
    display: block !important;
}

/* ────────────────────────────────
   THE BAR
──────────────────────────────── */
.sf-bar {
    display: flex !important;
    align-items: stretch !important;
    flex-direction: row !important;
    border-radius: 20px !important;
    overflow: visible !important;
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    min-height: 68px !important;
}

/* ── GLASS preset ── */
.sf-wrap--glass .sf-bar {
    background: rgba(255,255,255,0.18) !important;
    backdrop-filter: blur(20px) saturate(1.8) !important;
    -webkit-backdrop-filter: blur(20px) saturate(1.8) !important;
    border: 1.5px solid rgba(255,255,255,0.32) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.18), inset 0 1px 0 rgba(255,255,255,0.35) !important;
}
.sf-wrap--glass .sf-trigger__label  { color: rgba(255,255,255,0.75) !important; }
.sf-wrap--glass .sf-trigger__value  { color: #fff !important; }
.sf-wrap--glass .sf-trigger__value--set { color: #fff !important; font-weight: 700 !important; }
.sf-wrap--glass .sf-trigger__icon svg   { stroke: rgba(255,255,255,0.8) !important; }
.sf-wrap--glass .sf-trigger__chevron svg { stroke: rgba(255,255,255,0.5) !important; }
.sf-wrap--glass .sf-trigger:hover       { background: rgba(255,255,255,0.1) !important; }
.sf-wrap--glass .sf-field--open > .sf-trigger { background: rgba(255,255,255,0.1) !important; }
.sf-wrap--glass .sf-divider             { background: rgba(255,255,255,0.2) !important; }
.sf-wrap--glass .sf-submit              { background: #c8a96e !important; color: #0f172a !important; }
.sf-wrap--glass .sf-submit:hover        { background: #b8954f !important; }
.sf-wrap--glass .sf-popular__label     { color: rgba(255,255,255,0.65) !important; }
.sf-wrap--glass .sf-popular__chip      { background: rgba(255,255,255,0.12) !important; border: 1.5px solid rgba(255,255,255,0.22) !important; color: rgba(255,255,255,0.85) !important; }
.sf-wrap--glass .sf-popular__chip:hover { background: rgba(255,255,255,0.22) !important; color: #fff !important; }

/* ── WHITE CARD preset ── */
.sf-wrap--white .sf-bar {
    background: #ffffff !important;
    border: 1.5px solid #e8e3db !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08), 0 20px 60px rgba(0,0,0,0.1) !important;
}
.sf-wrap--white .sf-trigger__label  { color: #64748b !important; }
.sf-wrap--white .sf-trigger__value  { color: #1c1917 !important; }
.sf-wrap--white .sf-trigger__value--set { color: #0f172a !important; font-weight: 700 !important; }
.sf-wrap--white .sf-trigger__icon svg   { stroke: #94a3b8 !important; }
.sf-wrap--white .sf-trigger__chevron svg { stroke: #cbd5e1 !important; }
.sf-wrap--white .sf-trigger:hover       { background: #f8f7f5 !important; }
.sf-wrap--white .sf-field--open > .sf-trigger { background: #f8f7f5 !important; }
.sf-wrap--white .sf-divider             { background: #e8e3db !important; }
.sf-wrap--white .sf-submit              { background: #0f172a !important; color: #ffffff !important; }
.sf-wrap--white .sf-submit:hover        { background: #1e293b !important; }
.sf-wrap--white .sf-popular__label     { color: #64748b !important; }
.sf-wrap--white .sf-popular__chip      { background: #f8f7f5 !important; border: 1.5px solid #e2ddd5 !important; color: #64748b !important; }
.sf-wrap--white .sf-popular__chip:hover { background: #0f172a !important; border-color: #0f172a !important; color: #fff !important; }

/* ── DARK preset ── */
.sf-wrap--dark .sf-bar {
    background: #0f172a !important;
    border: 1.5px solid rgba(255,255,255,0.08) !important;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4) !important;
}
.sf-wrap--dark .sf-trigger__label  { color: rgba(255,255,255,0.5) !important; }
.sf-wrap--dark .sf-trigger__value  { color: rgba(255,255,255,0.9) !important; }
.sf-wrap--dark .sf-trigger__value--set { color: #c8a96e !important; font-weight: 700 !important; }
.sf-wrap--dark .sf-trigger__icon svg   { stroke: rgba(255,255,255,0.45) !important; }
.sf-wrap--dark .sf-trigger__chevron svg { stroke: rgba(255,255,255,0.3) !important; }
.sf-wrap--dark .sf-trigger:hover       { background: rgba(255,255,255,0.06) !important; }
.sf-wrap--dark .sf-field--open > .sf-trigger { background: rgba(255,255,255,0.06) !important; }
.sf-wrap--dark .sf-divider             { background: rgba(255,255,255,0.08) !important; }
.sf-wrap--dark .sf-submit              { background: #c8a96e !important; color: #0f172a !important; }
.sf-wrap--dark .sf-submit:hover        { background: #b8954f !important; }
.sf-wrap--dark .sf-popular__label     { color: rgba(255,255,255,0.5) !important; }
.sf-wrap--dark .sf-popular__chip      { background: rgba(255,255,255,0.06) !important; border: 1.5px solid rgba(255,255,255,0.1) !important; color: rgba(255,255,255,0.7) !important; }
.sf-wrap--dark .sf-popular__chip:hover { background: #c8a96e !important; border-color: #c8a96e !important; color: #0f172a !important; }

/* ────────────────────────────────
   FIELDS
──────────────────────────────── */
.sf-field {
    position: relative !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* ── TRIGGER BUTTON ── */
.sf-trigger {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    gap: 10px !important;
    width: 100% !important;
    flex: 1 !important;
    padding: 14px 20px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: background 0.2s ease !important;
    margin: 0 !important;
    color: inherit !important;
    font-size: inherit !important;
    height: auto !important;
    min-height: unset !important;
    box-shadow: none !important;
    outline: none !important;
}

.sf-trigger__icon {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 20px !important;
    height: 20px !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sf-trigger__icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: none !important;
    flex-shrink: 0 !important;
}

.sf-trigger__body {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 3px !important;
    min-width: 0 !important;
    align-items: flex-start !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.sf-trigger__label {
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.sf-trigger__value {
    font-size: 0.92rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: color 0.2s !important;
}

.sf-trigger__chevron {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    transition: transform 0.22s ease !important;
    background: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.sf-trigger__chevron svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
    fill: none !important;
}
.sf-field--open > .sf-trigger .sf-trigger__chevron {
    transform: rotate(180deg) !important;
}

/* ── DIVIDER ── */
.sf-divider {
    width: 1px !important;
    flex-shrink: 0 !important;
    align-self: stretch !important;
    margin: 14px 0 !important;
    display: block !important;
    border: none !important;
    padding: 0 !important;
}

/* ────────────────────────────────
   SUBMIT
──────────────────────────────── */
.sf-submit-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px 10px 8px 4px !important;
    flex-shrink: 0 !important;
    background: transparent !important;
    border: none !important;
}

.sf-submit {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 0 26px !important;
    height: 52px !important;
    border: none !important;
    border-radius: 14px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.22s ease !important;
    white-space: nowrap !important;
    letter-spacing: 0.01em !important;
    box-shadow: 0 3px 12px rgba(0,0,0,0.2) !important;
    margin: 0 !important;
    text-decoration: none !important;
    text-transform: none !important;
}
.sf-submit:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 24px rgba(0,0,0,0.28) !important;
}
.sf-submit:active { transform: translateY(0) !important; }

.sf-submit__icon {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    background: none !important;
    padding: 0 !important;
}
.sf-submit__icon svg {
    width: 17px !important;
    height: 17px !important;
    fill: none !important;
    stroke: currentColor !important;
}
.sf-submit__text {
    display: inline !important;
    background: none !important;
}

.sf-submit__count {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    opacity: 0 !important;
    max-width: 0 !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
    padding: 2px 8px !important;
    background: rgba(0,0,0,0.12) !important;
    border-radius: 20px !important;
    white-space: nowrap !important;
    display: inline-block !important;
    border: none !important;
}
.sf-submit__count--visible {
    opacity: 1 !important;
    max-width: 120px !important;
}

/* ────────────────────────────────
   DROPDOWN PANELS
──────────────────────────────── */
.sf-panel {
    position: absolute !important;
    top: calc(100% + 10px) !important;
    left: 0 !important;
    min-width: 220px !important;
    background: #ffffff !important;
    border-radius: 16px !important;
    border: 1.5px solid #e8e3db !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 20px 60px rgba(0,0,0,0.14) !important;
    z-index: 99999 !important;
    opacity: 0 !important;
    transform: translateY(-8px) scale(0.97) !important;
    pointer-events: none !important;
    transition: opacity 0.22s ease, transform 0.22s ease !important;
    overflow: hidden !important;
    display: block !important;
    visibility: hidden !important;
}
.sf-field--open > .sf-panel {
    opacity: 1 !important;
    transform: translateY(0) scale(1) !important;
    pointer-events: all !important;
    visibility: visible !important;
}

.sf-panel__inner {
    padding: 8px !important;
    max-height: 300px !important;
    overflow-y: auto !important;
}
.sf-panel__inner::-webkit-scrollbar { width: 4px !important; }
.sf-panel__inner::-webkit-scrollbar-track { background: transparent !important; }
.sf-panel__inner::-webkit-scrollbar-thumb { background: #e2ddd5 !important; border-radius: 2px !important; }

/* ── LIST OPTIONS ── */
.sf-option {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    padding: 9px 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 10px !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    color: #374151 !important;
    cursor: pointer !important;
    text-align: left !important;
    transition: background 0.15s, color 0.15s !important;
    margin: 1px 0 !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.sf-option:hover { background: #f8f7f5 !important; color: #1c1917 !important; }
.sf-option--active { background: #f0ede8 !important; color: #0f172a !important; font-weight: 700 !important; }
.sf-option__check { font-size: 0.75rem !important; color: transparent !important; flex-shrink: 0 !important; width: 14px !important; display: inline !important; }
.sf-option--active .sf-option__check { color: #c8a96e !important; }

/* ── GUESTS STEPPER ── */
.sf-panel--guests { min-width: 280px !important; }

.sf-stepper {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid #f0ede8 !important;
    flex-direction: row !important;
    gap: 12px !important;
    background: transparent !important;
}
.sf-stepper:last-child { border-bottom: none !important; }

.sf-stepper__info {
    flex: 1 !important;
    background: none !important;
    padding: 0 !important;
}
.sf-stepper__label {
    display: block !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: #1c1917 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}
.sf-stepper__sub {
    display: block !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
}

.sf-stepper__controls {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: none !important;
}

.sf-stepper__btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    border: 1.5px solid #d1cdc8 !important;
    background: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #374151 !important;
    transition: all 0.2s !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}
.sf-stepper__btn svg { width: 14px !important; height: 14px !important; fill: none !important; stroke: currentColor !important; }
.sf-stepper__btn:hover:not(:disabled) { border-color: #0f172a !important; color: #0f172a !important; background: #fff !important; }
.sf-stepper__btn:disabled { opacity: 0.3 !important; cursor: not-allowed !important; }

.sf-stepper__count {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #1c1917 !important;
    min-width: 20px !important;
    text-align: center !important;
    background: none !important;
    padding: 0 !important;
}

/* ── AMENITY CHIP PANEL ── */
.sf-panel--amenities {
    min-width: 340px !important;
    left: auto !important;
    right: 0 !important;
}

.sf-chips {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
    padding: 4px 4px 8px !important;
}

.sf-chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 5px !important;
    padding: 7px 12px !important;
    border-radius: 50px !important;
    border: 1.5px solid #e2ddd5 !important;
    background: #f8f7f5 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    cursor: pointer !important;
    transition: all 0.18s !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    margin: 0 !important;
}
.sf-chip svg {
    width: 13px !important;
    height: 13px !important;
    stroke: currentColor !important;
    fill: none !important;
    flex-shrink: 0 !important;
}
.sf-chip:hover { border-color: #0f172a !important; color: #0f172a !important; background: #fff !important; }
.sf-chip--active { background: #0f172a !important; border-color: #0f172a !important; color: #fff !important; }
.sf-chip--active svg { stroke: #c8a96e !important; }
.sf-chip--hidden { display: none !important; }

.sf-chips-more {
    display: block !important;
    width: 100% !important;
    padding: 8px 12px !important;
    background: transparent !important;
    border: 1.5px dashed #d1cdc8 !important;
    border-radius: 10px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    text-align: center !important;
    margin: 4px 0 8px !important;
    transition: all 0.18s !important;
    box-shadow: none !important;
    text-transform: none !important;
}
.sf-chips-more:hover { border-color: #0f172a !important; color: #0f172a !important; background: #f8f7f5 !important; }

.sf-panel__clear {
    display: block !important;
    width: 100% !important;
    padding: 8px 12px !important;
    background: transparent !important;
    border: none !important;
    border-top: 1px solid #f0ede8 !important;
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    cursor: pointer !important;
    text-align: center !important;
    margin-top: 4px !important;
    transition: color 0.18s !important;
    box-shadow: none !important;
    text-transform: none !important;
    border-radius: 0 !important;
}
.sf-panel__clear:hover { color: #dc2626 !important; background: transparent !important; }

/* ────────────────────────────────
   POPULAR SEARCHES
──────────────────────────────── */
.sf-popular {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-top: 16px !important;
    flex-wrap: wrap !important;
}

.sf-popular__label {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    display: block !important;
}

.sf-popular__chips {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

.sf-popular__chip {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 7px 14px !important;
    border-radius: 50px !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
    white-space: nowrap !important;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
}
.sf-popular__chip:hover { transform: translateY(-1px) !important; }

.sf-popular__chip-icon {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    background: none !important;
    padding: 0 !important;
}
.sf-popular__chip-icon svg {
    width: 14px !important;
    height: 14px !important;
    fill: none !important;
    stroke: currentColor !important;
}

/* ────────────────────────────────
   RESPONSIVE
──────────────────────────────── */
@media (max-width: 900px) {
    .sf-bar {
        flex-direction: column !important;
        border-radius: 16px !important;
    }
    .sf-divider {
        width: auto !important;
        height: 1px !important;
        margin: 0 16px !important;
    }
    .sf-field { flex: none !important; }
    .sf-trigger { padding: 14px 18px !important; }
    .sf-submit-wrap { padding: 10px 12px 14px !important; }
    .sf-submit { width: 100% !important; height: 48px !important; }
    .sf-panel { min-width: unset !important; width: calc(100vw - 40px) !important; max-width: 380px !important; }
    .sf-panel--amenities { right: auto !important; left: 0 !important; }
    .sf-popular { margin-top: 14px !important; }
}

/* ============================================================
   LISTINGS GRID & RESULTS
   ============================================================ */

.stayo-listings-wrap {
    font-family: var(--stayo-font);
}

.stayo-results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    gap: 16px;
    flex-wrap: wrap;
}
.stayo-results-count {
    font-size: 0.9rem;
    color: var(--stayo-text-2);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.stayo-results-count strong { color: var(--stayo-text); font-weight: 700; }
.stayo-results-reset {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--stayo-gold);
    text-decoration: none;
    padding: 4px 10px;
    border: 1px solid var(--stayo-gold);
    border-radius: 20px;
    transition: all 0.2s;
}
.stayo-results-reset:hover { background: var(--stayo-gold); color: var(--stayo-dark); }

/* Sort controls */
.stayo-sort-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}
.stayo-sort-controls__label {
    font-size: 0.82rem;
    color: var(--stayo-text-2);
    font-weight: 500;
    margin-right: 2px;
}
.stayo-sort-btn {
    font-family: var(--stayo-font);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 14px;
    border: 1.5px solid var(--stayo-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--stayo-text-2);
    transition: all 0.18s;
    background: var(--stayo-white);
}
.stayo-sort-btn:hover { border-color: var(--stayo-dark); color: var(--stayo-text); }
.stayo-sort-btn--active {
    background: var(--stayo-dark);
    border-color: var(--stayo-dark);
    color: #fff;
}

/* Grid */
.stayo-grid {
    display: grid;
    gap: 24px;
}
.stayo-grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.stayo-grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.stayo-grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.stayo-grid--list   { grid-template-columns: 1fr; }

/* ============================================================
   LISTING CARD — GRID STYLE
   ============================================================ */

.stayo-card {
    background: var(--stayo-white);
    border-radius: var(--stayo-radius);
    overflow: hidden;
    box-shadow: var(--stayo-shadow);
    border: 1.5px solid var(--stayo-border);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.stayo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--stayo-shadow-hv);
}

/* Image */
.stayo-card__image-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    flex-shrink: 0;
    background: var(--stayo-bg);
}
.stayo-card__img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}
.stayo-card:hover .stayo-card__img { transform: scale(1.05); }
.stayo-card__img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: #c4b8a8;
}
.stayo-card__img-placeholder svg { width: 36px; height: 36px; }

/* Featured badge */
.stayo-card__featured-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--stayo-gold);
    color: var(--stayo-dark);
    font-family: var(--stayo-font);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.stayo-card__featured-badge svg { width: 11px; height: 11px; }

/* Card body */
.stayo-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px 20px 20px;
    gap: 10px;
}

/* Meta row */
.stayo-card__meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.stayo-card__meta-item {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--stayo-text-2);
}
.stayo-icon {
    width: 13px; height: 13px;
    flex-shrink: 0;
    stroke: currentColor;
}

/* Title */
.stayo-card__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--stayo-text);
    margin: 0;
    line-height: 1.3;
}
.stayo-card__title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.15s;
}
.stayo-card__title a:hover { color: var(--stayo-gold); }

/* Tagline */
.stayo-card__tagline {
    font-size: 0.85rem;
    color: var(--stayo-text-2);
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Amenities */
.stayo-card__amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
}
.stayo-card__amenity {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--stayo-text-2);
    background: var(--stayo-bg);
    border: 1px solid var(--stayo-border);
    border-radius: 6px;
    padding: 4px 9px;
    white-space: nowrap;
}
.stayo-card__amenity .stayo-icon { width: 11px; height: 11px; }
.stayo-card__amenity--more {
    background: transparent;
    border-color: transparent;
    color: var(--stayo-gold);
}

/* Card footer */
.stayo-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--stayo-border);
    flex-wrap: wrap;
}
.stayo-card__price {
    display: flex;
    align-items: baseline;
    gap: 3px;
}
.stayo-card__price-from { font-size: 0.78rem; color: var(--stayo-text-2); }
.stayo-card__price-amount { font-size: 1.2rem; font-weight: 800; color: var(--stayo-text); }
.stayo-card__price-unit { font-size: 0.78rem; color: var(--stayo-text-2); }

.stayo-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--stayo-font);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 9px 18px;
    background: var(--stayo-dark);
    color: #fff;
    border-radius: var(--stayo-radius-sm);
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.stayo-card__cta svg { width: 14px; height: 14px; }
.stayo-card__cta:hover {
    background: var(--stayo-gold);
    color: var(--stayo-dark);
    transform: translateY(-1px);
}

/* ============================================================
   LISTING CARD — LIST STYLE
   ============================================================ */

.stayo-card--list {
    flex-direction: row;
    min-height: 200px;
}
.stayo-card--list .stayo-card__image-wrap {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: unset;
}
.stayo-card--list .stayo-card__body {
    padding: 22px 24px;
}
.stayo-card--list .stayo-card__footer {
    margin-top: 0;
}

/* ============================================================
   NO RESULTS
   ============================================================ */

.stayo-no-results {
    text-align: center;
    padding: 80px 20px;
    font-family: var(--stayo-font);
}
.stayo-no-results__icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--stayo-bg);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}
.stayo-no-results__icon svg { width: 28px; height: 28px; color: #c4b8a8; }
.stayo-no-results h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--stayo-text);
    margin: 0 0 8px;
    font-family: var(--stayo-font);
}
.stayo-no-results p {
    color: var(--stayo-text-2);
    font-size: 0.9rem;
    margin: 0;
}
.stayo-no-results a {
    color: var(--stayo-gold);
    font-weight: 600;
    text-decoration: none;
}

/* ============================================================
   PAGINATION
   ============================================================ */

.stayo-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
    font-family: var(--stayo-font);
}
.stayo-page-btn {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--stayo-border);
    border-radius: var(--stayo-radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--stayo-text-2);
    text-decoration: none;
    background: var(--stayo-white);
    transition: all 0.18s;
    font-family: var(--stayo-font);
}
.stayo-page-btn:hover { border-color: var(--stayo-dark); color: var(--stayo-text); }
.stayo-page-btn--active {
    background: var(--stayo-dark);
    border-color: var(--stayo-dark);
    color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
    .stayo-grid--cols-4 { grid-template-columns: repeat(2, 1fr); }
    .stayo-grid--cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .stayo-filter--dark-bar,
    .stayo-filter--light-card { padding: 20px; }
    .stayo-filter--dark-bar .stayo-filter__inner,
    .stayo-filter--light-card .stayo-filter__inner { flex-direction: column; gap: 16px; }
    .stayo-filter__field,
    .stayo-filter__field--amenities { min-width: unset; flex: none; width: 100%; }
    .stayo-filter__select { width: 100%; }
    .stayo-filter__action { width: 100%; }
    .stayo-filter__submit { width: 100%; justify-content: center; }

    .stayo-grid--cols-4,
    .stayo-grid--cols-3,
    .stayo-grid--cols-2 { grid-template-columns: 1fr; }

    .stayo-card--list { flex-direction: column; }
    .stayo-card--list .stayo-card__image-wrap { width: 100%; aspect-ratio: 16/10; }

    .stayo-results-header { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   Stayo v1.3.0 — Additional Styles
   ============================================================ */

/* ── STAR RATINGS ────────────────────────────────────────── */
.stayo-stars { display: inline-flex !important; gap: 1px !important; align-items: center !important; }
.stayo-icon--star { width: 14px !important; height: 14px !important; color: #f59e0b !important; flex-shrink: 0 !important; }
.stayo-card__stars { margin: -4px 0 8px !important; }
.stayo-card__stars .stayo-icon--star { width: 13px !important; height: 13px !important; }

/* ── LIST/GRID TOGGLE ────────────────────────────────────── */
.stayo-results-header__right {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
}
.stayo-view-toggle {
    display: flex !important;
    gap: 4px !important;
    border: 1.5px solid #e2ddd5 !important;
    border-radius: 8px !important;
    padding: 3px !important;
    background: #f8f7f5 !important;
}
.stayo-view-btn {
    all: unset !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 34px !important;
    height: 30px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    transition: all 0.18s ease !important;
}
.stayo-view-btn svg {
    width: 16px !important;
    height: 16px !important;
    stroke: #94a3b8 !important;
    fill: none !important;
}
.stayo-view-btn:hover { background: #ffffff !important; }
.stayo-view-btn--active {
    background: #0f172a !important;
}
.stayo-view-btn--active svg { stroke: #ffffff !important; }

/* ── LIST VIEW CARDS ─────────────────────────────────────── */
.stayo-grid--list { grid-template-columns: 1fr !important; }
.stayo-card--list {
    flex-direction: row !important;
    max-height: 220px !important;
}
.stayo-card--list .stayo-card__image-wrap {
    width: 300px !important;
    min-width: 300px !important;
    aspect-ratio: auto !important;
    height: 100% !important;
}
.stayo-card--list .stayo-card__body {
    flex: 1 !important;
    padding: 20px 24px !important;
}
.stayo-card--list .stayo-card__footer {
    margin-top: 12px !important;
}

@media (max-width: 768px) {
    .stayo-card--list {
        flex-direction: column !important;
        max-height: none !important;
    }
    .stayo-card--list .stayo-card__image-wrap {
        width: 100% !important;
        min-width: 100% !important;
        aspect-ratio: 16/10 !important;
        height: auto !important;
    }
}

/* ── SIDEBAR FILTER ──────────────────────────────────────── */
.ssf-wrap {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
    position: sticky !important;
    top: 100px !important;
    padding-right: 8px !important;
}
.ssf-wrap::-webkit-scrollbar { width: 5px !important; }
.ssf-wrap::-webkit-scrollbar-track { background: transparent !important; }
.ssf-wrap::-webkit-scrollbar-thumb { background: #d1d5db !important; border-radius: 10px !important; }
.ssf-wrap::-webkit-scrollbar-thumb:hover { background: #9ca3af !important; }
.ssf-wrap { scrollbar-width: thin !important; scrollbar-color: #d1d5db transparent !important; }
.ssf-group {
    padding: 18px 0 !important;
    border-bottom: 1px solid #f0ede8 !important;
}
.ssf-group:first-child { padding-top: 0 !important; }
.ssf-group:last-of-type { border-bottom: none !important; }

.ssf-group__title {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}
.ssf-group__options {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}
.ssf-check {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 7px 10px !important;
    border-radius: 8px !important;
    text-decoration: none !important;
    color: #374151 !important;
    font-size: 0.875rem !important;
    font-weight: 500 !important;
    transition: background 0.15s ease !important;
    cursor: pointer !important;
}
.ssf-check:hover { background: #f8f7f5 !important; }
.ssf-check--active { background: #f0f7ff !important; color: #0f172a !important; font-weight: 600 !important; }

.ssf-check__box {
    width: 18px !important;
    height: 18px !important;
    border: 2px solid #d1d5db !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    transition: all 0.15s ease !important;
}
.ssf-check--active .ssf-check__box {
    background: #4EB1FD !important;
    border-color: #4EB1FD !important;
}
.ssf-check__icon {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}
.ssf-check__icon .stayo-icon {
    width: 15px !important;
    height: 15px !important;
    stroke: #64748b !important;
}
.ssf-check--active .ssf-check__icon .stayo-icon { stroke: #4EB1FD !important; }
.ssf-check__label { flex: 1 !important; }

.ssf-clear-all {
    display: block !important;
    text-align: center !important;
    padding: 12px !important;
    margin-top: 12px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #ef4444 !important;
    text-decoration: none !important;
    border-radius: 8px !important;
    border: 1.5px solid #fecaca !important;
    background: #fef2f2 !important;
    transition: all 0.18s ease !important;
}
.ssf-clear-all:hover { background: #fee2e2 !important; }

/* Mobile sidebar */
.ssf-mobile-toggle {
    all: unset !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    width: 100% !important;
    padding: 12px 16px !important;
    background: #0f172a !important;
    color: #ffffff !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    margin-bottom: 12px !important;
}
.ssf-mobile-toggle svg {
    width: 18px !important;
    height: 18px !important;
    stroke: currentColor !important;
    fill: none !important;
}
.ssf-mobile-toggle--open { background: #1e293b !important; }

@media (max-width: 900px) {
    .ssf-wrap--collapsed {
        display: none !important;
    }
}
@media (min-width: 901px) {
    .ssf-mobile-toggle { display: none !important; }
}

/* ── SIMILAR LISTINGS ────────────────────────────────────── */
.stayo-similar {
    width: 100% !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif !important;
}
.stayo-similar__heading {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin: 0 0 24px !important;
    padding: 0 !important;
}

@media (max-width: 768px) {
    .stayo-similar--slider .stayo-similar__grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
        padding-bottom: 8px !important;
    }
    .stayo-similar--slider .stayo-similar__grid .stayo-card {
        min-width: 85vw !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }
}

/* ── CARD BADGE (updated for multiple flag colours) ──────── */
.stayo-card__badge {
    position: absolute !important;
    top: 14px !important;
    left: 14px !important;
    color: #ffffff !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    padding: 5px 10px !important;
    border-radius: 6px !important;
    z-index: 2 !important;
}

/* ============================================================
   Stayo Listing Gallery — Booking.com Style
   ============================================================ */

.slg-gallery {
    width: 100% !important;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

/* ── Top Grid: Hero + Side ───────────────────────────────── */
.slg-top {
    display: grid !important;
    grid-template-columns: 1.5fr 1fr !important;
    gap: 8px !important;
    height: 420px !important;
}

.slg-hero {
    overflow: hidden !important;
    border-radius: 12px !important;
    position: relative !important;
}

.slg-hero img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.slg-hero a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Ken Burns effect */
.slg-hero--ken-burns img {
    animation: slg-ken-burns 20s ease-in-out infinite alternate !important;
}

@keyframes slg-ken-burns {
    0%   { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.08) translate(-1%, -1%); }
}

/* Scale on hover */
.slg-hero--scale img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.slg-hero--scale:hover img {
    transform: scale(1.06) !important;
}

/* ── Side Images ─────────────────────────────────────────── */
.slg-side {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.slg-side-img {
    flex: 1 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    min-height: 0 !important;
    position: relative !important;
}

.slg-side-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.slg-side-img a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.slg-side-img--scale img {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}
.slg-side-img--scale:hover img {
    transform: scale(1.06) !important;
}

/* ── Thumbnails Row ──────────────────────────────────────── */
.slg-thumbs {
    display: flex !important;
    gap: 8px !important;
    margin-top: 8px !important;
}

.slg-thumb {
    flex: 1 !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    aspect-ratio: 16 / 10 !important;
    position: relative !important;
    cursor: pointer !important;
}

.slg-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.slg-thumb a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

/* Scale effect */
.slg-thumb--scale img {
    transition: transform 0.4s ease !important;
}
.slg-thumb--scale:hover img {
    transform: scale(1.08) !important;
}

/* Lift effect */
.slg-thumb--lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}
.slg-thumb--lift:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 24px rgba(15,23,41,0.12) !important;
}
.slg-thumb--lift img {
    transition: transform 0.4s ease !important;
}
.slg-thumb--lift:hover img {
    transform: scale(1.04) !important;
}

/* +X photos overlay */
.slg-thumb--last {
    position: relative !important;
}
.slg-thumb__more {
    position: absolute !important;
    inset: 0 !important;
    background: rgba(15,23,41,0.55) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: 'Urbanist', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    z-index: 2 !important;
    pointer-events: none !important;
    transition: background 0.3s ease !important;
}
.slg-thumb--last:hover .slg-thumb__more {
    background: rgba(15,23,41,0.7) !important;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
    .slg-top {
        grid-template-columns: 1fr !important;
        height: auto !important;
    }
    .slg-hero {
        min-height: 240px !important;
    }
    .slg-side {
        flex-direction: row !important;
    }
    .slg-side-img {
        flex: 1 !important;
        aspect-ratio: 16 / 10 !important;
    }
    .slg-thumbs {
        flex-wrap: wrap !important;
    }
    .slg-thumb {
        flex: 1 1 45% !important;
    }
}

/* ============================================================
   Mobile Scroll Arrows — Listings Grid
   ============================================================ */

.stayo-grid-wrapper {
    position: relative !important;
}

.stayo-grid-wrapper--scrollable {
    position: relative !important;
}

/* Scroll arrows */
.stayo-scroll-arrow {
    display: none !important;
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 10 !important;
    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    box-shadow: 0 4px 12px rgba(15,23,41,0.1) !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    outline: none !important;
}

.stayo-scroll-arrow svg {
    width: 18px !important;
    height: 18px !important;
    stroke: #0F1729 !important;
    fill: none !important;
}

.stayo-scroll-arrow:hover {
    background: #4EB1FD !important;
    border-color: #4EB1FD !important;
    box-shadow: 0 6px 20px rgba(78,177,253,0.25) !important;
}

.stayo-scroll-arrow:hover svg {
    stroke: #ffffff !important;
}

.stayo-scroll-arrow--left {
    left: -12px !important;
}

.stayo-scroll-arrow--right {
    right: -12px !important;
}

/* Mobile scroll grid */
@media (max-width: 768px) {
    .stayo-grid--mobile-scroll {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
        padding-bottom: 12px !important;
        scrollbar-width: none !important;
    }

    .stayo-grid--mobile-scroll::-webkit-scrollbar {
        display: none !important;
    }

    .stayo-grid--mobile-scroll .stayo-card {
        min-width: 85vw !important;
        max-width: 85vw !important;
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
    }

    .stayo-scroll-arrow {
        display: flex !important;
    }

    .stayo-scroll-arrow--left {
        left: 8px !important;
    }

    .stayo-scroll-arrow--right {
        right: 8px !important;
    }
}
