/* ==========================================================================
   Plato Collection Template — scoped styles
   All selectors below are prefixed with .plato- or target elements only
   present inside this template's markup.
   ========================================================================== */

/* ---- Suppress the site's default hero banner for this template only ---- */
.home-screen-main-cont,
.full-height-main-cont,
.int-header-main-cont {
    display: none !important;
}

.header-main-cont {
    background-image: none !important;
}

.page-site-int-cont {
    background: #ffffff;
}

/* Solid background for nav when transparent hero is active */
body.page-template-page-plato-collection-php .header-main-cont.homeheaderclass {
    background: #1e1e1e !important;
}

/* ---- Custom hero (photo + heading) ---- */
.plato-hero-cont {
    margin-top: 20px;
    background: #ffffff;
}

.plato-hero-img img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.plato-hero-text-cont {
    text-align: center;
    padding: 40px 0 10px;
    background: #ffffff;
}

.plato-hero-heading {
    font-family: 'manropebold', Arial, sans-serif;
    color: #0c0c0d;
    font-size: 40px;
    line-height: 1.3;
    margin: 0 0 16px;
}

.plato-hero-heading span.italic-serif {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: normal;
    color: #9a9a9a;
}

.plato-hero-desc {
    font-family: 'manroperegular', Arial, sans-serif;
    color: #4a4a4a;
    font-size: 17px;
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .plato-hero-heading {
        font-size: 28px;
    }
}

.plato-fp-main-cont {
    padding: 50px 0 20px;
    background: #ffffff;
}

.plato-fp-top-cont {
    margin-bottom: 10px;
}

/* ---- Grid & cards ---- */
.plato-fp-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.plato-fp-card {
    width: 50%;
    box-sizing: border-box;
    padding: 15px;
}

.plato-fp-card-inner {
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.plato-fp-img {
    background: transparent;
    text-align: center;
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
    display: flex;
    justify-content: center;
    align-items: center;
}

.plato-fp-img img {
    max-width: 100%;
    max-height: 500px;
    height: auto;
    object-fit: contain;
    display: block;
    cursor: zoom-in;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.plato-fp-img img:hover {
    transform: scale(1.02);
    opacity: 0.9;
}

.plato-fp-body {
    padding: 24px;
    flex-grow: 1;
}

.plato-fp-headrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.plato-fp-title {
    font-family: 'manropebold', Arial, sans-serif;
    color: #0c0c0d;
    font-size: 26px;
    line-height: 1.3;
    margin: 0;
}

.plato-fp-compare-btn {
    font-family: 'manropesemibold', Arial, sans-serif;
    font-size: 13px;
    color: #fff;
    background: #1e1e1e;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    cursor: pointer;
    border-radius: 4px;
    padding: 9px 18px;
    transition: background ease-in-out 0.3s;
}

.plato-fp-compare-btn:hover {
    background: #d42127;
}

.plato-fp-compare-btn input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
}

.plato-fp-compare-btn.is-active {
    background: #d42127;
}

/* Features Row (Bed, Bath, Car) */
.plato-fp-icons-row {
    display: flex;
    gap: 24px;
    margin: 16px 0 20px;
    font-family: 'manroperegular', Arial, sans-serif;
    font-size: 15px;
    color: #0c0c0d;
    font-weight: 500;
}

.plato-fp-icon-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.plato-fp-icon-item i {
    color: #4a4a4a;
    font-size: 18px;
}

.plato-fp-card .bbp-main-cont {
    margin-top: 14px;
    background: transparent;
    border-top: 1px solid rgba(12, 12, 13, 0.1);
    border-bottom: 1px solid rgba(12, 12, 13, 0.1);
}

.plato-fp-card .bbp-padding {
    padding: 14px 0;
}

.plato-fp-dims i {
    color: #777;
    margin-right: 4px;
    font-size: 15px;
}

.plato-fp-dims {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    font-family: 'manroperegular', Arial, sans-serif;
    font-size: 13px;
    color: #4a4a4a;
    padding: 0;
    border-bottom: none;
}

.plato-fp-dims strong {
    font-family: 'manropesemibold', Arial, sans-serif;
    color: #0c0c0d;
    font-weight: 600;
}

.plato-fp-price {
    font-family: 'manroperegular', Arial, sans-serif;
    color: #0c0c0d;
    font-size: 16px;
    margin: 14px 0 0;
}

.plato-fp-price span {
    font-family: 'manropebold', Arial, sans-serif;
}

.plato-fp-actions {
    background: #f7f7f7;
    border-top: 1px solid #e5e5e5;
    padding: 20px 24px;
    margin: 0;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.plato-btn {
    text-align: center;
    font-family: 'manropebold', Arial, sans-serif;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 10px 24px;
    border-radius: 4px;
    display: inline-block;
    text-decoration: none;
    transition: all ease-in-out 0.3s;
    width: auto;
    min-width: 120px;
}

.plato-btn-enquire {
    background: #222;
    color: #fff;
}

.plato-btn-enquire:hover {
    background: #d42127;
    color: #fff;
}

.plato-btn-brochure {
    background: #a9aeb0;
    color: #fff;
}

.plato-btn-brochure:hover {
    background: #909597;
    color: #fff;
}

.plato-fp-noresults {
    font-family: 'manroperegular', Arial, sans-serif;
    font-size: 16px;
    color: #6a6a6a;
    padding: 40px 0;
}

/* ---- Plato Facades section ---- */
.plato-facades-cont {
    padding: 60px 0 80px;
    background: #fff;
}

.plato-facades-heading {
    text-align: center;
    font-family: 'manropebold', Arial, sans-serif;
    color: #0c0c0d;
    font-size: 32px;
    margin: 0 0 30px;
}

.plato-facades-heading span {
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-weight: normal;
    color: #9a9a9a;
}

.plato-facades-carousel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0 44px;
    box-sizing: border-box;
}

.plato-facades-carousel-track-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.plato-facades-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.plato-facade-slide {
    flex: 0 0 calc(33.333% - 16px);
    box-sizing: border-box;
}

.plato-facade-card {
    width: 100%;
    box-sizing: border-box;
}

.plato-facade-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

.plato-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: #1e1e1e;
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    opacity: 0.8;
}

