/* ==========================================================
   Property Details Page - Modern Smart Design
   ========================================================== */
.row.page-head {
    margin: 0 0 16px !important;
    padding: 0 0 14px !important;
}




/* General Page Styling */
.buy-detailview {
    background-color: #f7f6ff !important;
    padding: 20px 0;
}

/* Banner Styling */
.banner {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    object-fit: cover;
    height: auto;
    max-height: 250px;
}

/* ==========================================================
   Page Header Section
   ========================================================== */

.page-head {
    margin-bottom: 20px;
    padding: 15px 20px;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.buy-btn {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.buy-btn .buy,
.buy-btn .appartment {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

.buy-btn .buy {
    background: linear-gradient(135deg, #f38a1f 0%, #ff6a28 100%);
    color: #fff;
}

.buy-btn .appartment {
    background: linear-gradient(135deg, #4b61d1 0%, #5a73e8 100%);
    color: #fff;
}

.page-title h3 {
    font-size: 22px;
    font-weight: 800;
    color: #0d233e;
    margin: 0;
    line-height: 1.3;
}

.page-title h3 span {
    margin-left: 8px;
}

.page-title h3 img {
    width: 18px;
    height: 18px;
}

.latest-update {
    text-align: right;
}

.latest-update h5 {
    font-size: 12px;
    color: #8892a0;
    margin-bottom: 8px;
    font-weight: 600;
}

.latest-update p {
    font-size: 20px;
    font-weight: 800;
    color: #f38a1f;
    margin: 0;
}

/* ==========================================================
   Image Slider Section
   ========================================================== */

.buy-details-col {
    margin-bottom: 20px;
}

.rental-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.rental-slider .product-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
}

.slider-nav-thumbnails {
    margin-top: 12px;
}

.slider-nav-thumbnails div {
    padding: 0 5px;
}

.slider-nav-thumbnails img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-nav-thumbnails img:hover,
.slider-nav-thumbnails .slick-current img {
    border-color: #f38a1f;
    transform: scale(1.05);
}

/* ==========================================================
   Collapsible Cards
   ========================================================== */

.collapse-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f2f2f2;
    transition: all 0.3s ease;
}

.collapse-card:hover {
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

.collapse-card .card-title {
    margin-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.collapse-card .card-title a {
    font-size: 16px;
    font-weight: 800;
    color: #0d233e;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    transition: color 0.3s ease;
}

.collapse-card .card-title a:hover {
    color: #f38a1f;
}

.collapse-card .card-title a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.collapse-card .card-title a.collapsed::after {
    transform: rotate(-180deg);
}

.collapse-view {
    padding-top: 12px;
}

/* ==========================================================
   Property Details Lists
   ========================================================== */

.property-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-details li {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 500;
}

.property-details li span {
    color: #0d233e;
    font-weight: 700;
    float: right;
}

/* Property Address */
.property-address {
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-address li {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
    line-height: 1.6;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
}

.property-address li span {
    color: #0d233e;
    font-weight: 700;
}

/* Description */
.about-agent p {
    font-size: 14px;
    color: #6c757d;
    line-height: 1.8;
    margin: 0;
}

/* ==========================================================
   Sidebar Styling
   ========================================================== */

.right-sidebar {
    position: sticky;
    top: 20px;
}

/* Sidebar Cards */
.sidebar-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #f2f2f2;
}

.sidebar-card-title {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.sidebar-card-title h5 {
    font-size: 16px;
    font-weight: 800;
    color: #0d233e;
    margin: 0;
}

/* Owner Details - New Modern Design */
.owner-details-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.owner-details-card .sidebar-card-title {
    padding: 12px 15px;
    margin-bottom: 0;
    border-bottom: none;
}

.owner-details-card .sidebar-card-title h5 {
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    margin: 0;
}

.owner-details-content {
    padding: 20px 15px;
    text-align: left;
}

.owner-info-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #e5e7eb;
}

/* Owner Logo/Avatar */
.owner-logo {
    margin-bottom: 0;
    flex-shrink: 0;
}

.owner-logo a {
    display: block;
}

.owner-avatar {
    width: 120px;
    height: 70px;
    border-radius: 10px;
    object-fit: contain;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background: #ffffff;
    padding: 5px;
}

.owner-logo a:hover .owner-avatar {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-color: #f38a1f;
}

/* Company/Owner Name */
.owner-name-section {
    margin-bottom: 0px;
    padding: 0;
    flex: 1;
}

.owner-company-name {
    font-size: 15px;
    font-weight: 800;
    margin: 0;
    line-height: 1.4;
}

.owner-company-name a {
    color: #0d233e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.owner-company-name a:hover {
    color: #f38a1f;
}

.owner-footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* Property ID Section */
.property-id-section {
    margin-bottom: 0;
    text-align: left;
}

.property-id-label {
    font-size: 11px;
    font-weight: 600;
    color: #8892a0;
    margin: 0 0 2px 0;
    text-transform: uppercase;
}

.property-id-value {
    font-size: 15px;
    font-weight: 800;
    color: #0d233e;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Phone Display Section */
.phone-display-section {
    margin-top: 0;
    text-align: right;
}

.phone-number-display {
    font-size: 15px;
    font-weight: 800;
    color: #f38a1f;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.phone-number-display i {
    font-size: 14px;
    color: #f38a1f;
}

.click-to-show-text {
    font-size: 10px;
    color: #8892a0;
    margin: 4px 0 0 0;
    font-weight: 600;
}

/* Old styles kept for backward compatibility */
.user-active {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.user-img {
    flex-shrink: 0;
}

.user-img img.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.user-name h4 {
    font-size: 15px;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.user-name h4 a {
    color: #0d233e;
    text-decoration: none;
    transition: color 0.3s ease;
}

.user-name h4 a:hover {
    color: #f38a1f;
}

.user-name h6 {
    font-size: 13px;
    font-weight: 600;
    color: #f38a1f;
    margin: 0;
}

.user-name p {
    font-size: 12px;
    color: #8892a0;
    margin: 0;
}

/* List Details */
.list-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.list-details li {
    font-size: 13px;
    color: #6c757d;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-weight: 500;
}

.list-details li:last-child {
    border-bottom: none;
}

.list-details li span {
    color: #0d233e;
    font-weight: 700;
}

/* ==========================================================
   Booking Form
   ========================================================== */

.review-form {
    margin-bottom: 12px;
}

.review-form .form-control,
.review-form textarea {
    background-color: #f5f7fa;
    border: 1px solid #f5f7fa;
    border-radius: 8px;
    height: 42px;
    padding: 0 12px;
    font-size: 13px;
    color: #0d233e;
    transition: all 0.3s ease;
}

.review-form textarea {
    height: 100px;
    padding: 12px;
    resize: none;
}

.review-form .form-control:focus,
.review-form textarea:focus {
    border-color: #f38a1f;
    background-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(243, 138, 31, 0.1);
}

.submit-btn {
    margin-top: 8px;
}

.submit-btn .btn-primary,
.btn-primary {
    background: linear-gradient(135deg, #f38a1f 0%, #ff6a28 100%);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    width: 100%;
    transition: all 0.3s ease;
    cursor: pointer;
}

.submit-btn .btn-primary:hover,
.btn-primary:hover {
    background: linear-gradient(135deg, #d97914 0%, #e85a1f 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(243, 138, 31, 0.3);
}

/* Connect Buttons */
.connect-us {
    list-style: none;
    padding: 0;
    margin: 15px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.connect-us li a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.connect-us li:first-child a {
    background: #4b61d1;
    color: #fff;
}

.connect-us li:last-child a {
    background: #25D366;
    color: #fff;
}

.connect-us li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   Social Share
   ========================================================== */

.sidebar-social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.sidebar-social-links li a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f7fa;
    color: #4b61d1;
    font-size: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.sidebar-social-links li a:hover {
    background: #4b61d1;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(75, 97, 209, 0.3);
}

/* ==========================================================
   Video/Map Section
   ========================================================== */

.map iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: none;
}

/* ==========================================================
   Similar Listings Section
   ========================================================== */

.similar-list {
    margin-top: 30px;
}

.section-heading {
    text-align: center;
    margin-bottom: 25px;
}

.section-heading h2 {
    font-size: 26px;
    font-weight: 800;
    color: #0d233e;
    margin-bottom: 10px;
}

.sec-line {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.sec-line1,
.sec-line2 {
    width: 40px;
    height: 4px;
    background: #f38a1f;
    border-radius: 2px;
}

/* Similar Property Cards */
.product-custom {
    padding: 0 10px;
}

.profile-widget {
    background: #ffffff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

.profile-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.profile-widget .doc-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.profile-widget .doc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-widget:hover .doc-img img {
    transform: scale(1.1);
}

.product-amount {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.product-amount h5 {
    font-size: 14px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    border-radius: 20px;
    font-weight: 700;
    margin: 0;
    backdrop-filter: blur(4px);
}

.pro-content {
    padding: 15px;
}

.pro-content .title {
    margin-bottom: 8px;
}

.pro-content .title a {
    font-size: 16px;
    font-weight: 800;
    color: #0d233e;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.3;
}

.pro-content .title a:hover {
    color: #f38a1f;
}

.pro-content>p {
    font-size: 12px;
    color: #8892a0;
    margin-bottom: 10px;
}

.pro-content .details {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 8px;
    list-style: none;
    padding-left: 12px;
}

.pro-content .details li {
    font-size: 12px;
    color: #4b61d1;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pro-content .details li img {
    width: 14px;
    filter: invert(34%) sepia(76%) saturate(1633%) hue-rotate(218deg) brightness(89%) contrast(89%);
}

.property-category {
    list-style: none;
    padding: 0;
    margin: 0;
}

.property-category .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.property-category .user-name h6 {
    font-size: 13px;
    font-weight: 700;
    color: #f38a1f;
    margin: 0;
}

.property-category .user-name p {
    font-size: 11px;
    color: #8892a0;
    margin: 0;
}

.property-category .btn-primary {
    padding: 8px 20px;
    font-size: 12px;
}

/* ==========================================================
   Responsive Design
   ========================================================== */

/* Tablet */
@media (max-width: 991px) {
    .page-head {
        padding: 12px 15px;
    }

    .page-title h3 {
        font-size: 18px;
    }

    .latest-update {
        text-align: left;
        margin-top: 10px;
    }

    .rental-slider .product-img img {
        height: 350px;
    }

    .right-sidebar {
        position: static;
        margin-top: 20px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .banner {
        max-height: 180px;
        margin-bottom: 15px;
    }

    .page-head {
        padding: 10px 12px;
        margin-bottom: 15px;
    }

    .page-title h3 {
        font-size: 16px;
    }

    .latest-update p {
        font-size: 18px;
    }

    .rental-slider .product-img img {
        height: 250px;
    }

    .slider-nav-thumbnails img {
        height: 60px;
    }

    .collapse-card {
        padding: 12px;
        margin-bottom: 12px;
    }

    .collapse-card .card-title a {
        font-size: 14px;
    }

    .property-details li,
    .property-address li {
        font-size: 12px;
    }

    .sidebar-card {
        padding: 12px;
        margin-bottom: 12px;
    }

    .user-active {
        flex-direction: column;
        text-align: center;
    }

    /* Owner Details Card - Mobile */
    .owner-details-content {
        padding: 20px 15px;
    }

    .owner-avatar {
        width: 140px;
        height: 85px;
        border-radius: 10px;
        padding: 12px;
    }

    .owner-company-name {
        font-size: 14px;
    }

    .property-id-value {
        font-size: 16px;
    }

    .phone-number-display {
        font-size: 16px;
    }

    .phone-number-display i {
        font-size: 16px;
    }

    .click-to-show-text {
        font-size: 10px;
    }

    .map iframe {
        height: 300px;
    }

    .section-heading h2 {
        font-size: 20px;
    }

    .profile-widget .doc-img {
        height: 180px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .buy-btn {
        flex-wrap: wrap;
    }

    .property-details,
    .property-address {
        font-size: 11px;
    }

    .connect-us {
        gap: 8px;
    }

    .pro-content .details {
        flex-wrap: wrap;
        gap: 10px;
    }
}