/**
 * Property Landing Builder - Frontend Styles
 */

/* CSS Custom Properties (defaults - overridden by theme) */
:root {
    --page-background: #ffffff;
    --heading-color: #0f0f0f;
    --sub-heading-color: #6b6b6b;
    --body-text-color: #6b6b6b;
    --primary-button-background: #0f0f0f;
    --primary-button-text: #ffffff;
    --secondary-button-background: #ffffff;
    --secondary-button-text: #0f0f0f;
    --link-color: #0f0f0f;
    --icon-color: #6b6b6b;
    --border-color: #e5e5e5;
    --accent-color: #0f0f0f;
    --heading-font: 'Inter', sans-serif;
    --body-font: 'Inter', sans-serif;
    --heading-weight: 600;
    --body-weight: 400;
    --section-gap: 64px;
    --tile-gap: 24px;
    --content-padding: 24px;
    --border-radius: 24px;
}

/* Blank Template - Remove WordPress theme styles */
body.plb-blank-template {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

body.plb-blank-template #wpadminbar {
    position: fixed;
}

/* Base Styles */
.plb-page {
    background-color: var(--page-background);
    color: var(--body-text-color);
    font-family: var(--body-font);
    font-weight: var(--body-weight);
    line-height: 1.6;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

/* Header */
.plb-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--page-background);
    border-bottom: 1px solid var(--border-color);
    height: 80px;
}

.plb-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.plb-header-brand {
    position: absolute;
    left: 24px;
}

.plb-header-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Header Actions */
.plb-header-actions {
    position: absolute;
    right: 24px;
}

.plb-header-logo {
    max-height: 40px;
    width: auto;
}

.plb-header-title {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    font-size: 16px;
    color: var(--heading-color);
}

/* Navigation */
.plb-nav {
    display: none;
}

@media (min-width: 768px) {
    .plb-nav {
        display: block;
    }
    
    /* Show hamburger menu on tablets when there are many nav items */
    .plb-nav.plb-nav-many-items {
        display: none;
    }
    
    .plb-nav.plb-nav-many-items.is-open {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--page-background);
        border-bottom: 1px solid var(--border-color);
        padding: 16px 24px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .plb-nav.plb-nav-many-items.is-open .plb-nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .plb-nav.plb-nav-many-items.is-open .plb-nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .plb-nav.plb-nav-many-items.is-open .plb-nav-item:last-child .plb-nav-link {
        border-bottom: none;
    }
    
    .plb-mobile-menu-toggle.plb-tablet-menu-toggle {
        display: flex;
    }
}

.plb-nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.plb-nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--body-text-color);
    text-decoration: none;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.plb-nav-link:hover,
.plb-nav-link.is-active {
    color: var(--heading-color);
    border-bottom-color: var(--accent-color);
}

/* Header Actions */
.plb-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plb-contact-btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    background-color: var(--secondary-button-background);
    color: var(--secondary-button-text);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.plb-contact-btn:hover {
    background-color: var(--border-color);
}

/* Mobile Menu Toggle */
.plb-mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

@media (min-width: 768px) {
    .plb-mobile-menu-toggle {
        display: none;
    }
}

.plb-hamburger {
    position: relative;
    width: 24px;
    height: 2px;
    background-color: var(--heading-color);
    transition: all 0.3s ease;
}

.plb-hamburger::before,
.plb-hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background-color: var(--heading-color);
    transition: all 0.3s ease;
}

.plb-hamburger::before {
    top: -7px;
}

.plb-hamburger::after {
    bottom: -7px;
}

.plb-mobile-menu-toggle[aria-expanded="true"] .plb-hamburger {
    background-color: transparent;
}

.plb-mobile-menu-toggle[aria-expanded="true"] .plb-hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.plb-mobile-menu-toggle[aria-expanded="true"] .plb-hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .plb-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--page-background);
        border-bottom: 1px solid var(--border-color);
        padding: 16px 24px;
        display: none;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .plb-nav.is-open {
        display: block;
    }
    
    .plb-nav-list {
        flex-direction: column;
        gap: 0;
    }
    
    .plb-nav-link {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .plb-nav-item:last-child .plb-nav-link {
        border-bottom: none;
    }
    
    .plb-header-actions {
        display: none;
    }

    /* Stack half-width tiles on mobile - always full width */
    .plb-tile-row {
        flex-direction: column;
        gap: 32px;
    }

    .plb-tile-half {
        max-width: 100% !important;
    }
    
    /* Force booking tiles to full width on mobile */
    .plb-tile-row .plb-tile-booking {
        flex: 1 1 100%;
        max-width: 100%;
    }
    
    .plb-tile-row .plb-tile-booking .plb-booking-widget {
        max-width: 100%;
        width: 100%;
        margin: 0;
    }
}

/* Sticky Header States */
.plb-header.is-scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.plb-header.is-hidden {
    transform: translateY(-100%);
}

