/*
Theme Name: Listivo Child
Theme URI: https://listivotheme.com/
Author: TangibleDesign
Author URI: https://tangibledesign.net/
Description: Listivo
Template: listivo
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: translation-ready
Text Domain: listivo
*/

/* ─────────────────────────────────────────────
   FC Sidebar Logo — botón "Ir a la home" en el panel de usuario
   Se inyecta desde functions.php arriba de .fc-sidebar-profile
   dentro de .fc-panel-sidebar
   ───────────────────────────────────────────── */
.fc-panel-sidebar .fc-sidebar-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 16px 14px;
    margin: 0 0 6px;
    border-bottom: 1px solid #e6e9ef;
    overflow: hidden;
}

/* Sidebar colapsado (solo iconos): ocultar el logo horizontal porque no cabe */
.fc-panel-sidebar--collapsed .fc-sidebar-logo {
    display: none !important;
}

.fc-panel-sidebar .fc-sidebar-logo a,
.fc-panel-sidebar .fc-sidebar-logo .custom-logo-link {
    display: inline-block;
    line-height: 0;
    transition: opacity 0.2s ease;
}

.fc-panel-sidebar .fc-sidebar-logo a:hover,
.fc-panel-sidebar .fc-sidebar-logo .custom-logo-link:hover {
    opacity: 0.75;
}

.fc-panel-sidebar .fc-sidebar-logo img,
.fc-panel-sidebar .fc-sidebar-logo .custom-logo {
    max-width: 160px !important;
    max-height: 44px !important;
    width: auto !important;
    height: auto !important;
    display: block;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 1024px) {
    .fc-panel-sidebar .fc-sidebar-logo {
        padding: 14px 12px 10px;
    }
    .fc-panel-sidebar .fc-sidebar-logo img,
    .fc-panel-sidebar .fc-sidebar-logo .custom-logo {
        max-width: 140px !important;
        max-height: 38px !important;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .fc-panel-sidebar .fc-sidebar-logo {
        padding: 10px 10px 8px;
    }
    .fc-panel-sidebar .fc-sidebar-logo img,
    .fc-panel-sidebar .fc-sidebar-logo .custom-logo {
        max-width: 120px !important;
        max-height: 32px !important;
    }
}

/* ═════════════════════════════════════════════════════════════════
   PRICING PAGE · FULLCARRO · DARK CARD GRID
   Inspirado en el layout del usuario: fondo oscuro, cards rounded,
   plan destacado con borde naranja brand, detalles colapsables.
   ═════════════════════════════════════════════════════════════════ */

/* ═══ Dark mode TOTAL en toda la página /panel/package/ ═══ */
body.fc-pricing-page,
body.fc-pricing-page .site-content,
body.fc-pricing-page .elementor-location-main,
body.fc-pricing-page .elementor {
    background: #0F1720 !important;
    color: #FDFDFE !important;
}

body.fc-pricing-page .elementor-section,
body.fc-pricing-page .elementor-section-wrap > .elementor-section {
    background: #0F1720 !important;
}

body.fc-pricing-page .elementor-section:has(.elementor-widget-lst_panel),
body.fc-pricing-page .elementor-section:has(.elementor-widget-heading) {
    padding: 60px 20px 80px !important;
}

/* Forzar la sección (normalmente 2 cols) a una sola columna centrada */
body.fc-pricing-page .elementor-section:has(.elementor-widget-lst_panel) .elementor-container,
body.fc-pricing-page .elementor-section:has(.elementor-widget-heading) .elementor-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    max-width: 1240px !important;
    margin: 0 auto !important;
    gap: 0 !important;
}

body.fc-pricing-page .elementor-column {
    width: 100% !important;
    max-width: 1240px !important;
    flex: none !important;
}

body.fc-pricing-page .elementor-widget-wrap {
    align-content: center !important;
    justify-content: center !important;
    text-align: center !important;
}

