/**
 * Farray Ocasión Landing — v15.9
 * 14 secciones, namespace fmo-*, tokens del diseñador.
 */

/* Prevent horizontal scroll caused by Oxygen nav/mega-menu at mobile */
html, body { overflow-x: hidden; }

/* ══════════════════════════════════════════
   RESET & TOKENS
   ══════════════════════════════════════════ */
#inner_content-2-13 {margin-top: 0!important; }

.fmo-landing *, .fmo-landing *::before, .fmo-landing *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

/* Guard móvil: evita scroll lateral por pequeños desbordes del header Oxygen. */
@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden;
    }

    #header-container,
    #header-container .ct-section-inner-wrap,
    #top-menu-col-container,
    #logo-container-parent-div {
        max-width: 100vw;
        overflow-x: hidden;
    }
}
.fmo-landing {
    --fmo-red:       #E5544E;
    --fmo-red-dark:  #B0150F;
    --fmo-navy:      #183347;
    --fmo-blue-deep: #204F72;
    --fmo-blue-mid:  #247DBF;
    --fmo-blue-dark: #004262;
    --fmo-white:     #FFFFFF;
    --fmo-grey-bg:   #EFF2F7;
    --fmo-grey-sub:  #707070;
    --fmo-font:      'Montserrat', sans-serif;
    font-family: var(--fmo-font);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    -webkit-font-smoothing: antialiased;
}
/* Guard against trailing empty space */
.fmo-landing > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}
.fmo-testimonios {
    padding-bottom: 48px!important;
}
.fmo-section { width: 100%; position: relative; }
.fmo-container { max-width: 1650px; margin: 0 auto; padding: 0 0; text-align: center; }
.fmo-section-label {
    font-family: var(--fmo-font); font-weight: 700; color: var(--fmo-red);
    font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px;
}
.fmo-section-title {
    font-family: var(--fmo-font); font-weight: 700; color: var(--fmo-red);
    font-size: 1.6rem; margin-bottom: 16px; text-transform: uppercase;
}
.fmo-section-subtitle {
    font-family: var(--fmo-font); color: var(--fmo-grey-sub); font-size: 0.95rem; margin-bottom: 32px;
}
.fmo-text-navy { color: var(--fmo-navy) !important; }
.fmo-text-red { color: var(--fmo-red); }
.fmo-btn, .fmo-btn-red, .fmo-btn-blue, .fmo-btn-white {
    display: inline-block; font-family: var(--fmo-font); font-weight: 600;
    font-size: 0.85rem; text-decoration: none; text-transform: uppercase;
    padding: 12px 28px; border-radius: 50px; border: none; cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
}
.fmo-btn-red { background: var(--fmo-red); color: var(--fmo-white); }
.fmo-btn-red:hover { background: var(--fmo-red-dark); transform: translateY(-2px); }
.fmo-btn-blue { background: var(--fmo-blue-mid); color: var(--fmo-white); }
.fmo-btn-blue:hover { background: var(--fmo-blue-deep); }
.fmo-btn-white { background: var(--fmo-white); color: var(--fmo-navy); }
.fmo-btn-white:hover { background: #f0f4f8; transform: translateY(-2px); }
.fmo-btn-sm { padding: 8px 18px; font-size: 0.75rem; }
.fmo-btn-centered { display: block; margin: 0 auto; text-align: center; max-width: 360px; }
.fmo-carousel-viewport {
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    width: 100%;
    overscroll-behavior-x: contain;
}
.fmo-carousel-viewport::-webkit-scrollbar { display: none; }
.fmo-carousel-track { display: flex; transition: none; }
.fmo-carousel-btn {
    background: rgba(0,0,0,0.3); color: var(--fmo-white); border: none;
    font-size: 2rem; width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 10;
    transition: background 0.2s;
}
.fmo-carousel-btn:hover { background: rgba(0,0,0,0.5); }
.fmo-carousel-btn.fmo-prev { left: -20px; }
.fmo-carousel-btn.fmo-next { right: -20px; }
.fmo-carousel-dots { 
    display: flex; 
    justify-content: center; 
    gap: 6px; 
    margin-top: 16px; 
    bottom: 20px;  
    width: 100%;
    left: 0;
    /*
    position: absolute; 
    left: 50%;*/
}

.fmo-descuentos .fmo-carousel-dots {
    position: absolute; 
    left: 0;
    width: 100%;
}

.fmo-dot {
    width: 10px; height: 6px; border-radius: 3px; background: rgba(0,0,0,0.15);
    cursor: pointer; transition: background 0.2s, width 0.2s;
}
.fmo-dot.active { background: var(--fmo-red); width: 20px; }

/* ══════════════════════════════════════════
   S1 — HERO
   ══════════════════════════════════════════ */
.fmo-hero {
    background: #1C3D55;
    position: relative;
    display: grid;
    grid-template-columns: 50% 50%;
    grid-template-rows: 1fr auto; /* contenido + barra */
    min-height: 500px;
    overflow: hidden;
}

/* ── Mitad izquierda: nombre + panel banda ── */
.fmo-hero-left {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 40px 0;
    z-index: 2;
}

/* Nombre de marca: H1, flota sobre el azul */
.fmo-hero-brand {
    padding-left: 48px;
    font-family: 'Barlow Condensed', 'Montserrat', sans-serif;
    font-size: clamp(3rem, 5.5vw, 5rem);
    font-weight: 800;
    font-style: italic;
    letter-spacing: 0.02em;
    color: #FFFFFF;
    line-height: 1;
    margin: 0;
}

/* Panel banda: borde izq recto, esquina top-right redondeada, resto recto */
.fmo-hero-panel {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 0 60px 0 0;
    overflow: hidden;
}

/* Fila superior: gris claro */
.fmo-hero-panel-top {
    background: #D6DAE2;
    display: flex;
    align-items: center;
    padding: 28px 72px 24px 48px;
}
.fmo-hero-tagline {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 500;
    color: #183347;
    line-height: 1.4;
    margin: 0;
}
.fmo-hero-tagline strong {
    font-weight: 800;
    color: #183347;
}

/* Divisor rojo */
.fmo-hero-panel-divider {
    height: 5px;
    background: #E5544E;
    flex-shrink: 0;
}

/* Fila inferior: gris medio */
.fmo-hero-panel-bottom {
    background: #C4C9D4;
    display: flex;
    align-items: center;
    padding: 24px 72px 28px 48px;
}
.fmo-hero-panel-bottom p {
    font-size: clamp(1rem, 1.8vw, 1.4rem);
    font-weight: 500;
    color: #183347;
    line-height: 1.4;
    margin: 0;
}

/* ── Mitad derecha: coche pegado borde a borde ── */
.fmo-hero-right {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    overflow: hidden;
    align-self: stretch;
}
.fmo-hero-car {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}
/* Overlay fundido: franja izquierda azul que se disuelve rápido */
.fmo-hero-right::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        to right,
        #1C3D55 0%,
        rgba(28, 61, 85, 0.85) 6%,
        rgba(28, 61, 85, 0.4) 16%,
        rgba(28, 61, 85, 0.0) 30%
    );
}

/* ── Barra trust: fila 2, todo el ancho ── */
.fmo-hero-bar {
    grid-column: 1 / -1;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    background: #C4C9D4;
    z-index: 3;
    min-height: 52px;
    padding: 10px 0;
}
.fmo-hero-bar span {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 16px;
    color: #183347;
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    font-weight: 600;
    white-space: nowrap;
}
.fmo-hero-bar span .fmo-check {
    color: #E5544E;
    font-weight: 900;
    font-size: 1.5rem;
}

/* ══════════════════════════════════════════
   S2 — BUSCADOR
   ══════════════════════════════════════════ */
.fmo-buscador {
    background: #183347;
    padding: 48px 24px 0;
}
.fmo-search-box {
    background: var(--fmo-red); border-radius: 16px; padding: 24px 28px;
    max-width: 1100px; margin: 0 auto; position: relative;
}
.fmo-search-tabs {
    display: flex; gap: 0; margin-bottom: 20px; width: 100%;
    border-radius: 10px 10px 0 0; overflow: hidden;
}
.fmo-search-tabs button {
    flex: 1; background: #D0D3D8; color: #444; border: none; border-right: 1px solid rgba(255,255,255,0.3);
    padding: 16px 10px; font-family: var(--fmo-font);
    font-size: 0.9rem; font-weight: 700; cursor: pointer; transition: background 0.2s, color 0.2s;
    text-transform: uppercase; letter-spacing: 0.5px;
}
.fmo-search-tabs button:last-child { border-right: none; }
.fmo-search-tabs button.active { background: var(--fmo-white); color: var(--fmo-red); }
.fmo-filters-row {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: flex-start;
}
.fmo-dropdown .fmo-drop-btn {
    background: var(--fmo-white); color: var(--fmo-navy); border: 2px solid var(--fmo-white);
    padding: 12px 20px; border-radius: 10px; font-family: var(--fmo-font);
    font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: background 0.2s;
    display: flex; align-items: center; gap: 8px; min-width: 130px; justify-content: space-between;
}
.fmo-drop-btn .fmo-arrow { font-size: 0.75rem; opacity: 0.7; }
.fmo-drop-btn.active { background: var(--fmo-navy); color: var(--fmo-white); border-color: var(--fmo-navy); }
.fmo-filter-icon {
    background: transparent; color: var(--fmo-white); border: 2px solid rgba(255,255,255,0.6);
    width: 46px; height: 46px; border-radius: 10px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; transition: background 0.2s;
    flex-shrink: 0;
}
.fmo-filter-icon svg { width: 22px; height: 22px; fill: var(--fmo-white); }
.fmo-filter-icon:hover { background: rgba(255,255,255,0.15); }
.fmo-search-btn {
    background: var(--fmo-white); color: var(--fmo-red); border: none;
    padding: 12px 22px; border-radius: 10px; font-family: var(--fmo-font);
    font-size: 0.95rem; font-weight: 800; cursor: pointer;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    white-space: nowrap; margin-left: auto; display: flex; align-items: center; gap: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    letter-spacing: 0.3px;
}
.fmo-search-btn:hover {
    background: #f5f5f5;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0,0,0,0.2);
}
.fmo-clear-btn {
    background: transparent;
    color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.45);
    padding: 10px 16px; border-radius: 10px; font-family: var(--fmo-font);
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap; display: flex; align-items: center; gap: 6px;
    flex-shrink: 0;
}
.fmo-clear-btn:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    border-color: rgba(255,255,255,0.7);
}

