/**
 * fc-landing-listing v1.0.0
 *
 * BEM con prefijo `fcll-`. Brand Fullcarro:
 *   --fcll-primary    #FF9540 (naranja)
 *   --fcll-navy       #374B5C
 *   --fcll-bg         #F7F8FA
 *   --fcll-text       #1F2937
 *   --fcll-muted      #6B7280
 *   --fcll-border     #E5E7EB
 *
 * Mobile-first. Breakpoints:
 *   tablet:  640px
 *   desktop: 1024px
 */

:root {
  --fcll-primary:    #FF9540;
  --fcll-primary-dk: #E07F2E;
  --fcll-navy:       #374B5C;
  --fcll-navy-dk:    #28384A;
  --fcll-bg:         #F7F8FA;
  --fcll-card:       #FFFFFF;
  --fcll-text:       #1F2937;
  --fcll-muted:      #6B7280;
  --fcll-border:     #E5E7EB;
  --fcll-success:    #10B981;
  --fcll-whatsapp:   #25D366;
  --fcll-radius:     12px;
  --fcll-shadow:     0 1px 2px rgba(0,0,0,.04), 0 4px 12px rgba(0,0,0,.04);
  --fcll-shadow-md:  0 2px 8px rgba(0,0,0,.06), 0 8px 24px rgba(0,0,0,.08);
}

/* ──────── RESET MÍNIMO + WRAPPER ──────── */
.fcll-single { background: var(--fcll-bg); color: var(--fcll-text); font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; overflow-x: hidden; max-width: 100vw; }
.fcll-single * { box-sizing: border-box; min-width: 0; }
.fcll-single img, .fcll-single video, .fcll-single iframe { max-width: 100%; height: auto; }
.fcll-container { max-width: 1280px; margin: 0 auto; padding: 0 12px; }
@media (min-width: 640px) { .fcll-container { padding: 0 16px; } }
.fcll-section-heading { font-size: 18px; font-weight: 800; color: var(--fcll-navy); margin: 0 0 12px; letter-spacing: -.3px; }

/* SVGs por defecto: cap a tamaños razonables si llegan sin width/height */
.fcll-single svg:not([width]):not([height]) { max-width: 100%; height: auto; }

/* ──────── BREADCRUMBS ──────── */
.fcll-breadcrumbs { padding: 12px 0; font-size: 12px; color: var(--fcll-muted); border-bottom: 1px solid var(--fcll-border); background: #FFF; }
.fcll-breadcrumbs a { color: var(--fcll-muted); text-decoration: none; transition: color .15s; }
.fcll-breadcrumbs a:hover { color: var(--fcll-primary); }
.fcll-breadcrumbs__sep { margin: 0 6px; opacity: .4; }
.fcll-breadcrumbs__current { color: var(--fcll-text); font-weight: 500; }

/* ──────── GRID PRINCIPAL ──────── */
.fcll-main { padding: 16px 0 80px; }
.fcll-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 1024px) {
  .fcll-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
  .fcll-col-aside { position: sticky; top: 20px; }
  .fcll-col-main { min-width: 0; }
}

/* ──────── GALLERY ──────── */
.fcll-gallery { position: relative; background: #000; border-radius: var(--fcll-radius); overflow: hidden; box-shadow: var(--fcll-shadow); }
.fcll-gallery__placeholder { aspect-ratio: 16/10; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--fcll-card); color: var(--fcll-muted); }
.fcll-gallery__placeholder-icon { font-size: 48px; }

