/**
 * Property Showcase Public Stylesheet
 * Primary Accent Color: #6e6e6e
 */

/* Variables */
:root {
    --property-primary: #6e6e6e;
    --property-primary-hover: #555555;
    --property-dark: #6e6e6e;
    --property-light: #f9f9f9;
    --property-border: #e2e2e2;
    --property-text-muted: #777777;
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Wrapper Reset */
.property-showcase-wrapper {
    color: var(--property-dark);
    line-height: 1.6;
    background-color: #fff;
    overflow: visible;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

.property-showcase-wrapper * {
    box-sizing: border-box;
}

/* Hero Split Banner */
.property-hero-banner {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    overflow: hidden;
    background: #000;
}

.property-hero-image-pane {
    flex: 1;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.property-hero-image-pane img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.property-hero-image-pane:hover img {
    transform: scale(1.03);
}

/* Hero Navigation Arrows */
.property-hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.property-hero-nav-btn {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    pointer-events: auto;
}

.property-hero-nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Image Counter/Launcher */
.property-gallery-counter {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--property-dark);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    z-index: 10;
    border: 1px solid var(--property-border);
}

.property-gallery-counter:hover {
    background: var(--property-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Sub-Navigation Bar */
.property-sub-nav-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--property-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
}

.property-sub-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.property-sub-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.property-sub-nav-links li a {
    display: block;
    padding: 20px 15px;
    color: var(--property-text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.property-sub-nav-links li a:hover,
.property-sub-nav-links li.active a {
    color: #7e1444;
}

.property-sub-nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 15px;
    right: 15px;
    height: 3px;
    background: #7e1444;
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.property-sub-nav-links li a:hover::after,
.property-sub-nav-links li.active a::after {
    transform: scaleX(1);
}

.property-sub-nav-actions {
    display: flex;
    gap: 20px;
}

.property-action-link {
    color: var(--property-text-muted);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    background: none;
    border: none;
    padding: 20px 0;
}

.property-action-link:hover {
    color: var(--property-primary);
}

/* Page Layout Grid */
.property-detail-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Main Section Details */
.property-main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Title & Header Block */
.property-header-block {
    border-bottom: 1px solid var(--property-border);
    padding-bottom: 25px;
}

.property-main-title {
    font-size: 28px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0 0 15px 0;
    color: #222;
}

.property-prices-block {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.property-price-primary {
    font-size: 32px;
    color: var(--property-primary);
}

.property-price-compare {
    font-size: 20px;
    font-weight: 500;
    color: var(--property-text-muted);
}

.property-address-block {
    font-size: 15px;
    color: var(--property-text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

/* Badges Specifications Grid */
.property-specs-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
    padding: 0;
    margin-top: 20px;
    font-size: 14px;
}

.property-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--property-light);
    border: 1px solid var(--property-border);
    border-radius: 4px;
    font-weight: 600;
}

.property-spec-item i {
    color: var(--property-primary);
    font-size: 16px;
}

.property-ref-id {
    margin-left: auto;
    color: var(--property-text-muted);
    font-weight: 500;
}

/* Visuals Grid (Gallery + Floorplan Mini) */
.property-visuals-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Thumbnail Gallery */
.property-gallery-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.property-gallery-item {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 4px;
    cursor: pointer;
    border: 1px solid var(--property-border);
}

.property-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.property-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: var(--transition-smooth);
}

.property-gallery-item:hover .property-gallery-overlay {
    background: rgba(110, 110, 110, 0.85);
    /* #6e6e6e with transparency */
}

/* Mini Layout Preview Card */
.property-layout-mini {
    border: 1px solid var(--property-border);
    border-radius: 4px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.property-layout-mini img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition-smooth);
}

.property-layout-mini:hover img {
    transform: scale(1.02);
}

.property-layout-mini-zoom-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--property-border);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--property-primary);
    font-size: 16px;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.property-layout-mini:hover .property-layout-mini-zoom-icon {
    background: var(--property-primary);
    color: #fff;
    transform: scale(1.1);
}

/* Key Features Bullet List */
.property-features-section {
    background-color: var(--property-light);
    border-radius: 6px;
    padding: 30px;
    border: 1px solid var(--property-border);
}

.property-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.property-features-list li {
    position: relative;
    padding-left: 25px;
    font-size: 14px;
    font-weight: 500;
}

.property-features-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--property-dark);
    border-radius: 50%;
    position: absolute;
    left: 8px;
    top: 9px;
}