.plato-carousel-arrow:hover {
    background: #d42127;
    color: #fff;
    opacity: 1;
}

.plato-carousel-arrow.prev-arrow {
    left: 0;
}

.plato-carousel-arrow.next-arrow {
    right: 0;
}

.plato-carousel-arrow.disabled {
    opacity: 0.15;
    cursor: not-allowed;
    pointer-events: none;
}

.plato-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.plato-dot {
    width: 8px;
    height: 8px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, width 0.3s ease;
}

.plato-dot.active {
    background-color: #0c0c0d;
    width: 20px;
    border-radius: 4px;
}

@media (max-width: 1024px) {
    .plato-facade-slide {
        flex: 0 0 calc(50% - 12px);
    }
    .plato-facade-card img {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .plato-facades-carousel-wrapper {
        padding: 0 20px;
    }
    .plato-facade-slide {
        flex: 0 0 100%;
    }
    .plato-facade-card img {
        height: 200px;
    }
    .plato-carousel-arrow {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 640px) {
    .plato-fp-card {
        width: 100%;
    }

    .plato-fp-card-inner {
        padding: 0;
    }

    .plato-fp-body {
        padding: 20px;
    }

    .plato-fp-headrow {
        flex-wrap: wrap;
        gap: 8px;
    }

    .plato-fp-actions {
        padding: 16px 20px;
        flex-direction: column;
        gap: 10px;
    }

    .plato-fp-actions .plato-btn {
        width: 100%;
        box-sizing: border-box;
    }
}

/* ==========================================================================
   Custom Filter Bar & Heading modifications
   ========================================================================== */

/* Custom Filter Bar */
.plato-new-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 0 10px;
    margin-bottom: 20px;
}

.plato-new-filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.plato-new-filter-group label.group-label {
    font-family: 'manropebold', Arial, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #0c0c0d;
    margin: 0;
}

/* Radio Pills */
.plato-new-pill-group {
    display: flex;
    gap: 4px;
}

.plato-new-pill-group input[type="radio"] {
    display: none;
}

.plato-new-pill-group label {
    display: inline-block;
    cursor: pointer;
    background-color: #a9aeb0;
    color: #0c0c0d;
    font-family: 'manropesemibold', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s ease;
    text-align: center;
    min-width: 48px;
    border: none;
    user-select: none;
}

.plato-new-pill-group label[for^="beds-"]:not([for="beds-all"]),
.plato-new-pill-group label[for^="baths-"]:not([for="baths-all"]) {
    min-width: 20px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}

.plato-new-pill-group input[type="radio"]:checked+label {
    background-color: #0c0c0d;
    color: #fff;
}

.plato-new-pill-group label:hover {
    background-color: #909597;
}

.plato-new-pill-group input[type="radio"]:checked+label:hover {
    background-color: #0c0c0d;
}

/* Line-styled Dropdowns */
.plato-new-select {
    font-family: 'manroperegular', Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #0c0c0d;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #0c0c0d;
    border-radius: 0;
    padding: 8px 24px 8px 0;
    cursor: pointer;
    min-width: 130px;
    height: 36px;
    outline: none;
    transition: border-bottom-color 0.2s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c0c0d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 2px center;
    background-size: 12px;
}

.plato-new-select:focus {
    border-bottom-color: #0c0c0d;
    color: #0c0c0d;
}

/* Façade Choices Button */
.plato-facade-choices-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #0c0c0d;
    color: #fff;
    font-family: 'manropesemibold', Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    height: 36px;
    padding: 0 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.plato-facade-choices-btn:hover {
    background-color: #d42127;
    color: #fff;
}

@media (min-width: 1025px) {
    .plato-new-filter-bar {
        flex-wrap: nowrap !important;
        gap: 12px !important;
    }

    .plato-new-filter-group {
        flex-shrink: 1;
    }

    .plato-new-pill-group label {
        padding: 8px 12px !important;
        min-width: 40px !important;
        font-size: 13px !important;
    }

    .plato-new-select {
        min-width: 110px !important;
        font-size: 13px !important;
        padding-right: 20px !important;
    }

    .plato-facade-choices-btn {
        padding: 0 15px !important;
        font-size: 13px !important;
        white-space: nowrap;
    }
}

/* Hero sidebar text styling */
.plato-new-hero-flex {
    display: flex;
    align-items: stretch;
    gap: 30px;
    margin-right: -20px;
}

@media (max-width: 768px) {
    .plato-new-hero-flex {
        flex-direction: column;
        gap: 15px;
    }
}

.plato-new-hero-left-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 60px;
    padding: 30px 0;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .plato-new-hero-left-sidebar {
        flex-direction: row;
        width: 100%;
        height: auto;
        padding: 10px 0;
        justify-content: space-around;
        align-items: center;
    }
}