.plb-header {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Main Content */
.plb-main {
    padding-top: 80px;
}

.plb-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Tiles */
.plb-tile {
    margin-bottom: var(--section-gap);
    scroll-margin-top: 100px;
}

/* Tile Heading */
.plb-tile-heading {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    font-size: 28px;
    color: var(--heading-color);
    margin: 0 0 24px;
    line-height: 1.2;
}

/* Tile Row for Half-Width Tiles */
.plb-tile-row {
    display: flex;
    gap: var(--section-gap);
    margin-bottom: var(--section-gap);
}

.plb-tile-row .plb-tile {
    flex: 1;
    min-width: 0;
    margin-bottom: 0;
}

/* Tiles with calendar-only booking widgets can shrink to fit content */
.plb-tile-row .plb-tile.plb-tile-calendar-only {
    flex: 0 1 auto;
    min-width: min-content;
    display: flex;
    flex-direction: column;
}

/* Align tile content based on position */
.plb-tile-row .plb-tile.plb-tile-calendar-only:first-child {
    align-items: flex-start;
    margin-right: auto;
}

.plb-tile-row .plb-tile.plb-tile-calendar-only:last-child,
.plb-tile-row .plb-tile.plb-tile-calendar-only:nth-child(2) {
    align-items: flex-end;
    margin-left: auto;
    margin-right: 0;
}

/* Center the heading for booking tiles (only when full-width) */
.plb-tile-booking:not(.plb-tile-half) .plb-tile-heading {
    text-align: center;
}

/* Center the booking widget container (only when full-width) */
.plb-tile-booking:not(.plb-tile-half) .plb-booking-widget {
    margin-left: auto;
    margin-right: auto;
}

/* When booking tile is in a row, center heading over the calendar */
.plb-tile-row .plb-tile-booking.plb-tile-calendar-only .plb-tile-heading {
    text-align: center;
    width: 100%;
}

/* Align the booking widget container to the right for second tile */
.plb-tile-row .plb-tile-booking.plb-tile-calendar-only:last-child .plb-booking-widget,
.plb-tile-row .plb-tile-booking.plb-tile-calendar-only:nth-child(2) .plb-booking-widget {
    margin-left: auto;
    margin-right: 0;
}

/* Align the booking widget container to the left for first tile */
.plb-tile-row .plb-tile-booking.plb-tile-calendar-only:first-child .plb-booking-widget {
    margin-left: 0;
    margin-right: auto;
}

/* Adjacent tiles can grow to fill available space */
.plb-tile-row .plb-tile.plb-tile-calendar-only + .plb-tile,
.plb-tile-row .plb-tile:has(+ .plb-tile.plb-tile-calendar-only) {
    flex: 1 1 auto;
    max-width: calc(100% - 100px);
}

/* Half-Width Tile (when not in a row) */
.plb-tile-half {
    max-width: calc(50% - var(--section-gap) / 2);
}

/* Gallery */
.plb-gallery {
    border-radius: var(--border-radius);
    overflow: hidden;
    width: 100%;
}

/* Carousel Layout */
.plb-gallery-carousel {
    position: relative;
    display: block;
    width: 100%;
    height: 500px;
}

/* Brickwork Layout */
.plb-gallery-brickwork .plb-gallery-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 2px;
    min-height: 400px;
}

.plb-gallery-brickwork .plb-gallery-item {
    position: relative;
}

.plb-gallery-brickwork .plb-gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* Hide images after 5th in brickwork */
.plb-gallery-brickwork .plb-gallery-item:nth-child(n+6) {
    display: none;
}

/* View Gallery overlay for 5th image in brickwork */
.plb-gallery-brickwork .plb-gallery-item:nth-child(5)::after {
    content: 'View Gallery →';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 5;
}

.plb-gallery-brickwork .plb-gallery-item:nth-child(5):hover::after {
    opacity: 1;
}

/* Hero with Thumbnails Layout */
.plb-gallery-hero-thumbnails .plb-gallery-track {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 2px;
    min-height: 500px;
}

.plb-gallery-hero-thumbnails .plb-gallery-item {
    position: relative;
}

.plb-gallery-hero-thumbnails .plb-gallery-item:first-child {
    grid-row: span 2;
}

/* Hide images after 3rd in hero-thumbnails */
.plb-gallery-hero-thumbnails .plb-gallery-item:nth-child(n+4) {
    display: none;
}

/* View Gallery overlay for 3rd image in hero-thumbnails */
.plb-gallery-hero-thumbnails .plb-gallery-item:nth-child(3)::after {
    content: 'View Gallery →';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
    z-index: 5;
}

.plb-gallery-hero-thumbnails .plb-gallery-item:nth-child(3):hover::after {
    opacity: 1;
}

/* Gallery Images - Responsive Image Handling
   Requirement 12.4: Serve appropriately sized images based on viewport */
.plb-gallery-item img,
.plb-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: transform 1500ms ease, filter 1500ms ease;
    /* Prevent layout shift with aspect ratio */
    aspect-ratio: auto;
}

.plb-gallery-item img:hover,
.plb-gallery-image:hover {
    transform: scale(1.08);
    filter: brightness(0.7);
}

/* Ensure images don't exceed container */
.plb-gallery-item {
    overflow: hidden;
}

/* Responsive image container for proper sizing */
.plb-gallery-brickwork .plb-gallery-item {
    min-height: 200px;
}

.plb-gallery-hero-thumbnails .plb-gallery-item {
    min-height: 240px;
}

/* Gallery Navigation */
.plb-gallery-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    height: 100%;
    width: 100%;
}

.plb-gallery-track::-webkit-scrollbar {
    display: none;
}

.plb-gallery-carousel .plb-gallery-item {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 100%;
}