/* Description Block */
.property-description-content {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    position: relative;
}

.property-description-collapsed {
    max-height: 160px;
    overflow: hidden;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}

.property-readmore-btn {
    display: inline-block;
    color: var(--property-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    margin-top: 15px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    background: none;
    padding: 0;
}

.property-readmore-btn:hover {
    color: var(--property-primary-hover);
    text-decoration: underline;
}

/* Council Tax & Tenure row */
.property-tax-tenure-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid var(--property-border);
    border-bottom: 1px solid var(--property-border);
    margin-top: 10px;
}

.property-meta-heading {
    font-size: 13px;
    color: var(--property-text-muted);
    font-weight: 700;
    margin-bottom: 5px;
    letter-spacing: 0.5px;
}

.property-meta-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--property-dark);
}

/* Google Map & Amenities tabs */
.property-map-section {
    border-top: 1px solid var(--property-border);
    padding-top: 40px;
}

.property-map-container {
    width: 100%;
    height: 400px;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--property-border);
}

.property-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.property-locrating-tabs-container {
    margin-top: 25px;
    border: 1px solid var(--property-border);
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    display: none;
}

.property-locrating-tabs-header {
    display: flex;
    background: var(--property-light);
    border-bottom: 1px solid var(--property-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.property-loc-tab-btn {
    flex: 0 0 auto;
    padding: 15px 20px;
    border: none;
    background: none;
    font-size: 13px;
    font-weight: 600;
    color: var(--property-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    border-right: 1px solid var(--property-border);
    white-space: nowrap;
}

.property-loc-tab-btn:hover {
    background: rgba(110, 110, 110, 0.05);
    color: var(--property-primary);
}

.property-loc-tab-btn.active {
    background: #fff;
    color: var(--property-primary);
    border-bottom: 2px solid var(--property-primary);
}

.property-locrating-tabs-body {
    padding: 20px;
}

.property-loc-tab-panel {
    display: none;
}

.property-loc-tab-panel.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

.property-amenity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
}

.property-amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 1px solid var(--property-border);
    border-radius: 4px;
    background: var(--property-light);
}

.property-amenity-item i {
    font-size: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid var(--property-border);
}

.property-amenity-item i.icon-bus {
    color: #0277bd;
}

.property-amenity-item i.icon-train {
    color: var(--property-primary);
}

.property-amenity-item i.icon-school {
    color: #2e7d32;
}

.property-amenity-item i.icon-coffee {
    color: #ef6c00;
}

.property-amenity-item i.icon-restaurant {
    color: #c62828;
}

.property-amenity-text {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.property-amenity-text strong {
    font-size: 14px;
    font-weight: 600;
}

.property-amenity-text span {
    font-size: 13px;
    font-weight: 700;
    color: var(--property-primary);
    margin-left: auto;
}

.property-amenity-text small {
    font-size: 12px;
    color: var(--property-text-muted);
    width: 100%;
    margin-top: 2px;
}

/* Accordions container */
.property-accordions-container {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.property-accordion-item {
    border: 1px solid var(--property-border);
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.property-accordion-header {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
    font-weight: 600;
    color: var(--property-dark);
}


.property-accordion-icon {
    font-size: 18px;
    margin-right: 15px;
    color: var(--property-primary);
}

.property-accordion-title {
    font-size: 16px;
    font-weight: 600;
    flex: 1;
    margin: 0;
}

.property-accordion-arrow {
    font-size: 14px;
    color: var(--property-text-muted);
    transition: transform 0.3s ease;
}

.property-accordion-item.open .property-accordion-arrow {
    transform: rotate(180deg);
}

.property-accordion-body {
    padding: 25px;
    border-top: 1px solid var(--property-border);
    display: none;
}

.property-accordion-item.open .property-accordion-body {
    display: block;
    animation: slideDown 0.3s ease-out;
}

/* Calculator components */
.property-calc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.property-calc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.property-calc-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.property-calc-field label {
    font-size: 13px;
    font-weight: 700;
    color: var(--property-dark);
    letter-spacing: 0.5px;
}

.property-calc-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid var(--property-border);
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.property-calc-input-wrapper:focus-within {
    border-color: var(--property-primary);
    box-shadow: 0 0 0 3px rgba(110, 110, 110, 0.1);
}

.property-calc-input-wrapper.disabled {
    background: #f0f0f0;
    cursor: not-allowed;
}

.property-calc-input-wrapper.disabled input {
    background: #f0f0f0;
    cursor: not-allowed;
}

.property-calc-prefix {
    padding: 10px 12px;
    background: var(--property-light);
    border-right: 1px solid var(--property-border);
    color: var(--property-text-muted);
    font-weight: 600;
    font-size: 14px;
}

.property-calc-suffix {
    padding: 10px 12px;
    background: var(--property-light);
    border-left: 1px solid var(--property-border);
    color: var(--property-text-muted);
    font-weight: 600;
    font-size: 14px;
}

.property-calc-input-wrapper input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    font-size: 14px;
    font-weight: 600;
    color: var(--property-dark);
    width: 100%;
}

.property-calc-field select {
    padding: 12px;
    border: 1px solid var(--property-border);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--property-dark);
    outline: none;
    background: #fff;
    transition: var(--transition-smooth);
}

.property-calc-field select:focus {
    border-color: var(--property-primary);
}

.property-calc-checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 5px;
}

.property-calc-checkbox-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--property-primary);
}

