/* ════════════════════════════════════════════════════════
   FULLCARRO CITY LANDING  — Frontend Styles
   Design: cars.com-style layout · Fullcarro brand
   ════════════════════════════════════════════════════════ */

:root {
    --fcb-navy:    #0f1f3d;
    --fcb-blue:    #1a3560;
    --fcb-accent:  #f04e23;
    --fcb-orange:  #ff6b35;
    --fcb-gold:    #f5a623;
    --fcb-light:   #f4f6f9;
    --fcb-gray:    #6b7280;
    --fcb-border:  #e5e7eb;
    --fcb-white:   #ffffff;
    --fcb-radius:  12px;
    --fcb-shadow:  0 4px 20px rgba(0,0,0,.10);
}

*, *::before, *::after { box-sizing: border-box; }

.fcb-landing {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a1a2e;
    line-height: 1.6;
}

/* ── NAVBAR ─────────────────────────────────────────────── */
.fcb-navbar {
    background: var(--fcb-navy);
    border-bottom: 1px solid rgba(255,255,255,.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.fcb-navbar__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.fcb-navbar__logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}
.fcb-navbar__logo-img {
    height: 36px;
    width: auto;
    display: block;
}
.fcb-navbar__site-name {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.3px;
}
.fcb-navbar__right {
    display: flex;
    align-items: center;
    gap: 12px;
}
.fcb-navbar__link {
    color: rgba(255,255,255,.80);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 6px;
    transition: color .2s, background .2s;
    white-space: nowrap;
}
.fcb-navbar__link:hover {
    color: #fff;
    background: rgba(255,255,255,.08);
}
.fcb-navbar__link--secondary {
    border: 1px solid rgba(255,255,255,.30);
}
.fcb-navbar__link--secondary:hover {
    border-color: rgba(255,255,255,.55);
}
.fcb-navbar__btn--publish {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--fcb-accent);
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 8px;
    transition: background .2s, transform .15s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
}
.fcb-navbar__btn--publish svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}
.fcb-navbar__btn--publish:hover {
    background: var(--fcb-orange);
    transform: translateY(-1px);
}
.fcb-navbar__avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,.25);
    text-decoration: none;
    transition: border-color .2s;
    flex-shrink: 0;
    background: rgba(255,255,255,.10);
}
.fcb-navbar__avatar:hover { border-color: var(--fcb-accent); }
.fcb-navbar__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fcb-navbar__avatar svg {
    width: 22px;
    height: 22px;
    fill: rgba(255,255,255,.70);
}
@media (max-width: 480px) {
    .fcb-navbar__inner { padding: 0 16px; height: 56px; }
    .fcb-navbar__link--secondary { display: none; }
    .fcb-navbar__btn--publish span { display: none; }
    .fcb-navbar__btn--publish { padding: 8px 12px; }
}

/* ── BREADCRUMBS ───────────────────────────────────────── */
.fcb-breadcrumbs {
    background: var(--fcb-navy);
    padding: 10px 24px;
}
.fcb-breadcrumbs__inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.fcb-breadcrumbs a {
    color: rgba(255,255,255,.65);
    text-decoration: none;
    font-size: 12px;
    font-weight: 500;
    transition: color .2s;
}
.fcb-breadcrumbs a:hover { color: #fff; }
.fcb-breadcrumbs__sep {
    color: rgba(255,255,255,.3);
    font-size: 11px;
}
.fcb-breadcrumbs__current {
    color: var(--fcb-gold);
    font-size: 12px;
    font-weight: 600;
}

/* ── PAGE TITLE + SUBTITLE ──────────────────────────────── */
.fcb-page-title {
    max-width: 1200px;
    margin: 28px auto 0;
    padding: 0 24px;
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.25;
}
.fcb-page-subtitle {
    max-width: 1200px;
    margin: 8px auto 0;
    padding: 0 24px;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #5a6475;
    line-height: 1.55;
    font-weight: 400;
}
@media (max-width: 768px) {
    .fcb-page-subtitle { font-size: 14px; }
}

/* ── MOBILE FILTER BAR ──────────────────────────────────── */
.fcb-filter-bar { display: none; } /* desktop: hidden */
/* "Close" label hidden by default; shown when sidebar open */
.fcb-filter-bar__main-text--close { display: none; }
.fcb-sidebar-open .fcb-filter-bar__main-text--close { display: inline; }
.fcb-sidebar-open .fcb-filter-bar__main-text--open  { display: none; }

/* ── HERO ──────────────────────────────────────────────── */
.fcb-hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.fcb-hero__bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(10,20,50,.93) 0%, rgba(15,31,61,.87) 55%, rgba(30,40,80,.82) 100%),
        url('') center/cover no-repeat;
    background-color: var(--fcb-navy);
}
.fcb-hero__bg::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--fcb-light));
}
.fcb-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 64px 24px 80px;
    max-width: 740px;
    width: 100%;
}
.fcb-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(240,78,35,.15);
    border: 1px solid rgba(240,78,35,.35);
    color: #ff8a6e;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .7px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.fcb-hero__badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #ff8a6e;
    animation: fcb-pulse 1.8s infinite;
}
@keyframes fcb-pulse { 0%,100% { opacity:1 } 50% { opacity:.25 } }