.plb-gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.plb-gallery-nav:hover,
.plb-gallery-nav:focus,
.plb-gallery-nav:active {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.plb-gallery-nav:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.plb-gallery-prev {
    left: 16px;
}

.plb-gallery-next {
    right: 16px;
}

.plb-gallery-nav .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--heading-color);
}

.plb-gallery-nav:hover .dashicons,
.plb-gallery-nav:focus .dashicons,
.plb-gallery-nav:active .dashicons {
    color: var(--heading-color);
}

.plb-gallery-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.plb-gallery-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
}

.plb-gallery-dot:hover,
.plb-gallery-dot.is-active {
    background: #ffffff;
    transform: scale(1.3);
}

/* Headline */
.plb-headline {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    color: var(--heading-color);
    margin: 0;
    line-height: 1.2;
}

h1.plb-headline {
    font-size: 40px;
}

h2.plb-headline {
    font-size: 32px;
}

h3.plb-headline {
    font-size: 24px;
}

/* Headline responsive sizes handled in responsive section below */

/* Description */
.plb-description {
    max-width: 800px;
}

/* Description Header (Property Type in City) */
.plb-description-header {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sub-heading-color);
    margin-bottom: 8px;
}

/* Description Title (Property Name) */
.plb-description-title {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    font-size: 32px;
    color: var(--heading-color);
    margin: 0 0 12px;
    line-height: 1.2;
}

/* Description Summary (Space Details) */
.plb-description-summary {
    font-size: 16px;
    color: var(--body-text-color);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* Description Content */
.plb-description-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--body-text-color);
}

.plb-description-content p {
    margin-bottom: 1em;
}

.plb-read-more {
    background: none;
    border: none;
    color: var(--link-color);
    font-size: 16px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    margin-top: 16px;
}

/* Space Details */
.plb-space-details-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.plb-space-details-summary {
    font-size: 16px;
    color: var(--body-text-color);
    line-height: 1.5;
}

.plb-space-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    font-size: 14px;
    color: var(--body-text-color);
}

.plb-detail-item {
    display: flex;
    align-items: center;
    gap: 4px;
}

.plb-detail-item:not(:last-child)::after {
    content: '•';
    margin-left: 16px;
    color: var(--border-color);
}

.plb-detail-value {
    font-weight: 500;
    color: var(--heading-color);
}

/* Room Details */
.plb-room-details {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 8px;
}

.plb-room-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    gap: 12px;
}

.plb-room-name {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--sub-heading-color);
}

.plb-room-icon {
    color: var(--icon-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.plb-room-icon svg {
    width: 48px;
    height: 48px;
}

.plb-room-beds {
    font-size: 16px;
    color: var(--body-text-color);
    line-height: 1.4;
}

.plb-room-size {
    font-size: 14px;
    color: var(--sub-heading-color);
}

/* Check-in/Check-out */
.plb-checkin-checkout {
    display: flex;
    gap: 48px;
    padding: var(--content-padding);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
}

.plb-time-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.plb-time-label {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sub-heading-color);
}

.plb-time-value {
    font-size: 24px;
    font-weight: var(--heading-weight);
    color: var(--heading-color);
}

.plb-checkin-instructions {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
    font-size: 14px;
}

/* Amenities */
.plb-amenities {
    padding: var(--content-padding);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
}

.plb-section-title {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    font-size: 24px;
    color: var(--heading-color);
    margin: 0 0 24px;
}

.plb-amenities-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plb-amenities-grid .plb-amenities-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Amenities responsive grid handled in responsive section below */

.plb-amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 0;
}

.plb-amenity-icon {
    color: var(--icon-color);
    font-size: 20px;
}

.plb-amenity-name {
    font-size: 15px;
}

/* House Rules */
.plb-house-rules {
    padding: var(--content-padding);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
}

.plb-rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.plb-rule-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.plb-rule-item:last-child {
    border-bottom: none;
}

.plb-rule-icon {
    color: var(--icon-color);
    font-size: 18px;
    flex-shrink: 0;
}

.plb-rule-text {
    font-size: 14px;
    line-height: 1.5;
}

/* Cancellation Policy */
.plb-cancellation {
    padding: var(--content-padding);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
}

.plb-policy-text {
    font-size: 14px;
    line-height: 1.8;
}

/* About */
.plb-about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding: var(--content-padding);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
}

.plb-about-left,
.plb-about-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.plb-about-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--body-text-color);
}

.plb-about-icon {
    color: var(--icon-color);
    font-size: 20px;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.plb-about-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plb-about-icon svg {
    width: 100%;
    height: 100%;
}

.plb-about-icon-airbnb {
    color: #FF5A5F;
}

.plb-about-icon-vrbo {
    color: #003B95;
}

.plb-about-icon-booking {
    color: #003580;
}

.plb-about-icon-expedia {
    color: #FFCB00;
}

.plb-about-icon-stripe {
    color: #635BFF;
}

.plb-about-label {
    color: var(--body-text-color);
}

.plb-about-link {
    color: var(--link-color);
    text-decoration: underline;
    cursor: pointer;
}

.plb-about-link:hover {
    opacity: 0.8;
}

.plb-about-link .dashicons-external {
    font-size: 12px;
    width: 12px;
    height: 12px;
    margin-left: 2px;
}

.plb-about .plb-contact-btn {
    margin-top: 8px;
    width: fit-content;
}

/* Contact Modal */
.plb-contact-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.plb-contact-modal.is-open {
    display: flex;
}

.plb-contact-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.plb-contact-modal-content {
    position: relative;
    background: var(--page-background);
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: plb-modal-slide-up 0.3s ease;
}

@keyframes plb-modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.plb-contact-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 32px;
    line-height: 1;
    color: var(--body-text-color);
    cursor: pointer;
    padding: 4px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.plb-contact-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

.plb-contact-modal-title {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    font-size: 24px;
    color: var(--heading-color);
    margin: 0 0 24px;
}

.plb-contact-modal-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.plb-contact-option {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.plb-contact-option-icon {
    font-size: 32px;
    line-height: 1;
    flex-shrink: 0;
}

.plb-contact-option-content {
    flex: 1;
    min-width: 0;
}

.plb-contact-option-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sub-heading-color);
    margin-bottom: 4px;
}