/* Título centrado y blanco */
body.fc-pricing-page .elementor-widget-heading {
    text-align: center !important;
    width: 100% !important;
}
body.fc-pricing-page .elementor-widget-heading .elementor-widget-container {
    text-align: center !important;
}
body.fc-pricing-page .elementor-widget-heading h1,
body.fc-pricing-page .elementor-widget-heading h2,
body.fc-pricing-page .elementor-heading-title {
    font-family: 'Comfortaa', cursive !important;
    font-weight: 700 !important;
    font-size: clamp(34px, 4.5vw, 50px) !important;
    letter-spacing: -1px !important;
    color: #FDFDFE !important;
    line-height: 1.1 !important;
    text-align: center !important;
    margin: 0 auto 14px !important;
    max-width: 780px !important;
    width: 100% !important;
}

/* Toggle sobre fondo oscuro */
body.fc-pricing-page .fc-billing-toggle-wrap {
    margin: 10px 0 40px;
}
body.fc-pricing-page .fc-billing-toggle {
    background: #1E2B3A !important;
    border: 1px solid #2A3B50 !important;
    box-shadow: none !important;
}
body.fc-pricing-page .fc-billing-toggle__btn {
    color: #A6B2BF !important;
}
body.fc-pricing-page .fc-billing-toggle__btn:hover {
    color: #FDFDFE !important;
}
body.fc-pricing-page .fc-billing-toggle__btn.is-active {
    background: #FF9540 !important;
    color: #0F1720 !important;
    box-shadow: 0 2px 8px rgba(255,149,64,.35) !important;
}
body.fc-pricing-page .fc-billing-toggle__badge {
    background: #FDFDFE;
    color: #B85D1A;
}

/* ═══ Grid de cards (centered) ═══ */
body.fc-pricing-page .listivo-panel-packages-v2 {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    max-width: 1200px;
    width: 100%;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
}

/* ═══ CARD · reset total + nueva estética dark ═══ */
body.fc-pricing-page .listivo-panel-package-v2 {
    all: unset;
    background: #1E2B3A !important;
    border: 1px solid #2A3B50 !important;
    border-radius: 20px !important;
    padding: 28px 24px !important;
    position: relative;
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), border-color .25s ease, box-shadow .25s ease;
    min-height: 300px;
    overflow: visible !important;
}
body.fc-pricing-page .listivo-panel-package-v2:hover {
    transform: translateY(-5px);
    border-color: #3D5270 !important;
    box-shadow: 0 20px 40px -16px rgba(0,0,0,.5);
}

/* Head como bloque simple */
body.fc-pricing-page .listivo-panel-package-v2__head {
    all: unset;
    display: flex !important;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}
body.fc-pricing-page .listivo-panel-package-v2__body {
    all: unset;
    display: flex !important;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

/* Título del plan */
body.fc-pricing-page .listivo-panel-package-v2__head > div:first-child {
    font-family: 'Comfortaa', cursive !important;
    font-weight: 400 !important;
    font-size: 30px !important;
    letter-spacing: -0.5px !important;
    line-height: 1 !important;
    color: #FDFDFE !important;
    margin: 0 !important;
}

/* Label normal (pequeño debajo del nombre) */
body.fc-pricing-page .listivo-panel-package-v2__label {
    display: inline-flex !important;
    align-items: center;
    gap: 5px;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 0.8px !important;
    text-transform: uppercase !important;
    color: #A6B2BF !important;
    background: #2A3B50 !important;
    padding: 4px 10px !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    width: fit-content;
}

/* Precio */
body.fc-pricing-page .listivo-panel-package-v2__main-value {
    all: unset;
    font-family: 'Comfortaa', cursive !important;
    font-weight: 400 !important;
    font-size: 40px !important;
    letter-spacing: -1px !important;
    color: #FDFDFE !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px !important;
}
body.fc-pricing-page .listivo-panel-package-v2__main-value .fc-price-number {
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
}
body.fc-pricing-page .listivo-panel-package-v2__main-value .fc-price-period {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    color: #A6B2BF;
    font-weight: 400;
    letter-spacing: 0;
}

/* Neutro gratis naranja */
body.fc-pricing-page .fc-pkg--free .listivo-panel-package-v2__main-value {
    color: #FF9540 !important;
}

/* Ahorro anual */
body.fc-pricing-page .fc-price-savings {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,149,64,.15);
    color: #FFB779;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 999px;
    margin: 8px 0 0;
    width: fit-content;
    letter-spacing: 0.2px;
}
body.fc-pricing-page .fc-price-savings::before {
    content: "↓";
    font-weight: 700;
}