.fcb-hero__title {
    font-size: clamp(30px, 5.5vw, 54px);
    font-weight: 800;
    color: var(--fcb-white);
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0 0 14px;
}
.fcb-hero__title em {
    color: var(--fcb-gold);
    font-style: normal;
}
.fcb-hero__subtitle {
    font-size: clamp(14px, 2.2vw, 17px);
    color: rgba(255,255,255,.7);
    margin: 0 0 30px;
    max-width: 500px;
    margin-inline: auto;
}
.fcb-hero__count {
    display: inline-block;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
    border-radius: 30px;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.fcb-hero__count strong { color: var(--fcb-gold); }

/* ── HERO SEARCH BOX ────────────────────────────────────── */
.fcb-hero__search {
    display: flex;
    gap: 0;
    background: var(--fcb-white);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 8px 40px rgba(0,0,0,.4);
    max-width: 560px;
    margin: 0 auto;
}
.fcb-hero__search input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    font-family: inherit;
    padding: 11px 18px;
    color: var(--fcb-navy);
    background: transparent;
    min-width: 0;
}
.fcb-hero__search input::placeholder { color: #9ca3af; }
.fcb-hero__search button {
    background: var(--fcb-accent);
    color: var(--fcb-white);
    border: none;
    border-radius: 44px;
    padding: 11px 26px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
    display: flex;
    align-items: center;
    gap: 7px;
}
.fcb-hero__search button:hover { background: var(--fcb-orange); }
.fcb-hero__search button svg { width: 16px; height: 16px; }

/* ── MAIN LAYOUT ────────────────────────────────────────── */
.fcb-main {
    background: var(--fcb-light);
    padding: 0 0 60px;
}
.fcb-main__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
    padding-top: 32px;
}

/* ── FILTER SIDEBAR ─────────────────────────────────────── */
.fcb-sidebar {
    background: var(--fcb-white);
    border-radius: var(--fcb-radius);
    border: 1px solid var(--fcb-border);
    overflow: hidden;
    position: sticky;
    top: 20px;
}
.fcb-sidebar__header {
    background: var(--fcb-navy);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fcb-sidebar__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--fcb-white);
    letter-spacing: .3px;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}
.fcb-sidebar__title svg { opacity: .8; }
.fcb-sidebar__reset {
    font-size: 11px;
    color: rgba(255,255,255,.55);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color .2s;
}
.fcb-sidebar__reset:hover { color: var(--fcb-gold); }

