/* LBN Real Estate — Frontend Styles v1.3.0
   DS v.3 sandy neumorphic design.
   Scoped to .lbn-re-* — no theme bleed.
----------------------------------------------------------------------- */

/* ── DS Token Aliases ─────────────────────────────────────────────── */
:root {
    --re-primary:     var(--primary_color, #285260);
    --re-on-primary:  var(--c-text-on-primary, #faf3e3);
    --re-bg:          var(--c-sand-200, #f3e8d1);
    --re-card:        var(--c-sand-100, #faf3e3);
    --re-subtle:      var(--c-sand-300, #ece0c8);
    --re-text:        var(--c-text-body,    #5c4a32);
    --re-muted:       var(--c-text-muted,   #8a7858);
    --re-heading:     var(--c-text-heading, #2a2118);
    --re-border:      var(--c-border-soft,  #e4d6b8);
    --re-shadow:      var(--shadow-raised-sm, 0 2px 6px rgba(40,30,10,.10), 0 1px 2px rgba(40,30,10,.06));
    --re-shadow-md:   var(--shadow-raised-md, 0 4px 16px rgba(40,30,10,.13), 0 2px 4px rgba(40,30,10,.08));
    --re-inset:       var(--shadow-inset-sm, inset 0 2px 4px rgba(40,30,10,.08));
    --re-danger:      var(--c-danger,      #b85c4a);
    --re-danger-bg:   var(--c-danger-bg,   #fde8e4);
    --re-success:     var(--c-success,     #4f8a6b);
    --re-success-bg:  var(--c-success-bg,  #e0f0e8);
    --re-warning:     var(--c-warning,     #c89a4c);
    --re-warning-bg:  var(--c-warning-bg,  #fdf3dc);
    --re-info:        var(--c-info,        #548c92);
    --re-info-bg:     var(--c-info-bg,     #e0f0f2);
    --re-featured:    var(--c-featured,    #b8893f);
    --re-featured-bg: var(--c-featured-bg, #fdf0d8);
    --re-wa:          #25d366;
    --re-radius:      var(--r-sm,  8px);
    --re-radius-sm:   var(--r-sm,  8px);
    --re-gap:         20px;
    --re-transition:  all .2s ease;
}

/* ── Box-sizing reset ─────────────────────────────────────────────── */
.lbn-re-container *,
.lbn-re-container *::before,
.lbn-re-container *::after {
    box-sizing: border-box;
}

.lbn-re-container {
    color: var(--re-text);
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}

/* ── Notices ──────────────────────────────────────────────────────── */
.lbn-re-notice {
    padding: 12px 16px;
    border-radius: var(--re-radius-sm);
    border: 1px solid transparent;
    margin-bottom: 16px;
    font-size: .9375rem;
}
.lbn-re-notice-success,
.lbn-re-notice--ok     { background: var(--re-success-bg); border-color: var(--re-success); color: var(--re-success); }
.lbn-re-notice-error,
.lbn-re-notice--error  { background: var(--re-danger-bg);  border-color: var(--re-danger);  color: var(--re-danger); }
.lbn-re-notice--info   { background: var(--re-info-bg);    border-color: var(--re-info);    color: var(--re-info); }
.lbn-re-notice--warning { background: var(--re-warning-bg); border-color: var(--re-warning); color: var(--re-warning); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.lbn-re-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--re-radius-sm);
    font-size: .9375rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    border: 2px solid transparent;
    transition: var(--re-transition);
    white-space: nowrap;
    background: none;
    line-height: 1.4;
    min-height: 44px;
    min-width: 44px;
}
.lbn-re-btn-icon {
    display: inline-flex !important;
    align-items: center;
    font-size: 1em;
    line-height: 1;
    flex-shrink: 0;
}
.lbn-re-btn:focus-visible { outline: 3px solid var(--re-primary); outline-offset: 2px; }
.lbn-re-btn:hover { opacity: .88; }
.lbn-re-btn-primary   { background: var(--re-primary); color: var(--re-on-primary); box-shadow: var(--re-shadow); }
.lbn-re-btn-secondary { background: var(--re-card); color: var(--re-text); border-color: var(--re-border); box-shadow: var(--re-shadow); }
.lbn-re-btn-outline   { background: transparent; color: var(--re-primary); border-color: var(--re-primary); }
.lbn-re-btn-danger    { background: var(--re-danger); color: #fff; box-shadow: var(--re-shadow); }
.lbn-re-btn-whatsapp  { background: var(--re-wa); color: #fff; box-shadow: var(--re-shadow); }
.lbn-re-btn-promote   { background: var(--re-primary); color: var(--re-on-primary); box-shadow: var(--re-shadow); }
.lbn-re-btn-promote:hover { opacity: .88; }

.lbn-re-promote-section {
    margin-top: 28px;
    padding: 20px 22px;
    background: var(--re-card);
    border-radius: var(--r-md, 14px);
    box-shadow: var(--re-shadow);
}
.lbn-re-promote-title { font-size: .95rem; font-weight: 700; color: var(--re-text); margin: 0 0 4px; display: flex; align-items: center; gap: 6px; }
.lbn-re-promote-title i { color: var(--re-primary); }
.lbn-re-promote-desc { font-size: .85rem; color: var(--re-muted); margin: 0 0 12px; }
.lbn-re-btn-full      { width: 100%; margin-bottom: 8px; }
.lbn-re-btn-sm        { padding: 7px 14px; font-size: .82rem; min-height: auto; }
.lbn-re-btn-xs        { padding: 4px 10px; font-size: .78rem; min-height: auto; }
.lbn-re-btn-lg        { padding: 13px 28px; font-size: 1rem; }

/* ── Breadcrumb ───────────────────────────────────────────────────── */
.lbn-re-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 8px;
    align-items: center;
    font-size: .85rem;
    color: var(--re-muted);
    margin: 16px 0;
}
.lbn-re-breadcrumb a { color: var(--re-primary); text-decoration: none; }
.lbn-re-breadcrumb a:hover { text-decoration: underline; }
.lbn-re-breadcrumb-sep { color: var(--re-border); }

/* ── Board wrap / filter ──────────────────────────────────────────── */
.lbn-re-board-wrap { padding: 0 0 24px; }

/* Layout switcher toolbar */
.lbn-re-board-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}
.lbn-re-results-count { font-size: .9rem; color: var(--re-muted); }
.lbn-re-layout-btns   { display: flex; gap: 4px; }
.lbn-re-layout-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--re-radius-sm);
    border: 1px solid var(--re-border);
    background: var(--re-card);
    color: var(--re-muted);
    cursor: pointer;
    transition: var(--re-transition);
    font-size: .9rem;
    box-shadow: var(--re-shadow);
}
.lbn-re-layout-btn.active,
.lbn-re-layout-btn:hover { background: var(--re-primary); color: var(--re-on-primary); border-color: var(--re-primary); }

/* Filter form */
.lbn-re-filter-form { margin-bottom: 20px; }
.lbn-re-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.lbn-re-filter-search { flex: 2; min-width: 180px; }
.lbn-re-filter-select { flex: 1; min-width: 130px; }
.lbn-re-filter-price  { width: 110px; min-width: 90px; }
.lbn-re-filter-search,
.lbn-re-filter-select,
.lbn-re-filter-price {
    padding: 9px 12px;
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius-sm);
    font-size: .9rem;
    background: var(--re-card);
    box-shadow: var(--re-inset);
    color: var(--re-text);
}
.lbn-re-filter-search:focus,
.lbn-re-filter-select:focus,
.lbn-re-filter-price:focus { outline: 2px solid var(--re-primary); outline-offset: 1px; }

/* ── Property Grid ────────────────────────────────────────────────── */
.lbn-re-property-grid {
    display: grid;
    gap: var(--re-gap);
    margin-bottom: 32px;
    grid-template-columns: repeat(3, 1fr);
}
/* Layout variants */
.lbn-re-board-wrap.lbn-re-layout-grid-2 .lbn-re-property-grid { grid-template-columns: repeat(2, 1fr); }
.lbn-re-board-wrap.lbn-re-layout-grid-3 .lbn-re-property-grid { grid-template-columns: repeat(3, 1fr); }
.lbn-re-board-wrap.lbn-re-layout-grid-4 .lbn-re-property-grid { grid-template-columns: repeat(4, 1fr); }
.lbn-re-board-wrap.lbn-re-layout-list   .lbn-re-property-grid { grid-template-columns: 1fr; }
.lbn-re-board-wrap.lbn-re-layout-list   .lbn-re-property-card { display: flex; flex-direction: row; }
.lbn-re-board-wrap.lbn-re-layout-list   .lbn-re-card-img-wrap { width: 200px; min-width: 200px; aspect-ratio: auto; height: 160px; }
.lbn-re-board-wrap.lbn-re-layout-list   .lbn-re-card-body     { flex: 1; }

/* ── Property Card ────────────────────────────────────────────────── */
.lbn-re-property-card {
    background: var(--re-card);
    border-radius: var(--re-radius);
    border: 1px solid var(--re-border);
    box-shadow: var(--re-shadow);
    overflow: hidden;
    transition: var(--re-transition);
    position: relative;
}
.lbn-re-property-card:hover { transform: translateY(-2px); box-shadow: var(--re-shadow-md); }
.lbn-re-card-featured { border-color: var(--re-featured); box-shadow: var(--re-shadow), 0 0 0 2px rgba(184,137,63,.18); }

.lbn-re-card-img-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--re-bg);
}
.lbn-re-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
    display: block;
}
.lbn-re-property-card:hover .lbn-re-card-img-wrap img { transform: scale(1.04); }
.lbn-re-card-no-img {
    width: 100%;
    height: 100%;
    background: var(--re-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--re-muted);
    font-size: 2rem;
}

/* Status badge on image */
.lbn-re-card-status {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: var(--re-primary);
    color: var(--re-on-primary);
    font-size: .72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.lbn-re-card-status-for_rent  { background: var(--re-info); }
.lbn-re-card-status-unavail   { background: var(--re-muted); }

/* Featured badge on image */
.lbn-re-card-featured-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--re-featured);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Category image overlay — anchored inside the card image (overflow:hidden safe) */
.lbn-re-cat-circle-overlay {
    position: absolute;
    bottom: 10px;
    left: 12px;
}
.lbn-re-cat-icon-circle,
.lbn-re-cat-img-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.25);
    overflow: hidden;
    color: #fff;
    font-size: .9rem;
}
.lbn-re-cat-img-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }

.lbn-re-card-body { padding: 14px 16px 16px; }
.lbn-re-card-body.lbn-re-card-body-with-overlay { padding-top: 26px; }
.lbn-re-card-area  { font-size: .8rem; color: var(--re-muted); margin: 0 0 4px; display: flex; align-items: center; gap: 4px; }
.lbn-re-card-title { font-size: 1rem; font-weight: 700; margin: 0 0 6px; line-height: 1.3; color: var(--re-heading); display: flex; align-items: flex-start; gap: 6px; }
.lbn-re-card-title a { color: var(--re-heading); text-decoration: none; flex: 1; }
.lbn-re-card-title a:hover { color: var(--re-primary); }
.lbn-re-card-price { font-size: 1.1rem; font-weight: 800; color: var(--re-primary); margin: 0 0 8px; }
.lbn-re-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-size: .82rem;
    color: var(--re-muted);
    border-top: 1px solid var(--re-border);
    padding-top: 10px;
}
.lbn-re-card-cats { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.lbn-re-card-cat-badge { background: var(--re-subtle); color: var(--re-text); font-size: .72rem; padding: 2px 7px; border-radius: 10px; }

/* Rating stars on card */
.lbn-re-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: .85rem;
    margin-bottom: 4px;
}
.lbn-re-card-rating-val   { font-weight: 700; color: var(--re-heading); }
.lbn-re-card-rating-count { color: var(--re-muted); }
.lbn-re-stars { display: inline-flex; gap: 1px; color: var(--re-featured); }
.lbn-re-stars .far { color: var(--re-border); }

/* Card actions */
.lbn-re-card-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }

/* ── Featured Section ─────────────────────────────────────────────── */
.lbn-re-featured-section { margin-bottom: 12px; }
.lbn-re-featured-heading {
    font-size: .9375rem;
    font-weight: 700;
    color: var(--re-featured);
    margin: 0 0 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lbn-re-featured-divider {
    border: none;
    border-top: 2px dashed var(--re-featured);
    margin: 24px 0;
    opacity: .4;
}

/* ── Pagination ───────────────────────────────────────────────────── */
.lbn-re-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 24px;
}
.lbn-re-pagination .page-numbers {
    padding: 7px 13px;
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius-sm);
    font-size: .9rem;
    text-decoration: none;
    color: var(--re-text);
    background: var(--re-card);
    box-shadow: var(--re-shadow);
}
.lbn-re-pagination .page-numbers.current { background: var(--re-primary); color: var(--re-on-primary); border-color: var(--re-primary); }
.lbn-re-pagination .page-numbers:hover:not(.current) { background: var(--re-bg); }

.lbn-re-no-results { text-align: center; padding: 60px 24px; color: var(--re-muted); }

/* ── Single property ──────────────────────────────────────────────── */
.lbn-re-single-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}
@media (max-width: 860px) { .lbn-re-single-layout { grid-template-columns: 1fr; } }

/* Gallery */
.lbn-re-gallery { margin-bottom: 24px; }
.lbn-re-gallery-main {
    border-radius: var(--re-radius);
    overflow: hidden;
    background: var(--re-bg);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lbn-re-gallery-main img,
.lbn-re-gallery-main .lbn-re-single-thumb { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbn-re-gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.lbn-re-gallery-thumb {
    width: 80px;
    height: 58px;
    object-fit: cover;
    border-radius: var(--re-radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: border-color .2s;
    box-shadow: var(--re-shadow);
}
.lbn-re-gallery-thumb:hover,
.lbn-re-gallery-thumb.active { border-color: var(--re-primary); }

/* Single header */
.lbn-re-single-header { margin-bottom: 24px; }
.lbn-re-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 8px; }
.lbn-re-single-title { font-size: 1.7rem; font-weight: 700; margin: 0; line-height: 1.2; color: var(--re-heading); }
.lbn-re-featured-badge {
    background: var(--re-featured-bg);
    color: var(--re-featured);
    border: 1px solid var(--re-featured);
    font-size: .75rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.lbn-re-price-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.lbn-re-price-big { font-size: 1.8rem; font-weight: 800; color: var(--re-primary); }
.lbn-re-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--re-primary);
    color: var(--re-on-primary);
}
.lbn-re-status-for_rent { background: var(--re-info); color: #fff; }
.lbn-re-status-sold,
.lbn-re-status-rented   { background: var(--re-muted); color: #fff; }

.lbn-re-key-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 10px;
    font-size: .95rem;
    color: var(--re-text);
}
.lbn-re-fact { display: flex; gap: 4px; align-items: center; }
.lbn-re-type-row { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.lbn-re-type-badge { background: var(--re-bg); border: 1px solid var(--re-border); padding: 3px 10px; border-radius: 20px; font-size: .82rem; color: var(--re-muted); }
.lbn-re-area-line { font-size: .9rem; color: var(--re-muted); margin: 4px 0; display: flex; align-items: center; gap: 4px; }
.lbn-re-meta-line { font-size: .85rem; color: var(--re-muted); margin: 4px 0 0; }
.lbn-re-views-count { opacity: .8; }

/* Content */
.lbn-re-single-content { font-size: .95rem; line-height: 1.7; margin-bottom: 24px; color: var(--re-text); }

/* Amenities */
.lbn-re-amenities-box { background: var(--re-card); border-radius: var(--re-radius); padding: 20px; margin-bottom: 24px; box-shadow: var(--re-shadow-md); }
.lbn-re-amenities-box h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; color: var(--re-heading); }
.lbn-re-amenities-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 8px;
}
.lbn-re-amenity-item { font-size: .9rem; color: var(--re-success); display: flex; align-items: center; gap: 6px; }

/* Own actions */
.lbn-re-own-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 20px 0; }

/* Sidebar boxes */
.lbn-re-single-sidebar > * + * { margin-top: 20px; }

.lbn-re-contact-box,
.lbn-re-owner-box {
    background: var(--re-card);
    border-radius: var(--re-radius);
    padding: 20px;
    box-shadow: var(--re-shadow-md);
}
.lbn-re-contact-box h3,
.lbn-re-owner-box h4 { font-size: 1rem; font-weight: 700; margin: 0 0 14px; color: var(--re-heading); }
.lbn-re-owner-since { font-size: .82rem; color: var(--re-muted); margin: 0; }

.lbn-re-back-link { margin-top: 32px; }
.lbn-re-back-link a { color: var(--re-primary); text-decoration: none; font-size: .9375rem; }
.lbn-re-back-link a:hover { text-decoration: underline; }

/* ── Forms ────────────────────────────────────────────────────────── */
.lbn-re-form-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 24px; color: var(--re-heading); }
.lbn-re-form-section {
    background: var(--re-card);
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--re-shadow);
}
.lbn-re-form-section h3 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--re-border);
    color: var(--re-heading);
}
.lbn-re-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.lbn-re-field { display: flex; flex-direction: column; gap: 5px; }
.lbn-re-field-full { grid-column: 1/-1; }
.lbn-re-field label { font-size: .85rem; font-weight: 600; color: var(--re-text); }
.lbn-re-field-input {
    padding: 9px 12px;
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius-sm);
    font-size: .9rem;
    background: var(--re-bg);
    box-shadow: var(--re-inset);
    color: var(--re-text);
    width: 100%;
    transition: border-color .2s, box-shadow .2s;
}
.lbn-re-field-input:focus { outline: none; border-color: var(--re-primary); box-shadow: var(--re-inset), 0 0 0 3px rgba(40,82,96,.12); }
textarea.lbn-re-field-input { resize: vertical; }
.lbn-re-required { color: var(--re-danger); }