/* Descripción corta (resumen) */
body.fc-pricing-page .listivo-panel-package-v2__description {
    all: unset;
    display: block !important;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 13.5px !important;
    line-height: 1.6 !important;
    color: #CBD5F5 !important;
    margin: 18px 0 0 !important;
}

/* ═══ DETAILS · lista completa colapsable ═══ */
body.fc-pricing-page .listivo-panel-package-v2__attributes {
    all: unset;
    display: block !important;
    margin-top: 16px;
    border-top: 1px solid #2A3B50;
    padding-top: 0;
    overflow: hidden;
}
body.fc-pricing-page .fc-details-toggle {
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 2px;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #A6B2BF;
    text-transform: uppercase;
    transition: color .2s ease;
}
body.fc-pricing-page .fc-details-toggle:hover {
    color: #FDFDFE;
}
body.fc-pricing-page .fc-details-toggle__chevron {
    display: inline-block;
    transition: transform .25s ease;
    font-size: 10px;
}
body.fc-pricing-page .fc-details-toggle[aria-expanded="true"] .fc-details-toggle__chevron {
    transform: rotate(180deg);
}
body.fc-pricing-page .fc-details-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4,0,.2,1);
}
body.fc-pricing-page .fc-details-panel--open {
    max-height: 400px;
}
body.fc-pricing-page .fc-details-panel .listivo-panel-package-v2__attribute {
    all: unset;
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0 !important;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 13px;
    color: #CBD5F5;
    line-height: 1.5;
}
body.fc-pricing-page .fc-details-panel .listivo-panel-package-v2__attribute-icon-wrapper {
    flex-shrink: 0;
    margin: 0;
}
body.fc-pricing-page .fc-details-panel .listivo-panel-package-v2__attribute-icon {
    width: 16px !important;
    height: 16px !important;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
}
body.fc-pricing-page .fc-details-panel .listivo-panel-package-v2__attribute-icon svg {
    width: 14px;
    height: 14px;
}
body.fc-pricing-page .fc-details-panel .listivo-panel-package-v2__attribute-icon svg,
body.fc-pricing-page .fc-details-panel .listivo-panel-package-v2__attribute-icon svg path {
    fill: #FF9540 !important;
}
body.fc-pricing-page .fc-details-panel .listivo-panel-package-v2__attribute-value {
    font-family: 'Inter', system-ui, sans-serif !important;
    font-size: 13px !important;
    color: #CBD5F5 !important;
    line-height: 1.5 !important;
}

/* ═══ CTA Button ═══ */
body.fc-pricing-page .listivo-panel-package-v2__button {
    all: unset;
    display: block !important;
    margin-top: auto !important;
    padding-top: 20px !important;
}
body.fc-pricing-page .listivo-panel-package-v2__button .listivo-simple-button {
    all: unset;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: 100%;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.2px !important;
    font-size: 14px !important;
    padding: 13px 18px !important;
    border-radius: 12px !important;
    background: #FDFDFE !important;
    color: #0F1720 !important;
    border: 1px solid transparent !important;
    cursor: pointer;
    transition: all .2s ease !important;
    white-space: nowrap;
}
body.fc-pricing-page .listivo-panel-package-v2__button .listivo-simple-button::after {
    content: "→";
    font-size: 15px;
    transition: transform .2s ease;
}
body.fc-pricing-page .listivo-panel-package-v2__button .listivo-simple-button:hover {
    background: #FF9540 !important;
    color: #FDFDFE !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px -4px rgba(255,149,64,.5) !important;
}
body.fc-pricing-page .listivo-panel-package-v2__button .listivo-simple-button:hover::after {
    transform: translateX(2px);
}