/* ── SIDEBAR KEYWORD SEARCH ────────────────────────────── */
.fcb-sidebar-search {
    position: relative;
    padding: 0;
}
.fcb-sidebar-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    color: var(--fcb-gray);
    pointer-events: none;
}
.fcb-sidebar-keyword {
    width: 100%;
    padding: 9px 12px 9px 34px;
    border: 1.5px solid var(--fcb-border);
    border-radius: 8px;
    font-size: 13px;
    font-family: inherit;
    color: #1a1a2e;
    background: #fff;
    transition: border-color .15s, box-shadow .15s;
}
.fcb-sidebar-keyword:focus {
    outline: none;
    border-color: var(--fcb-accent);
    box-shadow: 0 0 0 3px rgba(240,78,35,.1);
}
.fcb-sidebar-keyword::placeholder { color: #9ca3af; }

.fcb-filters {
    padding: 4px 0;
}
.fcb-filter-group {
    border-bottom: 1px solid var(--fcb-border);
}
.fcb-filter-group:last-child { border-bottom: none; }

.fcb-filter-group__toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background .15s;
}
.fcb-filter-group__toggle:hover { background: var(--fcb-light); }
.fcb-filter-group__toggle-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--fcb-navy);
    letter-spacing: .2px;
}
.fcb-filter-group__toggle-arrow {
    font-size: 10px;
    color: var(--fcb-gray);
    transition: transform .2s;
}
.fcb-filter-group.open .fcb-filter-group__toggle-arrow {
    transform: rotate(180deg);
}

.fcb-filter-group__body {
    padding: 4px 20px 16px;
    display: none;
}
.fcb-filter-group.open .fcb-filter-group__body {
    display: block;
}

/* Filter inputs */
.fcb-filter-select,
.fcb-filter-input {
    width: 100%;
    border: 1px solid var(--fcb-border);
    border-radius: 8px;
    padding: 9px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--fcb-navy);
    background: var(--fcb-light);
    outline: none;
    transition: border-color .2s, box-shadow .2s;
    appearance: none;
    -webkit-appearance: none;
}
.fcb-filter-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
    cursor: pointer;
}
.fcb-filter-select:focus,
.fcb-filter-input:focus {
    border-color: var(--fcb-accent);
    box-shadow: 0 0 0 3px rgba(240,78,35,.12);
    background: var(--fcb-white);
}

/* ── SEARCHABLE BRAND SELECT ─────────────────────────────── */
.fcb-ss { display: flex; flex-direction: column; gap: 6px; }
.fcb-ss__search-wrap {
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--fcb-border);
    border-radius: 8px;
    padding: 0 10px;
    background: #fff;
    transition: border-color .2s, box-shadow .2s;
}
.fcb-ss__search-wrap:focus-within {
    border-color: var(--fcb-accent);
    box-shadow: 0 0 0 3px rgba(240,78,35,.1);
}
.fcb-ss__search-wrap svg { width: 13px; height: 13px; flex-shrink: 0; color: var(--fcb-gray); }
.fcb-ss__input {
    flex: 1;
    border: none;
    outline: none;
    padding: 8px 0;
    font-size: 13px;
    background: transparent;
    color: #1a1a2e;
}
.fcb-ss__input::placeholder { color: #9ca3af; }
.fcb-ss__input:disabled { opacity: .45; cursor: not-allowed; }
.fcb-ss--model .fcb-ss__search-wrap:has(.fcb-ss__input:disabled) { opacity: .6; pointer-events: none; }
.fcb-ss__list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid var(--fcb-border);
    border-radius: 8px;
    background: #fff;
    scrollbar-width: thin;
    scrollbar-color: var(--fcb-border) transparent;
}
.fcb-ss__list::-webkit-scrollbar { width: 4px; }
.fcb-ss__list::-webkit-scrollbar-thumb { background: var(--fcb-border); border-radius: 4px; }
.fcb-ss__opt {
    padding: 8px 12px;
    font-size: 13px;
    cursor: pointer;
    transition: background .15s;
    border-bottom: 1px solid rgba(0,0,0,.04);
}
.fcb-ss__opt:last-child { border-bottom: none; }
.fcb-ss__opt:hover { background: var(--fcb-light); }
.fcb-ss__opt.active { background: rgba(240,78,35,.08); color: var(--fcb-accent); font-weight: 600; }
.fcb-ss__opt--extra { display: none; }

.fcb-filter-range {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 8px;
}
.fcb-filter-range__sep {
    font-size: 12px;
    color: var(--fcb-gray);
    text-align: center;
}