.lbn-re-price-group { display: flex; gap: 8px; }
.lbn-re-price-group .lbn-re-field-input:first-child { flex: 1; }
.lbn-re-currency-sel { width: 80px; flex-shrink: 0; }

/* Content direction toggle */
.lbn-re-dir-toggle { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.lbn-re-dir-toggle label { display: flex; align-items: center; gap: 6px; font-size: .875rem; cursor: pointer; }

/* Amenities grid */
.lbn-re-amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
}
.lbn-re-amenity-check { display: flex; align-items: center; gap: 7px; font-size: .88rem; cursor: pointer; }
.lbn-re-amenity-check input[type="checkbox"] { width: 16px; height: 16px; flex-shrink: 0; cursor: pointer; accent-color: var(--re-primary); }

/* Image upload */
.lbn-re-upload-area {
    border: 2px dashed var(--re-border);
    border-radius: var(--re-radius);
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--re-transition);
    background: var(--re-bg);
    box-shadow: var(--re-inset);
    margin-bottom: 12px;
}
.lbn-re-upload-area:hover,
.lbn-re-upload-area.drag-over { border-color: var(--re-primary); }
.lbn-re-upload-area p { margin: 0 0 4px; font-weight: 600; color: var(--re-text); }
.lbn-re-upload-hint { font-size: .82rem; color: var(--re-muted); }
.lbn-re-upload-required { font-size: .82rem; color: var(--re-danger); font-weight: 600; margin-top: 4px; }

