.listing-shell {
    padding: 148px 0 90px;
}

.filter-panel {
    border-radius: 26px;
    padding: 22px;
    position: sticky;
    top: 118px;
}

.filter-panel .form-label {
    color: var(--fm-navy);
    font-size: .8rem;
    font-weight: 900;
}

.listing-toolbar {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-bottom: 22px;
}

.provider-card {
    display: grid;
    gap: 22px;
    grid-template-columns: 180px 1fr;
    padding: 18px;
}

.provider-card-media {
    border-radius: 22px;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.provider-card-media img,
.provider-card-placeholder {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.provider-card-placeholder {
    align-items: center;
    background: linear-gradient(135deg, rgba(41, 162, 159, .14), rgba(231, 176, 25, .16));
    color: var(--fm-navy);
    display: flex;
    font-weight: 900;
    justify-content: center;
}

.provider-card-badge {
    background: rgba(255, 255, 255, .92);
    border-radius: 999px;
    color: var(--fm-navy);
    font-size: .76rem;
    font-weight: 900;
    left: 12px;
    padding: 7px 10px;
    position: absolute;
    top: 12px;
}

.provider-card h2 {
    color: var(--fm-navy);
    font-size: 1.35rem;
    font-weight: 900;
}

.provider-meta,
.provider-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.provider-meta span,
.provider-tags span {
    background: rgba(12, 16, 54, .05);
    border-radius: 999px;
    color: #536078;
    font-size: .84rem;
    font-weight: 800;
    padding: 8px 11px;
}

.provider-price {
    color: var(--fm-navy);
    font-size: 1.2rem;
    font-weight: 900;
}

.map-panel {
    background: linear-gradient(135deg, rgba(12, 16, 54, .94), rgba(41, 162, 159, .78)), url("https://images.unsplash.com/photo-1543877087-ebf71fde2be1?auto=format&fit=crop&w=1200&q=80") center/cover;
    border-radius: 28px;
    color: #fff;
    min-height: 260px;
    padding: 28px;
}

.detail-hero {
    padding: 150px 0 60px;
}

.detail-profile-card {
    border-radius: 34px;
    padding: 28px;
}

.detail-avatar {
    border: 7px solid #fff;
    border-radius: 28px;
    height: 190px;
    object-fit: cover;
    width: 190px;
}

.detail-gallery {
    display: grid;
    gap: 14px;
    grid-template-columns: 1.2fr .8fr;
}

.detail-gallery img {
    border-radius: 28px;
    height: 430px;
    object-fit: cover;
    width: 100%;
}

.detail-gallery-stack {
    display: grid;
    gap: 14px;
}

.detail-gallery-stack img { height: 208px; }

.booking-card {
    border-radius: 28px;
    padding: 24px;
    position: sticky;
    top: 118px;
}

.detail-section {
    padding: 38px;
}

.amenity-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amenity-pill {
    background: rgba(41, 162, 159, .09);
    border-radius: 16px;
    color: var(--fm-navy);
    font-weight: 800;
    padding: 14px;
}

.favorite-toggle-form {
    margin: 0;
}

.btn-favorite-toggle {
    align-items: center;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .12);
    border-radius: 999px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, .08);
    color: #64748b;
    display: inline-flex;
    height: 42px;
    justify-content: center;
    transition: transform .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
    width: 42px;
}

.btn-favorite-toggle:hover,
.btn-favorite-toggle.is-saved {
    border-color: rgba(225, 29, 72, .22);
    color: #e11d48;
}

.btn-favorite-toggle:hover {
    box-shadow: 0 16px 34px rgba(225, 29, 72, .16);
    transform: translateY(-2px);
}

.btn-favorite-toggle:disabled {
    opacity: .65;
    transform: none;
}

@media (max-width: 767.98px) {
    .provider-card { grid-template-columns: 1fr; }
    .provider-card-media { height: 230px; }
    .detail-gallery { grid-template-columns: 1fr; }
    .detail-gallery img,
    .detail-gallery-stack img { height: 260px; }
    .amenity-grid { grid-template-columns: 1fr; }
}