/* ═══ RECOMENDADO · Nitro — borde naranja + badge "Más vendido" ═══ */
body.fc-pricing-page .fc-pkg--recommended {
    border-color: #FF9540 !important;
    border-width: 2px !important;
    padding: 27px 23px !important;  /* compensa el border extra */
    box-shadow: 0 20px 40px -12px rgba(255,149,64,.3);
}
body.fc-pricing-page .fc-pkg--recommended::before {
    content: "⭐ Más vendido";
    position: absolute;
    top: -12px;
    right: 16px;
    background: linear-gradient(135deg, #FFD27A 0%, #FFB347 100%);
    color: #0F1720;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(255,149,64,.4);
}
body.fc-pricing-page .fc-pkg--recommended:hover {
    transform: translateY(-7px);
    box-shadow: 0 26px 52px -14px rgba(255,149,64,.45);
}
body.fc-pricing-page .fc-pkg--recommended .listivo-panel-package-v2__button .listivo-simple-button {
    background: #FF9540 !important;
    color: #FDFDFE !important;
}
body.fc-pricing-page .fc-pkg--recommended .listivo-panel-package-v2__button .listivo-simple-button:hover {
    background: #EB7C25 !important;
}

/* ═══ GT · Badge Pro en gold ═══ */
body.fc-pricing-page .fc-pkg-accent--gt::before {
    content: "🏆 Pro";
    position: absolute;
    top: -12px;
    right: 16px;
    background: linear-gradient(135deg, #C9A961 0%, #8B7A3D 100%);
    color: #FDFDFE;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 5px 12px;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(139,122,61,.4);
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 900px) {
    body.fc-pricing-page .listivo-panel-packages-v2 {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
    }
}
@media (max-width: 600px) {
    body.fc-pricing-page .elementor-section:has(.elementor-widget-lst_panel) {
        padding: 40px 14px 50px !important;
    }
    body.fc-pricing-page .listivo-panel-packages-v2 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    body.fc-pricing-page .listivo-panel-package-v2 {
        padding: 24px 20px !important;
    }
    body.fc-pricing-page .listivo-panel-package-v2__main-value {
        font-size: 36px !important;
    }
}

/* Fade-in staggered */
body.fc-pricing-page .listivo-panel-package-v2 {
    animation: fcCardFadeIn .5s cubic-bezier(.2,.7,.2,1) both;
    animation-delay: calc(var(--i, 0) * 70ms);
}
@keyframes fcCardFadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────
   Logo swap global (header, footer, sticky, etc.)
   Aplicado a cualquier <img> con clase .fc-custom-logo que agrega
   el swap JS desde functions.php
   ───────────────────────────────────────────── */
.fc-custom-logo {
    max-width: 180px !important;
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
    /* Centra verticalmente dentro del contenedor del header */
    margin-top: auto !important;
    margin-bottom: auto !important;
    align-self: center !important;
    vertical-align: middle;
}

/* Centrar vertical y horizontalmente el logo dentro del wrapper del header,
   SIN pelear con el sistema de sticky del tema padre:
   - Cuando el body NO tiene .listivo-menu-sticky--active → mostrar el logo normal con flex
   - Cuando SÍ tiene .listivo-menu-sticky--active → el tema padre oculta el normal
     y muestra el sticky, al que le aplicamos flex también.
   Así evitamos que aparezcan los dos logos al mismo tiempo al hacer scroll. */
body:not(.listivo-menu-sticky--active) .listivo-menu-v2__logo:not(.listivo-menu-v2__logo--sticky) {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

body.listivo-menu-sticky--active .listivo-menu-v2__logo--sticky {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

@media (max-width: 1024px) {
    .fc-custom-logo {
        max-width: 150px !important;
        max-height: 40px !important;
    }
}

@media (max-width: 600px) {
    .fc-custom-logo {
        max-width: 130px !important;
        max-height: 34px !important;
    }
}


/* ==========================================================================
   home-fullcarro-2 — fix solape hero/lstats + encaje a 1100px
   Diagnóstico: .lstats tenía margin-top:-160px y se montaba sobre el hero.
   Sections del template ya traen max-width:1320px; lo bajamos a 1100px.
   ========================================================================== */

/* 1. Quitar el solape del row de stats sobre el hero
   (el tema padre define margin-top:-160px y padding-bottom:220px
   con mayor especificidad, por eso usamos !important aquí) */
.frame > .lstats,
div.lstats {
    margin-top: 0 !important;
}

section.lhero.lhero--full {
    padding-bottom: 40px !important;
}

/* Reducir min-height en mobile/tablet (el padre genérico .lhero
   pone min-height:580px que deja un hueco vacío de ~160px
   debajo del slider) */
@media (max-width: 1100px) {
    section.lhero.lhero--full {
        min-height: 0 !important;
        padding-bottom: 24px !important;
    }
}

/* 2. Encajar contenido a 1100px (fondos quedan full-bleed) */
section.section {
    max-width: 1100px;
}

.lhero--full > .lhero--full-top,
.lhero--full > .adfull {
    max-width: 1100px;
    margin-inline: auto;
}

.frame > .lstats,
div.lstats {
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Breathing room lateral en tablet/mobile (lstats y section quedaban edge-to-edge) */
@media (max-width: 1100px) {
    .frame > .lstats,
    div.lstats,
    section.section {
        padding-left: 16px;
        padding-right: 16px;
    }
}

@media (max-width: 640px) {
    .frame > .lstats,
    div.lstats,
    section.section {
        padding-left: 14px;
        padding-right: 14px;
    }
}

/* home-fullcarro-2 — ocultar branding + CTAs duplicados del hero
   (el H1 ahora vive en el primer slide del adfull) */
.lhero--full > .lhero--full-top {
    display: none !important;
}

/* H1 "Fullcarro Colombia" como brand overlay sobre el slider adfull */
.adfull {
    position: relative;
    /* fix mobile: el flex parent .lhero--full le pasa min-width:auto y
       el slider no shrinkea bajo su contenido (queda 906px en viewport 375) */
    min-width: 0;
    width: 100%;
}

.adfull__brand {
    position: absolute;
    top: 18px;
    left: 24px;
    z-index: 5;
    margin: 0;
    padding: 6px 14px;
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.1;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border-radius: 8px;
    letter-spacing: 0.2px;
    pointer-events: none;
}

.adfull__brand em {
    font-style: normal;
    color: var(--primary-1, #FF9540);
    font-weight: 700;
}

.adfull__brand-country {
    font-weight: 400;
    opacity: 0.9;
    margin-left: 4px;
}

@media (max-width: 600px) {
    /* En mobile el brand overlay tapaba el título del slide.
       Lo escondemos visualmente pero lo dejamos accesible para SEO/lectores. */
    .adfull__brand {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
}

/* Ocultar etiquetas debug del slider que no deben ir en producción
   ("● 📷 Imagen + capa #1E2D3D 92%", etc.) */
.adfull__slide-mode {
    display: none !important;
}

/* Ocultar CTAs internos de los slides (los slides son links completos,
   se hace clic en cualquier parte) */
.adfull__slide-cta {
    display: none !important;
}

/* Items del ticker (ahora son <a> con enlace al listing real) */
a.lticker__item {
    color: inherit;
    text-decoration: none;
    transition: opacity .15s;
}
a.lticker__item:hover {
    opacity: 0.75;
}

/* Velocidad del scroll del ticker — el original era 60s, lento queda mejor */
.lticker__track {
    animation-duration: 180s !important;
}

/* En mobile el usuario navega con swipe táctil; las flechas tapan
   el cuerpo de texto del slide. Las ocultamos y dejamos solo los dots. */
@media (max-width: 600px) {
    .adfull__nav {
        display: none !important;
    }
}

/* ==========================================================================
   home-fullcarro-2 — bloque combinado (stats + categorías) y ticker pegado
   ========================================================================== */

/* Banda del ticker pegada al hero (sin gap) */
.fc-recien {
    background: #0F1B26;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0;
    padding: 0;
    max-width: 1100px;
    margin-inline: auto;
}
.fc-recien .lticker {
    margin: 0;
    border-radius: 0;
}

/* Bloque combinado 50/50: stats izq + categorías der (compacto) */
section.fc-combo {
    max-width: 1100px;
    margin: 24px auto 0;
    padding: 0 16px;
}
.fc-combo__inner {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 24px;
    align-items: start;
    background: #fff;
    border: 1px solid rgba(15, 27, 38, 0.08);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 8px 28px rgba(15, 27, 38, 0.05);
}

/* Eyebrow tipo etiqueta */
.fc-combo__eyebrow {
    display: inline-block;
    font-family: 'Comfortaa', sans-serif;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--primary-1, #FF9540);
    margin-bottom: 10px;
}

/* Lista de stats — grid 2 cols compacto */
.fc-stats {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
}
.fc-stat {
    display: flex;
    flex-direction: column;
    padding: 6px 4px;
    border-radius: 8px;
    transition: background 0.2s;
}
.fc-stat:hover {
    background: rgba(255, 149, 64, 0.06);
}
.fc-stat__num {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
    color: #1E2D3D;
}
.fc-stat__num em {
    font-style: normal;
    color: var(--primary-1, #FF9540);
}
.fc-stat__lbl {
    font-size: 10px;
    color: rgba(15, 27, 38, 0.6);
    margin-top: 3px;
    line-height: 1.2;
}

/* Header de la columna derecha */
.fc-combo__head {
    margin-bottom: 12px;
}
.fc-combo__title {
    font-family: 'Comfortaa', sans-serif;
    font-weight: 700;
    font-size: clamp(16px, 1.6vw, 20px);
    line-height: 1.15;
    color: #1E2D3D;
    margin: 0 0 4px;
}
.fc-combo__sub {
    font-size: 12px;
    color: rgba(15, 27, 38, 0.65);
    margin: 0;
    line-height: 1.4;
}

/* Cat-grid compacto: 7 columnas en línea, sin contadores */
.cat-grid--compact {
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 6px !important;
}
.cat-grid--compact .cat {
    padding: 8px 4px !important;
}
.cat-grid--compact .cat__icon {
    font-size: 22px !important;
    margin-bottom: 4px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1E2D3D;
    transition: color .2s, transform .2s;
}
.cat-grid--compact .cat__icon svg {
    width: 26px;
    height: 26px;
    display: block;
}
.cat-grid--compact .cat:hover .cat__icon {
    color: var(--primary-1, #FF9540);
    transform: translateY(-1px);
}
.cat-grid--compact .cat__name {
    font-size: 11px !important;
}
.cat-grid--compact .cat__count {
    display: none !important;
}

/* Responsive: tablet → 1 columna */
@media (max-width: 900px) {
    .fc-combo__inner {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 16px;
    }
    .cat-grid--compact {
        grid-template-columns: repeat(7, 1fr) !important;
    }
}

/* Responsive: mobile */
@media (max-width: 640px) {
    section.fc-combo {
        margin-top: 16px;
        padding: 0 12px;
    }
    .fc-combo__inner {
        padding: 14px;
        border-radius: 12px;
        gap: 14px;
    }
    .cat-grid--compact {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ==========================================================================
   home-fullcarro-2 — Carrusel "Últimos vehículos publicados" — mejoras visuales
   ========================================================================== */

/* Spacing entre cards y respiro lateral */
.carrusel__track {
    gap: 18px !important;
    padding: 6px 4px 14px !important;
}

/* Card del listing */
.carrusel__track .lcard {
    flex: 0 0 260px !important;
    border-radius: 14px !important;
    overflow: hidden;
    border: 1px solid rgba(15, 27, 38, 0.08) !important;
    box-shadow: 0 4px 16px rgba(15, 27, 38, 0.04);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.carrusel__track .lcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(15, 27, 38, 0.12);
    border-color: rgba(255, 149, 64, 0.4) !important;
}

/* Body interno — padding consistente */
.carrusel__track .lcard__body {
    padding: 14px !important;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-height: 110px;
}

/* Título — máx 2 líneas con ellipsis para que todas las cards queden iguales */
.carrusel__track .lcard__title {
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    color: #1E2D3D !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 36px;
}

/* Meta (año · km · ciudad) */
.carrusel__track .lcard__meta {
    font-size: 12px;
    color: rgba(15, 27, 38, 0.6);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 2px 0 !important;
}

/* Precio */
.carrusel__track .lcard__price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #1E2D3D !important;
    margin-top: 4px;
}

/* Ocultar "Hace X días" */
.carrusel__track .lcard__vs {
    display: none !important;
}

/* Mobile: cards un poco más estrechas */
@media (max-width: 640px) {
    .carrusel__track .lcard {
        flex: 0 0 220px !important;
    }
    .carrusel__track .lcard__title {
        font-size: 13px !important;
        min-height: 34px;
    }
    .carrusel__track .lcard__price {
        font-size: 16px !important;
    }
}

/* ==========================================================================
   home-fullcarro-2 — Armonización tipográfica + spacing
   Escala unificada para que todas las secciones se sientan parte de un sistema.
   ========================================================================== */

/* Sections — reducir padding vertical (era 72px) */
section.section {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* Títulos de section — más compactos para alinear con el combo */
.section__title {
    font-size: clamp(22px, 2.4vw, 28px) !important;
    font-weight: 700 !important;
    line-height: 1.15 !important;
    margin: 0 0 4px !important;
}

/* Subtítulo de section */
.section__sub {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

/* Cabecera de section — menos margen abajo */
.section__head {
    margin-bottom: 20px !important;
}

/* Combo block — alinear título del combo con section__title */
.fc-combo__title {
    font-size: clamp(22px, 2.4vw, 28px) !important;
}

/* Mobile — padding aún más compacto */
@media (max-width: 640px) {
    section.section {
        padding-top: 28px !important;
        padding-bottom: 28px !important;
    }
    .section__title {
        font-size: 20px !important;
    }
    .fc-combo__title {
        font-size: 18px !important;
    }
}

/* Cards de ciudades: <img> reemplazó el div con background-image
   para soportar atributo alt y rotación */
.cities .city {
    position: relative;
    overflow: hidden;
    display: block;
}
.cities .city__img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: opacity .6s ease, transform .8s ease;
}
.cities .city:hover .city__img {
    transform: scale(1.04);
}
.cities .city__img.is-fading {
    opacity: 0;
}

/* Items de alerta del ticker (compradores activando alertas) — destacar sutilmente */
a.lticker__item--alert {
    color: #FFD9B0;
}
a.lticker__item--alert strong {
    color: var(--primary-1, #FF9540);
}

/* Flechas del slider adfull — minimalistas (sin círculo blanco) */
.adfull__nav {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: 44px !important;
    height: 44px !important;
    color: rgba(255, 255, 255, 0.85) !important;
    transition: color .2s, transform .2s !important;
}
.adfull__nav:hover {
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    transform: translateY(-50%) translateX(2px) !important;
}
.adfull__nav--prev:hover {
    transform: translateY(-50%) translateX(-2px) !important;
}
.adfull__nav svg {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
    stroke-width: 2.4;
}

/* Calculadora: el bloque grande "Carro al que puedes aspirar" ahora es <a> */
.calc__big {
    text-decoration: none !important;
    cursor: pointer;
    transition: transform .15s, box-shadow .15s;
}
.calc__big:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 149, 64, 0.35);
}

/* ==========================================================================
   FCB Price Slider — barra dual-thumb (min/max) hasta $1.000M
   ========================================================================== */
.fcb-price-slider {
    padding: 4px 6px 0;
}
.fcb-price-slider__display {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    font-weight: 600;
    color: #1E2D3D;
    margin-bottom: 18px;
}
.fcb-price-slider__from { color: rgba(15,27,38,.55); }
.fcb-price-slider__to   { color: var(--primary-1, #FF9540); }

.fcb-price-slider__track {
    position: relative;
    height: 6px;
    background: rgba(15,27,38,.10);
    border-radius: 999px;
    margin: 0 8px;
}
.fcb-price-slider__fill {
    position: absolute;
    top: 0; bottom: 0;
    background: var(--primary-1, #FF9540);
    border-radius: 999px;
}
.fcb-price-slider__thumb {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 18px;
    transform: translateY(-50%);
    background: transparent;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}
.fcb-price-slider__thumb::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-1, #FF9540);
    box-shadow: 0 2px 6px rgba(15,27,38,.18);
    pointer-events: auto;
    cursor: grab;
    transition: transform .12s;
}
.fcb-price-slider__thumb::-webkit-slider-thumb:active {
    transform: scale(1.15);
    cursor: grabbing;
}
.fcb-price-slider__thumb::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid var(--primary-1, #FF9540);
    box-shadow: 0 2px 6px rgba(15,27,38,.18);
    pointer-events: auto;
    cursor: grab;
}
.fcb-price-slider__thumb:focus { outline: none; }

/* ==========================================================================
   /panel-seller/create/ — reordenar fields con CSS Grid `order` property
   Galería primero, Ubicación segundo, resto en orden natural.
   ========================================================================== */
.listivo-panel-form__fields {
    /* ya es display:grid en padre — sólo aprovechamos `order` */
}
.listivo-panel-form__fields > * {
    order: 100;
}
.listivo-panel-form__fields > .listivo_145 {  /* Galería */
    order: 1;
}
.listivo-panel-form__fields > .listivo_153 {  /* Ubicación */
    order: 2;
}

/* CTA "Ver todos los vehículos" debajo del carrusel de listings en home v2 */
.carrusel__cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 22px;
}
.carrusel__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--primary-1, #FF9540);
    color: #FDFDFE;
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    transition: background .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 4px 14px rgba(255, 149, 64, 0.25);
}
.carrusel__cta:hover {
    background: #E37F2A;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(255, 149, 64, 0.35);
    color: #FDFDFE;
}
.carrusel__cta svg {
    transition: transform .15s;
}
.carrusel__cta:hover svg {
    transform: translateX(2px);
}


/* ==========================================================================
   Panel sidebar — renombrar labels via CSS (bypass OPcache)
   "Vehículos" → "Mis Vehículos"   |   "Planes" → "Mis Planes"
   ========================================================================== */
a.fcc-nav__item[href*="/list/"] .fcc-nav__label,
a.fcc-nav__item[href*="/my-orders/"] .fcc-nav__label {
    font-size: 0 !important;
    line-height: 0 !important;
}
a.fcc-nav__item[href*="/list/"] .fcc-nav__label::after {
    content: "Mis Vehículos";
    font-size: 14px;
    line-height: normal;
}
a.fcc-nav__item[href*="/my-orders/"] .fcc-nav__label::after {
    content: "Mis Planes";
    font-size: 14px;
    line-height: normal;
}

/* ==========================================================================
   /panel-seller/my-orders/ — Override empty state para Plan Neutro
   OPcache sirve version vieja sin branch Neutro. CSS lo corrige.
   Todos los sellers tienen Plan Neutro (backfill T10).
   ELIMINAR cuando OPcache recicle workers.
   ========================================================================== */
.fcmo-empty h2 {
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
}
.fcmo-empty h2::after {
    content: "Tu Plan Neutro esta activo";
    font-size: 22px;
    line-height: 1.3;
    display: block;
    font-weight: 700;
    color: #1E2D3D;
}
.fcmo-empty > p {
    font-size: 0 !important;
    line-height: 0 !important;
    margin: 0 !important;
}
.fcmo-empty > p::after {
    content: "El Plan Neutro es gratuito y te permite publicar vehiculos. No genera ordenes de compra. Cuando adquieras un plan GT, Showroom o un impulso Nitro, tus ordenes apareceran aqui.";
    font-size: 14px;
    line-height: 1.6;
    display: block;
    color: #5a6a7a;
    max-width: 520px;
    margin: 8px auto 0;
}
.fcmo-empty > a.fcmo-btn {
    font-size: 0 !important;
    line-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}
.fcmo-empty::after {
    content: "";
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}