.lbn-re-image-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.lbn-re-preview-item {
    position: relative;
    width: 90px;
    height: 68px;
    border-radius: var(--re-radius-sm);
    overflow: hidden;
    border: 1px solid var(--re-border);
    box-shadow: var(--re-shadow);
}
.lbn-re-preview-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lbn-re-remove-img {
    position: absolute;
    top: 2px;
    right: 2px;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: .75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.lbn-re-form-submit { margin-top: 8px; }

/* ── My Properties ────────────────────────────────────────────────── */
.lbn-re-my-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.lbn-re-my-header h2 { margin: 0; font-size: 1.5rem; color: var(--re-heading); }
.lbn-re-my-props-wrap { overflow-x: auto; border-radius: var(--re-radius); box-shadow: var(--re-shadow); }
.lbn-re-my-table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--re-card); }
.lbn-re-my-table th {
    text-align: left;
    padding: 10px 12px;
    border-bottom: 2px solid var(--re-border);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--re-muted);
    background: var(--re-bg);
}
.lbn-re-my-table td { padding: 12px; border-bottom: 1px solid var(--re-border); vertical-align: middle; color: var(--re-text); }
.lbn-re-my-table tr:last-child td { border-bottom: none; }
.lbn-re-col-thumb { width: 70px; }
.lbn-re-thumb-placeholder { width: 60px; height: 45px; background: var(--re-bg); border-radius: 4px; }
.lbn-re-my-badge { font-size: .72rem; padding: 2px 6px; border-radius: 3px; margin-left: 4px; }
.lbn-re-badge-featured { background: var(--re-featured-bg); color: var(--re-featured); }
.lbn-re-my-actions { display: flex; gap: 8px; white-space: nowrap; }
.lbn-re-post-status { font-size: .78rem; padding: 2px 8px; border-radius: 3px; font-weight: 600; }
.lbn-re-post-status-publish { background: var(--re-success-bg); color: var(--re-success); }
.lbn-re-post-status-pending { background: var(--re-warning-bg); color: var(--re-warning); }
.lbn-re-post-status-draft   { background: var(--re-bg); color: var(--re-muted); }
.lbn-re-empty-state { text-align: center; padding: 60px 24px; color: var(--re-muted); }