.property-calc-checkbox-field label {
    font-size: 14px;
    font-weight: 500;
    color: var(--property-dark);
    cursor: pointer;
}

.property-calc-repayment-result {
    margin-top: 15px;
    padding: 20px;
    background: rgba(110, 110, 110, 0.05);
    border-radius: 4px;
    border-left: 4px solid var(--property-primary);
    font-size: 16px;
    font-weight: 600;
    color: var(--property-dark);
}

.property-calc-repayment-result strong {
    font-size: 24px;
    color: var(--property-primary);
    margin: 0 5px;
}

.property-sdlt-description {
    font-size: 13px;
    color: #7e1444;
    /* Muted gold for tax description note in screenshot */
    font-style: italic;
    font-weight: 600;
    line-height: 1.5;
}

.property-sdlt-outputs {
    margin-top: 15px;
    padding: 20px;
    background: var(--property-light);
    border: 1px solid var(--property-border);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.property-sdlt-result-line {
    font-size: 16px;
    font-weight: 600;
    color: var(--property-dark);
}

.property-sdlt-result-line strong {
    font-size: 22px;
    color: var(--property-primary);
    margin-left: 10px;
}

.property-sdlt-breakdown {
    font-size: 14px;
    color: var(--property-dark);
    line-height: 1.5;
}

.property-sdlt-effective-rate {
    font-size: 14px;
    font-weight: 600;
    color: var(--property-text-muted);
}

/* Sidebar Contact Card */
.property-sidebar-card {
    background: #ffffff;
    border: 1px solid var(--property-border);
    border-radius: 6px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

/* Sticky behavior for desktop */
@media (min-width: 992px) {
    .property-sidebar-column {
        position: sticky !important;
        top: 80px !important;
        align-self: start !important;
        z-index: 1 !important;
    }

    body.admin-bar .property-sidebar-column {
        top: 112px !important;
    }

    body.admin-bar .property-sub-nav-bar {
        top: 32px !important;
    }
}

.property-sidebar-agent-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 25px 0;
    line-height: 1.4;
    color: var(--property-primary);
    text-align: center;
}

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

.property-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 15px 20px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
}