/* Body type chips */
.fcb-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}
.fcb-filter-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 8px;
    border: 1.5px solid var(--fcb-border);
    cursor: pointer;
    font-size: 10px;
    font-weight: 600;
    color: var(--fcb-gray);
    background: var(--fcb-white);
    transition: all .2s;
    min-width: 56px;
    text-align: center;
}
.fcb-filter-chip:hover {
    border-color: var(--fcb-accent);
    color: var(--fcb-accent);
}
.fcb-filter-chip.selected {
    border-color: var(--fcb-navy);
    background: var(--fcb-navy);
    color: var(--fcb-white);
}
.fcb-filter-chip__icon { line-height: 1; }
.fcb-filter-chip__icon svg,
.fcb-filter-chip__icon img { display: block; width: 48px; height: 27px; object-fit: contain; }
/* selected state: invert PNG images to white; override SVG fill via class */
.fcb-filter-chip.selected .fcb-filter-chip__icon img        { filter: brightness(0) invert(1); opacity: .85; }
.fcb-filter-chip.selected .fcb-filter-chip__icon .car-body  { fill: rgba(255,255,255,.15); stroke: rgba(255,255,255,.8); }
.fcb-filter-chip.selected .fcb-filter-chip__icon .car-wheel { fill: rgba(255,255,255,.7); }
.fcb-filter-chip.selected .fcb-filter-chip__icon .car-hub   { fill: rgba(255,255,255,.25); }

/* Estado del Vehículo — text-only toggle chips */
.fcb-filter-chips--condition { gap: 8px; }
.fcb-filter-chip--text {
    flex-direction: row;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    min-width: 90px;
    flex: 1;
}

/* Apply filters button */
.fcb-sidebar__apply {
    padding: 16px 20px;
    border-top: 1px solid var(--fcb-border);
}
.fcb-filter-apply-btn {
    width: 100%;
    background: var(--fcb-accent);
    color: var(--fcb-white);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    transition: background .2s, transform .15s;
}
.fcb-filter-apply-btn:hover {
    background: var(--fcb-orange);
    transform: translateY(-1px);
}

/* ── LISTINGS PANEL ─────────────────────────────────────── */
.fcb-listings-panel {}

/* Sort + count bar */
.fcb-results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 10px;
}
.fcb-results-bar__count {
    font-size: 14px;
    color: var(--fcb-gray);
}
.fcb-results-bar__count strong {
    color: var(--fcb-navy);
    font-weight: 700;
}
.fcb-sort-select {
    border: 1px solid var(--fcb-border);
    border-radius: 8px;
    padding: 8px 32px 8px 12px;
    font-size: 13px;
    font-family: inherit;
    color: var(--fcb-navy);
    background: var(--fcb-white);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color .2s;
}
.fcb-sort-select:focus { border-color: var(--fcb-accent); }

/* Active filters pills */
.fcb-active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}
.fcb-active-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--fcb-navy);
    color: var(--fcb-white);
    border-radius: 20px;
    padding: 4px 10px 4px 12px;
    font-size: 12px;
    font-weight: 600;
}
.fcb-active-filter__remove {
    background: rgba(255,255,255,.2);
    border: none;
    color: #fff;
    width: 18px; height: 18px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    display: flex; align-items: center; justify-content: center;
    padding: 0;
    line-height: 1;
    transition: background .15s;
}
.fcb-active-filter__remove:hover { background: rgba(255,255,255,.35); }
.fcb-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: 1.5px solid var(--fcb-accent);
    color: var(--fcb-accent);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, color .15s;
    white-space: nowrap;
}
.fcb-clear-all:hover {
    background: var(--fcb-accent);
    color: #fff;
}

/* ── LISTINGS GRID ──────────────────────────────────────── */
.fcb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}

.fcb-card {
    background: var(--fcb-white);
    border-radius: var(--fcb-radius);
    border: 1px solid var(--fcb-border);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}
.fcb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
}

.fcb-card__img-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
    background: #e5e7eb;
    flex-shrink: 0;
}
.fcb-card__img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .35s;
}
.fcb-card:hover .fcb-card__img-wrap img { transform: scale(1.05); }