/* ── Subscribe form ───────────────────────────────────────────────── */
.lbn-re-subscribe-wrap { max-width: 720px; margin: 0 auto; padding: 16px 0 40px; }
.lbn-re-subscribe-card {
    background: var(--re-card);
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius);
    padding: 28px 32px;
    box-shadow: var(--re-shadow-md);
}
.lbn-re-subscribe-title { font-size: 1.4rem; font-weight: 700; margin: 0 0 8px; color: var(--re-heading); }
.lbn-re-subscribe-intro { color: var(--re-muted); margin: 0 0 24px; line-height: 1.6; }

/* Subscribe form sections override */
.lbn-re-subscribe-wrap .lbn-re-form-section {
    border-top: 1px solid var(--re-border);
    padding-top: 22px;
    margin-top: 22px;
    margin-bottom: 0;
    background: none;
    border-radius: 0;
    box-shadow: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding-left: 0;
    padding-right: 0;
}
.lbn-re-subscribe-wrap .lbn-re-form-section:first-of-type { border-top: none; padding-top: 0; margin-top: 0; }
.lbn-re-subscribe-wrap .lbn-re-form-section h3 { border-bottom: none; padding-bottom: 0; }

.lbn-re-form-row { margin-bottom: 18px; }
.lbn-re-form-row label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .875rem; color: var(--re-text); }
.lbn-re-select {
    width: 100%;
    padding: 9px 12px;
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius-sm);
    font-size: .9375rem;
    background: var(--re-bg);
    box-shadow: var(--re-inset);
    color: var(--re-text);
    appearance: auto;
}
.lbn-re-select:focus { outline: 2px solid var(--re-primary); border-color: var(--re-primary); }
.lbn-re-field-note { font-size: .8125rem; color: var(--re-muted); margin: 5px 0 0; }
.lbn-re-file-input { display: block; margin-top: 6px; font-size: .875rem; }

