/* ==========================================================================
   ROCKS SHORTCODES — Consolidated Styles
   Source: Extracted from Elementor Custom CSS fields (Single Property Template)
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. GALLERY  (.rocks-gallery-grid)
   -------------------------------------------------------------------------- */

/* 1. THE GRID CONTAINER */
.rocks-gallery-grid {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    grid-template-rows: repeat(3, 12rem);
    grid-gap: 1rem;
    width: 100%;
    height: 38rem;
}

/* 2. IMAGE WRAPPERS */
.rocks-gallery-grid .gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid transparent;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.rocks-gallery-grid .gallery-item:hover {
    border-color: #C5A059;
}

/* 3. LINKS & IMAGES */
.rocks-gallery-grid .gallery-item a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.rocks-gallery-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

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

/* 4. POSITIONS */
.item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 4;
}

.item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.item-3 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
}

.item-4 {
    grid-column: 2 / 3;
    grid-row: 3 / 4;
}

/* 5. HIDE EXTRAS */
.rocks-gallery-grid .gallery-item:nth-child(n+5) {
    display: none;
}

/* 6. OVERLAY */
.item-4 a::after {
    content: "View All +";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    pointer-events: none;
}

.item-4:hover a::after {
    background: rgba(0, 0, 0, 0.4);
}

/* 7. MOBILE RESET */
@media (max-width: 767px) {
    .rocks-gallery-grid {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 0;
    }

    .rocks-gallery-grid .gallery-item {
        border-radius: 0 !important;
        border: none !important;
    }

    .item-2,
    .item-3,
    .item-4,
    .rocks-gallery-grid .gallery-item:nth-child(n+5) {
        display: none;
    }

    .item-1 {
        width: 100%;
        aspect-ratio: 4/3;
    }

    .item-1 a::after {
        content: "Tap to View All";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        height: 50px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}


/* --------------------------------------------------------------------------
   2. MAP  (.rocks-map-wrapper)
   -------------------------------------------------------------------------- */

.rocks-map-wrapper {
    width: 100% !important;
    height: 16rem !important;
    border-radius: 1rem !important;
    border: 2px solid #E2E4E8 !important;
    overflow: hidden !important;
    transition: border-color 0.3s ease !important;
    display: block !important;
}

.rocks-map-wrapper:hover {
    border-color: #C5A059 !important;
}

.rocks-map-wrapper iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block !important;
    filter: saturate(93%) !important;
}

@media (max-width: 767px) {
    .rocks-map-wrapper {
        height: 20rem !important;
    }
}


/* --------------------------------------------------------------------------
   3. FLOOR PLANS  (.rocks-floor-plan-card)
   -------------------------------------------------------------------------- */

/* 3a. Grid Container */
.rocks-fps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15.625rem, 1fr));
    gap: 1.5rem;
}

/* 3b. Card Container */
.rocks-floor-plan-card {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 1rem;
    overflow: hidden;
    border: 2px solid #E2E4E8;
    transition: border-color 0.3s ease;
}

.rocks-floor-plan-card:hover {
    border-color: #C5A059;
}

/* 3c. Trigger Link */
.rocks-floor-plan-card .fp-trigger-visible {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

/* 3d. Image */
.rocks-floor-plan-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3e. Overlay Bar */
.rocks-floor-plan-card .fp-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.75rem;
    background: rgba(30, 30, 30, 0.85);
    backdrop-filter: blur(4px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    pointer-events: none;
}


/* --------------------------------------------------------------------------
   4. READ MORE  (#post-content, #read-more-btn)
   ====================================================================== */
#post-content {
    position: relative;
    /* max-height is set dynamically by JS syncColumnHeights */
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    /* No mask by default — JS adds .truncated when needed */
    mask-image: none;
    -webkit-mask-image: none;
}

#post-content.truncated {
    mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

#post-content.full {
    max-height: none !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

#read-more-btn {
    display: inline-block;
    margin-top: 1rem;
    cursor: pointer;
    font-family: "Plus Jakarta Local", sans-serif;
    color: #333333;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: none;
    transition: color 0.3s ease;
}

#read-more-btn:hover {
    color: #937341;
}

/* --------------------------------------------------------------------------
   5. TOAST NOTIFICATION (.rocks-toast)
   -------------------------------------------------------------------------- */
.rocks-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100%);
    background: rgba(30, 30, 30, 0.95);
    color: #fff;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 9999;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.rocks-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    visibility: visible;
}

/* --------------------------------------------------------------------------
   6. SMART HIDE (.smart-hide)
   -------------------------------------------------------------------------- */
