body {
    background: #faf9f6;
    font-family: "Noto Sans TC", "PingFang TC", Arial, sans-serif;
}
/* logo區 */
.brand-logo {
    height: 36px;
    margin-right: 10px;
}
.search-bar-wrapper {
    background: #fff;
    border-radius: 32px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    padding: 12px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    max-width: 730px;
    margin: 30px auto 20px auto;
    position: relative;
    z-index: 2;
}
.search-bar-wrapper .input-group input {
    border: none;
    box-shadow: none;
    background: transparent;
    font-size: 1.06rem;
}
.search-bar-wrapper .input-group input:focus {
    box-shadow: none;
}
.search-btn {
    background: #ff385c;
    color: #fff;
    border-radius: 50%;
    border: none;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.42rem;
    margin-left: 10px;
}
/* 導覽列 */
.nav-main {
    border-bottom: 1px solid #eee;
    background: #fff;
}
.nav-main .nav-link {
    color: #222;
    font-weight: 500;
    padding: 18px 18px 8px 18px;
    border-bottom: 3px solid transparent;
    transition: border 0.17s;
}
.nav-main .nav-link.active,
.nav-main .nav-link:hover {
    border-bottom: 3px solid #222;
    color: #111;
}
.nav-main .nav-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 3px;
    filter: grayscale(1);
}
.profile-btn {
    border: 1px solid #ddd;
    border-radius: 22px;
    padding: 6px 16px;
    background: #fff;
    font-weight: 500;
    color: #222;
    margin-left: 12px;
}

.listing-section {
    margin-bottom: 36px;
    margin-top: 18px;
}
.listing-title {
    font-weight: bold;
    font-size: 1.26rem;
    margin-bottom: 10px;
    margin-left: 8px;
}
.scroll-x-list {
    overflow-x: auto;
    display: flex;
    gap: 24px;
    padding-bottom: 8px;
    padding-left: 6px;
}
.room-card {
    min-width: 260px;
    max-width: 280px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    position: relative;
    border: 1px solid #f2f2f2;
    flex-shrink: 0;
    margin-bottom: 8px;
    transition: box-shadow 0.15s, border 0.14s;
}
.room-card:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.17);
    border-color: #ff385c55;
}
.room-img-wrap {
    position: relative;
    width: 100%;
    height: 176px;
    background: #eee;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.room-img-wrap img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: scale 0.18s;
}
.room-card:hover .room-img-wrap img {
    scale: 1.04;
}
.room-tag {
    position: absolute;
    top: 12px;
    left: 10px;
    background: #212529cc;
    color: #fff;
    font-size: 0.96rem;
    border-radius: 14px;
    padding: 4px 13px 3px 13px;
    font-weight: 500;
    z-index: 2;
}
.fav-btn {
    position: absolute;
    top: 10px;
    right: 12px;
    background: #fff;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    color: #ff385c;
    font-size: 1.25rem;
    z-index: 3;
    transition: color 0.18s;
}
.fav-btn.active,
.fav-btn:hover {
    color: #e11d48;
}
.room-card-body {
    padding: 16px 14px 12px 14px;
    font-size: 1rem;
}
.room-title {
    font-weight: 500;
    margin-bottom: 2px;
    font-size: 1.07rem;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.room-price {
    color: #444;
    font-size: 1.01rem;
    margin-bottom: 0;
}
.room-rate {
    color: #777;
    font-size: 0.97rem;
    margin-left: 2px;
}
.room-card-body .bi-star-fill {
    color: #ffb200;
    font-size: 0.97rem;
}
/* scroll bar 美化 */
.scroll-x-list::-webkit-scrollbar {
    height: 6px;
    background: #f3f3f3;
}
.scroll-x-list::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 4px;
}
@media (max-width: 768px) {
    .search-bar-wrapper {
        flex-direction: column;
        gap: 12px;
        padding: 16px 10px;
    }
    .room-card {
        min-width: 92vw;
        max-width: 95vw;
    }
    .room-img-wrap {
        height: 150px;
    }
    .scroll-x-list {
        gap: 14px;
    }
}