/* Package cards */
.lbn-re-package-options { display: flex; gap: 12px; flex-wrap: wrap; }
.lbn-re-package-type-group { margin-bottom: 16px; }
.lbn-re-package-type-group h4 { font-size: .875rem; font-weight: 700; color: var(--re-text); margin: 0 0 8px; }
.lbn-re-package-card {
    flex: 1 1 130px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 2px solid var(--re-border);
    border-radius: var(--re-radius);
    padding: 14px 12px;
    cursor: pointer;
    transition: border-color .2s, background .2s, box-shadow .2s;
    background: var(--re-bg);
    box-shadow: var(--re-shadow);
}
.lbn-re-package-card:has(input:checked) {
    border-color: var(--re-primary);
    background: var(--re-card);
    box-shadow: var(--re-shadow-md);
}
.lbn-re-package-card input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.lbn-re-pkg-icon { font-size: 1.3rem; line-height: 1; }
.lbn-re-pkg-type-label { font-size: .75rem; color: var(--re-muted); font-weight: 600; }
.lbn-re-pkg-days { font-size: .875rem; font-weight: 600; color: var(--re-text); }
.lbn-re-pkg-price { font-size: 1.25rem; font-weight: 700; color: var(--re-primary); }

/* Order summary */
.lbn-re-order-summary {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--re-success-bg);
    border: 1px solid var(--re-success);
    border-radius: var(--re-radius-sm);
    padding: 10px 14px;
    font-size: .9375rem;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.lbn-re-order-summary strong { color: var(--re-success); }

