/* ===== Consolidated styles.css ===== */


/* Source: original style.css */


/* Airbnb Color Palette */
:root {
    --airbnb-primary: #4e364b;
    --airbnb-secondary: #dda5af;
    --airbnb-dark: #421a13;
    --airbnb-light: #5d557a;
    --airbnb-border: #DDDDDD;
    --airbnb-background: #F7F7F7;
}

/* General Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--airbnb-dark);
    padding-top: 80px;
}

.text-primary {
    color: var(--airbnb-primary) !important;
}

.btn-primary {
    background-color: var(--airbnb-primary);
    border-color: var(--airbnb-primary);
    border-radius: 8px;
    font-weight: 600;
}

    .btn-primary:hover {
        background-color: #E0484C;
        border-color: #E0484C;
    }

/* Navigation */
.navbar {
    z-index: 1000;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, rgba(255, 90, 95, 0.1) 0%, rgba(0, 166, 153, 0.1) 100%);
    padding: 80px 0 60px;
    min-height: 400px;
    display: flex;
    align-items: center;
}

.search-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
}

.search-tabs {
    display: flex;
    border-bottom: 1px solid var(--airbnb-border);
}

.search-tab {
    flex: 1;
    padding: 16px 24px;
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--airbnb-light);
    transition: all 0.3s ease;
}

    .search-tab.active {
        color: var(--airbnb-dark);
        border-bottom: 2px solid var(--airbnb-dark);
    }

.search-form {
    padding: 24px;
}

.search-input-group {
    display: flex;
    align-items: center;
    background: white;
    border: 1px solid var(--airbnb-border);
    border-radius: 40px;
    padding: 8px;
    transition: all 0.3s ease;
}

    .search-input-group:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    }

.search-input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 32px;
    transition: all 0.3s ease;
}

    .search-input:hover {
        background-color: var(--airbnb-background);
    }

    .search-input label {
        font-size: 12px;
        font-weight: 600;
        color: var(--airbnb-dark);
        margin-bottom: 4px;
        display: block;
    }

.search-btn {
    background: var(--airbnb-primary);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

    .search-btn:hover {
        background: #E0484C;
        transform: scale(1.05);
    }

/* Categories */
.categories-section {
    padding: 20px 0;
    border-bottom: 1px solid var(--airbnb-border);
}

.categories-scroll {
    display: flex;
    gap: 32px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
}

    .category-item:hover {
        border-bottom-color: var(--airbnb-border);
    }

    .category-item.active {
        border-bottom-color: var(--airbnb-dark);
    }

    .category-item i {
        font-size: 24px;
        margin-bottom: 8px;
        color: var(--airbnb-light);
    }

    .category-item.active i {
        color: var(--airbnb-dark);
    }

    .category-item span {
        font-size: 12px;
        font-weight: 600;
        color: var(--airbnb-light);
        text-align: center;
    }

    .category-item.active span {
        color: var(--airbnb-dark);
    }

/* Listings */
.listings-section {
    padding: 40px 0;
}

.listing-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

    .listing-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    }

.listing-image {
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
}

.listing-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.listing-heart {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: all 0.3s ease;
}

    .listing-heart:hover {
        background: rgba(0, 0, 0, 0.7);
        color: var(--airbnb-primary);
    }

.listing-rating {
    color: var(--airbnb-dark);
    font-weight: 600;
    font-size: 14px;
}

.listing-price {
    font-weight: 700;
    color: var(--airbnb-dark);
}