.fcll-gallery__plan-badge { position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--fcll-primary); color: #FFF; padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; box-shadow: 0 2px 8px rgba(255,149,64,.4); }
.fcll-gallery__plan-badge--gt { background: linear-gradient(135deg, #FF9540, #E07F2E); }
.fcll-gallery__plan-badge--showroom { background: linear-gradient(135deg, #1F2937, #374B5C); }

.fcll-gallery__tag { position: absolute; top: 12px; right: 60px; z-index: 3; background: #10B981; color: #FFF; padding: 6px 12px; border-radius: 8px; font-size: 11px; font-weight: 700; }
.fcll-gallery__tag--negociable { background: #3B82F6; }
.fcll-gallery__tag--precio-reducido { background: #EF4444; }
.fcll-gallery__tag--destacado { background: var(--fcll-primary); }

.fcll-gallery__count { position: absolute; top: 12px; right: 12px; z-index: 3; background: rgba(0,0,0,.6); color: #FFF; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 600; backdrop-filter: blur(4px); }

.fcll-gallery__slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; -webkit-overflow-scrolling: touch; aspect-ratio: 16/9; }
.fcll-gallery__slider::-webkit-scrollbar { display: none; }
.fcll-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; margin: 0; }
.fcll-gallery__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }

.fcll-gallery__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border: 0; background: rgba(255,255,255,.9); color: var(--fcll-navy); border-radius: 50%; cursor: pointer; font-size: 24px; line-height: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 8px rgba(0,0,0,.15); transition: background .15s, transform .15s; }
.fcll-gallery__nav:hover { background: #FFF; transform: translateY(-50%) scale(1.05); }
.fcll-gallery__nav--prev { left: 12px; padding-right: 3px; }
.fcll-gallery__nav--next { right: 12px; padding-left: 3px; }

.fcll-gallery__thumbs { display: flex; gap: 6px; padding: 8px; background: rgba(0,0,0,.85); overflow-x: auto; }
.fcll-gallery__thumbs::-webkit-scrollbar { height: 0; }
.fcll-gallery__thumb { flex: 0 0 64px; height: 48px; border: 2px solid transparent; border-radius: 6px; padding: 0; cursor: pointer; background: transparent; overflow: hidden; transition: border-color .15s, opacity .15s; opacity: .6; }
.fcll-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fcll-gallery__thumb.is-active { border-color: var(--fcll-primary); opacity: 1; }
.fcll-gallery__thumb:hover { opacity: 1; }

@media (min-width: 1024px) {
  .fcll-gallery__thumb { flex-basis: 80px; height: 60px; }
}

/* ──────── TITLE BLOCK ──────── */
.fcll-title-block { background: var(--fcll-card); border-radius: var(--fcll-radius); padding: 20px; margin-top: 16px; box-shadow: var(--fcll-shadow); }
.fcll-title-block__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.fcll-title-block__pill { background: rgba(55,75,92,.06); color: var(--fcll-navy); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; text-decoration: none; }
.fcll-title-block__pill:hover { background: rgba(55,75,92,.12); color: var(--fcll-navy); }
.fcll-title-block__pill--year { background: var(--fcll-primary); color: #FFF; }
.fcll-title-block__title { font-size: 22px; font-weight: 800; color: var(--fcll-navy); margin: 0 0 12px; line-height: 1.25; letter-spacing: -.4px; word-wrap: break-word; overflow-wrap: break-word; hyphens: auto; }
.fcll-title-block__quick { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--fcll-border); }
.fcll-title-block__quick-item { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--fcll-muted); }
.fcll-title-block__quick-item svg { width: 14px; height: 14px; flex-shrink: 0; }
.fcll-title-block__price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.fcll-title-block__price { font-size: 30px; font-weight: 800; color: var(--fcll-primary); letter-spacing: -1px; line-height: 1; }
.fcll-title-block__counters { display: flex; gap: 12px; font-size: 12px; color: var(--fcll-muted); }

@media (min-width: 1024px) {
  .fcll-title-block__title { font-size: 28px; }
  .fcll-title-block__price { font-size: 36px; }
}

/* ──────── HIGHLIGHTS · 4 cards arriba ────────
   Las 4 specs más importantes para decidir (KM, Año, Combustible, Transmisión)
   en cards visuales con icono coloreado a la izquierda. */
.fcll-highlights { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
@media (min-width: 640px) { .fcll-highlights { grid-template-columns: repeat(4, 1fr); gap: 10px; } }
.fcll-highlight {
  background: var(--fcll-card);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--fcll-shadow);
  border: 1px solid var(--fcll-border);
  transition: transform .15s, box-shadow .15s;
}
.fcll-highlight:hover { transform: translateY(-1px); box-shadow: var(--fcll-shadow-md); }
.fcll-highlight__icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
}
.fcll-highlight__icon svg { width: 20px; height: 20px; }
.fcll-highlight__body { flex: 1; min-width: 0; }
.fcll-highlight__label { font-size: 10px; font-weight: 600; color: var(--fcll-muted); text-transform: uppercase; letter-spacing: .4px; line-height: 1; margin-bottom: 4px; }
.fcll-highlight__value { font-size: 14px; font-weight: 800; color: var(--fcll-navy); line-height: 1.15; letter-spacing: -.2px; word-wrap: break-word; }

/* Variantes de color del icono */
.fcll-highlight--navy    .fcll-highlight__icon { background: rgba(55,75,92,.10); color: var(--fcll-navy); }
.fcll-highlight--primary .fcll-highlight__icon { background: rgba(255,149,64,.15); color: var(--fcll-primary); }
.fcll-highlight--success .fcll-highlight__icon { background: rgba(16,185,129,.12); color: var(--fcll-success); }

@media (min-width: 1024px) {
  .fcll-highlight__icon { width: 44px; height: 44px; }
  .fcll-highlight__icon svg { width: 22px; height: 22px; }
  .fcll-highlight__value { font-size: 15px; }
}

/* ──────── SPECS TABLE · agrupada en 3 secciones ──────── */
.fcll-specs { background: var(--fcll-card); border-radius: var(--fcll-radius); padding: 20px; margin-top: 16px; box-shadow: var(--fcll-shadow); }
.fcll-specs__group { margin-bottom: 18px; }
.fcll-specs__group:last-child { margin-bottom: 0; }
.fcll-specs__group-title {
  font-size: 11px; font-weight: 700;
  color: var(--fcll-primary);
  text-transform: uppercase; letter-spacing: .8px;
  margin: 0 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255,149,64,.20);
}
.fcll-specs__grid { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
@media (min-width: 640px) { .fcll-specs__grid { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
.fcll-specs__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--fcll-border); }
.fcll-specs__row:last-child { border-bottom: 0; }
.fcll-specs__label { font-size: 12px; color: var(--fcll-muted); margin: 0; font-weight: 500; }
.fcll-specs__value { font-size: 13px; color: var(--fcll-text); margin: 0; font-weight: 700; text-align: right; }

/* ──────── DESCRIPTION · clamp + pricing chips ──────── */
.fcll-description { background: var(--fcll-card); border-radius: var(--fcll-radius); padding: 20px; margin-top: 16px; box-shadow: var(--fcll-shadow); }
.fcll-description__body { font-size: 14px; line-height: 1.65; color: var(--fcll-text); }
.fcll-description__body p { margin: 0 0 10px; }
.fcll-description__body p:last-child { margin-bottom: 0; }

/* Clamp de 6 líneas con fade gradient */
.fcll-description__body--clamp {
  position: relative;
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 9.9em;
}
.fcll-description__body--clamp::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--fcll-card));
  pointer-events: none;
}
.fcll-description__body--expanded {
  -webkit-line-clamp: unset;
  display: block;
  max-height: none;
}
.fcll-description__body--expanded::after { display: none; }