/* ── CARD IMAGE CAROUSEL ────────────────────────────────── */
.fcb-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}
.fcb-carousel__track {
    display: flex;
    height: 100%;
    transition: transform .35s ease;
    will-change: transform;
}
.fcb-carousel__slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}
.fcb-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.fcb-carousel__btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,.55);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    transition: opacity .2s, background .2s;
    padding: 0;
}
.fcb-card__img-wrap:hover .fcb-carousel__btn { opacity: 1; }
.fcb-carousel__btn:hover { background: rgba(0,0,0,.82); }
.fcb-carousel__btn--prev { left: 8px; }
.fcb-carousel__btn--next { right: 8px; }
.fcb-carousel__dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 5px;
    z-index: 3;
    pointer-events: none;
}
.fcb-carousel__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,.55);
    transition: background .2s, transform .2s;
    pointer-events: auto;
    cursor: pointer;
}
.fcb-carousel__dot.active {
    background: #fff;
    transform: scale(1.35);
}

.fcb-card__img-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 40px;
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

/* ── CARD FAVORITE BUTTON ───────────────────────────────── */
.fcb-card__favorite {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 10;
    width: 34px; height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.88);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    color: #374151;
    box-shadow: 0 2px 8px rgba(0,0,0,.18);
    transition: transform .2s, background .2s, color .2s;
    padding: 0;
}
.fcb-card__favorite:hover {
    background: #fff;
    transform: scale(1.12);
}
.fcb-card__favorite--active { color: #ef4444; }
.fcb-card__favorite svg { width: 17px; height: 17px; display: block; }
/* Show only one heart at a time — use .fcb-card__favorite scope for specificity win over "svg" rule */
.fcb-card__favorite .fcb-card__fav-filled                              { display: none; }
.fcb-card__favorite--active .fcb-card__fav-outline                    { display: none; }
.fcb-card__favorite--active .fcb-card__fav-filled                     { display: block; }

.fcb-card__badge {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--fcb-accent);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
}
/* Etiqueta badge — gris por defecto para cualquier slug nuevo */
.fcb-card__badge--etiqueta       { background: #9ca3af; color: #1a1a2e; }
/* Overrides por slug conocido (orden importa: deben ir después del default) */
.fcb-card__badge--destacado      { background: #16a34a; color: #fff; }
.fcb-card__badge--nuevo          { background: #2563eb; color: #fff; }
.fcb-card__badge--casi-nuevo     { background: #eab308; color: #1a1a2e; }
.fcb-card__badge--vendido        { background: #111827; color: #fff; }

.fcb-card__badge--featured {
    background: var(--fcb-gold);
    color: var(--fcb-navy);
}

.fcb-card__body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.fcb-card__price {
    font-size: 20px;
    font-weight: 800;
    color: var(--fcb-accent);
    letter-spacing: -.5px;
    margin-bottom: 4px;
}
.fcb-card__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--fcb-navy);
    margin-bottom: 8px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fcb-card__specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
}
.fcb-card__spec {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--fcb-gray);
    background: var(--fcb-light);
    border-radius: 6px;
    padding: 3px 8px;
    font-weight: 500;
}
.fcb-card__spec svg { width: 12px; height: 12px; flex-shrink: 0; }

.fcb-card__footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--fcb-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.fcb-card__location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--fcb-gray);
}
.fcb-card__location svg { width: 11px; height: 11px; }
.fcb-card__cta {
    font-size: 12px;
    font-weight: 700;
    color: var(--fcb-accent);
    display: flex;
    align-items: center;
    gap: 3px;
    transition: gap .15s;
}
.fcb-card:hover .fcb-card__cta { gap: 6px; }

