.flatmate-single-page {
    background: #f5f8fb;
    min-height: 100vh;
    padding-bottom: 80px;
}

.flatmate-single-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.flatmate-single-hero {
    padding: 40px 0 30px;
}

.flatmate-breadcrumb {
    margin-bottom: 20px;
    color: #667085;
    font-size: 14px;
}

.flatmate-breadcrumb a {
    color: #667085;
    text-decoration: none;
}

.flatmate-single-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

.flatmate-single-title-row h1 {
    font-size: 42px;
    margin: 10px 0;
    color: #1f2937;
}

.flatmate-location {
    color: #6b7280;
    margin: 0;
}

.flatmate-status-pill {
    display: inline-block;
    background: #e8f7ee;
    color: #198754;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
}

.flatmate-price-box {
    background: white;
    padding: 20px;
    border-radius: 16px;
    min-width: 220px;
    box-shadow: 0 8px 25px rgba(0,0,0,.06);
}

.flatmate-price-box span {
    display: block;
    color: #6b7280;
    margin-bottom: 6px;
}

.flatmate-price-box strong {
    font-size: 32px;
    color: #c92b2b;
}

.flatmate-single-layout {
    display: grid;
    grid-template-columns: 2fr 380px;
    gap: 30px;
}

.flatmate-main-image {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}

.flatmate-main-image-placeholder {
    height: 520px;
    background: #edf2f7;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flatmate-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
    margin-top: 12px;
}

.flatmate-gallery-grid img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
}

.flatmate-card-section {
    background: white;
    padding: 28px;
    border-radius: 18px;
    margin-top: 24px;
    box-shadow: 0 8px 25px rgba(0,0,0,.05);
}

.flatmate-card-section h2 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #111827;
}

.flatmate-content {
    line-height: 1.8;
    color: #4b5563;
}

.flatmate-details-grid {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 18px;
}

.flatmate-details-grid div {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
}

.flatmate-details-grid span {
    display: block;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 6px;
}

.flatmate-details-grid strong {
    color: #111827;
}

.flatmate-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.flatmate-amenities span {
    background: #eef2ff;
    color: #3730a3;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
}

.flatmate-contact-card {
    background: white;
    padding: 24px;
    border-radius: 18px;
    position: sticky;
    top: 30px;
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.flatmate-sidebar-price {
    margin-bottom: 25px;
}

.flatmate-sidebar-price span {
    display: block;
    color: #6b7280;
    margin-bottom: 5px;
}

.flatmate-sidebar-price strong {
    font-size: 34px;
    color: #c92b2b;
}

.flatmate-owner-info {
    margin-bottom: 25px;
}

.flatmate-owner-info h3 {
    margin-top: 0;
}

.flatmate-whatsapp-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #25D366;
    color: white !important;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
    margin-bottom: 12px;
}

.flatmate-back-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #f3f4f6;
    color: #111827 !important;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none !important;
    font-weight: 700;
}

@media(max-width:1024px){

    .flatmate-single-layout{
        grid-template-columns:1fr;
    }

    .flatmate-single-sidebar{
        order:-1;
    }

    .flatmate-contact-card{
        position:relative;
        top:auto;
    }
}

@media(max-width:768px){

    .flatmate-single-title-row{
        flex-direction:column;
    }

    .flatmate-single-title-row h1{
        font-size:32px;
    }

    .flatmate-gallery-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .flatmate-details-grid{
        grid-template-columns:1fr;
    }

    .flatmate-main-image{
        height:300px;
    }
}

.flatmate-quick-facts {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid #edf0f3;
}

.flatmate-quick-facts h4 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 17px;
}

.flatmate-quick-facts p {
    margin: 10px 0;
    color: #374151;
    font-weight: 600;
}
.flatmate-gallery-thumb {
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
}

.flatmate-gallery-thumb:hover,
.flatmate-gallery-thumb.is-active {
    border-color: #c92b2b;
    transform: translateY(-2px);
}