.c2p-catalog-page {
    background: #ffffff !important;
}

.public-nav-logo img {
    height: 85px;
}

.c2p-public-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.c2p-public-nav-actions .btn {
    min-height: 46px;
    white-space: nowrap;
}

.public-nav-btn {
    padding: 0 16px;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 24px;
    background-color: #ffffff; /* solid white — slides over fixed hero image on scroll */
    position: relative;
    z-index: 10;
}

/* Cinematic Hero Scroll Styles (Light Theme) */

/* Cinematic Hero Scroll Styles (Light Theme) */
.cinematic-hero-trigger {
    position: relative;
    height: 300vh; /* adjusted to 300vh as requested */
    background: transparent; /* image is fixed behind, so this must be transparent */
}

.cinematic-hero-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg-canvas {
    position: fixed;          /* locked to viewport for cinematic scroll effect */
    top: 90px;                /* start right below menu */
    right: 90px;              /* 90px gap on right */
    bottom: 0;
    left: 90px;               /* 90px gap on left */
    z-index: -1;              /* sits behind ALL page content */
    background: url("/shared-site/images/esrs_9_pillars.webp") center center / 100% 100% no-repeat;
    background-color: #ffffff;
}

.hero-overlay-curtain {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    z-index: 1;
}

.hero-scroll-layer {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: auto;
}

.hero-content-glass {
    text-align: center;
    max-width: 1000px;
    padding: 20px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    opacity: 0;
    pointer-events: auto;
}

/* Page Header fallback removal */
.c2p-catalog-page .page-header {
    display: none !important;
}

.catalog-hero-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 16px;
    padding: 8px 20px;
    border-radius: 999px;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    color: var(--c-accent-hover, #B5952F);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

.catalog-page-title {
    margin: 0 0 12px;
    color: #0f172a !important; /* Premium rich dark slate */
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.catalog-page-title span {
    background: linear-gradient(135deg, #c00a27 0%, #ff3b5c 50%, #c00a27 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    filter: drop-shadow(0 6px 12px rgba(192, 10, 39, 0.18));
    animation: shine 6s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.catalog-page-copy {
    margin: 0 auto 16px;
    color: #4b5563 !important;
    max-width: 800px;
    font-size: clamp(1rem, 1.1vw, 1.15rem);
    line-height: 1.5;
    text-align: center;
}

.catalog-hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 26px;
    justify-content: center;
}

.catalog-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(17, 24, 39, 0.06);
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.04);
    color: #111827;
    font-size: 1rem;
    font-weight: 700;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.catalog-hero-pill:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(17, 24, 39, 0.08);
    border-color: rgba(212, 175, 55, 0.3);
}

.catalog-hero-pill i {
    width: 16px;
    height: 16px;
    color: var(--c-accent, #D4AF37);
}

/* Filter Bar sticky correction */
.c2p-catalog-filter-bar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    padding: 24px 28px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 32px 64px -16px rgba(17, 24, 39, 0.16), 0 0 0 1px rgba(17, 24, 39, 0.02);
    margin: 0 auto 40px;
    max-width: 1230px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 80px;
    z-index: 990;
}

.filter-row-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.c2p-catalog-search {
    flex: 1; /* expand to fill remaining space in the row */
}

.filter-box {
    display: flex;
    align-items: center;
    height: 42px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 10px;
}

.filter-select-clean {
    border: none !important;
    background: transparent !important;
    width: 100%;
    height: 100%;
    font-size: 0.88rem;
    outline: none;
}

.filter-toggle-btn {
    background: #c00a27;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
}

.filter-grid-collapse {
    display: none;
    flex-direction: column;
    gap: 10px;
}

.filter-grid-collapse.is-open {
    display: flex;
}

.catalog-budget-group, .filter-location-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

#map-container {
    height: 490px;
    margin-bottom: 40px;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

#prop-map {
    width: 100%;
    height: 100%;
}

/* ── Icon utilities ─────────────────────────────────────────────────────── */
.icon-xxs { width: 12px; height: 12px; }
.icon-xs  { width: 14px; height: 14px; }
.icon-sm  { width: 16px; height: 16px; }
.icon-md  { width: 18px; height: 18px; }
.icon-inline { display: inline-block; vertical-align: middle; margin-right: 4px; }
.icon-right  { margin-left: 4px; margin-right: 0; }

