.property-detail-header {
    padding-top: 90px;
    background: var(--bg-primary);
}

.breadcrumb {
    padding: 20px;
    background: var(--bg-secondary);
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-secondary);
    margin: 0 8px;
}

.property-detail-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.property-header {
    margin-bottom: 30px;
}

.property-share-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.share-actions {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.share-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: var(--bg-secondary);
    color: var(--text-dark);
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.share-trigger-btn i {
    color: var(--primary-color);
}

.share-trigger-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.share-menu-horizontal {
    position: relative;
}

.share-menu-popover {
    position: absolute;
    top: 46px;
    right: 0;
    min-width: 220px;
    background: var(--bg-elevated);
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(226, 232, 240, 0.7);
    padding: 12px;
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 20;
}

.share-actions.open .share-menu-popover,
.share-menu-horizontal.open .share-menu-popover {
    display: flex;
    animation: fadeInScale 0.18s ease;
}

.share-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.share-option i {
    font-size: 1.05rem;
    color: var(--primary-color);
}

.share-option:hover {
    background: rgba(221, 116, 71, 0.12);
    color: var(--primary-color);
}

.share-option:hover i {
    color: #c4613c;
}

.share-feedback {
    font-size: 0.85rem;
    color: #10b981;
    padding: 4px 8px;
    min-height: 22px;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


.property-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.property-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-light);
}

.property-gallery {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(220px, 280px));
    gap: 12px;
    margin-bottom: 40px;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
    background: #000;
}

.video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gallery-hero {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
    cursor: pointer;
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 0;
    height: 100%;
}

.gallery-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-hero:hover img {
    transform: scale(1.04);
}

.gallery-secondary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 12px;
    grid-column: 2 / 4;
    grid-row: 1 / 3;
    height: 100%;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
    cursor: pointer;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.view-all-photos {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    font-weight: 600;
}

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

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
    min-width: 0;
    width: 100%;
}

.main-content {
    padding-right: 20px;
}

.sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-card {
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    border-radius: 15px;
    padding: 25px;
    box-shadow: var(--shadow-lg);
}

/* Price Hero Section */
.price-hero {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.price-main {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1;
}

.price-period {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.price-discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
}

.price-note {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Special Offer Badge */
.special-offer-badge {
    background: rgba(221, 116, 71, 0.08);
    border-left: 3px solid rgba(221, 116, 71, 0.45);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-secondary);
    box-shadow: none;
}

.offer-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.offer-content strong {
    display: block;
    color: var(--primary-color);
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.offer-detail {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Primary CTA Button */
.cta-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #c85a2f 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 18px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(221, 116, 71, 0.3);
    transition: all 0.3s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(221, 116, 71, 0.4);
}

.cta-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.cta-content {
    flex: 1;
    text-align: left;
}

.cta-main {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    line-height: 1.2;
}

.cta-sub {
    font-size: 0.85rem;
    opacity: 0.95;
    line-height: 1.3;
}

.cta-arrow {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.trust-badge {
    flex: 1;
    min-width: fit-content;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.trust-badge i {
    color: #10b981;
    font-size: 0.9rem;
}

/* Key Features */
.key-features {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.features-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.feature-item i {
    color: var(--primary-color);
    width: 18px;
    font-size: 0.95rem;
}

/* Additional Info */
.additional-info {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-color);
}

.info-row span:first-child {
    color: var(--text-light);
}

.info-row span:last-child {
    font-weight: 600;
    color: var(--text-dark);
}

.info-note-small {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: -4px;
    margin-bottom: 8px;
    padding-left: 0;
}

.info-note {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.info-note i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Contact Info */
.contact-info {
    text-align: center;
}

.contact-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.9rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 0.95rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.booking-form input,
.booking-form select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
}

.btn-book {
    width: 100%;
    padding: 15px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-book:hover {
    background: var(--accent-dark);
}

.contact-info {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.amenities-list {
    margin-top: 20px;
}

.amenity-category {
    margin-bottom: 25px;
}

.amenity-category h3 {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.amenity-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.amenity-items li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
}

.amenity-items li i {
    color: var(--primary-color);
    font-size: 0.9rem;
}

.map-directions-link {
    margin-bottom: 16px;
}

.directions-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(221, 116, 71, 0.3);
}

.directions-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(221, 116, 71, 0.4);
}

.directions-btn:active {
    transform: translateY(0);
}

.directions-btn i {
    font-size: 1.1rem;
}

#map {
    width: 100%;
    height: 400px;
    border-radius: 15px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

#map .leaflet-container {
    border-radius: 15px;
}

.map-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-light);
}

/* Toast Container */
#toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10003;
    pointer-events: none;
}