/* Range panels */
.fmo-range-panel {
    background: rgba(255,255,255,0.1); border-radius: 10px; padding: 16px 20px;
    margin-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.fmo-range-panel label { color: var(--fmo-white); font-size: 0.85rem; font-weight: 600; }
.fmo-dual-range {
    position: relative; width: 200px; height: 20px;
}
.fmo-dual-range::before {
    content: ''; position: absolute; top: 50%; left: 4px; right: 8px;
    height: 4px; background: rgba(255,255,255,0.3); border-radius: 2px;
    transform: translateY(-50%); pointer-events: none;
}
.fmo-dual-range input[type=range] {
    -webkit-appearance: none; position: absolute; top: 0; height: 100%;
    background: transparent; margin: 0; padding: 0; pointer-events: none;
}
.fmo-dual-range input[type=range]::-webkit-slider-runnable-track { background: transparent; }
.fmo-dual-range input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
    background: var(--fmo-white); border: 2px solid var(--fmo-red); cursor: pointer;
    pointer-events: auto;
}
.fmo-dual-range input[type=range]::-moz-range-thumb {
    width: 16px; height: 16px; border-radius: 50%;
    background: var(--fmo-white); border: 2px solid var(--fmo-red); cursor: pointer;
    pointer-events: auto;
}
.fmo-dual-range input.range-min { width: calc(100% - 8px); }
.fmo-dual-range input.range-max { width: calc(100% - 8px); }
.fmo-range-label { color: var(--fmo-white); font-size: 0.85rem; }

/* Options panel */
.fmo-options-panel {
    background: var(--fmo-white); border-radius: 10px; padding: 20px;
    margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; min-height: 40px;
}
.fmo-options-panel.loading::after {
    content: ''; position: absolute; top: 50%; left: 50%;
    width: 24px; height: 24px; margin: -12px 0 0 -12px;
    border: 3px solid #ddd; border-top-color: var(--fmo-red);
    border-radius: 50%; animation: fmo-spin 0.8s linear infinite;
}
@keyframes fmo-spin { to { transform: rotate(360deg); } }
.fmo-opt-item {
    width: 110px; text-align: center; background: var(--fmo-grey-bg); border-radius: 10px;
    padding: 10px 8px; cursor: pointer; transition: background 0.2s, transform 0.1s;
}
.fmo-opt-item:hover { transform: translateY(-2px); box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.fmo-opt-item.selected { background: var(--fmo-blue-deep); color: var(--fmo-white); }
/* Logo marca: altura fija, ancho rellena el contenedor */
.fmo-opt-item img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 56px;
    object-fit: contain;
    margin-bottom: 6px;
}
/* Marcas con logo horizontal que se distorsionan con fill-available → ancho automático */
.fmo-opt-item img[alt="Ford"],
.fmo-opt-item img[alt="Daihatsu"],
.fmo-opt-item img[alt="Lancia"],
.fmo-opt-item img[alt="ISUZU"],
.fmo-opt-item img[alt="KGM"] {
    width: auto;
    max-width: 100%;
}
.fmo-opt-item span { display: block; font-size: 0.8rem; font-weight: 600; }
.fmo-opt-item small { font-size: 0.7rem; background: var(--fmo-blue-mid); color: var(--fmo-white); padding: 2px 6px; border-radius: 6px; }
.fmo-opt-item.selected small { background: var(--fmo-white); color: var(--fmo-blue-deep); }
.fmo-no-data { color: #888; font-size: 0.9rem; padding: 20px; text-align: center; width: 100%; }

/* Browse header */
.fmo-browse-header {
    text-align: center;
    padding: 28px 0 16px;
}
.fmo-browse-heading {
    font-size: 0.8rem;
    font-weight: 700;
    color: #183347;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

h2.fmo-browse-heading {
    font-size: 2.4em;
}

.fmo-browse-count {
    display: block;
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 800;
    color: #183347;
    line-height: 1.1;
    margin-bottom: 0;
}

/* Browse sections — contenedor centrado, NO ancho completo */
.fmo-browse-sections {
    background: #183347;          /* fondo azul marino de la sección */
    padding: 32px 0 40px;
}
.fmo-browse-inner {
    max-width: 78%;               /* ~78% del viewport, centrado */
    margin: 0 auto;
}

/* Fila 1: Más populares + Premium en dos columnas */
.fmo-browse-row-1 {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 16px;
    margin-bottom: 0;
    align-items: stretch;         /* ambas columnas misma altura */
}
.fmo-browse-row-1 .fmo-browse-group,
.fmo-browse-row-2 .fmo-browse-group {
    display: flex;
    flex-direction: column;
}
.fmo-browse-row-1 .fmo-browse-viewport,
.fmo-browse-row-2 .fmo-browse-viewport {
    flex: 1;                      /* el viewport crece para igualar altura */
}
/* Fila 2: Otras marcas a ancho completo */
.fmo-browse-row-2 {
    display: block;
}
.fmo-browse-group {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px 16px 12px;
    margin-bottom: 16px;
    overflow: hidden;
}
/* eliminado: last-child margin-bottom causaba alturas distintas en la fila-2 */
.fmo-browse-group h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #183347;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 14px;
    text-align: center;
}

/* Slider viewport — overflow hidden, paginado por JS */
.fmo-browse-viewport {
    overflow: hidden;
    width: 100%;
    overscroll-behavior-x: contain;
}
.fmo-browse-track {
    display: flex;
    gap: 18px;
    transition: transform 0.35s ease;
    will-change: transform;
    padding-bottom: 4px;
}

/* Bullets del slider — color rojo pastel, espacio SIEMPRE reservado */
.fmo-browse-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    min-height: 15px;             /* reserva espacio aunque no haya bullets */
}
.fmo-browse-dot {
    width: 18px;
    height: 5px;
    border-radius: 3px;
    background: #D0D5DC;
    cursor: pointer;
    transition: background 0.2s, width 0.2s;
    border: none;
    padding: 0;
    flex-shrink: 0;
}
.fmo-browse-dot.active {
    background: #E5544E;
    width: 28px;
}