/* Payment method tabs */
.lbn-re-method-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.lbn-re-method-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border: 2px solid var(--re-border);
    border-radius: var(--re-radius-sm);
    padding: 10px 14px;
    cursor: pointer;
    min-width: 80px;
    background: var(--re-bg);
    box-shadow: var(--re-shadow);
    transition: border-color .2s, background .2s;
}
.lbn-re-method-tab:has(input:checked) { border-color: var(--re-primary); background: var(--re-card); box-shadow: var(--re-shadow-md); }
.lbn-re-method-tab input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.lbn-re-method-icon { font-size: 1.4rem; line-height: 1; }
.lbn-re-method-icon-wrap { font-size: 1.4rem; line-height: 1; }
.lbn-re-method-name { font-size: .75rem; font-weight: 600; color: var(--re-text); text-align: center; }

/* Method instructions */
.lbn-re-method-instructions {
    background: var(--re-bg);
    border: 1px solid var(--re-border);
    border-radius: var(--re-radius-sm);
    padding: 14px 16px;
    margin: 12px 0;
    box-shadow: var(--re-inset);
}
.lbn-re-method-instructions h4 { margin: 0 0 8px; font-size: .9375rem; color: var(--re-heading); }
.lbn-re-instr-body { font-size: .875rem; color: var(--re-text); line-height: 1.6; }
.lbn-re-form-actions { margin-top: 24px; }

/* Success screen */
.lbn-re-subscribe-success { text-align: center; padding: 32px 16px; }
.lbn-re-success-icon { font-size: 2.5rem; margin-bottom: 12px; color: var(--re-success); }
.lbn-re-subscribe-success h3 { font-size: 1.25rem; margin: 0 0 10px; color: var(--re-heading); }
.lbn-re-subscribe-success p { color: var(--re-muted); max-width: 480px; margin: 0 auto 10px; }

