/* ── Base ─────────────────────────────── */
html { scroll-behavior: smooth; }

/* ── Resort Cards ────────────────────── */
.resort-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
                box-shadow 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.resort-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.1);
}

/* ── Rating Badge ────────────────────── */
.rating-badge {
    transition: transform 0.2s ease;
}
.rating-badge:hover {
    transform: scale(1.05);
}

/* ── Feature Pills ───────────────────── */
.feature-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    background: #f7f8f3;
    color: #445228;
    border: 1px solid #d5dbc2;
}

/* ── Affiliate Buttons ───────────────── */
.affiliate-btn {
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.affiliate-btn:hover {
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

/* ── Filter Sidebar ──────────────────── */
.filter-sidebar {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #d1d5db transparent;
}
.filter-sidebar::-webkit-scrollbar {
    width: 4px;
}
.filter-sidebar::-webkit-scrollbar-track {
    background: transparent;
}
.filter-sidebar::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 4px;
}
.filter-sidebar::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

/* ── Favorite Button ─────────────────── */
.favorite-btn { transition: transform 0.2s ease; }
.favorite-btn:hover { transform: scale(1.15); }
.favorite-btn.is-favorited { animation: heart-pop 0.3s ease; }
@keyframes heart-pop { 0% { transform: scale(1); } 50% { transform: scale(1.3); } 100% { transform: scale(1); } }

/* ── Save Button ────────────────────── */
.save-btn { transition: transform 0.2s ease; }
.save-btn:hover { transform: scale(1.15); }

/* ── Selection ───────────────────────── */
::selection {
    background: rgba(79, 173, 181, 0.2);
    color: inherit;
}