/* Cards de marca */
.fmo-browse-item {
    flex: 0 0 auto;
    background: #FFFFFF;
    border: 2px solid #E0E6EF;
    border-radius: 14px;
    padding: 18px 14px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 158px;
    min-height: 168px;
    text-align: center;
}
.fmo-browse-item:hover { border-color: #E5544E; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.fmo-browse-item.selected { border-color: var(--fmo-navy); background: #EEF3F8; }
.fmo-browse-item img {
    width: 120px;
    height: 72px;
    object-fit: contain;
    border-radius: 8px;
    background: transparent;
    padding: 0;
}
.fmo-browse-item > span {
    font-size: 0.86rem;
    font-weight: 700;
    color: #183347;
}
.fmo-browse-item > span:not(.fmo-browse-qty) {
    height: 3.6em;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Flechas de navegación del browse-slider */
.fmo-browse-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.fmo-browse-arrow {
    background: #FFFFFF;
    border: 2px solid #E0E6EF;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #183347;
    flex-shrink: 0;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
    line-height: 1;
}
.fmo-browse-arrow:hover { border-color: #E5544E; color: #E5544E; }
.fmo-browse-arrow:disabled,
.fmo-browse-arrow[disabled] { opacity: 0.3; cursor: default; pointer-events: none; }
.fmo-browse-qty {
    font-size: 0.74rem !important;
    background: var(--fmo-navy) !important;
    color: #FFFFFF !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    border: none !important;
    font-weight: 600 !important;
}
.fmo-browse-track .fmo-spinner {
    width: 20px; height: 20px; border: 2px solid rgba(0,0,0,0.1);
    border-top-color: var(--fmo-blue-mid); border-radius: 50%; margin: 12px auto;
    animation: fmo-spin 0.8s linear infinite;
}

/* Browse header dentro del inner */
.fmo-browse-inner .fmo-browse-header {
    color: #FFFFFF;
}
.fmo-browse-inner .fmo-browse-heading { color: rgba(255,255,255,0.7); }
.fmo-browse-inner .fmo-browse-count   { color: #FFFFFF; }


/* ══════════════════════════════════════════
   S3 — STOCK
   ══════════════════════════════════════════ */
.fmo-stock {
    background: var(--fmo-blue-dark); padding: 48px 24px 40px; text-align: center;
}
.fmo-big-count { margin-bottom: 32px; }
.fmo-big-number {
    display: block; font-size: clamp(40px, 5vw, 64px); font-weight: 800;
    color: var(--fmo-white); line-height: 1.1;
}
.fmo-big-sub {
    display: block; font-size: clamp(20px, 3vw, 32px); font-weight: 400;
    color: var(--fmo-white); opacity: 0.7;
}
.fmo-stock-carousel {
    position: relative; max-width: 1650px; margin: 0 auto; padding-bottom: 16px;
}
.fmo-stock-carousel .fmo-carousel-viewport { padding: 60px 0 8px; overflow: hidden; }
.fmo-stock-viewport {
    visibility: hidden;
}
.fmo-stock-viewport.fmo-is-ready {
    visibility: visible;
}
.fmo-stock-track { gap: 30px; }
.fmo-stock-card {
    flex: 0 0 calc((100% - 60px) / 3)!important; box-sizing: border-box; padding: 200px 10px 48px; margin: 0;
    background: var(--fmo-white); border: 8px solid var(--fmo-red); border-radius: 24px;
    position: relative; min-width: 0;
}
.fmo-stock-img {
    position: absolute; top: -50px; left: 50%; transform: translateX(-50%);
    z-index: 5; width: 65%; text-align: center;
}

.fmo-stock-card .fmo-stock-body > span {
    font-size: 1.8em;
}

.fmo-landing .fmo-carousel-track .fmo-stock-img {
    width: 100%;
}
.fmo-stock-card .fmo-stock-img img { width: auto; position: relative; top: -3vh; max-width: 100%; max-height: 300px; height: auto; object-fit: cover; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.8)); }
.fmo-stock-card .fmo-stock-body { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.fmo-stock-card .fmo-stock-qty { font-size: 7.6rem!important; font-weight: 800; color: var(--fmo-red); line-height: 1; }
.fmo-stock-card .fmo-stock-qty-label { font-size: 2.0rem!important; color: #2F567D; font-weight: 400; text-transform: uppercase; }
.fmo-stock-card .fmo-stock-name { font-size: 0.85rem; font-weight: 600; color: var(--fmo-navy); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fmo-stock-card .fmo-stock-price { font-size: 0.8rem; font-weight: 500; color: var(--fmo-blue-deep); }
.fmo-stock .fmo-carousel-dots { margin-top: 8px; }
.fmo-stock .fmo-btn { margin-top: 24px; }

.fmo-stock-carousel .fmo-carousel-btn.fmo-prev { 
    left: -20px; 
    font-size: 3rem;
    width: 4rem;
    height: 4rem;
    top:calc(30px + 50%)!important; 
}
.fmo-stock-carousel .fmo-carousel-btn.fmo-next { 
    right: -20px; 
    font-size: 3rem;
    width: 4rem;
    height: 4rem;
    top:calc(30px + 50%)!important; 
}

/* ══════════════════════════════════════════
   S4 — CATEGORÍAS
   ══════════════════════════════════════════ */
.fmo-categorias { background: var(--fmo-white); padding: 56px 24px; }
.fmo-landing .fmo-cat-grid-wrap { padding: 0 0 8px; }
.fmo-landing .fmo-cat-grid {
    background: var(--fmo-blue-dark); border-radius: 24px; padding: 28px 20px;
    display: grid; 
    grid-template-columns: repeat(5, minmax(0, 1fr))!important; 
    gap: 16px;
}

.fmo-landing .fmo-cat-card img {
    width: auto;
    max-width: 250px;
    max-height: 160px;
}


.fmo-cat-card {
    background: var(--fmo-white); border-radius: 16px; padding: 22px 14px 26px;
    text-align: center; position: relative; transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer; display: flex; flex-direction: column; align-items: center;
    min-height: 300px; justify-content: space-between;
}
.fmo-cat-card:hover { transform: translateY(-4px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.fmo-cat-card img { width: auto; height: auto; max-width: 250px; max-height: 160px; margin: 0 auto 16px; object-fit: contain; display: block; }
.fmo-cat-svg { width: 250px; height: 160px; margin: 0 auto 16px; color: var(--fmo-navy, #0d2f4f); display: flex; align-items: flex-end; justify-content: center; }
.fmo-cat-svg svg { width: 100%; height: 100%; display: block; }
.fmo-cat-card--suv img { transform: translateY(9px); }
.fmo-cat-card--compacto img { transform: translateY(9px); }
.fmo-cat-card--berlina img { transform: translateY(9px); }
.fmo-cat-card--monovolumen img { transform: translateY(9px); }
.fmo-cat-card--familiar img { transform: translateY(19px); }
.fmo-cat-card--pickup img { transform: translateY(9px); }
.fmo-cat-card--todoterreno img { transform: translateY(9px); }
.fmo-cat-card--coupe img { transform: translateY(21px); }
.fmo-cat-card--cabrio img { transform: translateY(35px); }
.fmo-cat-card--furgoneta img { transform: translateY(20px); }
.fmo-cat-card h3 { font-size: 0.98rem; line-height: 1.2; font-weight: 700; color: var(--fmo-navy); margin-bottom: 10px; min-height: 2.4em; display: flex; align-items: center; justify-content: center; }
.fmo-cat-badge {
    font-size: 0.88rem; font-weight: 700; background: var(--fmo-blue-mid); color: var(--fmo-white);
    padding: 6px 12px; border-radius: 9px;
}
.fmo-cat-special {
    background: var(--fmo-white); border: 2px solid var(--fmo-blue-dark);
}
.fmo-cat-special h3 { color: var(--fmo-navy); font-weight: 700; }
.fmo-cat-special .fmo-cat-badge { background: var(--fmo-blue-mid); color: var(--fmo-white); font-size: 0.88rem; padding: 6px 12px; }

/* ══════════════════════════════════════════
   S5 — MARCAS
   ══════════════════════════════════════════ */
.fmo-marcas { background: var(--fmo-white); padding: 56px 24px; }
.fmo-marcas-box {
    background: var(--fmo-blue-dark); border-radius: 24px; padding: 28px 40px 40px;
    max-width: 1650px; margin-left: auto; margin-right: auto;
}
.fmo-marcas-tabs {
    display: flex; gap: 6px; margin: 0 auto 24px; width: fit-content;
    background: rgba(255,255,255,0.15); border-radius: 8px; padding: 4px;
}
.fmo-marcas-tabs button {
    background: transparent; color: var(--fmo-white); border: none;
    padding: 10px 20px; border-radius: 8px; font-family: var(--fmo-font);
    font-size: 0.95rem; font-weight: 700; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.fmo-marcas-tabs button.active { background: var(--fmo-white); color: var(--fmo-blue-dark); }

.fmo-marcas-carousel { position: relative; padding: 10px 0; }
.fmo-marcas-carousel .fmo-carousel-viewport { padding: 0 10px; }
.fmo-marca-track { gap: 18px; }
.fmo-marca-card {
    flex: 0 0 calc((100% - 36px) / 3); margin: 0; background: var(--fmo-white); border-radius: 16px;
    padding: 28px 16px 22px; text-align: center; text-decoration: none; color: inherit;
    display: flex; flex-direction: column; align-items: center; justify-content: space-between;
    min-height: 220px; transition: transform 0.2s; box-sizing: border-box;
}
.fmo-marca-card:hover { transform: translateY(-4px); }
.fmo-marca-card img { width: auto; height: 112px; max-width: 100%; object-fit: contain; margin-bottom: 14px; }
.fmo-opt-item img[alt="Kove"],
.fmo-browse-item img[alt="Kove"],
.fmo-marca-card img[alt="Kove"],
.fmo-stock-img img[alt="Kove"] {
    background: #28445b;
    border-radius: 8px;
    padding: 6px 10px;
    box-sizing: border-box;
}

.fmo-opt-item img[alt="KYMCO"],
.fmo-browse-item img[alt="KYMCO"],
.fmo-marca-card img[alt="KYMCO"],
.fmo-stock-img img[alt="KYMCO"] {
    transform: scale(1.45);
    transform-origin: center;
}

.fmo-opt-item img[alt="Honda"],
.fmo-browse-item img[alt="Honda"],
.fmo-marca-card img[alt="Honda"],
.fmo-stock-img img[alt="Honda"] {
    transform: scale(1.12);
    transform-origin: center;
}
.fmo-marca-card h3 { font-size: 1.02rem; line-height: 1.2; font-weight: 700; color: var(--fmo-navy); margin-bottom: 10px; }
.fmo-marca-badge { font-size: 0.92rem; font-weight: 700; background: var(--fmo-blue-mid); color: var(--fmo-white); padding: 6px 12px; border-radius: 8px; }
.fmo-marca-special {
    background: var(--fmo-blue-dark); border: 2px solid rgba(255,255,255,0.3);
    justify-content: center; gap: 10px;
}
.fmo-marca-special h3 { color: var(--fmo-white); }
.fmo-marca-badge-special {
    font-size: 1.12rem; color: var(--fmo-white); font-weight: 700;
}

/* ══════════════════════════════════════════
   S6 — NOVEDADES
   ══════════════════════════════════════════ */
.fmo-novedades {
    background: linear-gradient(135deg, #002B5C 0%, #82C9E9 100%);
    padding: 56px 24px 48px;
}
.fmo-nov-heading {
    text-align: center; margin-bottom: 8px;
    font-size: 1.5rem; font-weight: 700; color: var(--fmo-white); text-transform: uppercase;
}
.fmo-nov-heading span { display: inline; }
.fmo-nov-highlight {
    background: var(--fmo-red); color: var(--fmo-white); padding: 2px 10px; border-radius: 4px;
}
.fmo-nov-subtitle { color: rgba(255,255,255,0.8); text-align: center; margin-bottom: 32px; font-size: 0.95rem; }
.fmo-nov-inner {
    background: rgba(255,255,255,0.12); border-radius: 20px; padding: 28px 20px;
}
.fmo-nov-tabs {
    display: flex; gap: 8px; margin-bottom: 24px; justify-content: center; flex-wrap: wrap;
}
.fmo-nov-tabs button {
    background: rgba(255,255,255,0.8); color: var(--fmo-navy); border: none;
    padding: 8px 20px; border-radius: 20px; font-family: var(--fmo-font);
    font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.fmo-nov-tabs button.active { background: var(--fmo-red); color: var(--fmo-white); }

.fmo-nov-carousel { position: relative; padding: 0 10px; }
.fmo-nov-carousel .fmo-carousel-track { gap: 12px; }
.fmo-nov-card {
    flex: 0 0 33.333%; padding: 0 10px; box-sizing: border-box;
    background: var(--fmo-white); border-radius: 16px; position: relative;
    padding-bottom: 14px; min-width: 280px;
}
.fmo-nov-badge {
    position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
    background: var(--fmo-blue-dark); color: var(--fmo-white); padding: 4px 12px;
    border-radius: 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; z-index: 5;
}
.fmo-nov-thumb {
    padding: 40px 16px 0; border-radius: 12px 12px 0 0; position: relative; overflow: hidden;
}
.fmo-nov-thumb img { zoom: 220%; width: 100%; height: 160px; object-fit: contain; }
.fmo-nov-name {
    padding: 10px 14px 0; font-size: 0.85rem; font-weight: 700; color: var(--fmo-navy);
    text-transform: uppercase;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fmo-nov-specs {
    padding: 2px 14px; font-size: 0.75rem; color: #666;
}
.fmo-nov-bar {
    background: var(--fmo-blue-deep); color: var(--fmo-white); padding: 6px 14px;
    font-size: 0.72rem; font-weight: 500; margin: 0 14px; border-radius: 4px;
}
.fmo-nov-price-row {
    background: rgba(32, 79, 114, 0.08); padding: 10px 14px; margin: 0 14px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.7rem; color: #555; text-transform: uppercase;
    border-radius: 0 0 4px 4px;
}
.fmo-nov-price-row strong { font-size: 1.2rem; color: var(--fmo-navy); }
.fmo-nov-finance-row {
    background: var(--fmo-red); color: var(--fmo-white); padding: 10px 14px;
    margin: 6px 14px 14px; display: flex; justify-content: space-between;
    border-radius: 8px; font-size: 0.7rem; text-transform: uppercase;
}
.fmo-nov-finance-row strong { font-size: 1.1rem; }
.fmo-nov-card .fmo-btn-sm { margin: 0 14px; width: calc(100% - 28px); text-align: center; }

/* ══════════════════════════════════════════
   S7 — SELECCIONADOS
   ══════════════════════════════════════════ */
.fmo-seleccionados {
    background: linear-gradient(135deg, var(--fmo-red-dark) 0%, var(--fmo-red) 40%, #FD9B8B 100%);
    padding: 56px 24px 48px;
}
.fmo-sel-heading { text-align: center; margin-bottom: 8px; color: var(--fmo-white); font-size: 2.2rem; font-weight: 900; text-transform: uppercase; line-height: 1.1; }
.fmo-sel-highlight { background: rgba(255,255,255,0.25); padding: 4px 14px; border-radius: 6px; font-size: 2.4rem; display: inline-block; }
.fmo-sel-subtitle { color: rgba(255,255,255,0.85); text-align: center; margin-bottom: 28px; }
.fmo-sel-inner {
    background: rgba(255, 215, 215, 1); border-radius: 20px; padding: 28px 20px;
    max-width: 1650px; margin-left: auto; margin-right: auto;
}
.fmo-sel-tabs {
    display: flex; gap: 8px; margin-bottom: 20px; justify-content: center; flex-wrap: wrap;
}
.fmo-sel-tabs button {
    background: #fff; color: var(--fmo-navy); border: 2px solid var(--fmo-navy);
    padding: 8px 20px; border-radius: 20px; font-family: var(--fmo-font);
    font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.fmo-sel-tabs button.active { background: var(--fmo-navy); color: var(--fmo-white); border-color: var(--fmo-navy); }
.fmo-sel-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
/* Tabs dinámicos: ocultar paneles inactivos */
.fmo-sel-tab-panel { display: none; }
.fmo-sel-tab-panel.active { display: grid; }
/* Mensaje vacío dentro de un panel */
.fmo-sel-empty { grid-column: 1/-1; text-align: center; padding: 32px; color: #666; font-size: 0.95rem; }
/* Placeholder sin imagen */
.fmo-sel-no-img {
    width: 100%; height: 185px; display: flex; align-items: center; justify-content: center;
    background: #e8ecf0; color: #999; font-size: 0.85rem;
}
.fmo-sel-card {
    background: var(--fmo-white); border-radius: 16px; position: relative;
    overflow: hidden; padding-bottom: 12px;
}
.fmo-sel-badge {
    position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
    background: var(--fmo-red); color: var(--fmo-white); padding: 3px 12px;
    border-radius: 6px; font-size: 0.65rem; font-weight: 700; letter-spacing: 1px; z-index: 5;
}
.fmo-sel-thumb { padding: 36px 14px 0; position: relative; overflow: hidden; }
.fmo-sel-thumb img { zoom: 160%; width: 100%; height: 185px; object-fit: contain; }
.fmo-sel-name {
    padding: 8px 12px 0; font-size: 0.8rem; font-weight: 700; color: var(--fmo-navy);
    text-transform: uppercase;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.fmo-sel-specs { padding: 2px 12px; font-size: 0.7rem; color: #666; }
.fmo-sel-bar {
    background: var(--fmo-blue-deep); color: var(--fmo-white); padding: 5px 12px;
    font-size: 0.7rem; margin: 0 12px; border-radius: 4px;
}
.fmo-sel-price-row {
    background: linear-gradient(90deg, #F5A623, var(--fmo-red)); color: var(--fmo-white);
    padding: 8px 12px; margin: 0 12px; display: flex; justify-content: space-between;
    font-size: 0.65rem; text-transform: uppercase; border-radius: 4px;
}
.fmo-sel-price-row strong { font-size: 1.05rem; }
.fmo-sel-finance-row {
    background: var(--fmo-red-dark); color: var(--fmo-white); padding: 8px 12px;
    margin: 4px 12px; display: flex; justify-content: space-between;
    font-size: 0.65rem; text-transform: uppercase; border-radius: 4px;
}
.fmo-sel-finance-row strong { font-size: 1rem; }
.fmo-sel-card .fmo-btn-sm { margin: 4px 12px 0; width: calc(100% - 24px); text-align: center; }
.fmo-seleccionados .fmo-btn-centered { margin-top: 28px; }

/* ══════════════════════════════════════════
   S8 — OPCIONES
   ══════════════════════════════════════════ */
.fmo-opciones { background: var(--fmo-white); padding: 56px 24px; }
.fmo-opciones .fmo-section-subtitle { margin-bottom: 28px; text-align: center; }
.fmo-opciones .fmo-section-label { font-size: 1.6rem; text-align: center; }
.fmo-opt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.fmo-opt-card {
    position: relative; border-radius: 16px; overflow: hidden; min-height: 300px;
    display: flex; align-items: flex-end; justify-content: center;
    background-size: cover; background-position: center; text-decoration: none;
    transition: transform 0.2s;
}
.fmo-opt-card:hover { transform: translateY(-4px); }
.fmo-opt-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,43,92,0.2) 0%, rgba(0,43,92,0.7) 100%);
}
.fmo-opt-inner {
    position: relative; z-index: 2; text-align: center; padding: 24px;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.fmo-opt-inner h3 {
    color: var(--fmo-white); font-size: 1.1rem; font-weight: 700; text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

/* ══════════════════════════════════════════
   S9 — DESCUENTOS
   ══════════════════════════════════════════ */
.fmo-descuentos { background: var(--fmo-grey-bg); padding: 56px 24px 56px; }
.fmo-descuentos .fmo-section-title { color: var(--fmo-red); }
.fmo-desc-tabs {
    display: flex; gap: 8px; margin-bottom: 32px; justify-content: center; flex-wrap: wrap;
}
.fmo-desc-tabs button {
    background: var(--fmo-white); color: var(--fmo-navy);
    border: 1.5px solid #c5cdd8;
    padding: 9px 28px; border-radius: 24px;
    font-family: var(--fmo-font); font-size: 0.8rem; font-weight: 700;
    cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s;
    letter-spacing: 0.05em;
}
.fmo-desc-tabs button.active { background: var(--fmo-navy); color: var(--fmo-white); border-color: var(--fmo-navy); }
.fmo-desc-tabs button:hover:not(.active) { background: #e8ecf2; }

/* Carousel outer — arrows en los laterales fuera de la card */
.fmo-desc-carousel {
    position: relative;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 56px;
}
.fmo-desc-viewport {
    display: flex;
    overflow-x: scroll;
    overflow-y: visible;
    scrollbar-width: none;
    -ms-overflow-style: none;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.13);
    padding-bottom: 60px;
    background-color: #fff;
}
.fmo-desc-viewport::-webkit-scrollbar { display: none; }
/* Track es transparente al layout — los slides son hijos directos del viewport */
.fmo-carousel-track.fmo-desc-track { display: contents; }

/* La card / slide horizontal */
.fmo-desc-slide {
    flex: 0 0 100%;
    display: flex;
    min-width: 0;
    background: var(--fmo-white);
    border-radius: 24px;
    overflow: visible;
    min-height: 340px;
}

/* Lado izquierdo: zona blanca, coche sentado en la base */
.fmo-desc-left {
    flex: 0 0 38%;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: visible;
    padding: 0 0 0 0;
    background: var(--fmo-white);
    border-radius: 24px 0 0 24px;
}
.fmo-desc-left img {
    width: 120%;
    max-width: none;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    position: relative;
    right: -70px;
    bottom: 0;
    filter: drop-shadow(4px 10px 24px rgba(0,0,0,0.28));
}
.fmo-desc-no-img { width: 100%; min-height: 200px; }

/* Panel azul vibrante — facetas tipo cristal tallado, sin patrón repetido */
.fmo-desc-right {
    margin-right: 30px;
    background: url(/wp-content/uploads/2025/07/imagen_patron_azul_landing_ocasion_v2.png) center center / 350% 100% no-repeat;
    /* background-size: auto; */
    /* -webkit-border-radius: 50px; */
    -moz-border-radius: 25px;
    border-radius: 25px;
    margin-top: 20px;
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 32px 28px 32px 64px;
    /* border-radius: 30px 24px 24px 30px; */
    overflow: hidden;
    position: relative;
    z-index: 1;
    color: var(--fmo-white);
    /* background: linear-gradient(128deg, transparent 28%, rgba(255, 255, 255, 0.07) 42%, rgba(255, 255, 255, 0.03) 50%, transparent 62%), linear-gradient(125deg, rgba(41, 182, 246, 0.93) 0%, rgba(25, 118, 210, 0.95) 24%, rgba(21, 101, 192, 0.97) 50%, rgba(13, 36, 85, 0.98) 100%);*/
}
.fmo-desc-right::before {
    /*content: '';*/
    position: absolute;
    inset: 0;
    /*background: url('/wp-content/uploads/2025/07/imagen_patron_azul_landing_ocasion_v2.png') center center / cover no-repeat;*/
    z-index: -1;
    pointer-events: none;
}
.fmo-desc-info {
    position: relative;
    z-index: 2;
    flex: 1;
    min-width: 0;
}
.fmo-desc-name {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--fmo-white);
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0 0 14px 10%;
    text-align: left;
    width: 60%;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.fmo-desc-specs {
    list-style: none;
    margin: 0; padding: 0;
    margin-left: 10%;
}
.fmo-desc-specs li {
    display: flex!important;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.9);
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.fmo-desc-specs li:last-child { border-bottom: none; }
.fmo-dsi { font-size: 1rem; flex-shrink: 0; line-height: 1; }

/* Iconos de specs: blancos + tamaño uniforme */
.fmo-spec-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
}
.fmo-clock-icon {
    width: 18px !important;
    height: 18px !important;
}

/* Columna precios + CTA */
.fmo-desc-price-col {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    padding-left: 24px;
    min-width: 165px;
}
.fmo-desc-old {
    font-size: 1.15rem;
    text-decoration: line-through;
    color: rgba(255,255,255,0.82);
    display: block;
    line-height: 1;
}
.fmo-desc-new {
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--fmo-red);
    line-height: 1;
    display: block;
}
.fmo-desc-save {
    /* Azul claro metalizado — sin borde, sin border-radius */
    background: linear-gradient(160deg, #d4eaf8 0%, #bcd9eb 40%, #a8cfe4 70%, #c2dff0 100%);
    color: #0d2455;
    padding: 7px 14px;
    border-radius: 0;
    border: none;
    font-size: 0.78rem;
    font-weight: 800;
    white-space: nowrap;
    letter-spacing: 0.03em;
    text-shadow: none;
}
.fmo-desc-urgency {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--fmo-white);
    display: flex;
    align-items: center;
    gap: 6px;
}
.fmo-desc-clock-icon { font-size: 1.1rem; vertical-align: middle; }
/* Botón HAZLO TUYO — curvas suaves, no pastilla */
.fmo-desc-cta { align-self: stretch; text-align: center; margin-top: 4px; white-space: nowrap; border-radius: 8px !important; }

/* Arrows fuera de la card */
.fmo-desc-carousel .fmo-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--fmo-white);
    color: var(--fmo-navy);
    border: 1px solid #dde3ec;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}
.fmo-desc-carousel .fmo-carousel-btn:hover { background: #f0f4f8; }
.fmo-desc-carousel .fmo-prev { left: 4px; }
.fmo-desc-carousel .fmo-next { right: 4px; }

/* ══════════════════════════════════════════
   S10 — COMPARADOR
   ══════════════════════════════════════════ */
.fmo-comparador { background: var(--fmo-white); padding: 56px 24px 48px; }
.fmo-comp-pair-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin: 0 auto; }
.fmo-comp-pair {
    background: var(--fmo-grey-bg); border-radius: 16px; padding: 20px;
}

.fmo-comp-pair:hover img {
    transition: .6s;
    transform: scale(0.96);
}

.fmo-comp-pair:hover .fmo-comp-vs {    
    transition: 1.1s;
    transform: scale(1.06);
}

.fmo-comp-search { margin-bottom: 16px; }
.fmo-comp-search input {
    width: 100%; padding: 10px 14px; border-radius: 10px; border: 1px solid var(--fmo-grey-bg);
    font-family: var(--fmo-font); font-size: 0.85rem; outline: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.fmo-comp-match { display: flex; align-items: stretch; gap: 8px; margin-bottom: 16px; }
.fmo-comp-car { flex: 1; text-align: center; background: var(--fmo-white); border-radius: 12px; padding: 12px; }
.fmo-comp-car img { zoom: 150%; width: 100%; height: 250px; object-fit: contain; margin-bottom: 6px; }
.fmo-comp-cat { font-size: 0.85rem; background: var(--fmo-grey-bg); padding: 3px 10px; border-radius: 8px; }
.fmo-comp-car h3 { font-size: 1.05rem; font-weight: 700; color: var(--fmo-navy); margin: 8px 0 6px; height: auto; min-height: 78px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; line-height: 1.25; }
.fmo-comp-price { font-size: 2.2rem; font-weight: 800; color: var(--fmo-red); display: block; margin: 8px 0; line-height: 1.1; }
.fmo-comp-specs { display: flex; gap: 8px; justify-content: center; font-size: 0.92rem; color: #666; flex-wrap: wrap; }
.fmo-comp-vs {
    flex: 0 0 52px; display: flex; align-items: center; justify-content: center;
    font-size: 1.82rem; font-weight: 800; color: var(--fmo-red);
}
.fmo-comp-btn {
    position: relative; isolation: isolate; overflow: hidden;
    width: 100%; padding: 18px 16px; min-height: 72px; border: none; border-radius: 10px; font-family: var(--fmo-font);
    font-size: 1rem; font-weight: 700; color: var(--fmo-white); cursor: pointer;
    background: linear-gradient(90deg, var(--fmo-red) 0 50%, var(--fmo-navy) 50% 100%);
    text-transform: uppercase; letter-spacing: 0.04em;
    transform-origin: center;
    box-shadow: 0 10px 14px rgba(24, 51, 71, 0.32);
    transition: opacity 0.2s;
    z-index: 0;
    display: flex; align-items: center; justify-content: center;
}

/* Capa de relleno superpuesta:
   - Idle: width 0 -> invisible. El botón base muestra el gradiente 50/50 navy/naranja.
   - Fase 1 (0->1.2s): el ancho del fill crece de 0% a 50%, anclado a "left 50%" del botón.
     Resultado: el naranja invade la mitad derecha hasta que TODO el botón es naranja.
   - Fase 2 (1.2s->1.6s): el color cambia naranja -> cyan y el ancho crece de 50% a 100%
     anclado al borde izquierdo, para que TODO el botón sea cyan (no solo la mitad derecha).
   width sí se interpola fluido en CSS animations. */
.fmo-comp-btn::before {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 0%;
    z-index: -1;
    background-color: var(--fmo-red);
}

/* Cursor pointer (mano enlace web), negro, 56px, centrado sobre el texto.
   Animación: aparece, hace press (down/up) sincronizado con el scale del botón, y se desvanece. */
.fmo-comp-btn::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 56px;
    height: 56px;
    z-index: 3;
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(0.6);
    transform-origin: center;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='%23000' stroke='%23ffffff' stroke-width='0.9' stroke-linejoin='round' d='M9 2.5a1.5 1.5 0 0 1 3 0v7.2h.6V4.6a1.5 1.5 0 0 1 3 0v5.5h.6V6.4a1.5 1.5 0 0 1 3 0v4.4h.6V8.2a1.5 1.5 0 0 1 3 0v6.6c0 4.2-3 7.7-7.2 7.7-2.6 0-4.4-1-5.6-2.4L4 14.5a1.7 1.7 0 0 1 2.4-2.4L9 14.6V2.5z'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.35));
    pointer-events: none;
}

.fmo-comp-btn:hover {
    transform: scale(1.04)!important;
    filter: brightness(1.04);
}

.fmo-comp-pair:hover .fmo-comp-btn,
.fmo-comp-btn:hover {
    animation: fmo-comp-btn-burst 2.8s linear forwards;
}

.fmo-comp-pair:hover .fmo-comp-btn::before,
.fmo-comp-btn:hover::before {
    animation: fmo-comp-btn-fill 2.8s linear forwards;
}

.fmo-comp-pair:hover .fmo-comp-btn::after,
.fmo-comp-btn:hover::after {
    animation: fmo-comp-btn-pointer 2.8s linear forwards;
}

/* Fase 1 (0 -> 1.2s, 0% -> 43%): width 0% -> 50% (anclado a left:50%).
     Visualmente: la frontera naranja/navy se desplaza desde 50% a 100%.
   Fase 2 (1.2s -> 1.6s, 43% -> 57%): el ancho se expande hacia la izquierda
     (left va de 50% -> 0%, width de 50% -> 100%) y el color va naranja -> cyan.
     Resultado: TODO el botón queda cyan.
   Fase 3 (1.6s -> 2.8s, 57% -> 100%): se mantiene cyan completo. */
@keyframes fmo-comp-btn-fill {
    0% {
        left: 50%;
        width: 0%;
        background-color: var(--fmo-red);
    }
    43% {
        left: 50%;
        width: 50%;
        background-color: var(--fmo-red);
    }
    57% {
        left: 0%;
        width: 100%;
        background-color: #0EA5E9;
    }
    100% {
        left: 0%;
        width: 100%;
        background-color: #0EA5E9;
    }
}

/* Sincronía con el botón:
   - hover steady en scale 1.05 hasta el press del dedo (~2.05s = 73%),
   - press down a 1.01 (~2.25s = 80%),
   - release back to 1.05 (~2.45s = 87%) y se queda. */
@keyframes fmo-comp-btn-burst {
    0% {
        transform: scale(1);
        letter-spacing: 0.04em;
        box-shadow: 0 10px 18px rgba(24, 51, 71, 0.22);
        animation-timing-function: cubic-bezier(0.22, 0.8, 0.24, 1);
    }
    20% {
        transform: scale(1.05);
        letter-spacing: 0.055em;
        box-shadow: 0 14px 22px rgba(213, 0, 28, 0.24);
        animation-timing-function: linear;
    }
    73% {
        transform: scale(1.05);
        letter-spacing: 0.06em;
        box-shadow: 0 16px 24px rgba(14, 165, 233, 0.28);
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
    80% {
        transform: scale(1.01);
        letter-spacing: 0.05em;
        box-shadow: 0 6px 10px rgba(14, 165, 233, 0.22);
        animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    }
    87% {
        transform: scale(1.05);
        letter-spacing: 0.06em;
        box-shadow: 0 16px 24px rgba(14, 165, 233, 0.28);
    }
    100% {
        transform: scale(1.05);
        letter-spacing: 0.06em;
        box-shadow: 0 16px 24px rgba(14, 165, 233, 0.28);
    }
}

/* Cursor pointer:
   - 0 → 57% (0 → 1.6s): invisible mientras se rellena/colorea el botón.
   - 64% (~1.8s): aparece centrado, escala 1, listo para click.
   - 73% (~2.05s): empieza el press, baja un poco y se reduce.
   - 80% (~2.25s): pico del press (down).
   - 87% (~2.45s): release (up), vuelve a posición.
   - 100% (2.8s): se desvanece. */
@keyframes fmo-comp-btn-pointer {
    0% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(0.6);
    }
    57% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(0.8);
    }
    64% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }
    73% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }
    80% {
        opacity: 1;
        transform: translate3d(-50%, -46%, 0) scale(0.9);
    }
    87% {
        opacity: 1;
        transform: translate3d(-50%, -50%, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate3d(-50%, -50%, 0) scale(0.95);
    }
}

/* ══════════════════════════════════════════
   S11 — RECORRIDO
   ══════════════════════════════════════════ */
.fmo-recorrido { background: var(--fmo-grey-bg); padding: 56px 24px 96px; }
.fmo-rec-grid {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
    max-width: 1560px; margin: 0 auto;
}
.fmo-rec-item {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
}
.fmo-rec-num {
    display: block; font-size: 5.5rem; font-weight: 900; line-height: 1;
    color: #fff;
    text-shadow:
        0 0 18px rgba(0,0,0,0.65),
        0 0 40px rgba(0,0,0,0.45),
        1px 2px 6px rgba(0,0,0,0.8);
}
.fmo-rec-badge {
    font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
    padding: 7px 14px; border-radius: 20px; text-align: center;
    letter-spacing: .06em; white-space: nowrap;
    width: 100%; align-self: stretch; box-sizing: border-box;
}
.fmo-rec-badge-espera { background: #F5A623; color: #fff; }
.fmo-rec-badge-reac   { background: var(--fmo-red); color: #fff; }
.fmo-rec-badge-disp   { background: #44B7A6; color: #fff; }
.fmo-rec-badge-res    { background: #8B5CF6; color: #fff; }
.fmo-rec-badge-vend   { background: #227C4E; color: #fff; }
.fmo-rec-img-wrap {
    width: 100%; border-radius: 12px; overflow: hidden; aspect-ratio: 3/5;
    position: relative;
}
.fmo-rec-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.07); transform-origin: center center; }
/* zoom per-card para recortar borde blanco del crop de referencia */
.fmo-rec-item:nth-child(1) .fmo-rec-img-wrap img { transform: scale(1.17); transform-origin: right center; }
.fmo-rec-item:nth-child(2) .fmo-rec-img-wrap img { transform: scale(1.11); transform-origin: right center; }
.fmo-rec-item:nth-child(5) .fmo-rec-img-wrap img { transform: scale(1.15); transform-origin: left center; }
/* overlay gradiente: tapa botón placeholder, funde con color de cada estado */
.fmo-rec-img-wrap::after {
    content: ''; position: absolute; inset: 0;
    pointer-events: none; z-index: 1;
}
.fmo-rec-item:nth-child(1) .fmo-rec-img-wrap::after {
    background: linear-gradient(to bottom, transparent 52%, rgba(245,166,35,0) 52%, rgba(245,166,35,0.88) 78%, #F5A623 89%);
}
.fmo-rec-item:nth-child(2) .fmo-rec-img-wrap::after {
    background: linear-gradient(to bottom, transparent 52%, rgba(229,84,78,0) 52%, rgba(229,84,78,0.88) 78%, #E5544E 89%);
}
.fmo-rec-item:nth-child(3) .fmo-rec-img-wrap::after {
    background: linear-gradient(to bottom, transparent 52%, rgba(68,183,166,0) 52%, rgba(68,183,166,0.88) 78%, #44B7A6 89%);
}
.fmo-rec-item:nth-child(4) .fmo-rec-img-wrap::after {
    background: linear-gradient(to bottom, transparent 52%, rgba(139,92,246,0) 52%, rgba(139,92,246,0.88) 78%, #8B5CF6 89%);
}
.fmo-rec-item:nth-child(5) .fmo-rec-img-wrap::after {
    background: linear-gradient(to bottom, transparent 52%, rgba(34,124,78,0) 52%, rgba(34,124,78,0.88) 78%, #227C4E 89%);
}
.fmo-rec-btn {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    font-size: 0.7rem; font-weight: 800; padding: 8px 20px; border-radius: 20px;
    background: rgba(255,255,255,0.92);
    text-decoration: none; white-space: nowrap; letter-spacing: .05em;
    transition: opacity 0.2s; box-shadow: 0 2px 10px rgba(0,0,0,0.22);
    z-index: 2;
}
.fmo-rec-btn:hover { opacity: .85; }
.fmo-rec-btn-espera { color: #F5A623; }
.fmo-rec-btn-reac   { color: var(--fmo-red); }
.fmo-rec-btn-disp   { color: #44B7A6; }
.fmo-rec-btn-res    { color: #8B5CF6; }
.fmo-rec-btn-vend   { color: #227C4E; }

/* ══════════════════════════════════════════
   S12 — BENEFICIOS
   ══════════════════════════════════════════ */
.fmo-beneficios {
    font-family: var(--fmo-font); color: var(--fmo-white);
}
.fmo-ben-row {
    display: grid; grid-template-columns: repeat(5, 1fr);
}
.fmo-ben-row-top { background: var(--fmo-blue-deep); }
.fmo-ben-row-bot { background: rgba(14, 60, 96, 0.9); }
.fmo-ben-item {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 32px 16px; gap: 12px; text-align: center; position: relative;
}
.fmo-ben-item:not(:last-child)::after {
    content: ''; position: absolute; right: 0; top: 15%; bottom: 15%; width: 1px;
    background: rgba(255,255,255,0.15);
}
.fmo-ben-icon-wrap {
    width: 80px; height: 80px; background: var(--fmo-white); border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    padding: 10px; box-sizing: border-box; flex-shrink: 0;
    overflow: hidden;
}
.fmo-ben-icon-wrap svg {
    display: block; overflow: visible; flex-shrink: 0;
}

.fmo-ben-icon-img img {
    width: 52px; height: auto; max-height: 52px;
    object-fit: contain; display: block;
}

/* Dimensiones exactas por icono — fila top */
.fmo-ben-row-top .fmo-ben-item:nth-child(1) svg { width: 50px; height: 46px; } /* 471 coche destellos */
.fmo-ben-row-top .fmo-ben-item:nth-child(2) svg { width: 48px; height: 47px; } /* 1621 camión check */
.fmo-ben-row-top .fmo-ben-item:nth-child(3) svg { width: 52px; height: 37px; } /* 470 coche selección */
.fmo-ben-row-top .fmo-ben-item:nth-child(4) svg { width: 40px; height: 27px; } /* 501 avión papel */
.fmo-ben-row-top .fmo-ben-item:nth-child(5) svg { width: 42px; height: 30px; } /* 506 portátil carrito */

/* Dimensiones exactas por icono — fila bot */
.fmo-ben-row-bot .fmo-ben-item:nth-child(1) svg { width: 50px; height: 46px; } /* 479 mano dinero */
.fmo-ben-row-bot .fmo-ben-item:nth-child(2) svg { width: 50px; height: 46px; } /* 486 calculadora */
.fmo-ben-row-bot .fmo-ben-item:nth-child(3) svg { width: 50px; height: 50px; } /* 489 escudo check */
.fmo-ben-row-bot .fmo-ben-item:nth-child(4) svg { width: 52px; height: 45px; } /* 466 velocímetro */
.fmo-ben-row-bot .fmo-ben-item:nth-child(5) svg { width: 50px; height: 46px; } /* 492 engranaje llave */

/* S9 urgency clock icon — ver regla en bloque S9 */
    margin-right: 4px;
}
.fmo-ben-item h3 { font-size: 0.78rem; font-weight: 600; line-height: 1.3; }
/* ══════════════════════════════════════════
   S12 — BENEFICIOS (header + desc)
   ══════════════════════════════════════════ */
.fmo-ben-header { background: var(--fmo-blue-deep); padding: 40px 24px 0; text-align: center; }
.fmo-ben-title { font-family: var(--fmo-font); font-size: 1.6rem; font-weight: 700; color: var(--fmo-white); text-transform: uppercase; letter-spacing: 1px; margin: 0; padding-bottom: 32px; }
.fmo-ben-desc { font-size: 0.78rem; color: rgba(255,255,255,0.7); line-height: 1.5; margin-top: 4px; }

/* ══════════════════════════════════════════
   S13 — COMPRAMOS TU COCHE
   ══════════════════════════════════════════ */
.fmo-compramos-top {
    background: linear-gradient(to right, #c8dce9 0%, #d5e4ef 45%, rgba(213, 228, 239, 1) 65%, #eaf3f9 100%);
    display: grid;
    grid-template-columns: 67% 33%;
    grid-template-rows: 500px;
    gap: 0;
    padding: 0;
    align-items: stretch;
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
}
.fmo-compramos-left {
    padding: 10vw 0vw 10vw 0vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    z-index: 2;
    align-items: center;
}
.fmo-compramos-left::after {
    content: '';
    position: absolute;
    right: 0%;
    width: 135%;
    height: 20px;
    top: calc(75% - 10px);
    bottom: 0;
    rotate: -180deg;
    background: linear-gradient(to right, #d5e4ef, rgba(50, 50, 50, 51));
    z-index: 2;
    pointer-events: none;
}
.fmo-compramos-left h2 {
    font-size: 2.6rem;
    font-weight: 400;
    color: var(--fmo-navy);
    line-height: 1.25;
    margin-right: 3rem;
}
.fmo-compramos-left h2 .fmo-text-red {
    color: var(--fmo-red) !important;
    font-weight: 700;
    display: block;
    font-size: 3.2rem;
}
.fmo-compramos-divider {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 18px;
}
.fmo-compramos-rule {
    width: 3px;
    height: 60px;
    background: var(--fmo-red);
    border-radius: 2px;
    flex-shrink: 0;
}
.fmo-compramos-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.fmo-compramos-logo-img {
    height: auto;
    width: 8vw;
    min-width: 100px;
    max-width: 250px;
    
}
.fmo-compramos-logo-text span {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--fmo-navy);
    letter-spacing: 4px;
    text-transform: uppercase;
}
.fmo-compramos-right {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    overflow: hidden;
    position: relative;
    z-index: 10;
}
.fmo-compramos-right::before {
    content: '';
    position: absolute;
    left: -15vw;
    top: 0;
    bottom: 0;
    width: 30vw;
    background: linear-gradient(to right, rgba(213, 228, 239, 0.2) 0%, rgba(213, 228, 239, 0.9) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}
.fmo-compramos-car {
    display: block;
    height: auto;
    flex-shrink: 0;
    margin-bottom: -15px;
    object-fit: cover;
}

/* BOT */
.fmo-compramos-bot {
    background: var(--fmo-white);
    padding: 56px 0 56px;
}
.fmo-compramos-bot .fmo-section-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fmo-red);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 48px;
}
.fmo-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1120px;
    width: 82%;
    margin: 0 auto 40px;
}
.fmo-step {
    text-align: center;
}
.fmo-step-num {
    display: inline-block;
    position: relative;
    font-size: 9rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 12px;
    font-family: Arial Black, Impact, sans-serif;
}
.fmo-step-num-base {
    display: block;
    color: #1e4a78;
    position: relative;
    z-index: 0;
}
.fmo-step-num-vaho {
    display: block;
    position: absolute;
    top: 1px;
    left: 14px;
    color: #eee;
    filter: blur(2px);
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    line-height: 1;
}

.fmo-compramos-bot .fmo-btn {
    margin: auto;
    text-align: center;
    display: flex;
    justify-content: center;
    width: fit-content;
}

.fmo-step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fmo-red);
    margin: 0 0 10px;
}
.fmo-step-rule {
    width: 100%;
    height: 6px;
    background: var(--fmo-navy);
    border-radius: 2px;
    margin: 0 0 0px;
}
.fmo-step p {
    background: #eef1f6;
    padding: 18px 16px;
    border-radius: 0 0 15px 15px;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.55;
    text-align: center;
    margin: 0;
    min-height: 120px;
}

.fmo-envios-banner {
    width: 100%;
    margin-top: 40px;
    line-height: 0;
}
.fmo-envios-img {
    display: block;
    width: 100%;
    height: auto;
}

.fmo-testimonios .fmo-section-subtitle {
    text-align: center;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1rem;
    line-height: 1.7;
    color: #444;
    margin-bottom: 40px;
}

/* ══════════════════════════════════════════
   S14 — CLIENTES FELICES
   ══════════════════════════════════════════ */
.fmo-testimonios { background: var(--fmo-grey-bg); padding: 56px 24px 48px; }
.fmo-reviews-carousel { position: relative; max-width: 1100px; margin: 0 auto 40px; padding: 0 10px; }
.fmo-reviews-carousel .fmo-carousel-viewport { padding: 10px 0; }
.fmo-review-card {
    flex: 0 0 33.333%; padding: 0 10px; box-sizing: border-box; min-width: 280px;
}
.fmo-review-card-inner {
    background: var(--fmo-white); border-radius: 16px; padding: 24px; text-align: left;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.fmo-review-img { border-radius: 12px; overflow: hidden; margin-bottom: 12px; height: 180px; }
.fmo-review-img img { width: 100%; height: 100%; object-fit: cover; }
.fmo-review-brand { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; font-weight: 700; font-size: 0.75rem; color: var(--fmo-navy); }
.fmo-review-card h4 { font-size: 0.9rem; font-weight: 700; color: var(--fmo-navy); margin-bottom: 2px; }
.fmo-review-role { font-size: 0.75rem; color: #888; }
.fmo-review-stars { color: var(--fmo-red); font-size: 0.95rem; letter-spacing: 1px; margin: 6px 0; }
.fmo-review-card p { font-size: 0.85rem; color: #555; line-height: 1.5; }

/* Ratings bars */
.fmo-ratings {
    display: grid; grid-template-columns: 1fr 1fr; gap: 32px; max-width: 900px;
    margin: 0 auto; text-align: left;
}
.fmo-ratings-left { display: flex; flex-direction: column; align-items: center; text-align: center; }
.fmo-rating-circle {
    width: 130px; height: 130px; border-radius: 50%; position: relative;
    background: conic-gradient(var(--fmo-red) 0% 95%, #ddd 95% 100%);
    display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
}
.fmo-rating-inner {
    width: 106px; height: 106px; border-radius: 50%; background: var(--fmo-white);
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.fmo-rating-big { font-size: 2rem; font-weight: 800; color: var(--fmo-red); line-height: 1; }
.fmo-rating-sub { font-size: 0.75rem; color: #888; }
.fmo-ratings-left h3 { font-size: 0.9rem; font-weight: 700; color: var(--fmo-navy); margin-bottom: 4px; }
.fmo-ratings-left p { font-size: 0.8rem; color: #666; line-height: 1.5; }
.fmo-ratings-right { display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.fmo-bar-item { display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: var(--fmo-navy); }
.fmo-bar-item span:first-child { flex: 0 0 45%; }
.fmo-bar-item span:last-child { flex: 0 0 36px; text-align: right; font-weight: 600; }
.fmo-bar-track { flex: 1; height: 8px; background: #ddd; border-radius: 4px; overflow: hidden; }
.fmo-bar-fill { height: 100%; background: var(--fmo-red); border-radius: 4px; }

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1960px) { 
    .fmo-compramos-right { justify-content: flex-start; } 

}

@media (max-width: 1400px) {

    .fmo-desc-info {
        max-width: 250px;
    }

    .fmo-desc-name {
        width: 90%;
    }

    .fmo-desc-left {
        top: 3vw;
        align-items: center;
    }

    .fmo-desc-left img {
        width: 120%;
        right: -4vw;   
    }
}

@media (max-width: 1024px) {
    .fmo-stock-card { flex: 0 0 33%; }
    .fmo-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .fmo-marca-card { flex: 0 0 33%; }
    .fmo-nov-card { flex: 0 0 50%; }
    .fmo-sel-grid { grid-template-columns: repeat(2, 1fr); }
    .fmo-opt-grid { grid-template-columns: repeat(2, 1fr); }
    .fmo-comp-pair-row { grid-template-columns: 1fr; }
    .fmo-rec-grid { grid-template-columns: repeat(3, 1fr); }
    .fmo-ben-row { grid-template-columns: repeat(3, 1fr); }
    .fmo-ratings { grid-template-columns: 1fr; }


    .carroceria-row {
        grid-template-columns: repeat(4, 1fr);
    }

    .colors-grid {
        grid-template-columns: repeat(4, 1fr);
    }


}
@media (max-width: 768px) {
    .fmo-hero { display: flex; flex-direction: column; min-height: auto; }
    .fmo-hero-left { flex: 0 0 auto; max-width: 100%; justify-content: center; padding-right: 0; padding: 32px 24px; }
    .fmo-hero-box { max-width: 100%; }
    .fmo-hero-box h1 { font-size: clamp(28px, 5vw, 34px); }
    .fmo-hero-right { flex: 0 0 auto; max-width: 100%; width: 90%; margin: 0 auto; }
    .fmo-hero-bar { position: static; display: grid; gap: 0; }
    .fmo-hero-bar span { padding: 10px 16px; width: fit-content; justify-content: center; }
    .fmo-stock-card { flex: 0 0 50% !important; }
    .fmo-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .fmo-marca-card { flex: 0 0 50%; }
    .fmo-nov-card { flex: 0 0 100%; }
    .fmo-sel-grid { grid-template-columns: 1fr; }
    .fmo-opt-grid { grid-template-columns: 1fr; }
    .fmo-desc-slide { flex-direction: column; min-height: auto; }
    .fmo-desc-left { flex: 0 0 auto; padding: 20px 20px 0; overflow: hidden; min-height: 200px; justify-content: center; }
    .fmo-desc-left img { width: 100%; right: 0; max-height: 200px; }
    .fmo-desc-right { flex: 0 0 auto; border-radius: 0 0 24px 24px; flex-direction: column; padding: 24px 20px; gap: 20px; }
    .fmo-desc-info { padding-right: 0; border-right: none; border-bottom: 1px solid rgba(255,255,255,0.2); padding-bottom: 16px; }
    .fmo-desc-price-col { padding-left: 0; }
    .fmo-rec-grid { grid-template-columns: repeat(2, 1fr); }
    .fmo-ben-row { grid-template-columns: repeat(2, 1fr); }
    .fmo-review-card { flex: 0 0 100%; min-width: 0; }
    .fmo-ratings { grid-template-columns: 1fr; gap: 20px; }
    .fmo-compramos-top { grid-template-columns: 1fr; min-height: auto; }
    .fmo-compramos-left { padding: 40px 24px 24px; text-align: left; }
    .fmo-compramos-left::after { display: none; }
    .fmo-compramos-right { min-height: 260px; }
    .fmo-compramos-car { top: 0; height: 100%; }
    .fmo-steps { grid-template-columns: 1fr; }
    .fmo-carousel-btn.fmo-prev { left: 2px; }
    .fmo-carousel-btn.fmo-next { right: 2px; }

    .fmo-carousel-dots {         
        width: calc(100vw - 48px);
        left: 0;
    }

    .row-2-container {
        gap: 20px!important;
    }

    .row-2-container .col {
        width: calc(50% - 10px);
    }

    #sub-carroceria .col.col-colors {
        width: 100%!important;
    }

    .colors-grid {
        grid-template-columns: repeat(4, 1fr)!important;
    }

    #menu-precio-container .filter-grid.col_1 {

    }
}

@media (max-width: 540px) {
    .fmo-stock {
        padding-top: 40px;
        padding-bottom: 32px;
    }

    .fmo-stock-carousel .fmo-carousel-viewport {
        padding-top: 44px;
        touch-action: pan-y;
    }

    .fmo-stock-card {
        flex: 0 0 100% !important;
        padding: 150px 12px 30px;
    }

    .fmo-stock-img {
        top: -34px;
        width: 72%;
    }

    .fmo-stock-card .fmo-stock-img img {
        top: -1vh;
        max-height: 180px;
    }

    .fmo-stock-card .fmo-stock-qty {
        font-size: 5.2rem !important;
    }

    .fmo-stock-card .fmo-stock-qty-label {
        font-size: 1.22rem !important;
    }

    .fmo-stock-card .fmo-stock-name {
        font-size: 0.78rem;
    }

    .fmo-stock-carousel .fmo-carousel-btn {
        width: 2.6rem;
        height: 2.6rem;
        font-size: 1.9rem;
        top: calc(18px + 50%) !important;
    }

    .fmo-stock-carousel .fmo-carousel-btn.fmo-prev { left: 0; }
    .fmo-stock-carousel .fmo-carousel-btn.fmo-next { right: 0; }

    .fmo-browse-inner {
        max-width: calc(100% - 32px);
        width: calc(100% - 32px);
    }

    .fmo-browse-row-1 {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 0;
    }

    .fmo-browse-group {
        padding: 18px 16px 12px;
        border-radius: 16px;
    }

    .fmo-browse-item {
        flex: 0 0 100%;
        width: 100%;
        min-height: 184px;
        box-sizing: border-box;
    }

    .fmo-browse-viewport,
    .fmo-marcas-carousel .fmo-carousel-viewport,
    .fmo-nov-carousel .fmo-carousel-viewport,
    .fmo-desc-viewport {
        touch-action: pan-y;
    }

    .fmo-browse-item img {
        width: 136px;
        max-width: 100%;
    }

    .fmo-categorias,
    .fmo-marcas,
    .fmo-novedades,
    .fmo-seleccionados,
    .fmo-opciones,
    .fmo-descuentos,
    .fmo-recorrido,
    .fmo-beneficios,
    .fmo-compramos,
    .fmo-testimonios {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fmo-landing .fmo-cat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px;
        padding: 20px 12px;
    }

    .fmo-cat-card {
        min-height: 220px;
        padding: 16px 8px 18px;
    }

    .fmo-landing .fmo-cat-card img,
    .fmo-cat-svg {
        max-width: 100%;
        max-height: 120px;
    }

    .fmo-cat-card h3 {
        font-size: 0.86rem;
        margin-bottom: 8px;
    }

    .fmo-cat-badge {
        font-size: 0.76rem;
        padding: 6px 8px;
    }

    .fmo-marcas-box,
    .fmo-nov-inner,
    .fmo-sel-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

    .fmo-marcas-tabs,
    .fmo-sel-tabs,
    .fmo-nov-tabs {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    .fmo-marcas-tabs::-webkit-scrollbar,
    .fmo-sel-tabs::-webkit-scrollbar,
    .fmo-nov-tabs::-webkit-scrollbar { display: none; }

    .fmo-marcas-tabs button,
    .fmo-sel-tabs button,
    .fmo-nov-tabs button {
        flex: 0 0 auto;
        white-space: nowrap;
        padding-left: 12px;
        padding-right: 12px;
    }

    .fmo-marcas-tabs {
        width: 100%;
        display: grid;
        grid-template-columns: 0.8fr 1.25fr 0.95fr;
        gap: 4px;
    }

    .fmo-marcas-tabs button {
        min-width: 0;
        padding: 10px 6px;
        font-size: 0.76rem;
        white-space: normal;
        line-height: 1.1;
    }

    .fmo-marca-card {
        flex: 0 0 100% !important;
        min-height: 200px;
    }

    .fmo-nov-card {
        min-width: 0;
    }

    .fmo-nov-thumb img {
        zoom: 180%;
        height: 140px;
    }

    .fmo-sel-heading {
        font-size: 1.65rem;
    }

    .fmo-sel-highlight {
        font-size: 1.85rem;
    }

    .fmo-sel-card .fmo-btn-sm,
    .fmo-sel-bar,
    .fmo-sel-price-row,
    .fmo-sel-finance-row {
        margin-left: 10px;
        margin-right: 10px;
        width: calc(100% - 20px);
    }

    .fmo-sel-thumb {
        padding-top: 30px;
    }

    .fmo-sel-thumb img {
        zoom: 140%;
        height: 165px;
    }

    .fmo-sel-name {
        font-size: 0.76rem;
    }

    .fmo-sel-price-row strong {
        font-size: 0.95rem;
    }

    .fmo-opt-card {
        min-height: 220px;
    }

    .fmo-comp-pair-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .fmo-comp-match {
        flex-direction: column;
        gap: 12px;
    }

    .fmo-comp-vs {
        flex: 0 0 auto;
        transform: rotate(90deg);
    }

    .fmo-comp-car img {
        height: 180px;
        zoom: 130%;
    }

    .fmo-comp-car h3 {
        min-height: 0;
    }

    .fmo-descuentos {
        padding-left: 16px;
        padding-right: 16px;
    }

    .fmo-desc-carousel {
        max-width: 100%;
        padding: 0 8px;
    }

    .fmo-desc-viewport {
        border-radius: 24px;
        padding-bottom: 46px;
    }

    .fmo-desc-slide {
        width: calc(100% - 20px);
        flex: 0 0 calc(100% - 20px);
        margin-left: 10px;
        margin-right: 10px;
        box-sizing: border-box;
    }

    .fmo-desc-left {
        min-height: 210px;
    }

    .fmo-desc-left img {
        width: 112%;
        max-height: 220px;
        right: 0;
    }

    .fmo-desc-right {
        margin: 0;
        width: 100%;
        box-sizing: border-box;
        padding: 26px 20px 24px;
    }

    .fmo-desc-name,
    .fmo-desc-specs {
        width: 100%;
        margin-left: 0;
    }

    .fmo-desc-price-col {
        width: 100%;
        min-width: 0;
        padding-left: 0;
    }

    .fmo-desc-carousel .fmo-carousel-btn {
        width: 38px;
        height: 38px;
    }

    .fmo-desc-carousel .fmo-prev { left: 0; }
    .fmo-desc-carousel .fmo-next { right: 0; }

    .fmo-ben-row {
        grid-template-columns: 1fr;
    }

    .fmo-ben-item {
        padding: 24px 14px;
    }

    .fmo-rec-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fmo-review-card {
        padding: 0;
    }

    .fmo-review-card-inner {
        padding: 20px;
    }

    .fmo-ratings {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .fmo-testimonios .fmo-section-subtitle {
        font-size: 0.94rem;
        line-height: 1.55;
        margin-bottom: 28px;
    }

    .fmo-compramos-top {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .fmo-compramos-left {
        padding: 28px 16px 18px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .fmo-compramos-left h2 {
        font-size: 2rem;
        margin-right: 0;
    }

    .fmo-compramos-left h2 .fmo-text-red {
        font-size: 2.4rem;
    }

    .fmo-compramos-divider {
        gap: 12px;
        width: 100%;
        max-width: 100%;
    }

    .fmo-compramos-logo-wrap {
        min-width: 0;
        max-width: 100%;
    }

    .fmo-compramos-rule {
        height: 44px;
    }

    .fmo-compramos-logo-img {
        width: 34vw;
        min-width: 92px;
        max-width: 180px;
    }

    .fmo-compramos-right {
        min-height: 220px;
        min-width: 0;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
    }

    .fmo-compramos-car {
        width: 100%;
        max-width: 100%;
        height: auto;
        object-fit: contain;
        margin-bottom: 0;
    }

    .fmo-compramos-bot {
        padding-top: 44px;
        padding-bottom: 44px;
    }

    .fmo-steps {
        grid-template-columns: 1fr;
        gap: 22px;
        width: 100%;
    }

    .fmo-step-num {
        font-size: 5.4rem;
    }

    .fmo-step-title {
        font-size: 1rem;
    }

    .fmo-step p {
        min-height: auto;
        padding: 14px 12px;
    }

    .fmo-envios-banner {
        margin-top: 24px;
    }

    .fmsw-envios-img {
        height: auto !important;
        object-fit: contain !important;
    }
}

@media (max-width: 730px) {
    .row-2-container .col {
        width: calc(50% - 10px
    );
}
}

@media (max-width: 480px) {
    .colors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ══════════════════════════════════════════
    DRAWER FILTROS AVANZADOS
    ══════════════════════════════════════════ */
.fmo-advanced-drawer {
    background: #E5544E;
    border-radius: 0 0 12px 12px;
    padding: 0;
    overflow: hidden;
    animation: fmoDrawerIn .2s ease;
}
@keyframes fmoDrawerIn {
    from { opacity:0; transform:translateY(-8px); }
    to   { opacity:1; transform:translateY(0); }
}
.fmo-adv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.2);
}
.fmo-adv-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
}
.fmo-adv-close:hover { background: rgba(255,255,255,.15); }
.fmo-adv-body {
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.fmo-adv-group { display: flex; flex-direction: column; gap: 8px; }
.fmo-adv-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.8);
}
.fmo-adv-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fmo-adv-pill {
    padding: 7px 14px;
    border-radius: 20px;
    border: 2px solid rgba(255,255,255,.5);
    background: rgba(255,255,255,.15);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .15s;
}
.fmo-adv-pill:hover { background: rgba(255,255,255,.3); border-color: #fff; }
.fmo-adv-pill.active {
    background: #fff;
    border-color: #fff;
    color: #E5544E;
}
/* Potencia dual range */
.fmo-adv-power-row {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}
/* ── Slider custom potencia (reemplaza dual range nativo) ── */
.fmo-adv-power-row {
    display: flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    flex: 1;
}
.fmo-range-custom {
    position: relative;
    flex: 1;
    height: 20px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}
.fmo-range-custom-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    transform: translateY(-50%);
    background: rgba(255,255,255,.3);
    border-radius: 2px;
}
.fmo-range-custom-fill {
    position: absolute;
    top: 0;
    height: 100%;
    background: rgba(255,255,255,.85);
    border-radius: 2px;
}
.fmo-range-custom-thumb {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #E5544E;
    transform: translate(-50%, -50%);
    box-shadow: 0 1px 5px rgba(0,0,0,.25);
    cursor: grab;
    transition: box-shadow .1s;
    touch-action: none;
}
.fmo-range-custom-thumb:active,
.fmo-range-custom-thumb.dragging { cursor: grabbing; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.fmo-range-custom-thumb:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,.4);
}
.fmo-adv-power-labels {
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.fmo-adv-dual-range input[type=range]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid #E5544E;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.fmo-adv-dual-range input[type=range]::-moz-range-track {
    background: rgba(255,255,255,.35);
    height: 4px;
    border-radius: 2px;
}
/* Footer */
.fmo-adv-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,.2);
}
.fmo-adv-reset {
    background: none;
    border: 2px solid rgba(255,255,255,.6);
    color: #fff;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all .15s;
}
.fmo-adv-reset:hover { border-color: #fff; background: rgba(255,255,255,.1); }
.fmo-adv-apply {
    background: #fff;
    border: 2px solid #fff;
    color: #E5544E;
    padding: 8px 22px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all .15s;
}
.fmo-adv-apply:hover { background: #f5f5f5; }
/* Badge en ruedita cuando hay filtros avanzados activos */
.fmo-filter-icon.has-advanced { position: relative; }
.fmo-filter-icon.has-advanced::after {
    content: '';
    position: absolute;
    top: 4px; right: 4px;
    width: 8px; height: 8px;
    background: #fff;
    border-radius: 50%;
    border: 1px solid #E5544E;
}

/* Pills con imagen o SVG */
.fmo-adv-pill-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    min-width: 72px;
    text-align: center;
}
.fmo-adv-pill-icon {
    width: auto;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);  /* blanco sobre coral */
    opacity: 0.85;
    transition: opacity .15s;
}
.fmo-adv-pill.active .fmo-adv-pill-icon {
    filter: brightness(0) saturate(100%) invert(35%) sepia(80%) saturate(600%) hue-rotate(330deg);  /* coral sobre blanco */
    opacity: 1;
}
.fmo-adv-pill-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255,255,255,0.85);
    transition: color .15s;
}
.fmo-adv-pill-svg svg {
    width: 28px;
    height: 28px;
}
.fmo-adv-pill.active .fmo-adv-pill-svg {
    color: #E5544E;
}
.fmo-adv-pill-img span:last-child {
    font-size: 0.75rem;
    line-height: 1.2;
}

@media (max-width: 540px) {
    .fmo-options-panel {
        display: grid;
        max-height: min(66vh, 620px);
        overflow-y: auto;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 16px;
        border-radius: 16px;
        overscroll-behavior: contain;
    }

    .fmo-opt-item {
        width: auto;
        min-width: 0;
        min-height: 118px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 7px;
        padding: 12px 8px;
        box-sizing: border-box;
    }

    .fmo-opt-item img {
        max-width: 84px;
        max-height: 46px;
        margin-bottom: 2px;
    }

    .fmo-opt-item span {
        font-size: 0.82rem;
        line-height: 1.18;
    }

    .fmo-opt-item small {
        font-size: 0.72rem;
        padding: 3px 7px;
    }

    #fmo-advanced-drawer {
        max-height: min(74vh, 680px);
        overflow-y: auto;
        border-radius: 18px;
        box-shadow: 0 18px 38px rgba(24, 51, 71, 0.2);
        overscroll-behavior: contain;
    }

    .fmo-adv-header {
        position: sticky;
        top: 0;
        z-index: 5;
        background: #E5544E;
        padding: 14px 16px;
    }

    .fmo-adv-close {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,.55);
        border-radius: 12px;
        background: rgba(255,255,255,.12);
    }

    .fmo-adv-body {
        padding: 16px 16px 8px;
        gap: 20px;
    }

    .fmo-adv-label {
        font-size: 0.82rem;
        letter-spacing: .08em;
        color: #fff;
    }

    .fmo-adv-pills {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .fmo-adv-pill {
        width: 100%;
        min-width: 0;
        min-height: 70px;
        justify-content: center;
        border-radius: 18px;
        padding: 10px 8px;
        box-sizing: border-box;
        text-align: center;
    }

    .fmo-adv-pill-svg,
    .fmo-adv-pill-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 2px;
    }

    .fmo-adv-pill-svg svg {
        width: 30px;
        height: 30px;
    }

    .fmo-adv-pill-img span:last-child {
        font-size: 0.78rem;
        line-height: 1.16;
    }

    .fmo-adv-power-row {
        flex-wrap: wrap;
        gap: 10px;
    }

    .fmo-range-custom {
        flex: 1 0 100%;
        order: 2;
        height: 28px;
    }

    .fmo-adv-power-labels {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        white-space: normal;
        font-size: 0.84rem;
    }

    .fmo-adv-footer {
        position: sticky;
        bottom: 0;
        z-index: 4;
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        gap: 10px;
        padding: 12px 16px 16px;
        background: #E5544E;
    }

    .fmo-adv-reset,
    .fmo-adv-apply {
        width: 100%;
        min-height: 46px;
        padding: 10px 12px;
    }

    .fmo-marcas-box,
    .fmo-nov-inner,
    .fmo-sel-inner {
        padding-left: 10px;
        padding-right: 10px;
    }

    .fmo-marcas-carousel .fmo-carousel-viewport,
    .fmo-nov-carousel .fmo-carousel-viewport {
        overflow-x: hidden;
        padding-left: 4px;
        padding-right: 4px;
    }

    .fmo-marca-track,
    .fmo-nov-carousel .fmo-carousel-track {
        gap: 10px;
    }

    .fmo-marca-card,
    .fmo-nov-card {
        flex: 0 0 100% !important;
    }
}

/* S7 header */
.fmo-sel-header { text-align: center; padding: 48px 24px 32px; }

.fmo-sel-cta-wrap { text-align: center; margin-top: 28px; }

/* ── Mobile 480px: search box sin overflow ── */
@media (max-width: 480px) {
    /* Buscador edge-to-edge */
    .fmo-buscador {
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: hidden;
    }
    .fmo-search-box {
        border-radius: 0;
        padding: 16px 12px;
    }
    /* Tabs — caben los 4 */
    .fmo-search-tabs button {
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.68rem;
        padding: 11px 3px;
        letter-spacing: 0;
    }
    /* Dropdowns compactos */
    .fmo-dropdown .fmo-drop-btn {
        min-width: 0;
        flex: 1 1 110px;
        padding: 10px 10px;
        font-size: 0.82rem;
    }
    .fmo-filters-row {
        gap: 8px;
    }
    /* Botón VER — ancho completo */
    .fmo-search-btn {
        width: 100%;
        margin-left: 0;
        justify-content: center;
        font-size: 0.85rem;
        padding: 12px 14px;
    }
}

.fmo-stock .fmo-section-label { color: var(--fmo-red); }

/* ── Mobile 420px: títulos, secciones y tabs ── */
@media (max-width: 420px) {
    /* Titles */
    .fmo-section-title {
        font-size: 1.2rem;
    }
    .fmo-section-label {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    /* Section padding tighter */
    .fmo-categorias,
    .fmo-marcas,
    .fmo-novedades,
    .fmo-seleccionados,
    .fmo-opciones,
    .fmo-descuentos,
    .fmo-recorrido,
    .fmo-beneficios,
    .fmo-compramos,
    .fmo-testimonios {
        padding-left: 16px;
        padding-right: 16px;
    }
    .fmo-stock {
        padding-left: 16px;
        padding-right: 16px;
    }
    /* Buscador outer + inner padding tighter */
    .fmo-buscador {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100vw;
        overflow: hidden;
    }
    .fmo-search-box {
        border-radius: 0 !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    /* Tabs — scrollable, no overflow */
    .fmo-search-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .fmo-search-tabs::-webkit-scrollbar { display: none; }
    .fmo-search-tabs button {
        flex: 1 1 0;
        min-width: 0;
        font-size: 0.62rem;
        padding: 10px 2px;
        letter-spacing: 0;
    }
    /* Dropdowns más compactos */
    .fmo-dropdown .fmo-drop-btn {
        min-width: 0;
        flex: 1 1 120px;
        padding: 10px 12px;
        font-size: 0.82rem;
    }
    .fmo-filters-row {
        gap: 8px;
    }
    /* Botón VER — ancho completo, centrado */
    .fmo-search-btn {
        width: 100%;
        margin-left: 0;
        justify-content: center;
        font-size: 0.82rem;
        padding: 12px 16px;
    }
    .fmo-search-tabs button {
        font-size: 0.65rem;
        padding: 10px 2px;
    }
    /* Category name no overflow */
    .fmo-cat-name {
        font-size: 0.8rem;
        word-break: break-word;
    }
}

/* Final mobile overflow clamp for shared Oxygen header. */
@media (max-width: 767px) {
    html,
    body {
        overflow-x: hidden !important;
        max-width: 100vw !important;
    }
}