.property-btn-primary {
    background-color: var(--property-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(110, 110, 110, 0.2);
}

.property-btn-primary:hover {
    background-color: var(--property-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(110, 110, 110, 0.35);
}

.property-btn-secondary {
    background-color: #ffffff;
    color:  #7e1444;
    border: 1px solid #7e1444;
}

.property-btn-secondary:hover {
    background-color: #7e1444;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(110, 110, 110, 0.15);
}

.property-hero-disabled .property-hero-banner {
    display: none !important;
}

/* Lightbox Modal CSS */
.property-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.property-lightbox-content {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px;
    box-sizing: border-box;
}

.property-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.property-lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10200;
    line-height: 1;
}

.property-lightbox-close:hover {
    color: var(--property-primary);
    transform: scale(1.1);
}

.property-lightbox-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    transform: translateY(-50%);
    z-index: 10100;
    box-sizing: border-box;
}

.property-lightbox-btn {
    width: 55px;
    height: 55px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: var(--transition-smooth);
    border: none;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.property-lightbox-btn:hover {
    background: var(--property-primary);
    transform: scale(1.1);
}

.property-lightbox-caption {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    width: 100%;
    text-align: center;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    z-index: 10100;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Animations */
@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Share & Save Alerts styling */
.property-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--property-primary);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s;
}

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

/* Responsiveness adjustments */
@media (max-width: 991px) {
    .property-detail-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .property-sidebar-card {
        position: static;
        margin-top: 20px;
    }

    .property-hero-banner {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .property-hero-banner {
        height: 280px;
    }

    .property-hero-image-pane:nth-child(2) {
        display: none;
        /* Hide second split image on mobile to focus on primary */
    }

    .property-sub-nav-container {
        flex-direction: column;
        align-items: stretch;
    }

    .property-sub-nav-links {
        justify-content: space-between;
    }

    .property-sub-nav-actions {
        justify-content: center;
        border-top: 1px solid var(--property-border);
    }

    .property-sub-nav-links li a,
    .property-action-link {
        padding: 12px 10px;
        font-size: 10px;
    }

    .property-visuals-section {
        grid-template-columns: 1fr;
    }

    .property-layout-mini {
        padding: 30px 15px;
    }
}

/* Theme Integration / Reset overrides */
.single-property .hostinger-ai-page-title,
.single-property .wp-block-post-title,
.single-property .wp-block-post-featured-image,
.single-property .wp-block-post-date,
.single-property hr.wp-block-separator,
.single-property .entry-title,
.single-property .post-thumbnail,
.single-property .entry-meta,
.single-property .post-meta {
    display: none !important;
}

/* Safely collapse the header block group wrapper containing the title (excluding the main container) */
.single-property main.wp-block-group>.wp-block-group:has(.hostinger-ai-page-title),
.single-property main.wp-block-group>.wp-block-group:has(.wp-block-post-title),
.single-property div.wp-block-group:has(> .hostinger-ai-page-title),
.single-property div.wp-block-group:has(> .wp-block-post-title),
.single-property div.wp-block-group:has(> * > .hostinger-ai-page-title),
.single-property div.wp-block-group:has(> * > .wp-block-post-title) {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    min-height: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    border: none !important;
}

.single-property .wp-site-blocks>.wp-block-group,
.single-property .entry-content,
.single-property .wp-block-post-content,
.single-property .wp-block-group.alignwide {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.single-property .entry-content, .single-property .wp-block-post-content{
    padding-bottom: 30px;
}

/* Specificity Overrides to Prevent Theme Style Intrusion on Forms, Inputs, and Grids */
.property-showcase-wrapper .property-calc-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 20px !important;
}

.property-showcase-wrapper .property-calc-field {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}

.property-showcase-wrapper .property-calc-field label {
    display: block !important;
    margin-bottom: 5px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

.property-showcase-wrapper .property-calc-input-wrapper {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border: 1px solid var(--property-border) !important;
    border-radius: 4px !important;
    background: #fff !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.property-showcase-wrapper .property-calc-input-wrapper input {
    flex: 1 !important;
    display: inline-block !important;
    width: 100% !important;
    min-width: 0 !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 12px !important;
    margin: 0 !important;
    height: auto !important;
    background: transparent !important;
}

.property-showcase-wrapper .property-calc-prefix,
.property-showcase-wrapper .property-calc-suffix {
    display: inline-block !important;
    padding: 10px 12px !important;
    margin: 0 !important;
    height: auto !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    background: var(--property-light) !important;
    border: none !important;
}

.property-showcase-wrapper .property-calc-prefix {
    border-right: 1px solid var(--property-border) !important;
}

.property-showcase-wrapper .property-calc-suffix {
    border-left: 1px solid var(--property-border) !important;
}

.property-showcase-wrapper .property-calc-field select {
    display: block !important;
    width: 100% !important;
    padding: 12px !important;
    border: 1px solid var(--property-border) !important;
    border-radius: 4px !important;
    background-color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
    height: auto !important;
    margin: 0 !important;
}

.property-showcase-wrapper .property-accordion-body {
    display: none;
    padding: 25px !important;
    border-top: 1px solid var(--property-border) !important;
}

.property-showcase-wrapper .property-accordion-item.open .property-accordion-body {
    display: block !important;
}

.property-showcase-wrapper .property-specs-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
    align-items: center !important;
    padding: 0 !important;
    margin-top: 20px !important;
    border-bottom: none !important;
}

.property-showcase-wrapper .property-spec-item {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 8px 16px !important;
}

/* Fix for sticky elements on Gutenberg block themes */
.single-property html,
.single-property body,
.single-property .wp-site-blocks,
.single-property main,
.single-property .entry-content,
.single-property .wp-block-post-content,
.single-property .wp-block-group {
    overflow: visible !important;
}

/* Social Share Action Dropdown styling */
.property-share-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.property-share-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: 1px solid var(--property-border);
    border-radius: 30px;
    padding: 8px 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 150;
    gap: 8px;
    align-items: center;
    white-space: nowrap;
}