#toast-container > * {
    pointer-events: auto;
    margin-bottom: 10px;
}

/* Notification Modal Styles */
.notification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10002;
    align-items: center;
    justify-content: center;
}

.notification-modal.visible {
    display: flex;
}

.notification-modal-content {
    background: var(--bg-elevated);
    border-radius: 15px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

.notification-modal-header {
    background: linear-gradient(135deg, #c4613c, #f0a67d);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.notification-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.notification-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.notification-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification-modal-body {
    padding: 30px;
    text-align: center;
}

.notification-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #dd7447;
}

.notification-message {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.notification-modal-footer {
    padding: 20px 30px 30px;
    text-align: center;
}

.btn-notification-ok {
    background: #dd7447;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-notification-ok:hover {
    background: #c4613c;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Photo Gallery Modal */
.photo-gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10003;
    flex-direction: column;
}

.photo-gallery-modal.visible {
    display: flex;
}

.gallery-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.8);
}

.gallery-counter {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
}

.gallery-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.gallery-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gallery-modal-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.gallery-main-image {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y pinch-zoom;
}

.gallery-track {
    display: flex;
    width: 100%;
    height: 100%;
    transform: translateX(0);
    transition: transform 0.35s ease;
}

.gallery-slide {
    flex: 0 0 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slide img {
    max-width: 100%;
    max-height: calc(100vh - 250px);
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: imageZoomIn 0.3s ease-out;
    transition: transform 0.3s ease;
}

@keyframes imageZoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gallery-nav {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 20px;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.gallery-nav:active {
    transform: scale(0.95);
}

.gallery-prev {
    left: 30px;
}

.gallery-next {
    right: 30px;
}

.gallery-thumbnails {
    display: flex;
    gap: 10px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.8);
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: center;
    flex-wrap: wrap;
    max-height: 150px;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.gallery-thumbnail {
    width: 100px;
    height: 75px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s;
    opacity: 0.6;
}

.gallery-thumbnail:hover {
    opacity: 1;
    transform: scale(1.05);
}

.gallery-thumbnail.active {
    border-color: #dd7447;
    opacity: 1;
}

@media (max-width: 768px) {
    .gallery-modal-header {
        padding: 15px 20px;
    }
    
    .gallery-counter {
        font-size: 0.9rem;
    }
    
    .gallery-close {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }
    
    .gallery-nav {
        width: 45px;
        height: 45px;
        font-size: 1.4rem;
        padding: 15px;
    }
    
    .gallery-prev {
        left: 15px;
    }
    
    .gallery-next {
        right: 15px;
    }
    
    .gallery-main-image img {
        max-height: calc(100vh - 300px);
    }
    
    .gallery-thumbnails {
        display: none;
    }
    
    .gallery-thumbnail {
        width: 80px;
        height: 60px;
        flex-shrink: 0;
    }

    .gallery-thumbnails {
        display: none;
    }
}

@media (orientation: landscape) and (max-height: 720px) {
    .gallery-modal-header {
        padding: 12px 16px;
    }

    .gallery-counter {
        font-size: 0.85rem;
    }

    .gallery-close {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .gallery-modal-body {
        padding: 12px;
    }

    .gallery-nav {
        width: 42px;
        height: 42px;
        font-size: 1.5rem;
        padding: 12px;
    }

    .gallery-prev {
        left: 12px;
    }

    .gallery-next {
        right: 12px;
    }

    .gallery-main-image {
        padding: 0;
    }

    .gallery-main-image img {
        max-height: calc(100vh - 140px);
    }

    .gallery-thumbnails {
        display: none !important;
    }
}

/* Note: Calendar styles moved to /css/components/calendar.css */

/* ============================================
   PROPERTY DESCRIPTION - OPTIMAL READABILITY
   Based on research: legibility, accessibility, UX
   ============================================ */
.property-description {
    /* Typography - Research-Based Values */
    font-size: 17px;                    /* Optimal: 16-18px for body text */
    line-height: 1.7;                   /* Optimal: 1.6-1.7 for readability */
    letter-spacing: 0.01em;             /* Slight increase for web legibility */
    color: var(--text-primary);         /* Uses theme-aware color */
    
    /* Content Width - Optimal Reading */
    max-width: 65ch;                    /* 65 characters = optimal line length */
    
    /* Smooth Reading Flow */
    font-feature-settings: "kern" 1;    /* Enable kerning */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Paragraphs - Vertical Rhythm */
.property-description p {
    margin: 0 0 1.5em 0;                /* 1.5em = 1.5x line-height for breathing room */
    line-height: inherit;
}

.property-description p:last-child {
    margin-bottom: 0;                   /* Remove margin from last paragraph */
}

/* First Paragraph - Entry Point */
.property-description p:first-of-type {
    font-size: 1.1em;                   /* Slightly larger for emphasis */
    font-weight: 500;                   /* Slightly bolder for emphasis */
}

/* Headings within Description */
.property-description h2,
.property-description h3,
.property-description h4 {
    color: var(--text-primary);
    margin: 1.8em 0 0.8em 0;            /* More space above, less below */
    line-height: 1.3;
    font-weight: 600;
}

.property-description h2 { font-size: 1.5em; }
.property-description h3 { font-size: 1.25em; }
.property-description h4 { font-size: 1.1em; }

/* Lists - Clear Hierarchy */
.property-description ul,
.property-description ol {
    margin: 1.2em 0;
    padding-left: 1.5em;
    color: var(--text-primary);
}

.property-description li {
    margin-bottom: 0.6em;               /* Breathing room between items */
    line-height: 1.6;
}

.property-description li:last-child {
    margin-bottom: 0;
}

/* Nested Lists */
.property-description ul ul,
.property-description ol ol,
.property-description ul ol,
.property-description ol ul {
    margin: 0.5em 0;
}

/* Text Emphasis */
.property-description strong,
.property-description b {
    font-weight: 600;
    color: var(--text-primary);
}

.property-description em,
.property-description i {
    font-style: italic;
}

/* Images in Description */
.property-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2em auto;                   /* Center with generous spacing */
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

@media (max-width: 1024px) {
    .property-detail-header .container {
        padding: 0 16px;
    }

    .property-detail-container {
        padding: 32px 16px;
    }

    .property-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .main-content {
        padding-right: 0;
    }

    .sidebar {
        position: static;
        margin-top: 16px;
        width: 100%;
    }

    .booking-card {
        margin: 0 auto;
        max-width: 520px;
    }

    .property-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .gallery-hero {
        grid-column: 1 / -1;
        grid-row: 1 / 2;
        min-height: 320px;
    }

    .gallery-secondary {
        grid-column: 1 / -1;
        grid-row: 2 / 3;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(160px, 1fr);
        height: auto;
    }
}

@media (max-width: 840px) {
    .gallery-hero {
        min-height: 280px;
    }

    .gallery-secondary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .property-share-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .share-trigger-btn {
        width: 100%;
        justify-content: center;
    }

    .share-menu-popover {
        top: 52px;
        left: 0;
        right: auto;
        min-width: min(260px, 90vw);
    }

    .property-header h1 {
        font-size: 1.9rem;
    }

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

    .property-gallery {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .gallery-hero {
        min-height: 240px;
    }

    .gallery-secondary {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
        height: auto;
    }

    .gallery-secondary::-webkit-scrollbar {
        height: 6px;
    }

    .gallery-secondary::-webkit-scrollbar-thumb {
        background: rgba(148, 163, 184, 0.4);
        border-radius: 999px;
    }

    .gallery-item {
        flex: 0 0 auto;
        min-width: 200px;
        height: 150px;
    }

    .property-content {
        padding: 0;
    }

    .booking-card {
        width: 100%;
        padding: 20px;
    }
}

.property-location-marker {
    width: auto !important;
    height: auto !important;
}

.property-location-marker-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 220px;
    background: #dd7447;
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 2px solid #ffffff;
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
    line-height: 1.25;
    text-align: left;
}

.property-location-marker-label span {
    display: inline;
}

/* Links (if any) */
.property-description a {
    color: var(--primary-color);
    text-decoration: underline;
    text-decoration-color: rgba(196, 97, 60, 0.3);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}

.property-description a:hover {
    color: #a04f2f;
    text-decoration-color: #a04f2f;
}

/* Mobile Optimization */
@media (max-width: 768px) {
    .property-description {
        font-size: 16px;                /* Slightly smaller on mobile */
        line-height: 1.65;              /* Tighter line-height on small screens */
        max-width: 100%;                /* Full width on mobile */
    }
    
    .property-description p:first-of-type {
        font-size: 1.05em;              /* Less dramatic size increase */
    }
    
    .property-description img {
        margin: 1.5em auto;             /* Less vertical spacing on mobile */
    }
}

/* NOTE: Dark mode styles moved to /css/dark-mode.css */