/* ── LOADING SKELETON ────────────────────────────────────── */
.fcb-loading {
    display: none;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
}
.fcb-loading.active { display: grid; }
.fcb-skeleton {
    background: var(--fcb-white);
    border-radius: var(--fcb-radius);
    border: 1px solid var(--fcb-border);
    overflow: hidden;
}
.fcb-skeleton__img {
    height: 160px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: fcb-shimmer 1.4s infinite;
}
.fcb-skeleton__body { padding: 16px; }
.fcb-skeleton__line {
    height: 12px;
    border-radius: 6px;
    background: linear-gradient(90deg, #e5e7eb 25%, #f3f4f6 50%, #e5e7eb 75%);
    background-size: 200% 100%;
    animation: fcb-shimmer 1.4s infinite;
    margin-bottom: 10px;
}
.fcb-skeleton__line--short { width: 60%; }
.fcb-skeleton__line--medium { width: 80%; }
@keyframes fcb-shimmer {
    0%   { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── NO RESULTS ─────────────────────────────────────────── */
.fcb-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}
.fcb-no-results__icon { font-size: 48px; margin-bottom: 16px; }
.fcb-no-results__title {
    font-size: 20px;
    font-weight: 700;
    color: var(--fcb-navy);
    margin-bottom: 8px;
}
.fcb-no-results__text { font-size: 14px; color: var(--fcb-gray); }

/* ── PAGINATION ─────────────────────────────────────────── */
.fcb-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.fcb-pagination__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 8px;
    border: 1.5px solid var(--fcb-border);
    background: var(--fcb-white);
    font-size: 13px;
    font-weight: 600;
    color: var(--fcb-navy);
    cursor: pointer;
    font-family: inherit;
    transition: all .2s;
    text-decoration: none;
}
.fcb-pagination__btn:hover {
    border-color: var(--fcb-accent);
    color: var(--fcb-accent);
}
.fcb-pagination__btn.active {
    background: var(--fcb-accent);
    border-color: var(--fcb-accent);
    color: #fff;
}
.fcb-pagination__btn:disabled {
    opacity: .35;
    cursor: not-allowed;
}
.fcb-pagination__btn--nav {
    width: auto;
    padding: 0 14px;
    gap: 6px;
}

/* ── MOBILE ─────────────────────────────────────────────── */

@media (max-width: 900px) {
    .fcb-main__inner {
        grid-template-columns: 1fr;
    }
    .fcb-sidebar {
        position: static;
        display: none;
    }
    /* ── Filter bar: horizontal scrollable pill strip ── */
    .fcb-filter-bar {
        display: flex;
        overflow-x: auto;
        gap: 8px;
        padding: 10px 12px;
        background: var(--fcb-white);
        border-bottom: 1px solid var(--fcb-border);
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        align-items: center;
    }
    .fcb-filter-bar::-webkit-scrollbar { display: none; }

    /* Main "Filtros" pill-button */
    .fcb-filter-bar__main {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-shrink: 0;
        background: var(--fcb-navy);
        color: #fff;
        border: none;
        border-radius: 20px;
        padding: 7px 14px;
        font-size: 13px;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        white-space: nowrap;
    }
    .fcb-filter-bar__icon { width: 15px; height: 15px; flex-shrink: 0; }
    .fcb-filter-bar__badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #f97316;
        color: #fff;
        border-radius: 50%;
        width: 18px;
        height: 18px;
        font-size: 10px;
        font-weight: 800;
        margin-left: 2px;
        line-height: 1;
    }

    /* Individual filter pills */
    .fcb-filter-bar__pill {
        display: flex;
        align-items: center;
        gap: 4px;
        flex-shrink: 0;
        background: #fff;
        color: var(--fcb-navy);
        border: 1.5px solid #d1d5db;
        border-radius: 20px;
        padding: 7px 12px;
        font-size: 13px;
        font-weight: 500;
        font-family: inherit;
        cursor: pointer;
        white-space: nowrap;
    }
    .fcb-filter-bar__pill.active {
        background: var(--fcb-navy);
        color: #fff;
        border-color: var(--fcb-navy);
        font-weight: 600;
    }
    .fcb-filter-bar__chevron { width: 10px; height: 7px; opacity: 0.55; }
    .fcb-filter-bar__pill.active .fcb-filter-bar__chevron { opacity: 0.75; }

    .fcb-sidebar.mobile-open {
        display: block;
        margin-bottom: 20px;
    }
    .fcb-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .fcb-hero__title { font-size: 26px; }
    .fcb-grid { grid-template-columns: 1fr; }
    .fcb-hero__search { border-radius: 12px; flex-direction: column; }
    .fcb-hero__search button { border-radius: 8px; justify-content: center; }
}

/* ── FEATURES MULTI-SELECT ─────────────────────────────── */
.fcb-ss__opt--check {
    display: flex;
    align-items: center;
    gap: 8px;
}
.fcb-ss__checkmark {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--fcb-border);
    border-radius: 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s, border-color .15s;
}
.fcb-ss__opt--check.active .fcb-ss__checkmark {
    background: var(--fcb-accent);
    border-color: var(--fcb-accent);
}
.fcb-ss__opt--check.active .fcb-ss__checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}
/* Count badge on filter group toggle */
.fcb-ss__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--fcb-accent);
    color: #fff;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    margin-left: 6px;
    vertical-align: middle;
}