/* Hide by default to prevent icon flashing; shown via JS if data exists */
.smart-hide {
    display: none !important;
}

/* --------------------------------------------------------------------------
   7. PROPERTY OVERVIEW SECTION [rocks_property_overview] — 2-COL + STICKY
   -------------------------------------------------------------------------- */

.rocks-property-overview {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 4rem;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    align-items: start;
}

/* --- Left Column --- */
.rocks-ov-left {
    min-width: 0;
    /* prevent grid blowout */
}

/* --- Right Column (sticky wrapper) --- */
.rocks-ov-right {
    position: sticky;
    top: 6rem;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* --- Sidebar Card --- */
.rocks-ov-sidebar {
    background: #ffffff;
    border: 1px solid var(--color-stroke, #EAEAEA);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Standardized 24px gap for uniform rhythm */
}

.rocks-ov-sidebar-price {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-heading, #1A1A1A);
    letter-spacing: -0.03em;
    margin-bottom: 0;
}


/* Section containers (inside left column) */
.rocks-ov-section {
    padding: 2rem 0;
}

.rocks-ov-section:first-child {
    padding-top: 0;
}

.rocks-ov-left .rocks-ov-section:last-of-type {
    padding-bottom: 0;
}


.rocks-ov-divider {
    border: none;
    border-top: 1px solid var(--color-stroke, #EAEAEA);
    margin: 0;
}

/* Section titles — matches hero typography */
.rocks-property-overview .rocks-ov-section-title {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    color: var(--color-heading, #1A1A1A) !important;
    margin: 0 0 1.5rem 0 !important;
    letter-spacing: -0.01em !important;
    text-transform: none !important;
    line-height: 1.3 !important;
}

/* Sub-headings (The Opportunity, etc.) and H3s inside description */
.rocks-property-overview .rocks-ov-sub-heading,
.rocks-property-overview .rocks-description-content h3 {
    text-transform: none !important;
    color: var(--color-heading, #1A1A1A) !important;
    font-size: 1.25rem !important;
    letter-spacing: normal !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    margin-top: 2rem !important;
    margin-bottom: 0.5rem !important;
}

/* --- Hosted By (Airbnb agent line) --- */
.rocks-ov-hosted {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rocks-ov-hosted-left {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.rocks-ov-hosted-left .rocks-ov-section-title {
    margin-bottom: 0.25rem;
}

.rocks-ov-hosted-label {
    font-size: 0.875rem;
    color: var(--color-body, #666666);
    font-family: 'Inter', sans-serif;
}

.rocks-ov-hosted-label strong {
    color: var(--color-heading, #1A1A1A);
}

.rocks-property-overview .rocks-ov-hosted-avatar {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50% !important;
    object-fit: cover;
    border: none;
    background-color: transparent;
}

/* --- Description --- */
.rocks-property-overview .rocks-description-wrapper {
    position: relative;
}

.rocks-property-overview .rocks-description-content {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-body, #333333);
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}

.rocks-property-overview .rocks-description-content.truncated {
    mask-image: linear-gradient(to bottom, black calc(100% - 1rem), transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black calc(100% - 1rem), transparent 100%);
}

.rocks-property-overview .rocks-description-content.full {
    max-height: none !important;
    overflow: visible !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
}

.rocks-property-overview .rocks-read-more-btn {
    display: none;
    cursor: pointer;
    color: var(--color-heading, #1A1A1A);
    font-weight: 700;
    margin-top: 1rem;
    width: fit-content;
    font-size: 0.875rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.rocks-property-overview .rocks-read-more-btn:hover {
    color: var(--color-accent, #C5A059);
}

/* --- Amenities Grid (inside left column) --- */
.rocks-ov-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.5rem;
    row-gap: 0;
    list-style: none;
    padding: 0;
    margin: 0;
}

.rocks-ov-amenity-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--color-body, #333333);
    line-height: 1.4;
    padding: 0.75rem 0;
    border-bottom: none;
}

.rocks-ov-amenity-item svg {
    color: var(--color-accent, #C5A059);
    flex-shrink: 0;
}

/* --- Map (full width of left column) --- */
.rocks-ov-map {
    height: 20rem;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #DDD;
}

.rocks-ov-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* --- Sidebar Details List --- */
.rocks-ov-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.rocks-ov-details-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-stroke, #F0F0F0);
}

.rocks-ov-details-list li:first-child {
    padding-top: 0;
}

.rocks-ov-details-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rocks-ov-detail-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-body, #444444);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
}

.rocks-ov-detail-label i {
    color: var(--color-heading, #333333);
    width: 1.25rem;
    text-align: center;
    font-size: 0.875rem;
}

.rocks-ov-detail-value {
    color: var(--color-heading, #1A1A1A);
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}

/* Fix alignment for elements in details list, especially those with .price-val */
.rocks-ov-details-list li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.rocks-ov-details-list li .rocks-ov-detail-label {
    flex-grow: 1 !important;
}

/* Nuclear override for price-val in details list to fix alignment, font, and excessive spacing */
body .rocks-property-overview .rocks-ov-details-list li .rocks-ov-detail-value.price-val {
    text-align: right !important;
    min-width: 0 !important;
    min-height: 0 !important;
    /* Remove the 40px min-height conflict */
    width: auto !important;
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    font-family: 'Outfit', sans-serif !important;
    /* Premium brand font for prices */
    font-size: 1rem !important;
    /* Slightly larger for emphasis */
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: var(--color-accent, #C5A059) !important;
}

/* Ensure common label alignment */
.rocks-ov-details-list li .rocks-ov-detail-value {
    text-align: right !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
}



/* --- Floor Plans (main column) --- */
.rocks-ov-fps {
    position: relative;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fdfdfd;
    border: 1px solid var(--color-stroke, #EAEAEA);
}

.rocks-ov-fps img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.rocks-ov-fps .fp-trigger-visible {
    display: block;
    cursor: zoom-in;
}

/* --- Video (left column) --- */
.rocks-ov-video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #000;
}

.rocks-ov-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- WhatsApp CTA Button (sidebar) --- */
.rocks-ov-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #107c10 0%, #0d6e0d 100%);
    color: #ffffff !important;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    box-sizing: border-box;
}

.rocks-ov-cta-btn:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 1.5rem 0.25rem rgba(37, 211, 102, 0.3);
    color: #ffffff !important;
}

/* --- RESPONSIVE: Tablet --- */
@media (max-width: 1024px) {
    .rocks-property-overview {
        gap: 2rem;
    }

    .rocks-ov-amenities-grid {
        grid-template-columns: 1fr;
    }
}

/* --- RESPONSIVE: Mobile (Airbnb-style) --- */
@media (max-width: 768px) {
    .rocks-property-overview {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 0 1rem;
        padding-bottom: 5rem;
        /* clearance for sticky bar */
    }

    /* Hide entire sidebar on mobile */
    .rocks-ov-right {
        display: none;
    }

    .rocks-ov-left {
        padding: 0;
    }

    .rocks-ov-section {
        padding: 1.5rem 0;
    }

    .rocks-ov-section-title {
        font-size: clamp(1.125rem, 4.5vw, 1.25rem);
    }

    .rocks-ov-amenities-grid {
        grid-template-columns: 1fr;
    }

    .rocks-ov-map {
        height: 15rem;
        border-radius: 0.75rem;
    }

    .rocks-ov-hosted-avatar {
        width: 3rem;
        height: 3rem;
    }

    /* Description truncation */
    .rocks-property-overview .rocks-description-content {
        max-height: 12rem;
        overflow: hidden;
        mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
        -webkit-mask-image: linear-gradient(to bottom, #000 60%, transparent 100%);
    }

    .rocks-property-overview .rocks-description-content.expanded {
        max-height: none !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
    }

    .rocks-property-overview .rocks-read-more-btn {
        display: block !important;
        text-align: left;
        font-weight: 600;
        font-size: 0.875rem;
        text-decoration: underline;
        cursor: pointer;
        padding-top: 0.5rem;
        color: var(--color-heading, #1A1A1A);
    }

    /* Hide the VIPER status card on mobile (moved to sticky bar) */
    .rocks-property-overview .rocks-hero-status {
        display: none;
    }
}

/* ---- Sticky Mobile Bottom Bar ---- */
.rocks-mobile-bar {
    display: none;
    /* hidden on desktop */
}

@media (max-width: 768px) {
    .rocks-mobile-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        border-top: 1px solid #EAEAEA;
        padding: 0.75rem 1rem;
        padding-bottom: calc(0.75rem + env(safe-area-inset-bottom));
        z-index: 9999;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        box-shadow: 0 -0.125rem 0.5rem rgba(0, 0, 0, 0.06);
    }

    .rocks-mobile-bar-price {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .rocks-mobile-bar-price strong {
        font-family: 'Outfit', sans-serif;
        font-size: clamp(1rem, 4.5vw, 1.25rem);
        font-weight: 700;
        color: var(--color-heading, #1A1A1A);
        letter-spacing: -0.02em;
        white-space: nowrap;
    }

    .rocks-mobile-bar-price span {
        font-size: 0.75rem;
        color: #6B7280;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .rocks-mobile-bar-cta {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: #25D366;
        color: #ffffff;
        font-family: 'Inter', sans-serif;
        font-size: 0.9375rem;
        font-weight: 600;
        padding: 0.75rem 1.5rem;
        border-radius: 0.5rem;
        text-decoration: none;
        white-space: nowrap;
    }

    .rocks-mobile-bar-cta:hover {
        background: #1EBE57;
        color: #ffffff;
    }

    .rocks-mobile-bar-cta i {
        font-size: 1.125rem;
    }
}


/* --------------------------------------------------------------------------
   8. AMENITIES (.rocks-amenities-wrapper / list)
   -------------------------------------------------------------------------- */
.rocks-amenities-wrapper {
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.rocks-amenities-list {
    display: grid;
    /* Forces 4 columns on large screens */
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1.5rem;
    row-gap: 0.8rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 3. ITEM STYLING (1rem Text Everywhere) */
.rocks-amenity-item {
    display: flex;
    align-items: center;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    color: #333333;
    line-height: 1.4;
    white-space: nowrap;
}

/* 4. ICON STYLING */
.rocks-gem-icon {
    margin-right: 0.5rem;
    flex-shrink: 0;
    color: #C5A059;
    /* Gold */
    font-size: 0.75rem;
    display: flex;
    align-items: center;
}

/* --- RESPONSIVE SECTION --- */

/* TABLET (Max-Width: 1024px) -> 2 Columns */
@media (max-width: 1024px) {
    .rocks-amenities-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* MOBILE (Max-Width: 767px) -> 1 Column */
@media (max-width: 767px) {
    .rocks-amenities-list {
        grid-template-columns: repeat(1, 1fr);
    }
}

/* --------------------------------------------------------------------------
   10. SINGLE PROPERTY HERO (Light Mode - Optional Class)
   Usage: Add class "rocks-light-hero" to the Hero Section to activate.
   -------------------------------------------------------------------------- */

/* 10a. Hero Section Container */
body .elementor-element.rocks-light-hero {
    background-color: #FAFAFA !important;
    /* Premium Off-White */
    border-bottom: 1px solid #E2E4E8 !important;
    /* Subtle separator */
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

/* 10b. Hero Title (H1) */
body .rocks-light-hero h1.elementor-heading-title {
    color: #1A1A1A !important;
    /* Dark Grey/Black */
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(2.5rem, 5vw, 3.5rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 1rem !important;
    text-shadow: none !important;
    -webkit-text-fill-color: #1A1A1A !important;
}

/* 10c. Price */
body .rocks-light-hero .price-val {
    color: #C5A059 !important;
    /* Gold */
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 700 !important;
    font-size: clamp(2rem, 4vw, 3rem) !important;
    line-height: 1.2 !important;
    display: block !important;
    margin-bottom: 1.5rem !important;
}

/* 10d. Address / Location */
body .rocks-light-hero .elementor-element-556be6f .elementor-heading-title,
body .rocks-light-hero .elementor-element-556be6f a {
    color: #444444 !important;
    /* Dark Grey */
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 1.125rem !important;
    text-transform: none !important;
    text-decoration: none !important;
}

/* 10e. Badges (e.g., New Listing) */
body .rocks-light-hero .elementor-element-42bb027 .elementor-heading-title {
    background-color: #FFFFFF !important;
    color: #C5A059 !important;
    /* Gold Text */
    border: 1px solid #C5A059 !important;
    /* Gold Border */
    padding: 0.5rem 1rem !important;
    border-radius: 0.5rem !important;
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    display: inline-block !important;
    letter-spacing: 0.05em !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* 10f. Icon List Items (Beds, Baths, etc.) */
body .rocks-light-hero .elementor-icon-list-icon i {
    color: #C5A059 !important;
    /* Gold Icons */
}

body .rocks-light-hero .elementor-icon-list-text {
    color: #333333 !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
}

/* --------------------------------------------------------------------------
   11. HERO V2 (Floating Glass Card + Gallery BG)
   -------------------------------------------------------------------------- */
.rocks-hero-v2 {
    position: relative;
    width: 100%;
    min-height: 85vh;
    /* Large impactful hero */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Card on left */
    overflow: hidden;
}

/* 11a. Background Grid */
.rocks-hero-v2-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns */
    z-index: 0;
}

.hero-v2-bg-item {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.85);
    /* Slightly darken images */
}

/* Fallback if no images */
.hero-v2-bg-item.fallback {
    grid-column: 1 / -1;
    background-color: #1E1E1E;
}

/* 11b. Overlay */
.rocks-hero-v2-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

/* 11c. Content */
.rocks-hero-v2-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* 11d. Floating Glass Card */
.rocks-hero-v2-card {
    background: rgba(30, 30, 30, 0.7);
    /* Dark semi-transparent */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    /* 24px */
    padding: 3rem;
    /* 48px */
    max-width: 550px;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.5);
    color: #FFFFFF;
}

/* Badge */
.hero-v2-badge {
    display: inline-block;
    background: #C5A059;
    color: #000;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

/* Title */
.hero-v2-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
    margin: 0 0 0.5rem 0;
    color: #FFFFFF;
}

/* Address */
.hero-v2-address {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 2rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-v2-address i {
    color: #C5A059;
}

/* Price */
.hero-v2-price {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    color: #C5A059;
    margin-bottom: 2rem;
    line-height: 1;
}

/* Meta Grid */
.hero-v2-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #FFFFFF;
}

.meta-item i {
    font-size: 1.25rem;
    color: #C5A059;
    width: 24px;
    text-align: center;
}

.meta-item small {
    display: block;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* CTA Button */
.hero-v2-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #107c10 0%, #0d6e0d 100%);
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    padding: 1.25rem 2rem;
    border-radius: 0.75rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(16, 124, 16, 0.3);
}

.hero-v2-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 124, 16, 0.4);
    filter: brightness(1.1);
    color: #FFFFFF;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .rocks-hero-v2 {
        min-height: auto;
        flex-direction: column;
    }

    .rocks-hero-v2-bg {
        position: relative;
        height: 250px;
        grid-template-columns: 1fr;
        /* Single column stack or just 1 image visible? */
        /* Let's show just the first image to avoid layout weirdness */
        display: block;
    }

    .hero-v2-bg-item {
        display: none;
    }

    .hero-v2-bg-item:first-child {
        display: block;
    }

    .rocks-hero-v2-overlay {
        display: none;
        /* No overlay on mobile, card sits below */
    }

    .rocks-hero-v2-content {
        padding: 0;
        margin-top: -2rem;
        /* Overlap slightly */
    }

    .rocks-hero-v2-card {
        border-radius: 1.5rem 1.5rem 0 0;
        border: none;
        background: #1E1E1E;
        /* Solid dark bg on mobile */
        padding: 2rem 1.5rem;
        backdrop-filter: none;
        max-width: 100%;
    }

    .hero-v2-title {
        font-size: 2rem;
    }

    .hero-v2-price {
        font-size: 2rem;
    }

    .hero-v2-meta {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
}

/* ── Description Heading Normalization ──
   Migrated descriptions contain mixed h2-h6 from ChatGPT.
   Normalize them all to a consistent size/style. */
.rocks-description-content h2,
.rocks-description-lifestyle h2,
.rocks-description-content h3,
.rocks-description-lifestyle h3,
.rocks-description-content h4,
.rocks-description-lifestyle h4,
.rocks-description-content h5,
.rocks-description-lifestyle h5,
.rocks-description-content h6,
.rocks-description-lifestyle h6 {
    font-size: 1.25rem !important;
    margin: 2rem 0 1rem 0 !important;
    color: #1C1C1C !important;
    text-transform: none !important;
    /* Reset uppercase if any */
    letter-spacing: normal !important;
}

.rocks-description-content p,
.rocks-description-lifestyle p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
}

/* Strip any inline font-size on description elements */
.rocks-description-content [style*="font-size"],
#long_content [style*="font-size"] {
    font-size: inherit !important;
}

/* ── VIPER / Golden Visa Section ── */
.rocks-description-content .rocks-viper-section,
.rocks-viper-section {
    margin-top: 2rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border-left: 4px solid var(--color-accent, #C5A059);
    border-radius: 0.5rem;
    color: #f0f0f0 !important;
}

.rocks-description-content .rocks-viper-section h3,
.rocks-viper-section h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent, #C5A059);
    margin: 0 0 0.75rem 0;
    text-transform: none;
    /* Make sure this one isn't forced uppercase */
    letter-spacing: normal;
}

.rocks-description-content .rocks-viper-section p,
.rocks-viper-section p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #d4d4d4 !important;
    margin-bottom: 0.75rem;
}

.rocks-description-content .rocks-viper-section ul,
.rocks-viper-section ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    color: #d4d4d4 !important;
}

.rocks-description-content .rocks-viper-section ul li,
.rocks-viper-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #d4d4d4 !important;
}

.rocks-description-content .rocks-viper-section ul li::before,
.rocks-viper-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 8px;
    height: 8px;
    background: var(--color-accent, #C5A059);
    border-radius: 50%;
}

.rocks-description-content .rocks-viper-section strong,
.rocks-viper-section strong {
    color: #ffffff !important;
}

/* ── Structured Description Sections ── */
.rocks-description-hook {
    font-size: 1.25rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 500;
}

.rocks-description-narrative h3,
.rocks-description-lifestyle h3 {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    font-size: 1.5rem !important;
    /* Matches regular h3 */
    font-weight: 700 !important;
    color: var(--color-heading, #1A1A1A) !important;
    /* Was gold, user wants regular */
    margin: 1.5rem 0 0.75rem 0 !important;
    text-transform: none !important;
    /* Was uppercase */
    letter-spacing: normal !important;
    /* Was 0.1em */
}

/* ── Multiple Units Card (Right Column) ── */
.rocks-multi-unit-card {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 1px solid rgba(197, 160, 89, 0.3);
    border-left: 4px solid var(--color-accent, #C5A059);
    border-radius: 0.75rem;
    padding: 1.5rem;
    color: #f0f0f0;
}

.rocks-multi-unit-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-accent, #C5A059);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.rocks-multi-unit-header i {
    font-size: 1rem;
}

.rocks-multi-unit-details {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.rocks-multi-unit-details li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rocks-multi-unit-details li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rocks-multi-unit-label {
    color: #999;
    font-size: 0.875rem;
    font-weight: 600;
}

.rocks-multi-unit-value {
    color: #ffffff;
    font-weight: 700;
    font-size: 1rem;
}

.rocks-multi-unit-value.price {
    color: var(--color-accent, #C5A059);
    font-size: 1.1rem;
}

.rocks-multi-unit-cta {
    display: block;
    background: linear-gradient(135deg, #107c10 0%, #0d6e0d 100%);
    color: #ffffff !important;
    text-align: center;
    padding: 0.875rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.rocks-multi-unit-cta:hover {
    filter: brightness(1.1);
    box-shadow: 0 0 24px 4px rgba(37, 211, 102, 0.35);
    color: #ffffff !important;
}

/* --------------------------------------------------------------------------
   14. VIDEO CONTAINER FIX
   -------------------------------------------------------------------------- */
.vip-video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 0.75rem;
    background: #000;
}

.vip-video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --------------------------------------------------------------------------
   16. GLOBAL ALIGNMENT LOCK (75rem Max Width base)
   Matches Elementor container specs (75rem = 1200px)
   -------------------------------------------------------------------------- */
.rocks-gallery-grid,
.rocks-amenities-wrapper,
.vip-video-container {
    max-width: 75rem;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 2rem;
    padding-right: 2rem;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 767px) {

    .rocks-gallery-grid,
    .rocks-amenities-wrapper,
    .vip-video-container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* --------------------------------------------------------------------------
   17. AIRBNB-STYLE HERO  ([rocks_property_hero])
   -------------------------------------------------------------------------- */
.rocks-hero-container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
}

/* Visibility toggles */
.rocks-mobile-only {
    display: none !important;
}

.rocks-desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .rocks-mobile-only {
        display: block !important;
    }

    .rocks-desktop-only {
        display: none !important;
    }

    /* Force hide all gallery arrows on mobile */
    .slick-arrow,
    .rocks-gallery-arrow,
    .elementor-swiper-button,
    .elementor-slick-arrow {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* Header */
.rocks-hero-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    /* 24px */
}

.rocks-hero-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 2rem !important;
    line-height: 1.2;
    color: var(--color-heading, #1A1A1A);
    margin: 0;
    letter-spacing: -0.02em;
    text-transform: none;
}

.rocks-ov-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 0.75rem;
}

.rocks-ov-header-section {
    padding-bottom: 0.5rem !important;
}

.rocks-hero-actions {
    display: flex;
    gap: 1rem;
}

.rocks-action-btn {
    background: transparent;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-heading, #1A1A1A);
    text-decoration: none !important;
    transition: all 0.2s ease;
    border-radius: 0.5rem;
}

.rocks-action-btn:hover {
    color: var(--color-accent, #C5A059) !important;
    background: transparent !important;
}

.rocks-action-btn i {
    font-size: 0.875rem;
    text-decoration: none !important;
}

/* Grid */
.rocks-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 30.5rem;
    gap: 0.5rem;
    /* 8px */
    border-radius: 0.75rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.rocks-grid-item {
    position: relative;
    width: 100%;
    height: 100%;
}

.rocks-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: filter 0.3s ease;
}

.rocks-grid-item:hover img {
    filter: brightness(0.9);
}

/* Specific Layouts */
.rocks-grid-count-5 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 15rem 15rem;
    gap: 0.5rem;
}

.rocks-grid-count-5 .rocks-item-1 {
    grid-area: 1 / 1 / 3 / 2;
}

.rocks-grid-count-5 .rocks-item-2 {
    grid-area: 1 / 2 / 2 / 3;
}

.rocks-grid-count-5 .rocks-item-3 {
    grid-area: 1 / 3 / 2 / 4;
}

.rocks-grid-count-5 .rocks-item-4 {
    grid-area: 2 / 2 / 3 / 3;
}

.rocks-grid-count-5 .rocks-item-5 {
    grid-area: 2 / 3 / 3 / 4;
}

/* Dynamic: 4 images */
.rocks-grid-count-4 {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 15rem 15rem;
}

.rocks-grid-count-4 .rocks-item-1 {
    grid-area: 1 / 1 / 3 / 2;
}

.rocks-grid-count-4 .rocks-item-4 {
    grid-column: 2 / 4;
}

/* Dynamic: 3 images */
.rocks-grid-count-3 {
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 15rem 15rem;
}

.rocks-grid-count-3 .rocks-item-1 {
    grid-area: 1 / 1 / 3 / 2;
}

/* Dynamic: 2 images */
.rocks-grid-count-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 30.5rem;
}

/* Dynamic: 1 image */
.rocks-grid-count-1 {
    grid-template-columns: 1fr;
    grid-template-rows: 30.5rem;
}

/* More Photos Button */
.rocks-hero-grid .rocks-grid-more-btn {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: #ffffff !important;
    border: 1px solid var(--color-stroke, #E2E4E8) !important;
    border-radius: 0.5rem !important;
    padding: 0.625rem 1.25rem !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    text-transform: none !important;
    letter-spacing: -0.01em !important;
    cursor: pointer !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    z-index: 5 !important;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    color: var(--color-heading, #1A1A1A) !important;
    font-family: 'Inter', sans-serif !important;
}

.rocks-grid-more-btn i {
    color: var(--color-accent, #C5A059);
    font-size: 0.75rem;
}

.rocks-grid-more-btn:hover {
    background: #fdfdfd;
    border-color: var(--color-heading, #111111);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.rocks-grid-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Footer Info */
.rocks-hero-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-stroke, #E2E4E8);
}

.rocks-info-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-heading, #1A1A1A);
    margin: 0 0 0.5rem 0;
    text-transform: none !important;
}

.rocks-hero-location {
    font-size: 0.875rem;
    color: var(--color-body, #666666);
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
}

.rocks-hero-location i {
    color: var(--color-accent, #C5A059);
}

.rocks-info-meta {
    font-size: 0.875rem;
    color: var(--color-heading, #1A1A1A);
    font-family: 'Inter', sans-serif;
    opacity: 0.7;
}

.rocks-hero-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-heading, #1A1A1A);
    margin-top: 1.5rem;
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.04em;
    line-height: 1;
}



/* Status Card (VIPER/Rocksolid) */
.rocks-hero-status {
    background: #ffffff;
    border: 1px solid var(--color-stroke, #EAEAEA);
    padding: 0.75rem 1.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
}

.rocks-status-icon {
    color: var(--color-accent, #C5A059);
    font-size: 1.5rem;
}

.rocks-status-text {
    font-size: 0.875rem;
    color: var(--color-heading, #1A1A1A);
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

.rocks-status-text strong {
    display: inline;
    font-size: 0.875rem;
    color: var(--color-heading, #1A1A1A);
    font-weight: 700;
}

/* ===== Full-Page Gallery Overlay ===== */
.rocks-gallery-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    z-index: 99999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.rocks-gallery-overlay.active {
    transform: translateX(0);
}

.rocks-gallery-topbar {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: #ffffff;
    border-bottom: 1px solid #EAEAEA;
    flex-shrink: 0;
}

.rocks-gallery-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1A1A1A;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 0.5rem;
    transition: background 0.15s;
}

.rocks-gallery-back:hover {
    background: #F3F4F6;
}

.rocks-gallery-back i {
    font-size: 1rem;
}

.rocks-gallery-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #6B7280;
}

.rocks-gallery-scroll {
    padding: 1rem;
}

/* Masonry grid */
.rocks-gallery-masonry {
    columns: 1;
    column-gap: 0.5rem;
}

.rocks-gallery-photo {
    break-inside: avoid;
    margin-bottom: 0.5rem;
    cursor: pointer;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: opacity 0.15s;
}

.rocks-gallery-photo:hover {
    opacity: 0.85;
}

.rocks-gallery-photo img {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop: 2-column masonry, constrained width */
@media (min-width: 769px) {
    .rocks-gallery-scroll {
        padding: 2rem;
    }

    .rocks-gallery-masonry {
        columns: 2;
        column-gap: 1rem;
        max-width: 56rem;
        margin: 0 auto;
    }

    .rocks-gallery-photo {
        margin-bottom: 1rem;
    }
}


/* ===== Level 2: Full-screen Lightbox (Airbnb Style) ===== */
.rocks-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: #000000;
    z-index: 1000000 !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rocks-lightbox.active {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.rocks-lightbox-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    z-index: 10;
}

.rocks-lightbox-close {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
}

.rocks-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.rocks-lightbox-counter {
    font-family: 'Inter', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.rocks-lightbox-img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}

.rocks-lightbox-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5);
}

.rocks-lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 1.25rem;
    cursor: pointer;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}

.rocks-lightbox-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.rocks-lightbox-prev {
    left: 2rem;
}

.rocks-lightbox-next {
    right: 2rem;
}

@media (max-width: 768px) {
    .rocks-lightbox-arrow {
        display: none !important;
    }

    .rocks-lightbox-img-wrap {
        padding: 5rem 1rem;
    }

    .rocks-lightbox-topbar {
        padding: 1rem;
    }
}

/* Mobile — Airbnb-style hero with overlap card */
@media (max-width: 768px) {
    .rocks-hero-container {
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 0;
        background: #ffffff;
    }

    /* ---- Mobile Swipe Gallery ---- */
    .rocks-hero-swipe-wrap {
        order: 1;
        position: relative;
    }

    .rocks-hero-swipe {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .rocks-hero-swipe::-webkit-scrollbar {
        display: none;
    }

    .rocks-swipe-item {
        flex: 0 0 100%;
        min-width: 100%;
        aspect-ratio: 4 / 3;
        scroll-snap-align: center;
    }

    .rocks-swipe-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .rocks-gallery-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 2rem;
        height: 2rem;
        background: rgba(255, 255, 255, 0.9);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.15);
        color: #222222;
        font-size: 0.875rem;
        transition: transform 0.2s, background 0.2s;
    }

    .rocks-gallery-arrow:hover {
        background: #ffffff;
        transform: translateY(-50%) scale(1.05);
    }

    .rocks-gallery-arrow.prev {
        left: 0.75rem;
    }

    .rocks-gallery-arrow.next {
        right: 0.75rem;
    }

    /* Photo counter pill */
    .rocks-photo-counter {
        display: flex;
        align-items: center;
        gap: 0.375rem;
        position: absolute;
        right: 0.75rem;
        bottom: 0.75rem;
        background: rgba(0, 0, 0, 0.6);
        color: #ffffff;
        font-size: 0.75rem;
        font-family: 'Inter', sans-serif;
        padding: 0.375rem 0.75rem;
        border-radius: 0.25rem;
        z-index: 5;
        cursor: pointer;
    }

    /* ---- Overlap card — title area ---- */
    .rocks-hero-header {
        order: 2;
        position: relative;
        z-index: 2;
        margin: -2rem 0 0 0;
        background: #ffffff;
        border-radius: 1.5rem 1.5rem 0 0;
        padding: 1.5rem 1rem 0.5rem;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 0.25rem;
    }

    .rocks-hero-title {
        font-size: clamp(1.125rem, 5vw, 1.375rem);
        line-height: 1.3;
    }

    .rocks-hero-actions {
        display: none;
    }

    /* Location + meta below title */
    .rocks-hero-footer {
        order: 3;
        position: relative;
        z-index: 2;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        padding: 0 1rem 1.25rem;
        gap: 0.25rem;
        border-bottom: 1px solid var(--color-stroke, #EAEAEA);
    }

    .rocks-hero-location {
        font-size: 0.8125rem;
        justify-content: flex-start;
    }

    .rocks-info-meta {
        font-size: 0.8125rem;
        color: #6B7280;
    }

    .rocks-info-meta span {
        white-space: nowrap;
    }
}