.fcll-description__toggle {
  margin-top: 12px;
  background: transparent;
  border: 1.5px solid var(--fcll-primary);
  color: var(--fcll-primary);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 12px; font-weight: 700;
  cursor: pointer;
  transition: background .15s;
  font-family: inherit;
}
.fcll-description__toggle:hover { background: rgba(255,149,64,.06); }
.fcll-description__toggle .fcll-description__toggle-less { display: none; }
.fcll-description__toggle.is-expanded .fcll-description__toggle-more { display: none; }
.fcll-description__toggle.is-expanded .fcll-description__toggle-less { display: inline; }


/* ──────── SELLER CARD ──────── */
.fcll-seller-card { background: var(--fcll-card); border-radius: var(--fcll-radius); padding: 20px; box-shadow: var(--fcll-shadow); position: relative; }
.fcll-seller-card__header { display: flex; gap: 12px; align-items: flex-start; padding-bottom: 16px; border-bottom: 1px solid var(--fcll-border); }
.fcll-seller-card__avatar { position: relative; flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--fcll-bg); display: block; }
.fcll-seller-card__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }

/* Presence dot · verde (online) / gris (offline) en la esquina inferior derecha del avatar */
.fcll-seller-card__presence-dot {
  position: absolute;
  bottom: 0; right: 0;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #9CA3AF;                    /* gris por defecto · offline */
  border: 2.5px solid var(--fcll-card);
  box-shadow: 0 0 0 1px rgba(0,0,0,.04);
  z-index: 2;
}
.fcll-seller-card__avatar.is-online .fcll-seller-card__presence-dot {
  background: #10B981;                    /* verde · online */
  box-shadow: 0 0 0 1px rgba(16,185,129,.30), 0 0 12px rgba(16,185,129,.40);
  animation: fcll-pulse-online 2s ease-in-out infinite;
}
@keyframes fcll-pulse-online {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.45), 0 0 0 1px rgba(16,185,129,.30); }
  50%      { box-shadow: 0 0 0 5px rgba(16,185,129,0),   0 0 0 1px rgba(16,185,129,.30); }
}