/* Package type headings (Featured / Banner sections) */
.lbn-re-pkg-type-heading {
    font-size: .875rem;
    font-weight: 700;
    color: var(--re-heading);
    margin: 0 0 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.lbn-re-pkg-type-heading i { color: var(--re-primary); }

/* Content direction radio group */
.lbn-re-radio-group { display: flex; flex-wrap: wrap; gap: 12px; }
.lbn-re-radio-option { display: flex; align-items: center; gap: 6px; font-size: .9rem; cursor: pointer; color: var(--re-text); }
.lbn-re-radio-option input[type="radio"] { accent-color: var(--re-primary); width: 16px; height: 16px; }

/* Star ratings on cards */
.lbn-re-card-stars { display: flex; align-items: center; gap: 2px; margin-top: 6px; flex-wrap: wrap; }
.lbn-re-card-stars .fas,
.lbn-re-card-stars .fas.fa-star-half-alt { font-size: .7rem; color: var(--c-featured, #b8893f); }
.lbn-re-card-stars .far { font-size: .7rem; color: var(--re-border, #c9b88f); }
.lbn-re-card-stars--empty .fas,
.lbn-re-card-stars--empty .far { color: var(--re-border, #c9b88f); opacity: .55; }
.lbn-re-card-stars-val   { font-size: .7rem; font-weight: 700; color: var(--re-heading); margin-inline-start: 2px; }
.lbn-re-card-stars-count { font-size: .65rem; color: var(--re-muted); }
.lbn-re-card-stars-none  { font-size: .65rem; color: var(--re-muted); font-style: italic; margin-inline-start: 2px; }

/* ── RTL ──────────────────────────────────────────────────────────── */
[dir="rtl"] .lbn-re-container,
.rtl .lbn-re-container {
    direction: rtl;
    text-align: right;
}
[dir="rtl"] .lbn-re-my-table th,
.rtl .lbn-re-my-table th { text-align: right; }
[dir="rtl"] .lbn-re-breadcrumb-sep { transform: scaleX(-1); display: inline-block; }
[dir="rtl"] .lbn-re-back-link a::before { display: none; }
[dir="rtl"] .lbn-re-back-link a::after { content: ' →'; }
[dir="rtl"] .lbn-re-required,
.rtl .lbn-re-required { margin-left: 0; margin-right: 2px; }
[dir="rtl"] .lbn-re-my-badge,
.rtl .lbn-re-my-badge { margin-left: 0; margin-right: 4px; }
[dir="rtl"] .lbn-re-cat-circle-overlay,
.rtl .lbn-re-cat-circle-overlay { left: auto; right: 12px; bottom: 10px; }

/* ── Responsive ───────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .lbn-re-board-wrap.lbn-re-layout-grid-4 .lbn-re-property-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .lbn-re-board-wrap.lbn-re-layout-grid-3 .lbn-re-property-grid,
    .lbn-re-board-wrap.lbn-re-layout-grid-4 .lbn-re-property-grid { grid-template-columns: repeat(2, 1fr); }
    .lbn-re-board-wrap.lbn-re-layout-list .lbn-re-card-img-wrap { width: 140px; min-width: 140px; }
}
@media (max-width: 640px) {
    .lbn-re-filter-row { flex-direction: column; }
    .lbn-re-filter-search,
    .lbn-re-filter-select,
    .lbn-re-filter-price { width: 100%; }
    .lbn-re-property-grid,
    .lbn-re-board-wrap.lbn-re-layout-grid-2 .lbn-re-property-grid,
    .lbn-re-board-wrap.lbn-re-layout-grid-3 .lbn-re-property-grid,
    .lbn-re-board-wrap.lbn-re-layout-grid-4 .lbn-re-property-grid { grid-template-columns: 1fr; }
    .lbn-re-board-wrap.lbn-re-layout-list .lbn-re-property-card { flex-direction: column; }
    .lbn-re-board-wrap.lbn-re-layout-list .lbn-re-card-img-wrap { width: 100%; height: auto; aspect-ratio: 16/10; }
    .lbn-re-single-title { font-size: 1.3rem; }
    .lbn-re-price-big    { font-size: 1.4rem; }
    .lbn-re-form-grid    { grid-template-columns: 1fr; }
    .lbn-re-amenities-grid { grid-template-columns: 1fr 1fr; }
    .lbn-re-subscribe-card { padding: 18px 16px; }
    .lbn-re-package-options { gap: 8px; }
    .lbn-re-package-card { flex: 1 1 90px; padding: 10px 8px; }
    .lbn-re-method-tabs { gap: 6px; }
    .lbn-re-method-tab { min-width: 64px; padding: 8px 10px; }
}

/* ═══════════════════════════════════════════════════════════
   v1.3.0 — Hero Banner, Filter Pill, Card Facts, Land Fields
   ═══════════════════════════════════════════════════════════ */

/* ── Hero Banner — full-bleed ─────────────────────────────── */
.lbn-re-board-wrap {
    /* Full-width wrapper — no padding/max-width here */
    position: relative;
}

.lbn-re-hero {
    position: relative;
    aspect-ratio: 21 / 9;
    min-height: 220px;
    height: 600px;
    background-image: var(--hero-bg, none);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--re-primary);
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 0;
    margin-left:  calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    display: flex;
    align-items: flex-end;
}
.lbn-re-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
    pointer-events: none;
}
.lbn-re-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 28px 24px 24px;
}
.lbn-re-hero-title {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 6px;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
    border-bottom: none;
}
.lbn-re-hero-subtitle {
    color: rgba(255,255,255,.85);
    font-size: 1rem;
    margin: 0 0 18px;
}
/* No hero image — compact dark band */
.lbn-re-hero:not([style*="--hero-bg"]) {
    height: auto;
    background: var(--re-primary);
    min-height: 140px;
}
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-hero-overlay { display: none; }
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-hero-title,
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-hero-subtitle { color: var(--re-on-primary); }
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-hero-content { padding-top: 36px; }

/* ── Filter Pill ──────────────────────────────────────────── */
.lbn-re-filter-pill {
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 50px;
    padding: 6px 8px;
    margin-top: 20px;
}
.lbn-re-filter-pill-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2px;
}
.lbn-re-filter-pill-item {
    flex: 1 1 100px;
    min-width: 80px;
}
.lbn-re-filter-pill-item--btn {
    flex: 0 0 auto;
}
.lbn-re-filter-pill-sep {
    width: 1px;
    height: 22px;
    background: rgba(255,255,255,.32);
    flex-shrink: 0;
}
.lbn-re-filter-pill select {
    background: transparent;
    border: none;
    color: #fff;
    font-size: .85rem;
    padding: 6px 8px;
    width: 100%;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    font-family: inherit;
}
.lbn-re-filter-pill select option { color: var(--re-text); background: var(--re-card); }

/* Keyword search inside pill */
.lbn-re-filter-pill-item--search { flex: 2 1 140px; }
.lbn-re-filter-pill-item--search input,
.lbn-re-filter-pill-item--search input[type="text"],
.lbn-re-filter-pill-item--search input[type="search"] {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: .85rem;
    padding: 6px 8px;
    width: 100%;
    outline: none;
    font-family: inherit;
}
.lbn-re-filter-pill-item--search input::placeholder,
.lbn-re-filter-pill-item--search input[type="text"]::placeholder { color: rgba(255,255,255,.6) !important; }

/* No-image mode: adapt text colors */
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-filter-pill select,
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-filter-pill-item--search input {
    color: var(--re-on-primary);
}
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-filter-pill-item--search input::placeholder {
    color: rgba(250,243,227,.5);
}

.lbn-re-filter-pill-search {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--re-primary);
    color: var(--re-on-primary);
    border: none;
    border-radius: 40px;
    padding: 9px 20px;
    font-size: .9rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .18s;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(40,82,96,.28);
}
.lbn-re-filter-pill-search:hover { opacity: .88; }

/* ── Price Range Slider ────────────────────────────────────── */
.lbn-re-filter-pill-item--price {
    flex: 2 1 160px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 4px 8px;
    gap: 3px;
    min-width: 120px;
}
.lbn-re-price-val {
    font-size: .72rem;
    color: rgba(255,255,255,.85);
    text-align: center;
    white-space: nowrap;
    line-height: 1;
}
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-price-val {
    color: rgba(250,243,227,.85);
}
.lbn-re-range-track {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}
.lbn-re-range {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    width: 100%;
    height: 4px;
    background: transparent;
    pointer-events: none;
    outline: none;
    margin: 0;
    padding: 0;
}
/* Track (WebKit) */
.lbn-re-range::-webkit-slider-runnable-track {
    height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
}
.lbn-re-hero:not([style*="--hero-bg"]) .lbn-re-range::-webkit-slider-runnable-track {
    background: rgba(250,243,227,.3);
}
/* Thumb (WebKit) */
.lbn-re-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--re-primary);
    cursor: pointer;
    pointer-events: all;
    position: relative;
    z-index: 2;
    margin-top: -6px;
}
/* Track (Firefox) */
.lbn-re-range::-moz-range-track {
    height: 4px;
    background: rgba(255,255,255,.3);
    border-radius: 2px;
}
/* Thumb (Firefox) */
.lbn-re-range::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--re-primary);
    cursor: pointer;
    pointer-events: all;
    box-sizing: border-box;
}