/* ── Utility ──────────────────────────────────────────────────────────────── */
.u-pos-rel { position: relative; }
.u-ov-vis  { overflow: visible !important; }
.u-mb-0    { margin-bottom: 0 !important; }
.u-mb-16   { margin-bottom: 16px; }
.u-price-text { font-size: 1.3rem; font-weight: 800; color: #c00a27; }
.mt-auto   { margin-top: auto; }

/* ── Property Grid ───────────────────────────────────────────────────────── */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 0;
}

/* ── Card ────────────────────────────────────────────────────────────────── */
.property-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 24px -4px rgba(17, 24, 39, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(17, 24, 39, 0.06);
}
.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 32px 64px -16px rgba(17, 24, 39, 0.16), 0 0 0 1px rgba(17, 24, 39, 0.02);
}

/* Image container */
.property-card > div:first-child {
    position: relative;
    height: 230px;
    overflow: hidden;
}
.property-image-link {
    display: block;
    width: 100%;
    height: 100%;
}
.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.property-card:hover .property-img { transform: scale(1.04); }

/* ── Action Buttons (WhatsApp + Share) ───────────────────────────────────── */
.card-action-cluster {
    position: absolute;
    top: 10px;
    right: 10px;  /* TOP-RIGHT matching live site */
    display: flex;
    flex-direction: row;
    gap: 6px;
    z-index: 5;
}
.action-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.45);  /* dark semi-transparent like live site */
    backdrop-filter: blur(6px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
    transition: background 0.2s ease, transform 0.2s ease;
    color: #fff;  /* white icons */
}
.action-circle:hover { background: rgba(0,0,0,0.65); transform: scale(1.1); }
.whatsapp-trigger:hover { background: #25D366; }
.share-trigger:hover    { background: #c00a27; }

/* Share menu */
.share-container { position: relative; }
.u-share-menu-catalog {
    position: absolute;
    top: 42px;
    left: 0;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    display: none;
    flex-direction: column;
    min-width: 150px;
    z-index: 20;
    overflow: hidden;
}
.u-share-menu-catalog.active { display: flex; }
.share-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #374151;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s ease;
}
.share-item:hover { background: #f9fafb; }
.share-item.whatsapp:hover { color: #25D366; }
.share-item.facebook:hover { color: #1877F2; }
.share-item.linkedin:hover { color: #0A66C2; }
.share-item.twitter:hover  { color: #000; }

/* ── Badges ─────────────────────────────────────────────────────────────── */
.badge-trust {
    position: absolute;
    top: 50px;  /* below action buttons */
    right: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
    z-index: 5;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.badge-verified {
    background: rgba(255,255,255,0.92);
    color: #15803d;
    border: 1px solid rgba(21,128,61,0.25);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    gap: 4px;
}
.offer-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--c-accent, #D4AF37) 0%, var(--c-accent-hover, #B5952F) 100%);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* ── Card Content ────────────────────────────────────────────────────────── */
.property-content {
    padding: 20px 22px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.c2p-property-builder {
    font-size: 0.78rem;
    font-weight: 600;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.filter-builder-link {
    color: inherit;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
}
.filter-builder-link:hover { color: #c00a27; }

.property-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
    text-decoration: none;
    display: block;
    margin-bottom: 4px;
    line-height: 1.3;
    transition: color 0.2s;
}
.property-title:hover { color: #c00a27; }

.property-location {
    font-size: 0.83rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 4px;
}
.property-pricing {
    margin-bottom: 4px;
}
.property-price {
    font-size: 1.3rem;
    font-weight: 800;
    color: #c00a27;
    margin-bottom: 0;
}
.c2p-unit-cost {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 12px;
    display: block;
}
.c2p-card-poster {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 12px;
}

.property-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 14px;
    border-top: 1px solid #f3f4f6;
    margin-bottom: 16px;
}
.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #4b5563;
    font-size: 0.82rem;
}

/* ── Skeleton Loaders ────────────────────────────────────────────────────── */
.skeleton-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    display: flex;
    flex-direction: column;
}
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 8px;
}
@keyframes shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-image  { height: 220px; border-radius: 0; }
.skeleton-content{ padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.skeleton-line   { height: 14px; width: 100%; }
.skeleton-line.title { height: 20px; width: 70%; }
.skeleton-line.short { width: 45%; }
.skeleton-line.badge { width: 30%; height: 12px; }

/* ── Empty State ─────────────────────────────────────────────────────────── */
.esr-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}
.esr-empty-icon   { margin-bottom: 24px; }
.esr-empty-title  { font-size: 1.5rem; font-weight: 700; color: #111827; margin: 0 0 8px; }
.esr-empty-sub    { color: #6b7280; margin: 0 0 8px; }
.esr-empty-suggestion { color: #6b7280; margin: 0 0 24px; }
.esr-empty-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.esr-empty-reset    { min-width: 160px; }
.esr-empty-browse-link { color: #c00a27; font-weight: 600; text-decoration: none; font-size: 0.95rem; }

/* ── Toast ───────────────────────────────────────────────────────────────── */
.c2p-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: #fff;
    padding: 12px 24px;
    border-radius: 999px;
    z-index: 10005;
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    animation: toastFade 2.5s forwards;
}
@keyframes toastFade {
    0%   { opacity: 0; transform: translate(-50%, 20px); }
    12%  { opacity: 1; transform: translate(-50%, 0); }
    80%  { opacity: 1; }
    100% { opacity: 0; }
}

/* ── Map Popup ───────────────────────────────────────────────────────────── */
.map-popup-img    { width: 100%; height: 130px; object-fit: cover; border-radius: 8px 8px 0 0; }
.map-popup-body   { padding: 10px 12px 12px; }
.map-popup-builder{ font-size: 0.72rem; color: #9ca3af; font-weight: 600; text-transform: uppercase; margin-bottom: 2px; }
.map-popup-title  { font-size: 0.95rem; font-weight: 700; color: #111827; margin-bottom: 4px; }
.map-popup-loc    { font-size: 0.8rem; color: #6b7280; margin-bottom: 6px; }
.map-popup-price  { font-size: 1rem; font-weight: 800; color: #c00a27; margin-bottom: 10px; }
.map-popup-btn    {
    display: block;
    background: #c00a27;
    color: #fff;
    text-align: center;
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: background 0.2s;
}
.map-popup-btn:hover { background: #9a0820; }

.footer {
    background: #ffffff;
    padding: 72px 0 32px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin-top: 0;
    position: relative;
    z-index: 20;
}

.footer .container {
    max-width: 100%;
    background: #ffffff;
    padding-left: 24px;
    padding-right: 24px;
}

.footer .container > .c2p-footer-grid {
    width: 100%;
}

.footer-logo {
    height: 60px;
    margin-bottom: 18px;
}

.c2p-footer-note {
    max-width: 520px;
    color: #475467;
    line-height: 1.8;
    font-size: 0.98rem;
}

.footer-section-title {
    margin-bottom: 18px;
    color: #111827;
}

.footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    color: #475467;
    line-height: 1.9;
    font-size: 0.98rem;
}

.footer ul a {
    color: inherit;
    text-decoration: none;
}

.footer-legal {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding-top: 24px;
    text-align: center;
    color: #6b7280;
    font-size: 0.92rem;
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #ffffff;
    z-index: -1;
}

.c2p-footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: start;
    padding: 8px 0 28px;
}

.c2p-footer-grid > div:first-child {
    padding-right: 16px;
}

.c2p-footer-grid > div:nth-child(2),
.c2p-footer-grid > div:nth-child(3) {
    padding-top: 6px;
}

.footer-section-title {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
/* ---- 1-Click Actions Showcase (Inline Bar) ---- */
.one-click-inline-bar {
    position: relative;
    margin-top: 16px;
    margin-bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 12px 16px;
    z-index: 50;
    max-width: 100%;
    overflow-x: auto;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.one-click-inline-bar::-webkit-scrollbar {
    display: none;
}

.one-click-brand {
    display: flex;
    align-items: center;
    margin-right: 14px;
    flex-shrink: 0;
    background: transparent;
}

.one-click-img-small {
    height: 120px;
    width: auto;
    object-fit: contain;
    animation: pulse 2s infinite;
    background: transparent;
    mix-blend-mode: multiply;
}

.one-click-links {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.inline-action-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #c00a27 !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 16px;
    border-radius: 20px;
    transition: all 0.2s ease;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.inline-action-item i {
    color: #c00a27 !important;
}

.inline-action-item:hover {
    background: rgba(192, 10, 39, 0.05);
    transform: translateY(-2px);
}

.inline-divider {
    color: rgba(192, 10, 39, 0.3);
    font-size: 1.1rem;
    user-select: none;
}

@media (max-width: 768px) {
    .one-click-inline-bar {
        justify-content: flex-start;
        padding-right: 20px; /* space for scrolling */
    }
}


.c2p-mobile-menu-toggle { display: none; }


@media (max-width: 900px) { .cinematic-hero-trigger { margin-top: -32px !important; } }