/* Texto de estado debajo del nombre */
.fcll-seller-card__state {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.fcll-seller-card__state::before {
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.fcll-seller-card__state--online        { color: #059669; }
.fcll-seller-card__state--online::before { background: #10B981; box-shadow: 0 0 6px rgba(16,185,129,.50); }
.fcll-seller-card__state--offline        { color: #6B7280; }
.fcll-seller-card__state--offline::before{ background: #9CA3AF; }
.fcll-seller-card__info { flex: 1; min-width: 0; }
.fcll-seller-card__name { display: block; font-size: 16px; font-weight: 800; color: var(--fcll-navy); text-decoration: none; line-height: 1.2; margin-bottom: 4px; }
.fcll-seller-card__name:hover { color: var(--fcll-primary); }
.fcll-seller-card__type { font-size: 11px; color: var(--fcll-muted); margin-bottom: 6px; }
.fcll-seller-card__see-all { font-size: 11px; color: var(--fcll-primary); font-weight: 600; text-decoration: none; }
.fcll-seller-card__see-all:hover { text-decoration: underline; }

.fcll-seller-card__leads { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }

.fcll-lead-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0 18px; border: 0; border-radius: 10px;
  font-size: 14px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: transform .12s, box-shadow .15s, background .15s;
  width: 100%;
  min-height: 52px; height: 52px;   /* Altura uniforme en los 3 botones */
  line-height: 1;
  font-family: inherit;
}
.fcll-lead-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
/* Override del listivo-simple-button--height-60 que viene heredado del tema */
.fcll-lead-btn.listivo-simple-button { height: 52px !important; min-height: 52px !important; padding: 0 18px !important; }
.fcll-lead-btn.listivo-simple-button .listivo-simple-button__icon { display: none; }
.fcll-lead-btn:hover { transform: translateY(-1px); box-shadow: var(--fcll-shadow-md); }
.fcll-lead-btn:active { transform: translateY(0); }

.fcll-lead-btn--whatsapp { background: var(--fcll-whatsapp); color: #FFF; }
.fcll-lead-btn--whatsapp:hover { background: #1FB855; color: #FFF; }
.fcll-lead-btn--whatsapp span { color: #FFF !important; }
.fcll-lead-btn--phone { background: var(--fcll-navy); color: #FFF; }
.fcll-lead-btn--phone:hover { background: var(--fcll-navy-dk); color: #FFF; }
.fcll-lead-btn--phone span { color: #FFF !important; }
.fcll-lead-btn--chat { background: var(--fcll-primary); color: #FFF; }
.fcll-lead-btn--chat:hover { background: var(--fcll-primary-dk); color: #FFF; }
.fcll-lead-btn--chat span { color: #FFF !important; }
.fcll-lead-btn--locked { opacity: .85; }


.fcll-seller-card__safety { margin-top: 14px; padding: 10px 12px; background: rgba(255,149,64,.08); border-radius: 8px; font-size: 11px; color: var(--fcll-muted); display: flex; gap: 6px; align-items: flex-start; line-height: 1.45; }
.fcll-seller-card__safety-icon { flex-shrink: 0; }

/* ──────── CARRUSELES INFERIORES ──────── */
.fcll-bottom-carousels { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--fcll-border); display: flex; flex-direction: column; gap: 32px; }

.fcll-carousel-section { position: relative; }
.fcll-carousel-section__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; margin-bottom: 12px; flex-wrap: wrap;
}
.fcll-carousel-section__head .fcll-section-heading { margin: 0; }
.fcll-carousel-section__see-all {
  font-size: 12px; font-weight: 700;
  color: var(--fcll-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: gap .15s;
  display: inline-flex; align-items: center; gap: 3px;
}
.fcll-carousel-section__see-all:hover { color: var(--fcll-primary-dk); gap: 6px; }

/* Carrusel · scroll-snap horizontal con flechas */
.fcll-carousel { position: relative; }
.fcll-carousel__track {
  display: flex; gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 2px 16px;     /* 16 abajo para sombra de cards no se corte */
  scrollbar-width: thin;
}
.fcll-carousel__track::-webkit-scrollbar { height: 6px; }
.fcll-carousel__track::-webkit-scrollbar-track { background: transparent; }
.fcll-carousel__track::-webkit-scrollbar-thumb { background: rgba(55,75,92,.18); border-radius: 3px; }

.fcll-carousel__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 40px; height: 40px;
  border: 0;
  background: #FFF;
  color: var(--fcll-navy);
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px; line-height: 1;
  display: none;       /* hidden mobile · visible desktop */
  align-items: center; justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
  transition: background .15s, transform .15s;
}
.fcll-carousel__nav:hover { background: var(--fcll-primary); color: #FFF; transform: translateY(-50%) scale(1.05); }
.fcll-carousel__nav--prev { left: -8px; padding-right: 3px; }
.fcll-carousel__nav--next { right: -8px; padding-left: 3px; }
@media (min-width: 768px) {
  .fcll-carousel__nav { display: flex; }
}

/* Mini cards del carrusel */
.fcll-mini-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
  background: var(--fcll-card);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--fcll-shadow);
  transition: transform .15s, box-shadow .15s;
  display: flex; flex-direction: column;
  border: 1px solid var(--fcll-border);
}
@media (min-width: 768px) { .fcll-mini-card { flex-basis: 260px; } }
.fcll-mini-card:hover { transform: translateY(-3px); box-shadow: var(--fcll-shadow-md); }

.fcll-mini-card__img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  background: var(--fcll-bg);
  overflow: hidden;
}
.fcll-mini-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.fcll-mini-card:hover .fcll-mini-card__img-wrap img { transform: scale(1.04); }
.fcll-mini-card__img-placeholder {
  width: 100%; height: 100%;
  display: grid; place-items: center;
  font-size: 36px; opacity: .3;
}

.fcll-mini-card__plan {
  position: absolute; top: 8px; left: 8px;
  background: var(--fcll-primary);
  color: #FFF;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9.5px; font-weight: 800;
  letter-spacing: .4px; text-transform: uppercase;
}
.fcll-mini-card__plan--gt { background: linear-gradient(135deg, var(--fcll-primary), var(--fcll-primary-dk)); }
.fcll-mini-card__plan--showroom { background: linear-gradient(135deg, var(--fcll-navy), var(--fcll-navy-dk)); }

.fcll-mini-card__body { padding: 12px; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.fcll-mini-card__price {
  font-size: 16px; font-weight: 800;
  color: var(--fcll-primary);
  letter-spacing: -.2px;
  line-height: 1.1;
}
.fcll-mini-card__title {
  font-size: 13px; font-weight: 700;
  color: var(--fcll-navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
}
.fcll-mini-card__meta {
  font-size: 11px; color: var(--fcll-muted);
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: auto;
}

/* Compatibilidad — mantiene los selectores legacy del grid de city-block
   que aún pueden estar en cache en algún listing renderizado vía AJAX */
.fcll-related-wrap { margin-top: 0; }
.fcll-related { padding-top: 0; border-top: 0; }
/* SOBREESCRIBIR el grid-template del city-block para garantizar 3 cols en desktop */
.fcll-related .fcb-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 16px; }
@media (min-width: 640px)  { .fcll-related .fcb-grid { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width: 1024px) { .fcll-related .fcb-grid { grid-template-columns: repeat(3, 1fr) !important; } }
/* Garantizar que SVG dentro de cards no exploten si el CSS de city-block aún no aplica */
.fcll-related .fcb-card svg { width: 16px; height: 16px; flex-shrink: 0; }
.fcll-related .fcb-card__spec svg { width: 12px; height: 12px; }
.fcll-related .fcb-card__location svg { width: 11px; height: 11px; }
/* Fallback grid simple */
.fcll-related__grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.fcll-related__card { background: var(--fcll-card); border-radius: var(--fcll-radius); overflow: hidden; box-shadow: var(--fcll-shadow); text-decoration: none; color: inherit; transition: transform .15s; }
.fcll-related__card:hover { transform: translateY(-2px); }
.fcll-related__card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.fcll-related__title { padding: 12px; font-size: 13px; font-weight: 600; color: var(--fcll-navy); }

/* ──────── STICKY MOBILE CTA ────────
   Layout compacto: 2 botones outline 40×40 + 1 primary full-width.
   Cada botón con tooltip nativo (atributo title) accesible. */
.fcll-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  background: #FFF;
  box-shadow: 0 -2px 12px rgba(0,0,0,.08);
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  display: flex; gap: 8px; align-items: stretch;
  border-top: 1px solid var(--fcll-border);
}

/* Botón secundario outline 40×40 */
.fcll-sticky-cta__btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid;
  background: #FFF;
  border-radius: 8px;
  cursor: pointer; text-decoration: none;
  transition: background .15s, transform .12s;
  flex-shrink: 0;
  padding: 0;
  font-family: inherit;
}
.fcll-sticky-cta__btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.fcll-sticky-cta__btn:active { transform: scale(.94); }

/* Phone — outline naranja brand */
.fcll-sticky-cta__btn--phone {
  border-color: var(--fcll-primary);
  color: var(--fcll-primary);
}
.fcll-sticky-cta__btn--phone:hover { background: rgba(255,149,64,.08); }

/* Chat interno — outline morado */
.fcll-sticky-cta__btn--chat {
  border-color: #7C3AED;
  color: #7C3AED;
}
.fcll-sticky-cta__btn--chat:hover { background: rgba(124,58,237,.06); }

/* WhatsApp primary — filled verde full-width, texto blanco */
.fcll-sticky-cta__primary {
  flex: 1 1 auto;
  height: 40px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--fcll-whatsapp);
  color: #FFFFFF !important;
  border-radius: 8px;
  padding: 0 14px;
  text-decoration: none;
  font-size: 14px; font-weight: 700;
  letter-spacing: .1px;
  transition: filter .15s, transform .12s;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fcll-sticky-cta__primary span { color: #FFFFFF !important; }
.fcll-sticky-cta__primary:hover,
.fcll-sticky-cta__primary:focus,
.fcll-sticky-cta__primary:visited { color: #FFFFFF !important; filter: brightness(1.05); }
.fcll-sticky-cta__primary:active { transform: scale(.98); }
.fcll-sticky-cta__primary-icon { width: 18px; height: 18px; flex-shrink: 0; color: #FFFFFF; fill: #FFFFFF; }

/* Hidden en desktop: el sidebar tiene los CTAs */
@media (min-width: 1024px) {
  .fcll-sticky-cta { display: none; }
}

/* Mobile: padding-bottom del main para que el sticky no tape contenido */
@media (max-width: 1023.98px) {
  .fcll-main { padding-bottom: 92px; }
}

/* Mobile pequeño (<360px): comprimir el label si hace falta */
@media (max-width: 359.98px) {
  .fcll-sticky-cta { padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); gap: 6px; }
  .fcll-sticky-cta__primary { font-size: 13px; padding: 0 10px; gap: 6px; }
}