.plb-contact-option-value {
    font-size: 16px;
    font-weight: 500;
    color: var(--heading-color);
    margin-bottom: 12px;
    word-break: break-all;
}

.plb-contact-option-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.plb-contact-option-actions .plb-btn {
    padding: 8px 16px;
    font-size: 14px;
}

/* Links */
.plb-links-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.plb-link-item a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--link-color);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.plb-link-item a:hover {
    text-decoration: underline;
}

.plb-external-icon {
    font-size: 12px;
    opacity: 0.7;
}

/* Map */
.plb-map {
    padding: var(--content-padding);
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--border-radius);
}

.plb-map-container {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
}

#plb-map-canvas {
    width: 100%;
    height: 100%;
}

.plb-map-address {
    font-size: 14px;
    color: var(--sub-heading-color);
    margin: 0;
}

/* Booking Widget */
.plb-booking-widget {
    padding: var(--content-padding);
    background: var(--page-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
}

/* Calendar-only widget in half-width tiles - compact layout */
.plb-tile-row .plb-tile .plb-booking-widget.plb-booking-calendar-only {
    max-width: fit-content;
    width: fit-content;
    margin: 0;
}

.plb-booking-placeholder,
.plb-booking-notice {
    padding: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 12px;
}

/* Buttons */
.plb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.plb-btn-primary {
    background-color: var(--primary-button-background);
    color: var(--primary-button-text);
    border: none;
}

.plb-btn-primary:hover {
    opacity: 0.9;
}

.plb-btn-secondary {
    background-color: var(--secondary-button-background);
    color: var(--secondary-button-text);
    border: 1px solid var(--border-color);
}

.plb-btn-secondary:hover {
    background-color: var(--border-color);
}

/* Lightbox Modal */
.plb-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.plb-lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.plb-lightbox-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
}

.plb-lightbox-modal {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 80px 20px 40px;
    overflow-y: auto;
}

.plb-lightbox-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1002;
    background: rgba(255, 255, 255, 0.98);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.plb-lightbox-title {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    font-size: 24px;
    color: var(--heading-color);
    margin: 0;
    line-height: 1.3;
}

.plb-lightbox-subtitle {
    font-size: 14px;
    color: var(--sub-heading-color);
    margin: 4px 0 0;
}

.plb-lightbox-close {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1003;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    color: var(--heading-color);
    font-size: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    line-height: 1;
}

.plb-lightbox-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

.plb-lightbox-content {
    width: 100%;
    max-width: 1200px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 20px;
    grid-auto-rows: auto;
}

.plb-lightbox-content::-webkit-scrollbar {
    width: 10px;
}

.plb-lightbox-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 5px;
}

.plb-lightbox-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

.plb-lightbox-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.plb-lightbox-image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.02);
    position: relative;
}