.property-share-wrapper:hover .property-share-dropdown,
.property-share-wrapper.active .property-share-dropdown {
    display: flex;
    animation: fadeInUp 0.2s ease forwards;
}

/* Arrow indicator */
.property-share-dropdown::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #ffffff transparent;
}

.property-share-dropdown::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 7px;
    border-style: solid;
    border-color: transparent transparent var(--property-border) transparent;
    z-index: -1;
}

.property-share-dropdown .share-icon {
    width: 36px;
    height: 36px;
    background: #88929a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: var(--transition-smooth);
}

.property-share-dropdown .share-icon:hover {
    transform: translateY(-2px);
}

.property-share-dropdown .share-icon.share-whatsapp:hover {
    background: #25d366;
}

.property-share-dropdown .share-icon.share-facebook:hover {
    background: #1877f2;
}

.property-share-dropdown .share-icon.share-linkedin:hover {
    background: #0077b5;
}

.property-share-dropdown .share-icon.share-x:hover {
    background: #000000;
}

.property-share-dropdown .share-icon.share-instagram:hover {
    background: #e1306c;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ── Layout Stack (Image below Title) for single property templates ── */
@media (min-width: 901px) {

    .single-property .hph-layout,
    .single-property .property-hero-stack-auto .hph-layout {
        flex-direction: column !important;
    }

    .single-property .hph-layout .hph-content,
    .single-property .property-hero-stack-auto .hph-layout .hph-content {
        width: 100% !important;
        flex: none !important;
        padding: 0 0 30px 0 !important;
    }

    .single-property .hph-layout .hph-content-inner,
    .single-property .property-hero-stack-auto .hph-layout .hph-content-inner {
        max-width: 100% !important;
    }

    .single-property .hph-layout .hph-image-col,
    .single-property .property-hero-stack-auto .hph-layout .hph-image-col {
        width: 100% !important;
        flex: none !important;
        max-width: 100% !important;
        min-height: 0 !important;
    }

    /* Auto Aspect Ratio Image rendering */
    .single-property .hph-layout .hph-image-col.hph-aspect-auto,
    .single-property .property-hero-stack-auto .hph-layout .hph-image-col.hph-aspect-auto {
        min-height: 0 !important;
    }

    .single-property .hph-layout .hph-image-col img,
    .single-property .property-hero-stack-auto .hph-layout .hph-image-col img {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}

/* ── Layout Alignment (Moves Sub-Navigation bar inside left main column) ── */
.single-property .property-main-content .property-sub-nav-bar,
.single-property .property-align-sidebar-active .property-main-content .property-sub-nav-bar {
    position: sticky !important;
    top: 0 !important;
    z-index: 100 !important;
    width: 100% !important;
    border-bottom: 1px solid var(--property-border) !important;
    background: #fff !important;
    margin-bottom: 30px !important;
}

.single-property .property-main-content .property-sub-nav-container,
.single-property .property-align-sidebar-active .property-main-content .property-sub-nav-container {
    max-width: 100% !important;
    padding: 0 !important;
    width: 100% !important;
}

.single-property .property-extracted-hero,
.single-property .property-align-sidebar-active .property-extracted-hero {
    margin-bottom: 35px !important;
    width: 100% !important;
}

/* --- Hide Gutenberg Page Hero on single property pages --- */
.hph-header,
.hph-layout.hph-wrap-layout .hph-image-col {
    display: none !important;
}

@media (min-width: 901px) {

    .hph-headerm,
    .hph-layout.hph-wrap-layout .hph-image-col {
        display: none !important;
    }
}

/* --- Custom Template Title Header --- */
.single-property .property-template-title-header,
.property-showcase-wrapper .property-template-title-header {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    margin-bottom: 25px !important;
    margin-top: 0 !important;
}

.single-property .property-template-accent-bar,
.property-showcase-wrapper .property-template-accent-bar {
    width: 5px !important;
    height: 40px !important;
    background-color: var(--property-primary, #6e6e6e) !important;
    flex-shrink: 0 !important;
}

.single-property .property-template-title,
.property-showcase-wrapper .property-template-title {
    font-size: 28px !important;
    font-weight: 500 !important;
    letter-spacing: 2px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
   color: var(--property-primary, #6e6e6e) !important;
}

@media (max-width: 768px) {

    .single-property .property-template-title-header,
    .property-showcase-wrapper .property-template-title-header {
        gap: 10px !important;
        margin-bottom: 20px !important;
    }

    .single-property .property-template-accent-bar,
    .property-showcase-wrapper .property-template-accent-bar {
        width: 4px !important;
        height: 32px !important;
    }

    .single-property .property-template-title,
    .property-showcase-wrapper .property-template-title {
        font-size: 22px !important;
        letter-spacing: 1.5px !important;
    }
}

/* ── Custom Template Hero Banner Slider ── */
.single-property .property-template-hero,
.property-showcase-wrapper .property-template-hero {
    position: relative !important;
    width: 100% !important;
    border-radius: 6px !important;
    overflow: hidden !important;
    border: 1px solid var(--property-border) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05) !important;
}

.property-slider-track {
    display: flex !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    width: 100% !important;
}

.property-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.property-slide img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    object-fit: cover !important;
    aspect-ratio: 16/9 !important;
}

/* Slider Arrow styles */
.property-slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    border: 1px solid var(--property-border, #e0e0e0) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 10 !important;
    color: var(--property-dark, #333) !important;
    font-size: 16px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

.property-slider-arrow:hover {
    background: #ffffff !important;
    color: var(--property-primary, #6e6e6e) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.property-slider-prev-btn {
    left: 20px !important;
}

.property-slider-next-btn {
    right: 20px !important;
}

/* Thumbnail adjustments for slider link */
.property-gallery-item.js-slider-thumbnail {
    opacity: 0.6;
    transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.property-gallery-item.js-slider-thumbnail:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.property-gallery-item.js-slider-thumbnail.active {
    opacity: 1 !important;
    border: 2px solid #7e1444 !important;
}

/* --- Slider Popup Modal --- */
.property-slider-popup {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.95) !important;
    z-index: 99999 !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    padding: 50px 0;
}

.property-slider-popup-close {
    position: absolute !important;
    top: 30px !important;
    right: 40px !important;
    color: #fff !important;
    font-size: 50px !important;
    cursor: pointer !important;
    z-index: 100000 !important;
    transition: all 0.3s ease !important;
    line-height: 1 !important;
}

.property-slider-popup-close:hover {
    color: var(--property-primary, #6e6e6e) !important;
    transform: scale(1.1) !important;
}

.property-slider-popup-content {
    width: 90% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
    align-items: center !important;
}

.property-popup-slider-container {
    position: relative !important;
    width: 100% !important;
    aspect-ratio: 16/9 !important;
    overflow: hidden !important;
}

.property-popup-slider-track {
    display: flex !important;
    width: 100% !important;
    height: 100% !important;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.property-popup-slide {
    flex: 0 0 100% !important;
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.property-popup-slide img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

/* Popup Slider Arrows */
.property-popup-slider-arrow {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    z-index: 100010 !important;
    color: #fff !important;
    font-size: 18px !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}

.property-popup-slider-arrow:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000 !important;
    transform: translateY(-50%) scale(1.05) !important;
}

.property-popup-slider-prev-btn {
    left: 20px !important;
}

.property-popup-slider-next-btn {
    right: 20px !important;
}

/* Horizontal scrolling thumbnails strip in popup */
.property-popup-thumbnails-container {
    width: 100% !important;
    overflow-x: auto !important;
    padding: 10px 0 !important;
    box-sizing: border-box !important;
}

/* Scrollbar styling for horizontal thumbnails */
.property-popup-thumbnails-container::-webkit-scrollbar {
    height: 6px !important;
}

.property-popup-thumbnails-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05) !important;
    border-radius: 3px !important;
}

.property-popup-thumbnails-container::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 3px !important;
}

.property-popup-thumbnails-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4) !important;
}

.property-popup-thumbnails-track {
    display: flex !important;
    gap: 12px !important;
    width: max-content !important;
}

.property-popup-thumb-item {
    width: 80px !important;
    aspect-ratio: 4/3 !important;
    border-radius: 4px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    border: 2px solid transparent !important;
    opacity: 0.5 !important;
    transition: all 0.3s ease !important;
}

.property-popup-thumb-item img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

.property-popup-thumb-item:hover,
.property-popup-thumb-item.active {
    opacity: 1 !important;
    border-color: #fff !important;
}

/* Agent Profile Box Styling */
.property-profile-card {
    background: #ffffff !important;
    border: 1px solid var(--property-border) !important;
    border-radius: 6px !important;
    padding: 24px !important;
    margin-top: 20px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03) !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    box-sizing: border-box !important;
}

.property-profile-avatar {
    flex-shrink: 0 !important;
    width: 80px !important;
    height: 80px !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    border: 1px solid var(--property-border) !important;
    background: var(--property-light) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.property-profile-avatar img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

.property-profile-avatar svg {
    width: 45px !important;
    height: 45px !important;
    color: var(--property-text-muted) !important;
    display: block !important;
}

.property-profile-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
}

.property-profile-name {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #6e6e6e !important;
    margin: 0 !important;
    line-height: 1.25 !important;
}

.property-profile-designation {
    font-size: 14px !important;
    color: var(--property-text-muted) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

.property-profile-phone {
    font-size: 14px !important;
    color: var(--property-text-muted) !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

.property-profile-email {
    margin-top: 2px !important;
}

.property-profile-email a {
    font-size: 14px !important;
    color: var(--property-text-muted) !important;
    text-decoration: underline !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    transition: var(--transition-smooth) !important;
}

.property-profile-email a:hover {
    color: #111111 !important;
}