/* Remove anchor styling */

body {
    background: #f8f7f4;
    font-family: 'DM Sans', sans-serif;
}


/* ── Page Header ── */

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1a1a1a;
}

.page-subtitle {
    font-size: 0.8rem;
    color: #888;
    font-weight: 300;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


/* ── Card Link ── */

.listing-link {
    text-decoration: none;
    color: inherit;
    display: block;
}


/* ── Card ── */

.listing-card {
    border: 0.5px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease;
    background: #fff;
}

.listing-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 0, 0, 0.2);
}


/* ── Image ── */

.img-wrapper {
    position: relative;
    overflow: hidden;
}

.listing-img {
    height: 210px;
    object-fit: cover;
    width: 100%;
    display: block;
    transition: transform 0.4s ease;
}

.listing-card:hover .listing-img {
    transform: scale(1.04);
}


/* ── Wishlist Button ── */

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #fff;
    border: 0.5px solid rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #aaa;
    transition: color 0.2s;
}

.listing-card:hover .wishlist-btn {
    color: #e05252;
}


/* ── Card Body ── */

.card-body-inner {
    padding: 1rem 1.1rem 1.1rem;
}

.listing-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.35;
}

.listing-rating {
    font-size: 0.8rem;
    font-weight: 500;
    color: #1a1a1a;
    white-space: nowrap;
}

.star-icon {
    color: #f5a623;
    font-size: 12px;
}

.listing-location {
    font-size: 0.8rem;
    color: #888;
    font-weight: 300;
    margin: 0 0 6px;
}

.pin-icon {
    color: #e05252;
    font-size: 11px;
}

.listing-desc {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.55;
    font-weight: 300;
    margin: 0 0 0.9rem;
}


/* ── Card Footer ── */

.listing-footer {
    border-top: 0.5px solid rgba(0, 0, 0, 0.1);
    padding-top: 0.75rem;
}

.listing-price {
    font-size: 1rem;
    font-weight: 500;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.listing-price span {
    font-size: 0.75rem;
    color: #999;
    font-weight: 300;
}

.cta-link {
    font-size: 0.75rem;
    font-weight: 500;
    color: #888;
    letter-spacing: 0.04em;
    transition: color 0.2s;
}

.listing-card:hover .cta-link {
    color: #1a1a1a;
}

.custom-alert {
    border: none;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    font-family: 'DM Sans', sans-serif;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.alert-success.custom-alert {
    background: #ecfdf3;
    color: #166534;
}

.custom-alert i {
    font-size: 1.1rem;
}

.search-section {
    padding: 16px 0 0;
    /* was 32px */
}

.search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #e8ddd4;
    border-radius: 40px;
    padding: 10px 20px;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 2px 16px rgba(61, 43, 31, 0.08);
    transition: box-shadow 0.2s, border-color 0.2s;
}

.search-bar:focus-within {
    box-shadow: 0 4px 24px rgba(61, 43, 31, 0.14);
    border-color: #c9973a;
}

.search-bar .search-icon {
    color: #c9973a;
    font-size: 1rem;
}

.search-bar input {
    border: none;
    outline: none;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #3d2b1f;
    flex: 1;
    min-width: 0;
}

.search-bar input::placeholder {
    color: #9e8878;
}

.search-btn {
    background: #3d2b1f;
    color: #faf7f2;
    border: none;
    padding: 7px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.search-btn:hover {
    background: #c9973a;
}


/* ── Category Strip ── */

.category-strip {
    display: flex;
    gap: 0;
    overflow-x: auto;
    padding: 20px 0 0;
    scrollbar-width: none;
    border-bottom: 1.5px solid #e8ddd4;
    margin-top: 4px;
}

.category-strip::-webkit-scrollbar {
    display: none;
}

.cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 20px 12px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    border-bottom: 2.5px solid transparent;
    transition: border-color 0.15s, color 0.15s;
    color: #9e8878;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    font-weight: 400;
    text-decoration: none;
}

.cat-item i {
    font-size: 1.25rem;
}

.cat-item:hover {
    color: #3d2b1f;
    border-bottom-color: #3d2b1f;
}

.cat-item.active {
    color: #3d2b1f;
    border-bottom-color: #3d2b1f;
    font-weight: 500;
}