/* ── Card Facts ───────────────────────────────────────────── */
.lbn-re-card-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}
.lbn-re-card-fact {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: .78rem;
    color: var(--re-muted);
    background: rgba(0,0,0,.04);
    border-radius: 20px;
    padding: 3px 10px;
    white-space: nowrap;
}
.lbn-re-card-fact i {
    font-size: .72rem;
    color: var(--re-primary);
}

/* ── Conditional Field Groups ─────────────────────────────── */
.lbn-re-fields-group { margin-top: 4px; }

/* Checkboxes in land utilities */
.lbn-re-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 6px;
}
.lbn-re-checkboxes label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: .875rem;
    cursor: pointer;
    color: var(--re-text);
}

/* Amenity item wrapper (for JS show/hide by group) */
.lbn-re-amenity-item { display: contents; }

/* ── Banner Image Upload (subscribe form) ─────────────────── */
.lbn-re-banner-img-field {
    margin-top: 18px;
    padding: 16px;
    background: var(--re-card);
    border: 1px solid var(--re-border);
    border-radius: 8px;
}
.lbn-re-banner-img-preview img {
    margin-top: 8px;
    border-radius: 6px;
    max-width: 100%;
    display: block;
}
.lbn-re-field-label {
    display: block;
    font-weight: 600;
    color: var(--re-heading);
    margin-bottom: 4px;
}

/* ── Responsive additions ─────────────────────────────────── */
@media (max-width: 960px) {
    .lbn-re-hero { height: 440px; }
    .lbn-re-hero-title { font-size: 1.5rem; }
}
@media (max-width: 768px) {
    .lbn-re-hero { height: 360px; }
    .lbn-re-hero-title { font-size: 1.25rem; }
    .lbn-re-hero-content { padding: 20px 16px 18px; }
    .lbn-re-filter-pill { border-radius: 12px; }
    .lbn-re-filter-pill-sep { display: none; }
    .lbn-re-filter-pill-item { flex: 1 1 42%; }
    .lbn-re-filter-pill select,
    .lbn-re-filter-pill-item--search input {
        background: rgba(255,255,255,.15);
        border: 1px solid rgba(255,255,255,.22);
        border-radius: 8px;
        padding: 8px 10px;
    }
    .lbn-re-filter-pill-item--price { flex: 1 1 92%; }
    .lbn-re-filter-pill-item--search { flex: 1 1 92%; }
}
@media (max-width: 480px) {
    .lbn-re-hero { height: 320px; }
    .lbn-re-filter-pill-item,
    .lbn-re-filter-pill-item--search,
    .lbn-re-filter-pill-item--price { flex: 1 1 100%; }
    .lbn-re-filter-pill-item--btn { text-align: center; }
    .lbn-re-filter-pill-search { width: 100%; justify-content: center; }
}

/* ── Favorites ────────────────────────────────────────────────────── */
.lbn-re-card-fav-btn,
.lbn-re-fav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 2px 4px;
    font-size: 1.25rem;
    line-height: 1;
    color: var(--re-muted);
    transition: color .15s, transform .12s;
    flex-shrink: 0;
    min-height: auto;
}
.lbn-re-card-fav-btn:hover,
.lbn-re-fav-btn:hover { color: var(--c-danger, #c0392b); transform: scale(1.15); }
.lbn-re-fav-active { color: var(--c-danger, #c0392b) !important; }
.lbn-re-fav-btn { font-size: 1.6rem; margin-inline-start: 4px; }