.plato-new-sidebar-top,
.plato-new-sidebar-mid,
.plato-new-sidebar-bot .scroll-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-family: 'manroperegular', Arial, sans-serif;
    font-size: 14px;
    color: #0c0c0d;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .plato-new-sidebar-top,
    .plato-new-sidebar-mid,
    .plato-new-sidebar-bot .scroll-text {
        writing-mode: horizontal-tb;
        transform: none;
    }
}

.plato-new-sidebar-bot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .plato-new-sidebar-bot {
        flex-direction: row;
        gap: 6px;
    }
}

.plato-new-sidebar-bot .scroll-text {
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    .plato-new-sidebar-bot .scroll-text {
        margin-bottom: 0;
    }
}

.plato-new-sidebar-bot .scroll-dot {
    width: 6px;
    height: 6px;
    background-color: #0c0c0d;
    border-radius: 50%;
    display: inline-block;
}

.plato-new-sidebar-bot .scroll-line {
    width: 1px;
    height: 60px;
    background-color: #0c0c0d;
    display: inline-block;
}

@media (max-width: 768px) {
    .plato-new-sidebar-bot .scroll-line {
        width: 30px;
        height: 1px;
    }
}

.plato-new-hero-image-wrapper {
    flex-grow: 1;
}

.plato-new-hero-image-wrapper .plato-hero-img .wp-post-image {
    border-radius: 40px 0px 0px 40px !important;
}