/* ── BELOW-BLOCK CONTENT (Gutenberg blocks after city block) ── */
.fcb-below-content {
    max-width: 1200px;
    margin: 48px auto 64px;
    padding: 0 24px;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.75;
    color: #374151;
}

/* Headings */
.fcb-below-content h1,
.fcb-below-content h2,
.fcb-below-content h3,
.fcb-below-content h4,
.fcb-below-content h5,
.fcb-below-content h6 {
    font-weight: 700;
    color: #0f1f3d;
    margin: 1.6em 0 0.5em;
    line-height: 1.3;
}
.fcb-below-content h1 { font-size: clamp(24px, 3vw, 36px); }
.fcb-below-content h2 { font-size: clamp(20px, 2.4vw, 28px); border-bottom: 2px solid #e5e7eb; padding-bottom: 10px; }
.fcb-below-content h3 { font-size: clamp(17px, 2vw, 22px); }
.fcb-below-content h4 { font-size: clamp(15px, 1.6vw, 18px); }

/* Paragraphs */
.fcb-below-content p {
    margin: 0 0 1.1em;
}
.fcb-below-content p:empty { display: none; } /* hide WP empty <p> */

/* Links */
.fcb-below-content a {
    color: #f04e23;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .15s;
}
.fcb-below-content a:hover { color: #c93d1a; }

/* Lists */
.fcb-below-content ul,
.fcb-below-content ol {
    padding-left: 1.6em;
    margin: 0 0 1.1em;
}
.fcb-below-content li { margin-bottom: .4em; }

/* Images */
.fcb-below-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}
.fcb-below-content figure { margin: 1.5em 0; }
.fcb-below-content figcaption {
    font-size: 13px;
    color: #6b7280;
    text-align: center;
    margin-top: 6px;
}

/* Blockquote */
.fcb-below-content blockquote {
    margin: 1.5em 0;
    padding: 16px 20px;
    border-left: 4px solid #f04e23;
    background: #fff8f6;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #4b5563;
}

/* Tables */
.fcb-below-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 14px;
}
.fcb-below-content th,
.fcb-below-content td {
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    text-align: left;
}
.fcb-below-content th {
    background: #0f1f3d;
    color: #fff;
    font-weight: 700;
}
.fcb-below-content tr:nth-child(even) td { background: #f9fafb; }

/* WP Gutenberg group / columns blocks */
.fcb-below-content .wp-block-columns {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.fcb-below-content .wp-block-column { flex: 1 1 260px; }

/* Responsive */
@media (max-width: 768px) {
    .fcb-below-content {
        margin: 32px auto 48px;
        padding: 0 16px;
    }
    .fcb-below-content .wp-block-columns { flex-direction: column; }
}

/* ── Neutralizar herencia de .fcb-below-content sobre títulos del acordeón ── */
/* Las reglas de h2/h3 de fcb-below-content aplican border-bottom y font-size  */
/* que conflictúan con el estilo navy del acordeón. Las reseteamos aquí.        */
.fcb-below-content .fullcarro-accordion .fullcarro-accordion-title h1,
.fcb-below-content .fullcarro-accordion .fullcarro-accordion-title h2,
.fcb-below-content .fullcarro-accordion .fullcarro-accordion-title h3,
.fcb-below-content .fullcarro-accordion .fullcarro-accordion-title h4,
.fcb-below-content .fullcarro-accordion .fullcarro-accordion-title h5,
.fcb-below-content .fullcarro-accordion .fullcarro-accordion-title h6,
.fcb-below-content .fullcarro-accordion .fullcarro-accordion-title p,
.fcb-below-content .fullcarro-accordion .fullcarro-accordion-title span {
    border-bottom: none !important;
    padding-bottom: 0 !important;
    margin: 0 !important;
    display: inline !important;
    font-size: 16px !important;
    color: inherit !important;
    font-weight: 600 !important;
    line-height: inherit !important;
}
