/**
 * Hlíf Orlofshús Single Property Element
 * Nordic Professional Design System
 */

.hlif-property-single-wrap {
    width: 100%;
    margin: 20px 0 48px 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
}

/* ==========================================================================
   1. KEY INFO HIGHLIGHTS BAR
   ========================================================================== */

.hlif-prop-highlights-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    background: #f8fafc;
    border: 1px solid #c1c7d1;
    border-radius: 8px;
    padding: 18px 24px;
    margin-bottom: 32px;
}

.hlif-prop-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hlif-prop-highlight-icon {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: #f0f7fb;
    color: #0f6096;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #bae6fd;
}

.hlif-prop-highlight-content {
    display: flex;
    flex-direction: column;
}

.hlif-prop-highlight-label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
    margin-bottom: 2px;
}

.hlif-prop-highlight-val {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
}

/* ==========================================================================
   2. TWO COLUMN SPLIT LAYOUT
   ========================================================================== */

.hlif-prop-split-layout {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

/* Left Column: Description & Details (65%) */
.hlif-prop-main-content {
    flex: 1 1 64%;
    min-width: 0;
}

.hlif-prop-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.hlif-prop-section-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0f6096;
    margin: 0 0 18px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hlif-prop-section-title svg {
    color: #0f6096;
}

.hlif-prop-desc-text {
    font-size: 15.5px;
    line-height: 1.7;
    color: #334155;
}

.hlif-prop-desc-text p {
    margin-bottom: 16px;
}

.hlif-prop-desc-text p:last-child {
    margin-bottom: 0;
}

/* Amenities Checklist Grid */
.hlif-prop-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 20px;
    margin-top: 16px;
}

.hlif-prop-amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: #334155;
    font-family: 'Inter', sans-serif;
}

.hlif-prop-amenity-item svg {
    color: #0f6096;
    flex-shrink: 0;
}

/* House Rules & Checklist */
.hlif-prop-rules-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hlif-prop-rules-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 14.5px;
    line-height: 1.6;
    color: #334155;
}

.hlif-prop-rules-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0f6096;
    font-weight: 800;
    font-size: 15px;
}

/* ==========================================================================
   3. RIGHT COLUMN: STICKY BOOKING CARD & MAP (35%)
   ========================================================================== */

.hlif-prop-sidebar {
    flex: 1 1 36%;
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Booking Card */
.hlif-prop-booking-card {
    background: #ffffff;
    border: 1px solid #c1c7d1;
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.hlif-prop-price-tag {
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.hlif-prop-price-label {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
}

.hlif-prop-price-val {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0f6096;
    margin-top: 4px;
}

.hlif-prop-book-btn-wrap {
    margin-bottom: 18px;
}

.hlif-prop-book-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 20px;
    background: #0f6096;
    color: #ffffff !important;
    border: 1px solid #0f6096;
    border-radius: 4px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(15, 96, 150, 0.25);
    text-align: center;
    gap: 8px;
}

.hlif-prop-book-btn:hover {
    background: #0b456c;
    border-color: #0b456c;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(11, 69, 108, 0.35);
    transform: translateY(-1px);
}

.hlif-prop-contact-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
}

.hlif-prop-contact-box a {
    color: #0f6096;
    font-weight: 600;
    text-decoration: none;
}

.hlif-prop-contact-box a:hover {
    text-decoration: underline;
}

/* Single Property Location Map Card */
.hlif-prop-map-card {
    background: #ffffff;
    border: 1px solid #c1c7d1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.hlif-prop-map-header {
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.hlif-prop-map-title {
    font-family: 'Hanken Grotesk', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 2px 0;
}

.hlif-prop-map-address {
    font-size: 12.5px;
    color: #64748b;
    margin: 0;
}

.hlif-prop-map-container {
    width: 100%;
    height: 260px;
}

.hlif-prop-map-footer {
    padding: 12px 18px;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
}

.hlif-prop-map-dir-btn {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    color: #0f6096;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.hlif-prop-map-dir-btn:hover {
    color: #0b456c;
    text-decoration: underline;
}

/* Custom Single Marker Pin */
.hlif-single-pin-bubble {
    background: #0f6096;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 700;
    font-family: 'IBM Plex Sans', sans-serif;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Back Link Button */
.hlif-prop-back-nav {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.hlif-prop-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 13.5px;
    font-weight: 600;
    color: #0f6096;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hlif-prop-back-btn:hover {
    color: #0b456c;
    text-decoration: underline;
}

/* ==========================================================================
   4. RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 989px) {
    .hlif-prop-split-layout {
        flex-direction: column;
    }

    .hlif-prop-main-content,
    .hlif-prop-sidebar {
        width: 100%;
        position: relative;
        top: 0;
    }

    .hlif-prop-map-container {
        height: 280px;
    }

    .hlif-prop-highlights-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hlif-prop-highlights-bar {
        grid-template-columns: 1fr;
    }

    .hlif-prop-amenities-grid {
        grid-template-columns: 1fr;
    }

    .hlif-prop-section {
        padding: 20px 18px;
    }
}