/* Search Results */
.search-bar-compact {
    background: white;
    border: 1px solid var(--airbnb-border);
    border-radius: 40px;
    padding: 8px 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.filters-sidebar {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin: 20px 0;
    border: 1px solid var(--airbnb-border);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filter-section {
    border-bottom: 1px solid var(--airbnb-border);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

    .filter-section:last-child {
        border-bottom: none;
        margin-bottom: 0;
    }

.search-results-header {
    padding: 20px 0;
}

/* Property Details */
.property-header {
    border-bottom: 1px solid var(--airbnb-border);
    padding-bottom: 24px;
}

.property-gallery {
    height: 400px;
}

.main-image {
    height: 100%;
    object-fit: cover;
}

.gallery-image {
    height: 195px;
    object-fit: cover;
}

.show-all-photos {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: white;
    border: 1px solid var(--airbnb-dark);
    border-radius: 8px;
    font-weight: 600;
}

.host-avatar {
    width: 56px;
    height: 56px;
    object-fit: cover;
}

.property-features {
    border-bottom: 1px solid var(--airbnb-border);
    padding-bottom: 24px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 24px;
}

    .feature-item i {
        font-size: 24px;
        margin-right: 16px;
        margin-top: 4px;
    }

.property-description {
    border-bottom: 1px solid var(--airbnb-border);
    padding-bottom: 24px;
}

.property-amenities {
    border-bottom: 1px solid var(--airbnb-border);
    padding-bottom: 24px;
}

.amenity-item {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

    .amenity-item i {
        font-size: 20px;
        margin-right: 16px;
        color: var(--airbnb-dark);
        width: 24px;
    }

/* Booking Widget */
.booking-widget {
    top: 100px;
}

.booking-form label {
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--airbnb-dark);
}

.booking-breakdown {
    font-size: 14px;
}

    .booking-breakdown div {
        color: var(--airbnb-dark);
    }

/* Reviews */
.reviews-section {
    border-top: 1px solid var(--airbnb-border);
    padding-top: 48px;
}

.review-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid var(--airbnb-border);
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* Footer */
.footer {
    margin-top: 80px;
    padding: 48px 0 24px;
    border-top:0px !important
}

    .footer h6 {
        color: var(--airbnb-dark);
    }

    .footer a {
        text-decoration: none;
        transition: color 0.3s ease;
    }

        .footer a:hover {
            color: var(--airbnb-dark) !important;
        }

/* Responsive */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        border-radius: 16px;
        padding: 16px;
    }

    .search-input {
        margin-bottom: 12px;
        border: 1px solid var(--airbnb-border);
        border-radius: 8px;
    }

    .search-btn {
        width: 100%;
        height: 48px;
        border-radius: 8px;
    }

    .categories-scroll {
        gap: 16px;
    }

    .property-gallery {
        height: 250px;
    }

    .gallery-image {
        height: 120px;
    }

    .filters-sidebar {
        position: static;
        margin: 0 0 20px 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.listing-card {
    animation: fadeInUp 0.6s ease forwards;
}

    /* Hover Effects */
    .listing-card:hover .listing-image {
        transform: scale(1.05);
        transition: transform 0.3s ease;
    }

.btn {
    transition: all 0.3s ease;
}

    .btn:hover {
        transform: translateY(-1px);
    }

/* Custom Scrollbar */
.categories-scroll::-webkit-scrollbar {
    height: 4px;
}

.categories-scroll::-webkit-scrollbar-track {
    background: var(--airbnb-background);
    border-radius: 2px;
}

.categories-scroll::-webkit-scrollbar-thumb {
    background: var(--airbnb-border);
    border-radius: 2px;
}

    .categories-scroll::-webkit-scrollbar-thumb:hover {
        background: var(--airbnb-light);
    }



/* Custom */


.bg-primary {
    background-color: #dda5af !important;
}


.custom-dropdown-btn {
    background-color: #ffffff;
    border: 1px solid #583824; /* Medium brown border */
    color: #4e364b; /* Dark purple text */
    padding: 0.5rem 1rem;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .custom-dropdown-btn i:first-child {
        color: #421a13; /* Dark brown (bars icon) */
    }

    .custom-dropdown-btn i:last-child {
        color: #4e364b; /* Dark purple (user icon) */
    }

.custom-dropdown-menu {
    background-color: #ffffff;
    border: 1px solid #dda5af; /* Dusty pink border */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
}

.custom-dropdown-item {
    color: #4e364b; /* Dark purple */
    font-weight: 500;
}

    .custom-dropdown-item i {
        color: #421a13; /* Dark brown for all dropdown icons */
    }

    .custom-dropdown-item:hover {
        background-color: #fcddd6; /* Pale pink hover */
        color: #421a13;
    }

        .custom-dropdown-item:hover i {
            color: #421a13;
        }

.listing-heart {
    background: rgb(169, 167, 167);
    /* border: none; */
    color: #e31c5f; /* Default color (dark purple or your theme) */
    transition: color 0.3s;
}

    .listing-heart:hover {
        background: rgb(169, 167, 167);
        color: #e31c5f; /* Airbnb-style red or use #ff0000 if you prefer */
    }

        /* Swap icon style from outlined to solid on hover */
        .listing-heart:hover i {
            font-family: 'Font Awesome 6 Free';
            font-weight: 900; /* Makes it use 'fas' instead of 'far' */
        }

.shadow-sm {
    box-shadow: 0 0.099rem 0.10rem rgba(0, 0, 0, .075) !important;
}

.btn-primary:hover {
    background-color: #dda5af;
    border-color: #dda5af;
}

.btn-primary:active {
    background-color: #dda5af !important;
    border-color: #dda5af !important;
}

.accordion-button:not(.collapsed) {
    color: var(--bs-accordion-active-color);
    background-color: #dda5af;
    box-shadow: none;
}

.btn-outline-primary {
    --bs-btn-color: #4e364b;
    --bs-btn-border-color: #4e364b;
    --bs-btn-hover-color: #fffef2;
    --bs-btn-hover-bg: #dda5af;
    --bs-btn-hover-border-color: #dda5af;
    --bs-btn-focus-shadow-rgb: 221, 165, 175; /* RGB of #dda5af */
    --bs-btn-active-color: #fffef2;
    --bs-btn-active-bg: #dda5af;
    --bs-btn-active-border-color: #dda5af;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #4e364b;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #4e364b;
    --bs-gradient: none;
}


/* Source: index.html <style> blocks (moved) */


/* index.html style block #1 */
:root {
    --brand: #C19BC8;
    --soft: #f7f7fb;
    --radius: 16px;
    --shadow: 0 10px 28px rgba(0,0,0,.08);
    --shadow-strong: 0 16px 36px rgba(108,99,255,.18);
}

body {
    font-family: 'Inter',sans-serif !important;
    padding-top: 76px;
    background: #fff;
}

/* ===== NAVBAR (same look) ===== */
.velva-navbar {
    --bg: transparent;
    background: var(--bg);
    backdrop-filter: none;
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}

    .velva-navbar .brand-logo {
        height: 52px;
        border-radius: 12px;
    }

    .velva-navbar.is-glassy {
        --bg: rgba(255,255,255,.65);
        backdrop-filter: blur(10px);
        border-bottom-color: rgba(0,0,0,.06);
        box-shadow: var(--shadow);
    }

    .velva-navbar.is-solid {
        --bg: #fff;
        backdrop-filter: none;
        box-shadow: var(--shadow);
    }

.velva-link {
    position: relative;
    font-weight: 600;
    color: #2e2e2e !important;
    padding: .6rem .9rem;
    border-radius: 999px;
    transition: all .2s ease;
}

    .velva-link:hover {
        background: #f4f5ff;
        color: #1a1a1a !important;
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(108,99,255,.15);
    }

    .velva-link.active {
        color: #111 !important;
    }

        .velva-link.active::after {
            content: "";
            position: absolute;
            left: 18px;
            right: 18px;
            bottom: .25rem;
            height: 3px;
            border-radius: 3px;
            background: linear-gradient(90deg,var(--brand),#9a95ff);
        }

.nav-slogan {
    font-weight: 600;
    color: #5a5a5a;
    opacity: .9;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: #f7f7fb;
    border: 1px solid rgba(0,0,0,.05);
}

.user-btn {
    border: 0;
    border-radius: 999px;
    padding: .5rem .8rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    transition: all .2s ease;
    color: #333;
}

    .user-btn:hover {
        background: var(--brand);
        color: #fff;
        transform: translateY(-1px);
    }

.velva-dropdown {
    border: 0;
    border-radius: 14px;
    padding: .4rem;
    min-width: 230px;
    box-shadow: var(--shadow);
}

    .velva-dropdown .dropdown-item {
        border-radius: 10px;
        font-weight: 500;
    }

        .velva-dropdown .dropdown-item:hover {
            background: #f3f2ff;
            color: #1a1a1a;
        }

@media (max-width: 991.98px) {
    .velva-navbar .collapse {
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(8px);
        border-radius: 16px;
        padding: .6rem;
        margin-top: .5rem;
        box-shadow: var(--shadow);
    }

    .navbar-nav .nav-item + .nav-item {
        margin-top: .25rem;
    }

    .velva-link {
        display: block;
    }
}

/* ===== HERO SEARCH ===== */
.hero {
    position: relative;
    background: radial-gradient(1200px 400px at -10% -20%,#eef2ff,#fff);
    padding: 56px 0 26px;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

    .hero h1 {
        font-weight: 800;
        letter-spacing: .2px;
    }

.search-card {
    margin-top: 18px;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: .75rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.search-chip {
    display: flex;
    flex: 1 1 180px;
    min-width: 180px;
    gap: .5rem;
    align-items: center;
    background: #f7f7fb;
    border-radius: 12px;
    padding: .55rem .7rem;
    border: 1px solid rgba(0,0,0,.05);
}

    .search-chip input, .search-chip select {
        border: 0;
        background: transparent;
        width: 100%;
        outline: none;
    }

.search-go {
    border-radius: 12px;
    padding: .65rem 1rem;
}

/* ===== Categories Carousel + FIX for arrow overlap ===== */
.categories-container {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1rem 3.25rem; /* FIX: add more inline padding to clear arrows */
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.categories-scroll {
    display: flex;
    gap: .75rem;
    overflow: hidden;
    scroll-behavior: smooth;
    flex: 1;
}
    /* add invisible spacers so chips don't sit under arrows */
    .categories-scroll::before, .categories-scroll::after {
        content: "";
        flex: 0 0 2.25rem;
    }

.category-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .65rem .9rem;
    background: #f4f5ff;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    cursor: pointer;
    transition: all .25s ease;
    font-weight: 600;
    color: #3b3b3b;
}

    .category-item i {
        color: var(--brand);
        font-size: 1rem;
    }

    .category-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(108,99,255,.18);
    }

    .category-item.active {
        background: var(--brand);
        color: #fff;
    }

        .category-item.active i {
            color: #fff;
        }

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 0;
    background: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    cursor: pointer;
    transition: all .2s ease;
    z-index: 5; /* FIX: above chips but not covering */
}

    .scroll-btn:hover {
        background: var(--brand);
        color: #fff;
    }

    .scroll-btn.left {
        left: .5rem;
    }

    .scroll-btn.right {
        right: .5rem;
    }

    .scroll-btn[disabled] {
        opacity: .4;
        pointer-events: none;
    }

/* ===== Filters Bar ===== */
.filters-bar {
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow);
    padding: .6rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    align-items: center;
}

.filter-chip {
    display: flex;
    gap: .5rem;
    align-items: center;
    background: #f7f7fb;
    border-radius: 12px;
    padding: .45rem .6rem;
    border: 1px solid rgba(0,0,0,.05);
}

    .filter-chip input, .filter-chip select {
        border: 0;
        background: transparent;
        outline: none;
        width: 100%;
    }

.filters-bar .sep {
    width: 1px;
    height: 28px;
    background: rgba(0,0,0,.08);
    margin: 0 .25rem;
}

/* ===== Listing cards (with image fix) ===== */
.listing-card-enhanced {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .listing-card-enhanced:hover {
        transform: translateY(-6px);
        box-shadow: var(--shadow-strong);
    }

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
}

    .image-wrapper img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0 !important; /* FIX: prevent circular mask */
        -webkit-mask: none !important;
        mask: none !important;
        clip-path: none !important;
        filter: none !important;
        background: none !important;
    }

    .image-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.22) 100%);
        pointer-events: none;
    }

.rating-pill {
    position: absolute;
    bottom: .6rem; /* back to sane spot */
    padding: .25rem .55rem;
    border-radius: 999px;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(6px);
    font-size: .8rem;
    font-weight: 600;
    color: #2e2e2e;
    display: flex;
    align-items: center;
    gap: .35rem;
    width: 65px;
    height: 40px;
    left: 231px;
    margin-top: 5px;
}

    .rating-pill i {
        color: #f5a623;
    }

.heart-btn {
    position: absolute;
    top: .55rem;
    right: .55rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: rgba(255,255,255,.8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff4d6d;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(0,0,0,.15);
    transition: transform .2s ease, background .2s ease, color .2s ease;
    z-index: 2;
    margin-left: 5px !important;
}

    .heart-btn:hover {
        background: #ff4d6d;
        color: #fff;
        transform: scale(1.08);
    }

    .heart-btn.active {
        background: #ff4d6d;
        color: #fff;
    }

.info {
    padding: .9rem 1rem 1rem;
}

.title {
    font-size: .96rem;
    font-weight: 700;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.location {
    font-size: .82rem;
    color: #777;
    margin-bottom: 6px;
}

.price strong {
    font-size: 1rem;
    color: #111;
}

.price span {
    color: #777;
}

/* Empty state */
.empty-state .empty-emoji {
    font-size: 2rem;
}

@media (max-width:576px) {
    .search-chip {
        min-width: 140px;
    }

    .categories-container {
        padding: .75rem 3rem;
    }
}


/* index.html style block #2 */
/* Navbar search */
.nav-search {
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    overflow: hidden;
}

    .nav-search .input-group-text {
        border: 0;
        background: #fff;
    }

.nav-search-input {
    border: 0;
    box-shadow: none !important;
    width: 220px;
    transition: width .2s ease;
}

    .nav-search-input:focus {
        width: 300px;
    }

/* Notification button (matches user-btn vibe) */
.icon-btn {
    border: 0;
    border-radius: 999px;
    padding: .5rem .7rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    transition: all .2s ease;
    color: #333;
}

    .icon-btn:hover {
        background: var(--brand);
        color: #fff;
        transform: translateY(-1px);
    }

/* Unread dot */
.notify-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ff4d4f;
    box-shadow: 0 0 0 2px #fff;
}


/* Source: feed.html <style> blocks (moved) */


/* feed.html style block #1 */
body {
    font-family: 'Inter',sans-serif !important;
    padding-top: 76px;
}

:root {
    --brand: #5d557a;
    --soft: #f7f7fb;
    --radius: 16px;
    --shadow: 0 10px 28px rgba(0,0,0,.08);
    --shadow-strong: 0 16px 36px rgba(108,99,255,.18);
}

.feed-toolbar {
    position: sticky;
    top: 76px;
    z-index: 9;
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 1rem;
}

.chip {
    border: 0;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: #f4f5ff;
    font-weight: 600;
    color: #3b3b3b;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

    .chip.active {
        background: var(--brand);
        color: #fff;
    }

    .chip i {
        margin-right: .45rem;
    }

.chips-scroll {
    display: flex;
    gap: .5rem;
    overflow: auto;
    scroll-behavior: smooth;
    padding-bottom: .25rem;
}

.post-card {
    border: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

    .post-card:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-strong);
    }

.post-header {
    padding: 1rem 1rem 0;
}

.post-provider {
    display: flex;
    align-items: center;
    gap: .75rem;
}

    .post-provider .avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        object-fit: cover;
    }

.provider-name {
    font-weight: 700;
    margin: 0;
}

.provider-meta {
    color: #777;
    font-size: .9rem;
}

.post-body {
    padding: 1rem;
}

.post-tags .badge {
    background: #f4f5ff;
    color: #444;
    font-weight: 600;
}

.post-image .ratio {
    border-radius: 14px;
    overflow: hidden;
}

.post-image img {
    object-fit: cover;
}

.post-actions {
    display: flex;
    gap: .5rem;
    border-top: 1px solid rgba(0,0,0,.06);
    padding: .75rem 1rem;
}

    .post-actions .btn {
        border: 1px solid rgba(0,0,0,.06);
        background: #fff;
        border-radius: 999px;
        padding: .45rem .8rem;
        font-weight: 600;
    }

.btn-like.liked {
    color: #e63946;
    border-color: #e639461a;
    background: #e639460c;
}

.btn-save.saved {
    color: #5d557a;
    border-color: #5d557a1a;
    background: #5d557a0d;
}

.muted {
    color: #777;
}


/* feed.html style block #2 */
:root {
    --brand: #C19BC8; /* matches your other components */
    --soft: #f7f7fb;
    --radius: 16px;
    --shadow: 0 10px 28px rgba(0,0,0,.08);
    --shadow-strong: 0 16px 36px rgba(108,99,255,.18);
}

/* Reserve room for fixed-top (adjust if your hero has its own offset) */
body {
    padding-top: 76px;
}

/* ========== NAVBAR BASE ========== */
.velva-navbar {
    --bg: transparent;
    background: var(--bg);
    backdrop-filter: none;
    transition: background .25s ease, box-shadow .25s ease, backdrop-filter .25s ease, border-color .25s ease;
    border-bottom: 1px solid transparent;
}

    .velva-navbar .brand-logo {
        height: 52px;
        border-radius: 12px;
    }

    /* When scrolled: glassy then solid */
    .velva-navbar.is-glassy {
        --bg: rgba(255,255,255,.65);
        backdrop-filter: blur(10px);
        border-bottom-color: rgba(0,0,0,.06);
        box-shadow: var(--shadow);
    }

    .velva-navbar.is-solid {
        --bg: #fff;
        backdrop-filter: none;
        box-shadow: var(--shadow);
    }

/* Links */
.velva-link {
    position: relative;
    font-weight: 600;
    color: #2e2e2e !important;
    padding: .6rem .9rem;
    border-radius: 999px;
    transition: all .2s ease;
}

    .velva-link:hover {
        background: #f4f5ff;
        color: #1a1a1a !important;
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(108,99,255,.15);
    }

    .velva-link.active {
        color: #111 !important;
    }

        .velva-link.active::after {
            content: "";
            position: absolute;
            left: 18px;
            right: 18px;
            bottom: .25rem;
            height: 3px;
            border-radius: 3px;
            background: linear-gradient(90deg,var(--brand),#9a95ff);
        }

/* Slogan */
.nav-slogan {
    font-weight: 600;
    color: #5a5a5a;
    opacity: .9;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: #f7f7fb;
    border: 1px solid rgba(0,0,0,.05);
}

/* User button */
.user-btn {
    border: 0;
    border-radius: 999px;
    padding: .5rem .8rem;
    background: #fff;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    transition: all .2s ease;
    color: #333;
}

    .user-btn:hover {
        background: var(--brand);
        color: #fff;
        transform: translateY(-1px);
    }

/* Dropdown */
.velva-dropdown {
    border: 0;
    border-radius: 14px;
    padding: .4rem;
    min-width: 230px;
    box-shadow: var(--shadow);
}

    .velva-dropdown .dropdown-item {
        border-radius: 10px;
        font-weight: 500;
    }

        .velva-dropdown .dropdown-item:hover {
            background: #f3f2ff;
            color: #1a1a1a;
        }

/* Toggler visuals on light backgrounds */
.navbar-light .navbar-toggler {
    border: 0;
    padding: .35rem .55rem;
    border-radius: 12px;
    background: #ffffffcc;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

    .navbar-light .navbar-toggler:focus {
        box-shadow: 0 0 0 .2rem rgba(108,99,255,.25);
    }

/* Mobile drawer vibe */
@media (max-width: 991.98px) {
    .velva-navbar .collapse {
        background: rgba(255,255,255,.96);
        backdrop-filter: blur(8px);
        border-radius: 16px;
        padding: .6rem;
        margin-top: .5rem;
        box-shadow: var(--shadow);
    }

    .navbar-nav .nav-item + .nav-item {
        margin-top: .25rem;
    }

    .velva-link {
        display: block;
    }
}
