/* ========================================
   Property Detail Page - Main Styles
   Theme: Houzez Real Estate
   Primary Color: #00A9FF
   Font: Plus Jakarta Sans
   ======================================== */

.property-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    background: #f5f5f5;
}

/* ========================================
   Breadcrumb Navigation
   ======================================== */

.breadcrumb-nav {
    margin-bottom: 25px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
    background: transparent;
}

.breadcrumb-item {
    font-size: 14px;
    color: #666;
}

.breadcrumb-item a {
    color: #00A9FF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-item a:hover {
    color: #0088cc;
    text-decoration: underline;
}

.breadcrumb-item.active {
    color: #333;
    font-weight: 500;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: '/';
    margin-right: 10px;
    color: #999;
}

/* ========================================
   Property Header Section
   ======================================== */

.property-header-section {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.property-title-wrapper {
    flex: 1;
}

.property-badges-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.property-badges-header .badge {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-featured {
    background: #00A9FF;
    color: #fff;
}

.badge-hot {
    background: #ff4757;
    color: #fff;
}

.badge-new {
    background: #2ed573;
    color: #fff;
}

.property-main-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 15px 0;
    line-height: 1.3;
}

.property-meta-info {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap;
}

.property-location-text {
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.property-location-text i {
    color: #00A9FF;
    font-size: 18px;
}

.property-id {
    font-size: 14px;
    color: #999;
    padding: 5px 12px;
    background: #f5f5f5;
    border-radius: 6px;
}

.property-price-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.property-price-large {
    font-size: 42px;
    font-weight: 800;
    color: #00A9FF;
    line-height: 1;
}

.property-action-buttons {
    display: flex;
    gap: 10px;
}

.btn-action {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
}

.btn-action:hover {
    background: #00A9FF;
    color: #fff;
    border-color: #00A9FF;
    transform: translateY(-2px);
}

.btn-favorite-detail.active {
    background: #ff4757;
    color: #fff;
    border-color: #ff4757;
}

/* ========================================
   Image Gallery Section
   ======================================== */

.property-gallery-section {
    background: #fff;
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gallery-main-image {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.gallery-main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #00A9FF;
    font-size: 24px;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.gallery-nav-btn:hover {
    background: #00A9FF;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    z-index: 10;
}

.btn-fullscreen {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #00A9FF;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 10;
}

.btn-fullscreen:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 255, 0.4);
}

.gallery-thumbnails {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

.thumbnail {
    position: relative;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.thumbnail:hover {
    border-color: #00A9FF;
    transform: translateY(-2px);
}

.thumbnail.active {
    border-color: #00A9FF;
}

/* ========================================
   Main Content Grid Layout
   ======================================== */

.property-content-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.property-main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ========================================
   Detail Sections Common Styles
   ======================================== */

.detail-section {
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* ========================================
   Overview Section
   ======================================== */

.overview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.overview-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.overview-item:hover {
    background: #e8f4ff;
    transform: translateY(-2px);
}

.overview-item i {
    font-size: 32px;
    color: #00A9FF;
}

.overview-info {
    display: flex;
    flex-direction: column;
}

.overview-label {
    font-size: 13px;
    color: #999;
    margin-bottom: 5px;
}

.overview-value {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

/* ========================================
   Description Section
   ======================================== */

.description-content {
    line-height: 1.8;
    color: #555;
}

.description-content p {
    margin: 0 0 20px 0;
    font-size: 16px;
}

.description-content p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Features Section
   ======================================== */

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-category-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #00A9FF;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #555;
}

.feature-list li i {
    color: #00A9FF;
    font-size: 16px;
}

/* ========================================
   Property Details Table
   ======================================== */

.property-details-table {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 18px 20px;
    background: #fff;
}

.detail-row:nth-child(odd) {
    background: #f8f9fa;
}

.detail-row:nth-child(even) {
    background: #fff;
}

.detail-label {
    font-size: 15px;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-size: 15px;
    color: #333;
    font-weight: 700;
}

/* ========================================
   Floor Plans Section
   ======================================== */

.floor-plans-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.floor-plan-tab {
    padding: 12px 24px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #666;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.floor-plan-tab:hover {
    border-color: #00A9FF;
    color: #00A9FF;
}

.floor-plan-tab.active {
    background: #00A9FF;
    color: #fff;
    border-color: #00A9FF;
}

.floor-plan-image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

.floor-plan-image {
    width: 100%;
    height: auto;
    display: block;
}

.floor-plan-info {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background: #f8f9fa;
    margin-top: 20px;
    border-radius: 12px;
}

.floor-plan-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #555;
    font-weight: 600;
}

.floor-plan-detail i {
    color: #00A9FF;
    font-size: 20px;
}

/* ========================================
   Video Tour Section
   ======================================== */

.video-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.video-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    transform: scale(1.02);
}

.video-placeholder i {
    font-size: 80px;
    margin-bottom: 15px;
    opacity: 0.9;
}

.video-placeholder p {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   Location Section
   ======================================== */

.location-info {
    margin-bottom: 25px;
}

.location-address {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.location-address i {
    color: #00A9FF;
    font-size: 22px;
}

.location-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.location-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    font-size: 14px;
    color: #555;
}

.location-detail-item i {
    color: #00A9FF;
    font-size: 20px;
}

.location-detail-item strong {
    color: #333;
}

.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
}

.map-placeholder {
    height: 400px;
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.map-placeholder i {
    font-size: 60px;
    margin-bottom: 10px;
    color: #00A9FF;
}

.map-placeholder p {
    font-size: 16px;
    font-weight: 600;
    margin: 0;
}

/* ========================================
   Recently Viewed / Similar Properties Section
   ======================================== */

.recently-viewed-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid #e8f4ff;
    border-radius: 16px;
    padding: 35px;
    margin-top: 35px;
}

.section-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.recently-viewed-section .section-title {
    color: #00A9FF;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.recently-viewed-section .section-title i {
    color: #00A9FF;
    font-size: 24px;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #00A9FF;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(0, 169, 255, 0.1);
}

.view-all-link:hover {
    background: #00A9FF;
    color: #fff;
    transform: translateX(5px);
}

.view-all-link i {
    transition: transform 0.3s ease;
}

.view-all-link:hover i {
    transform: translateX(3px);
}

.similar-properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.similar-property-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.similar-property-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.similar-property-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.similar-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.similar-property-card:hover .similar-property-image img {
    transform: scale(1.1);
}

.property-badges-similar {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 8px;
    z-index: 2;
}

.property-badges-similar .badge-featured {
    background: #00A9FF;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.property-badges-similar .badge-hot {
    background: #ff4757;
    color: #fff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.btn-favorite-similar {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 18px;
}

.btn-favorite-similar:hover {
    background: #ff4757;
    color: #fff;
    transform: scale(1.1);
}

.similar-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #00A9FF;
    color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}

.similar-property-content {
    padding: 20px;
}

.similar-property-price {
    font-size: 22px;
    font-weight: 800;
    color: #00A9FF;
    margin-bottom: 10px;
}

.similar-property-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 8px 0;
}

.similar-property-location {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.similar-property-features {
    display: flex;
    gap: 15px;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.feature-item-similar {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: #666;
}

.feature-item-similar i {
    color: #00A9FF;
    font-size: 16px;
}

.btn-view-similar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #00A9FF;
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-view-similar:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 255, 0.4);
}

.btn-view-similar i {
    transition: transform 0.3s ease;
}

.btn-view-similar:hover i {
    transform: translateX(3px);
}

/* ========================================
   Sidebar Styles
   ======================================== */

.property-sidebar {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.sidebar-card {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.sidebar-card-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* ========================================
   Agent Card
   ======================================== */

.agent-card-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.agent-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.agent-info-header {
    flex: 1;
}

.agent-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.agent-title {
    font-size: 13px;
    color: #999;
    margin: 0 0 8px 0;
}

.agent-rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.agent-rating i {
    color: #ffc107;
    font-size: 14px;
}

.agent-rating span {
    font-size: 13px;
    color: #666;
    margin-left: 5px;
}

.agent-contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #555;
}

.contact-info-item i {
    color: #00A9FF;
    font-size: 16px;
}

.btn-contact-agent {
    width: 100%;
    padding: 14px;
    background: #00A9FF;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.btn-contact-agent:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 255, 0.4);
}

.btn-view-profile {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #00A9FF;
    border: 2px solid #00A9FF;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-profile:hover {
    background: #00A9FF;
    color: #fff;
}

/* ========================================
   Form Styles
   ======================================== */

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    font-family: "Plus Jakarta Sans", sans-serif;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #00A9FF;
    box-shadow: 0 0 0 3px rgba(0, 169, 255, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.btn-submit-inquiry,
.btn-submit-schedule,
.btn-calculate {
    width: 100%;
    padding: 14px;
    background: #00A9FF;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-submit-inquiry:hover,
.btn-submit-schedule:hover,
.btn-calculate:hover {
    background: #0088cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 255, 0.4);
}

/* ========================================
   Tour Type Radio Options
   ======================================== */

.tour-type-options {
    display: flex;
    gap: 15px;
}

.radio-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.radio-option:hover {
    border-color: #00A9FF;
}

.radio-option input[type="radio"] {
    margin-right: 8px;
    accent-color: #00A9FF;
}

.radio-option input[type="radio"]:checked + span {
    color: #00A9FF;
    font-weight: 600;
}

/* ========================================
   Calculator Result
   ======================================== */

.calculator-result {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid #00A9FF;
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

.result-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.result-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.result-value {
    font-size: 16px;
    font-weight: 700;
    color: #00A9FF;
}

/* ========================================
   Related Properties Sidebar
   ======================================== */

.related-properties-card .sidebar-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.related-properties-card .sidebar-card-title i {
    color: #00A9FF;
    font-size: 20px;
}

.related-properties-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.related-property-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.related-property-item:hover {
    background: #e8f4ff;
    border-color: #00A9FF;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 169, 255, 0.15);
}

.related-property-image {
    position: relative;
    width: 100px;
    height: 90px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.related-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-property-item:hover .related-property-image img {
    transform: scale(1.1);
}

.related-badge-featured,
.related-badge-hot {
    position: absolute;
    top: 6px;
    left: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
    z-index: 2;
}

.related-badge-featured {
    background: #00A9FF;
}

.related-badge-hot {
    background: #ff4757;
}

.related-property-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.related-property-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-property-location {
    font-size: 12px;
    color: #999;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.related-property-location i {
    color: #00A9FF;
    font-size: 13px;
}

.related-property-price {
    font-size: 16px;
    font-weight: 800;
    color: #00A9FF;
    margin: 0 0 8px 0;
}

.related-property-features {
    display: flex;
    gap: 10px;
    font-size: 11px;
    color: #666;
}

.related-property-features span {
    display: flex;
    align-items: center;
    gap: 3px;
}

.related-property-features i {
    color: #00A9FF;
    font-size: 13px;
}

.btn-view-all-related {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: #fff;
    color: #00A9FF;
    border: 2px solid #00A9FF;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-view-all-related:hover {
    background: #00A9FF;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 169, 255, 0.4);
}

.btn-view-all-related i {
    transition: transform 0.3s ease;
}

.btn-view-all-related:hover i {
    transform: translateX(3px);
}

/* ========================================
   Recently Viewed Properties
   ======================================== */

.recently-viewed-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recently-viewed-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.recently-viewed-item:hover {
    background: #e8f4ff;
    border-color: #00A9FF;
    transform: translateX(5px);
}

.recently-viewed-thumb {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.recently-viewed-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.recently-viewed-title {
    font-size: 14px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.recently-viewed-price {
    font-size: 16px;
    font-weight: 800;
    color: #00A9FF;
    margin: 0 0 5px 0;
}

.recently-viewed-location {
    font-size: 12px;
    color: #999;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.recently-viewed-location i {
    font-size: 13px;
    color: #00A9FF;
}

/* ========================================
   Gallery Modal
   ======================================== */

.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    padding: 20px;
}

.gallery-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-content {
    width: 100%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.gallery-modal-close:hover {
    background: #fff;
    color: #000;
    transform: rotate(90deg);
}

.gallery-modal-main {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-modal-main img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

.gallery-modal-nav {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    color: #00A9FF;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gallery-modal-nav:hover {
    background: #00A9FF;
    color: #fff;
    transform: scale(1.1);
}

.gallery-modal-prev {
    left: 30px;
}

.gallery-modal-next {
    right: 30px;
}

.gallery-modal-counter {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 700;
}

.gallery-modal-thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 10px;
    max-height: 150px;
    overflow-y: auto;
    padding: 10px 0;
}

.gallery-modal-thumbnails .thumbnail {
    height: 80px;
}

/* ========================================
   Notification Styles
   ======================================== */

.notification-container {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    min-width: 300px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification.success {
    border-left: 4px solid #2ed573;
}

.notification.error {
    border-left: 4px solid #ff4757;
}

.notification.info {
    border-left: 4px solid #00A9FF;
}

.notification i {
    font-size: 20px;
}

.notification.success i {
    color: #2ed573;
}

.notification.error i {
    color: #ff4757;
}

.notification.info i {
    color: #00A9FF;
}

.notification-message {
    flex: 1;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* ========================================
   Responsive Design - Tablets
   ======================================== */

@media (max-width: 1200px) {
    .property-content-grid {
        grid-template-columns: 1fr 350px;
    }

    .overview-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .similar-properties-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .property-content-grid {
        grid-template-columns: 1fr;
    }

    .property-header-section {
        flex-direction: column;
        gap: 25px;
    }

    .property-price-actions {
        width: 100%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .property-main-title {
        font-size: 28px;
    }

    .property-price-large {
        font-size: 36px;
    }

    .gallery-main-image {
        height: 450px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(4, 1fr);
    }

    .overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .property-details-table {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .property-detail-container {
        padding: 20px 15px;
    }

    .property-header-section {
        padding: 20px;
    }

    .property-main-title {
        font-size: 24px;
    }

    .property-price-large {
        font-size: 32px;
    }

    .gallery-main-image {
        height: 350px;
    }

    .gallery-thumbnails {
        grid-template-columns: repeat(3, 1fr);
    }

    .overview-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .similar-properties-grid {
        grid-template-columns: 1fr;
    }

    .recently-viewed-section {
        padding: 25px 20px;
    }

    .section-title-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .view-all-link {
        align-self: flex-end;
    }

    .location-details-grid {
        grid-template-columns: 1fr;
    }

    .detail-section {
        padding: 20px;
    }

    .section-title {
        font-size: 20px;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-prev {
        left: 10px;
    }

    .gallery-next {
        right: 10px;
    }

    .btn-fullscreen {
        padding: 10px 16px;
        font-size: 12px;
    }
}

@media (max-width: 576px) {
    .property-badges-header {
        flex-wrap: wrap;
    }

    .property-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .property-price-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .gallery-main-image {
        height: 250px;
    }

    .thumbnail {
        height: 70px;
    }

    .overview-item {
        padding: 15px;
    }

    .overview-item i {
        font-size: 24px;
    }

    .overview-value {
        font-size: 16px;
    }

    .agent-card-header {
        flex-direction: column;
        text-align: center;
    }

    .agent-avatar-large {
        margin: 0 auto;
    }

    .gallery-modal {
        padding: 10px;
    }

    .gallery-modal-close {
        top: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .gallery-modal-nav {
        width: 45px;
        height: 45px;
        font-size: 24px;
    }

    .gallery-modal-prev {
        left: 10px;
    }

    .gallery-modal-next {
        right: 10px;
    }

    .notification {
        min-width: auto;
        width: calc(100vw - 40px);
    }

    .notification-container {
        left: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    .property-main-title {
        font-size: 20px;
    }

    .property-price-large {
        font-size: 28px;
    }

    .gallery-counter {
        font-size: 12px;
        padding: 8px 16px;
    }

    .btn-fullscreen {
        font-size: 11px;
        padding: 8px 12px;
    }

    .sidebar-card {
        padding: 20px;
    }
}

/* ========================================
   Print Styles
   ======================================== */

@media print {
    .property-action-buttons,
    .gallery-nav-btn,
    .btn-fullscreen,
    .breadcrumb-nav,
    .property-sidebar,
    .similar-properties-section {
        display: none !important;
    }

    .property-detail-container {
        padding: 0;
    }

    .detail-section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}