.plb-lightbox-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.plb-lightbox-image-wrapper:hover .plb-lightbox-image {
    transform: scale(1.02);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   Requirements: 12.1, 12.2, 12.3
   - Mobile single-column layout (< 768px)
   - Tablet adaptive layout (768px - 1023px)
   - Desktop full layout (>= 1024px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   Mobile First Base Styles (< 768px)
   Requirement 12.1: Mobile single-column layout
   -------------------------------------------------------------------------- */

/* Mobile Container */
.plb-container {
    padding: 0 16px;
}

.plb-header-container {
    padding: 0 16px;
    justify-content: space-between;
}

.plb-header-brand {
    position: static;
}

.plb-header-actions {
    position: static;
}

/* Mobile Header */
.plb-header {
    height: 64px;
}

.plb-header-title {
    font-size: 14px;
}

.plb-header-logo {
    max-height: 32px;
}

/* Mobile Main Content */
.plb-main {
    padding-top: 64px;
}

/* Mobile Tiles - Single Column */
.plb-tile {
    margin-bottom: 32px;
    scroll-margin-top: 80px;
}

/* Mobile Tile Heading */
.plb-tile-heading {
    font-size: 22px;
    margin-bottom: 16px;
}

/* Mobile Gallery - Use carousel format for all layouts */
.plb-gallery {
    border-radius: 16px;
}

.plb-gallery-carousel {
    height: 300px;
}

/* Mobile Gallery - Convert brickwork and hero to carousel on mobile only */
@media (max-width: 767px) {
    /* Convert brickwork to carousel on mobile */
    .plb-gallery-brickwork {
        position: relative;
        display: block;
        width: 100%;
        height: 300px;
    }

    .plb-gallery-brickwork .plb-gallery-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        height: 100%;
        width: 100%;
    }

    .plb-gallery-brickwork .plb-gallery-track::-webkit-scrollbar {
        display: none;
    }

    .plb-gallery-brickwork .plb-gallery-item {
        flex: 0 0 100%;
        scroll-snap-align: start;
        height: 100%;
        display: block;
    }

    .plb-gallery-brickwork .plb-gallery-item:first-child {
        grid-column: auto;
        grid-row: auto;
    }

    /* Hide "View Gallery" overlay on mobile since all images are in carousel */
    .plb-gallery-brickwork .plb-gallery-item:nth-child(5)::after {
        display: none;
    }

    /* Convert hero-thumbnails to carousel on mobile */
    .plb-gallery-hero-thumbnails {
        position: relative;
        display: block;
        width: 100%;
        height: 300px;
    }

    .plb-gallery-hero-thumbnails .plb-gallery-track {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        height: 100%;
        width: 100%;
    }

    .plb-gallery-hero-thumbnails .plb-gallery-track::-webkit-scrollbar {
        display: none;
    }

    .plb-gallery-hero-thumbnails .plb-gallery-item {
        flex: 0 0 100%;
        scroll-snap-align: start;
        height: 100%;
        display: block;
        min-height: auto;
    }

    .plb-gallery-hero-thumbnails .plb-gallery-item:first-child {
        grid-row: auto;
    }

    /* Hide "View Gallery" overlay on mobile */
    .plb-gallery-hero-thumbnails .plb-gallery-item:nth-child(3)::after {
        display: none;
    }

    /* Adjust overlay font size for mobile */
    .plb-gallery-brickwork .plb-gallery-item:nth-child(5)::after,
    .plb-gallery-hero-thumbnails .plb-gallery-item:nth-child(3)::after {
        font-size: 14px;
    }
}

.plb-gallery-nav {
    width: 32px;
    height: 32px;
}

.plb-gallery-nav .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

.plb-gallery-prev {
    left: 8px;
}

.plb-gallery-next {
    right: 8px;
}

/* Mobile Headlines */
h1.plb-headline {
    font-size: 28px;
}

h2.plb-headline {
    font-size: 24px;
}

h3.plb-headline {
    font-size: 20px;
}

/* Mobile Description */
.plb-description-header {
    font-size: 11px;
    margin-bottom: 6px;
}

.plb-description-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.plb-description-summary {
    font-size: 14px;
    margin-bottom: 16px;
}

.plb-description-content {
    font-size: 15px;
    line-height: 1.7;
}

/* Mobile Space Details */
.plb-space-details-summary {
    font-size: 14px;
}

.plb-space-details {
    flex-direction: column;
    gap: 8px;
}

.plb-detail-item:not(:last-child)::after {
    display: none;
}

/* Mobile Room Details - Compact horizontal layout (mobile only) */
@media (max-width: 767px) {
    .plb-room-details {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .plb-room-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 16px;
        border-radius: 12px;
        gap: 16px;
    }

    .plb-room-icon {
        flex-shrink: 0;
    }

    .plb-room-icon svg {
        width: 32px;
        height: 32px;
    }

    .plb-room-name {
        font-size: 11px;
        margin-bottom: 4px;
    }

    .plb-room-beds {
        font-size: 14px;
    }

    .plb-room-size {
        font-size: 13px;
    }
}

/* Mobile Check-in/Check-out */
.plb-checkin-checkout {
    flex-direction: column;
    gap: 24px;
    padding: 20px;
    border-radius: 16px;
}

.plb-time-value {
    font-size: 20px;
}

/* Mobile Amenities */
.plb-amenities {
    padding: 20px;
    border-radius: 16px;
}

.plb-amenities-grid .plb-amenities-list {
    grid-template-columns: 1fr;
    gap: 12px;
}

.plb-section-title {
    font-size: 20px;
    margin-bottom: 16px;
}

/* Mobile House Rules */
.plb-house-rules {
    padding: 20px;
    border-radius: 16px;
}

/* Mobile Cancellation */
.plb-cancellation {
    padding: 20px;
    border-radius: 16px;
}

/* Mobile About */
.plb-about {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 20px;
    border-radius: 16px;
}

/* Mobile Contact Modal */
.plb-contact-modal-content {
    padding: 24px;
    width: 95%;
}

.plb-contact-modal-title {
    font-size: 20px;
    margin-bottom: 20px;
}

.plb-contact-option {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
}

.plb-contact-option-icon {
    font-size: 28px;
}

.plb-contact-option-actions {
    flex-direction: column;
}

.plb-contact-option-actions .plb-btn {
    width: 100%;
}

/* Mobile Links */
.plb-links-list {
    flex-direction: column;
    gap: 12px;
}

/* Mobile Map */
.plb-map {
    padding: 20px;
    border-radius: 16px;
}

.plb-map-container {
    height: 250px;
    border-radius: 8px;
}

/* Mobile Booking Widget */
.plb-booking-widget {
    padding: 16px;
    border-radius: 16px;
}

/* Mobile Buttons */
.plb-btn {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
    justify-content: center;
}

/* Mobile Lightbox */
.plb-lightbox-modal {
    padding: 120px 10px 20px;
}

.plb-lightbox-header {
    padding: 16px;
}

.plb-lightbox-title {
    font-size: 18px;
}

.plb-lightbox-subtitle {
    font-size: 12px;
}

.plb-lightbox-close {
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    font-size: 28px;
}

.plb-lightbox-content {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 10px;
}

.plb-lightbox-image-wrapper {
    border-radius: 12px;
}

.plb-lightbox-image {
    border-radius: 12px;
}

/* --------------------------------------------------------------------------
   Tablet Styles (768px - 1023px)
   Requirement 12.2: Tablet adaptive layout
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
    /* Tablet Container */
    .plb-container {
        padding: 0 24px;
    }
    
    .plb-header-container {
        padding: 0 24px;
        justify-content: center;
    }
    
    .plb-header-brand {
        position: absolute;
        left: 24px;
    }
    
    .plb-header-actions {
        position: absolute;
        right: 24px;
    }
    
    /* Tablet Header */
    .plb-header {
        height: 72px;
    }
    
    .plb-header-title {
        font-size: 15px;
    }
    
    .plb-header-logo {
        max-height: 36px;
    }
    
    /* Tablet Main Content */
    .plb-main {
        padding-top: 72px;
    }
    
    /* Tablet Tiles */
    .plb-tile {
        margin-bottom: 48px;
        scroll-margin-top: 90px;
    }
    
    /* Tablet Tile Heading */
    .plb-tile-heading {
        font-size: 26px;
        margin-bottom: 20px;
    }
    
    /* Tablet Gallery */
    .plb-gallery {
        border-radius: 20px;
    }
    
    .plb-gallery-carousel {
        height: 400px;
    }
    
    .plb-gallery-brickwork .plb-gallery-track {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
        gap: 2px;
        min-height: 440px;
    }
    
    .plb-gallery-brickwork .plb-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    /* Adjust overlay font size for tablet */
    .plb-gallery-brickwork .plb-gallery-item:nth-child(5)::after,
    .plb-gallery-hero-thumbnails .plb-gallery-item:nth-child(3)::after {
        font-size: 15px;
    }
    
    .plb-gallery-hero-thumbnails .plb-gallery-track {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        gap: 2px;
        min-height: 440px;
    }
    
    .plb-gallery-hero-thumbnails .plb-gallery-item:first-child {
        grid-row: span 2;
    }
    
    .plb-gallery-hero-thumbnails .plb-gallery-item {
        min-height: 220px;
    }
    
    .plb-gallery-nav {
        width: 36px;
        height: 36px;
    }
    
    .plb-gallery-nav .dashicons {
        font-size: 19px;
        width: 19px;
        height: 19px;
    }
    
    .plb-gallery-prev {
        left: 12px;
    }
    
    .plb-gallery-next {
        right: 12px;
    }
    
    /* Tablet Headlines */
    h1.plb-headline {
        font-size: 36px;
    }
    
    h2.plb-headline {
        font-size: 28px;
    }
    
    h3.plb-headline {
        font-size: 22px;
    }
    
    /* Tablet Description */
    .plb-description-header {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .plb-description-title {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .plb-description-summary {
        font-size: 15px;
        margin-bottom: 20px;
    }
    
    .plb-description-content {
        font-size: 16px;
    }
    
    /* Tablet Space Details */
    .plb-space-details-summary {
        font-size: 15px;
    }
    
    .plb-space-details {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 16px;
    }
    
    .plb-detail-item:not(:last-child)::after {
        display: inline;
        margin-left: 12px;
    }
    
    /* Tablet Room Details */
    .plb-room-details {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 14px;
    }
    
    .plb-room-card {
        padding: 22px;
        border-radius: 14px;
    }
    
    /* Tablet Check-in/Check-out */
    .plb-checkin-checkout {
        flex-direction: row;
        gap: 48px;
        padding: var(--content-padding);
        border-radius: 20px;
    }
    
    .plb-time-value {
        font-size: 22px;
    }
    
    /* Tablet Amenities */
    .plb-amenities {
        padding: var(--content-padding);
        border-radius: 20px;
    }
    
    .plb-amenities-grid .plb-amenities-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .plb-section-title {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    /* Tablet House Rules */
    .plb-house-rules {
        padding: var(--content-padding);
        border-radius: 20px;
    }
    
    /* Tablet Cancellation */
    .plb-cancellation {
        padding: var(--content-padding);
        border-radius: 20px;
    }
    
    /* Tablet About */
    .plb-about {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
        padding: var(--content-padding);
        border-radius: 20px;
    }
    
    /* Tablet Contact Modal */
    .plb-contact-modal-content {
        padding: 32px;
        width: 90%;
    }
    
    .plb-contact-modal-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .plb-contact-option {
        flex-direction: row;
        gap: 16px;
        padding: 18px;
    }
    
    .plb-contact-option-icon {
        font-size: 30px;
    }
    
    .plb-contact-option-actions {
        flex-direction: row;
    }
    
    .plb-contact-option-actions .plb-btn {
        width: auto;
    }
    
    /* Tablet Links */
    .plb-links-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    /* Tablet Map */
    .plb-map {
        padding: var(--content-padding);
        border-radius: 20px;
    }
    
    .plb-map-container {
        height: 320px;
        border-radius: 12px;
    }
    
    /* Tablet Booking Widget */
    .plb-booking-widget {
        padding: 20px;
        border-radius: 20px;
    }
    
    /* Tablet Buttons */
    .plb-btn {
        padding: 14px 24px;
        font-size: 15px;
        width: auto;
    }
    
    /* Tablet Lightbox */
    .plb-lightbox-modal {
        padding: 100px 20px 30px;
    }
    
    .plb-lightbox-header {
        padding: 18px;
    }
    
    .plb-lightbox-title {
        font-size: 22px;
    }
    
    .plb-lightbox-subtitle {
        font-size: 13px;
    }
    
    .plb-lightbox-close {
        top: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
        font-size: 30px;
    }
    
    .plb-lightbox-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 15px;
    }
    
    .plb-lightbox-image-wrapper {
        border-radius: 14px;
    }
    
    .plb-lightbox-image {
        border-radius: 14px;
    }
}

/* --------------------------------------------------------------------------
   Desktop Styles (>= 1024px)
   Requirement 12.3: Desktop full layout
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
    /* Desktop Container */
    .plb-container {
        padding: 0 24px;
        max-width: 1280px;
    }
    
    .plb-header-container {
        padding: 0 24px;
        max-width: 1280px;
        justify-content: center;
    }
    
    .plb-header-brand {
        position: absolute;
        left: 24px;
    }
    
    .plb-header-actions {
        position: absolute;
        right: 24px;
    }
    
    /* Desktop Header */
    .plb-header {
        height: 80px;
    }
    
    .plb-header-title {
        font-size: 16px;
    }
    
    .plb-header-logo {
        max-height: 40px;
    }
    
    /* Desktop Main Content */
    .plb-main {
        padding-top: 80px;
    }
    
    /* Desktop Tiles */
    .plb-tile {
        margin-bottom: var(--section-gap);
        scroll-margin-top: 100px;
    }
    
    /* Desktop Tile Heading */
    .plb-tile-heading {
        font-size: 28px;
        margin-bottom: 24px;
    }
    
    /* Desktop Gallery */
    .plb-gallery {
        border-radius: var(--border-radius);
    }
    
    .plb-gallery-carousel {
        height: 500px;
    }
    
    .plb-gallery-brickwork .plb-gallery-track {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        grid-auto-rows: 200px;
        gap: 2px;
        min-height: 400px;
    }
    
    .plb-gallery-brickwork .plb-gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }
    
    .plb-gallery-hero-thumbnails .plb-gallery-track {
        display: grid;
        grid-template-columns: 2fr 1fr;
        grid-template-rows: repeat(2, 1fr);
        gap: 2px;
        min-height: 500px;
    }
    
    .plb-gallery-hero-thumbnails .plb-gallery-item:first-child {
        grid-row: span 2;
    }
    
    .plb-gallery-nav {
        width: 40px;
        height: 40px;
    }
    
    .plb-gallery-prev {
        left: 16px;
    }
    
    .plb-gallery-next {
        right: 16px;
    }
    
    /* Desktop Headlines */
    h1.plb-headline {
        font-size: 48px;
    }
    
    h2.plb-headline {
        font-size: 36px;
    }
    
    h3.plb-headline {
        font-size: 24px;
    }
    
    /* Desktop Description */
    .plb-description-header {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .plb-description-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .plb-description-summary {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .plb-description-content {
        font-size: 16px;
        line-height: 1.8;
    }
    
    /* Desktop Space Details */
    .plb-space-details-summary {
        font-size: 16px;
    }
    
    .plb-space-details {
        gap: 8px 24px;
    }
    
    .plb-detail-item:not(:last-child)::after {
        margin-left: 16px;
    }
    
    /* Desktop Room Details */
    .plb-room-details {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
    
    .plb-room-card {
        padding: 24px;
        border-radius: 16px;
    }
    
    /* Desktop Check-in/Check-out */
    .plb-checkin-checkout {
        padding: var(--content-padding);
        border-radius: var(--border-radius);
    }
    
    .plb-time-value {
        font-size: 24px;
    }
    
    /* Desktop Amenities */
    .plb-amenities {
        padding: var(--content-padding);
        border-radius: var(--border-radius);
    }
    
    .plb-amenities-grid .plb-amenities-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .plb-section-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    /* Desktop House Rules */
    .plb-house-rules {
        padding: var(--content-padding);
        border-radius: var(--border-radius);
    }
    
    /* Desktop Cancellation */
    .plb-cancellation {
        padding: var(--content-padding);
        border-radius: var(--border-radius);
    }
    
    /* Desktop About */
    .plb-about {
        padding: var(--content-padding);
        border-radius: var(--border-radius);
    }
    
    /* Desktop Map */
    .plb-map {
        padding: var(--content-padding);
        border-radius: var(--border-radius);
    }
    
    .plb-map-container {
        height: 400px;
        border-radius: 12px;
    }
    
    /* Desktop Booking Widget */
    .plb-booking-widget {
        padding: var(--content-padding);
        border-radius: var(--border-radius);
    }
    
    /* Desktop Buttons */
    .plb-btn {
        padding: 14px 28px;
        font-size: 16px;
    }
    
    /* Desktop Lightbox */
    .plb-lightbox-modal {
        padding: 100px 40px 40px;
    }
    
    .plb-lightbox-header {
        padding: 24px 40px;
    }
    
    .plb-lightbox-title {
        font-size: 28px;
    }
    
    .plb-lightbox-subtitle {
        font-size: 15px;
    }
    
    .plb-lightbox-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        padding: 20px;
    }
    
    .plb-lightbox-image-wrapper {
        border-radius: 16px;
    }
    
    .plb-lightbox-image {
        border-radius: 16px;
    }
}

/* --------------------------------------------------------------------------
   Large Desktop Styles (>= 1280px)
   Extended desktop layout for larger screens
   -------------------------------------------------------------------------- */

@media (min-width: 1280px) {
    /* Large Desktop Amenities */
    .plb-amenities-grid .plb-amenities-list {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Large Desktop Gallery */
    .plb-gallery-brickwork .plb-gallery-track {
        grid-auto-rows: 220px;
        min-height: 440px;
    }
    
    .plb-gallery-hero-thumbnails .plb-gallery-track {
        min-height: 550px;
    }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */

@media print {
    .plb-header {
        position: static;
        box-shadow: none;
    }
    
    .plb-nav,
    .plb-mobile-menu-toggle,
    .plb-header-actions,
    .plb-gallery-nav,
    .plb-gallery-dots,
    .plb-lightbox {
        display: none !important;
    }
    
    .plb-tile {
        page-break-inside: avoid;
        margin-bottom: 24px;
    }
    
    .plb-gallery-carousel .plb-gallery-item {
        flex: 0 0 auto;
        width: 48%;
        margin-right: 2%;
    }
    
    .plb-map-container {
        height: 200px;
    }
}

/* --------------------------------------------------------------------------
   Reduced Motion
   Accessibility: Respect user's motion preferences
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .plb-header {
        transition: none;
    }
    
    .plb-gallery-item img {
        transition: none;
    }
    
    .plb-gallery-item img:hover {
        transform: none;
    }
    
    .plb-nav-link {
        transition: none;
    }
    
    .plb-btn {
        transition: none;
    }
    
    .plb-lightbox {
        transition: none;
    }
    
    .plb-hamburger,
    .plb-hamburger::before,
    .plb-hamburger::after {
        transition: none;
    }
}

/* Other Properties Carousel */
.plb-other-properties {
    width: 100%;
}

.plb-properties-carousel {
    position: relative;
    width: 100%;
}

.plb-properties-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
}

.plb-properties-track::-webkit-scrollbar {
    display: none;
}

.plb-property-card {
    flex: 0 0 calc(100% - 48px);
    scroll-snap-align: start;
    background: var(--page-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.plb-property-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.plb-property-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.plb-property-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
}

.plb-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.plb-property-card:hover .plb-property-image img {
    transform: scale(1.05);
}

.plb-property-details {
    padding: 20px;
}

.plb-property-location {
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--sub-heading-color);
    margin-bottom: 8px;
}

.plb-property-title {
    font-family: var(--heading-font);
    font-weight: var(--heading-weight);
    font-size: 20px;
    color: var(--heading-color);
    margin: 0 0 8px;
    line-height: 1.3;
}

.plb-property-space {
    font-size: 14px;
    color: var(--body-text-color);
    line-height: 1.5;
}

/* Navigation arrows for properties carousel */
.plb-properties-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.plb-properties-nav:hover {
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.plb-properties-prev {
    left: -20px;
}

.plb-properties-next {
    right: -20px;
}

.plb-properties-nav .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    color: var(--heading-color);
}

/* Responsive: Mobile */
@media (max-width: 767px) {
    .plb-property-card {
        flex: 0 0 calc(100% - 32px);
    }
    
    .plb-property-image {
        height: 200px;
    }
    
    .plb-property-details {
        padding: 16px;
    }
    
    .plb-property-title {
        font-size: 18px;
    }
    
    .plb-properties-nav {
        display: none;
    }
}

/* Responsive: Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
    .plb-property-card {
        flex: 0 0 calc(50% - 12px);
    }
    
    .plb-property-image {
        height: 220px;
    }
    
    .plb-properties-prev {
        left: -16px;
    }
    
    .plb-properties-next {
        right: -16px;
    }
    
    /* Keep half-width tiles stacked on smaller tablets */
    .plb-tile-row {
        flex-direction: column;
        gap: 32px;
    }
    
    .plb-tile-half {
        max-width: 100% !important;
    }
    
    .plb-tile-row .plb-tile {
        max-width: 100%;
    }
    
    .plb-tile-row .plb-tile-booking .plb-booking-widget {
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
}

/* Responsive: Desktop */
@media (min-width: 1024px) {
    .plb-property-card {
        flex: 0 0 calc(33.333% - 16px);
    }
    
    .plb-property-image {
        height: 240px;
    }
    
    /* Allow side-by-side tiles on desktop and large tablets */
    .plb-tile-row {
        flex-direction: row;
    }
    
    /* Reset hamburger menu on desktop - always show full nav */
    .plb-nav.plb-nav-many-items {
        display: block;
        position: static;
        padding: 0;
        box-shadow: none;
        border: none;
    }
    
    .plb-nav.plb-nav-many-items .plb-nav-list {
        flex-direction: row;
        gap: 24px;
    }
    
    .plb-nav.plb-nav-many-items .plb-nav-link {
        padding: 8px 0;
        border-bottom: 2px solid transparent;
    }
    
    .plb-mobile-menu-toggle.plb-tablet-menu-toggle {
        display: none;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}