@media (min-width: 769px) {
    .plato-new-hero-image-wrapper .plato-hero-img .wp-post-image {
        height: 600px !important;
        object-fit: cover !important;
    }
}

.plato-narrow-content {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   Compare Checkbox & Floating Bar Styles
   ========================================================================== */
.plato-fp-compare-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    background: #f7f6f2;
    padding: 6px 14px;
    border-radius: 5px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555;
    transition: all 0.2s ease;
    border: 1px solid #e6e4de;
}

.plato-fp-compare-btn:hover {
    background: #e6e4de;
    color: #111;
}

.plato-fp-compare-btn.active {
    background: #1a1a1a;
    color: #fff;
    border-color: #1a1a1a;
}

.plato-compare-checkbox {
    margin-right: 6px;
    accent-color: #1a1a1a;
    cursor: pointer;
}

/* Floating Comparison Bar styling */
#plato-compare-floating-bar {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(150px);
    width: 90%;
    max-width: 850px;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
    border-radius: 50px;
    z-index: 9999;
    padding: 10px 24px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

#plato-compare-floating-bar.plato-compare-bar-visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.plato-compare-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.plato-compare-bar-info {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
}

.plato-compare-count {
    background: #ffffff; /* elegant accent color */
    color: #1a1a1a;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.85rem;
    margin-right: 4px;
}

.plato-compare-bar-previews {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    max-width: 55%;
    padding: 4px 0;
    scrollbar-width: none; /* Firefox */
}

.plato-compare-bar-previews::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.plato-compare-preview-item {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 10px 4px 6px;
    border-radius: 30px;
    gap: 8px;
    flex-shrink: 0;
    max-width: 150px;
}

.plato-compare-preview-item img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.plato-compare-preview-noimg {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #fff;
}

.plato-compare-preview-title {
    color: #eee;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
}

.plato-compare-preview-remove {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    transition: color 0.2s;
}

.plato-compare-preview-remove:hover {
    color: #ff6b6b;
}

.plato-compare-bar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.plato-compare-btn-clear {
    background: none;
    border: none;
    color: #aaa;
    font-size: 0.9rem;
    cursor: pointer;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.2s;
}

.plato-compare-btn-clear:hover {
    color: #fff;
}

.plato-compare-btn-submit {
    background: #fff;
    color: #1a1a1a;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.plato-compare-btn-submit:hover {
    background: #ffffff;
    color: #1a1a1a;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    #plato-compare-floating-bar {
        border-radius: 20px;
        bottom: 12px;
        padding: 12px 16px;
        width: 95%;
    }
    
    .plato-compare-bar-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .plato-compare-bar-info {
        text-align: center;
    }
}

/* ==========================================================================
   Floor Plan Lightbox Popup Modal
   ========================================================================== */
.plato-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 12, 13, 0.85); /* Premium dark overlay */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.plato-lightbox.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.plato-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: scale(0.9);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); /* Zoom bounce effect */
}

.plato-lightbox.is-active .plato-lightbox-content {
    transform: scale(1);
}

.plato-lightbox-content img {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    background: #ffffff; /* White background to avoid transparent PNG issues */
    padding: 16px;
    box-sizing: border-box;
}

.plato-lightbox-caption {
    margin-top: 16px;
    color: #ffffff;
    font-family: 'manropebold', Arial, sans-serif;
    font-size: 18px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.plato-lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    font-size: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10001;
    outline: none;
}

.plato-lightbox-close:hover {
    background: #d42127;
    border-color: #d42127;
    transform: rotate(90deg) scale(1.1);
}

.plato-lightbox-close:focus-visible {
    box-shadow: 0 0 0 3px rgba(212, 33, 39, 0.5);
}

body.plato-lightbox-open {
    overflow: hidden !important;
}

.plato-fp-compare-btn{
	border-radius: 5px !important;
	background: #222;
   color: #ffffff;
}