/* ===== Reset base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background: var(--color-cream);
    line-height: var(--lh-body);
    font-size: var(--fs-body);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--color-navy); text-decoration: none; }
a:hover { color: var(--color-orange); }
ul { padding-left: 1.2rem; }
h1, h2, h3, h4 { color: var(--color-navy); line-height: var(--lh-tight); margin-top: 0; letter-spacing: -0.01em; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); margin-bottom: .8rem; }
h3 { font-size: var(--fs-h3); }
p { line-height: var(--lh-body); }
table { border-collapse: collapse; width: 100%; }

/* Foco accesible por teclado (no afecta clic de mouse) */
a:focus-visible, button:focus-visible, .btn:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius-sm);
}

/* Respeta a quienes prefieren menos movimiento */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.section { padding: 2.5rem 0; }
.section--alt { background: var(--color-cream-alt); }

/* Sección con imagen de fondo (overlay navy encima) */
.section--bg {
    background-size: cover;
    background-position: center;
    color: var(--color-white);
}
.section--bg h2 { color: var(--color-white); }
.section--bg > .container > p { color: #e4ebf5; }

/* Banner de imagen dentro de una sección (bajo el H2) */
.section-banner {
    margin: 0 0 1.5rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 16 / 8;
}
.section-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 560px) { .section-banner { aspect-ratio: 16 / 10; } }

/* Banner tipo hero: texto + botón superpuestos dentro de la foto */
.section-banner--hero { position: relative; aspect-ratio: 16 / 8; }
.section-banner--hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8,38,71,.78) 0%, rgba(8,38,71,.5) 42%, rgba(8,38,71,0) 72%);
    pointer-events: none;
}
.section-banner__overlay {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 2;
    max-width: 56%;
    margin: 1.6rem;
    padding: 1.4rem 1.6rem;
    background: linear-gradient(135deg, rgba(10,47,89,.94), rgba(10,47,89,.82));
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-orange);
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.section-banner__overlay h2 {
    color: var(--color-white);
    margin: 0 0 .5rem;
}
.section-banner__overlay p {
    color: #e4ebf5;
    margin: 0 0 1.1rem;
    font-size: .98rem;
    line-height: 1.5;
}
.section-banner__overlay .btn { margin: 0; }
@media (max-width: 720px) {
    .section-banner--hero { aspect-ratio: 4 / 3; }
    .section-banner--hero::after {
        background: linear-gradient(0deg, rgba(8,38,71,.85) 0%, rgba(8,38,71,.4) 45%, rgba(8,38,71,0) 75%);
    }
    .section-banner__overlay {
        max-width: none;
        left: 0;
        right: 0;
        margin: .7rem;
        padding: 1rem 1.1rem;
    }
    .section-banner__overlay p { font-size: .9rem; }
}

/* ===== Header / Nav ===== */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 50;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .55rem 1.25rem;
    max-width: var(--container-width);
    margin: 0 auto;
    gap: 1.25rem;
}
.site-logo { display: flex; align-items: center; gap: .5rem; flex-shrink: 0; }
.site-logo img { height: 84px; width: auto; max-width: 220px; object-fit: contain; display: block; }

.main-nav__toggle {
    display: none;
    background: none;
    border: none;
    width: 44px;
    height: 44px;
    padding: 0;
    color: var(--color-navy);
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
}
.main-nav__toggle-bars,
.main-nav__toggle-bars::before,
.main-nav__toggle-bars::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 26px;
    height: 3px;
    background: var(--color-navy);
    border-radius: 2px;
    transform: translateX(-50%);
    transition: transform .25s ease, opacity .2s ease;
}
.main-nav__toggle-bars { top: 50%; margin-top: -1.5px; }
.main-nav__toggle-bars::before { top: -8px; }
.main-nav__toggle-bars::after { top: 8px; }
.main-nav__toggle.is-open .main-nav__toggle-bars { background: transparent; }
.main-nav__toggle.is-open .main-nav__toggle-bars::before { transform: translateX(-50%) translateY(8px) rotate(45deg); }
.main-nav__toggle.is-open .main-nav__toggle-bars::after { transform: translateX(-50%) translateY(-8px) rotate(-45deg); }
.main-nav__list {
    display: flex;
    list-style: none;
    gap: .85rem;
    margin: 0;
    padding: 0;
    align-items: center;
    flex-wrap: nowrap;
}
.main-nav__list > li { position: relative; }
.main-nav__list > li > a {
    color: var(--color-navy);
    font-weight: 600;
    font-size: .9rem;
    padding: .35rem 0;
    position: relative;
    white-space: nowrap;
}
/* Subrayado animado (hover + página activa) */
.main-nav__list > li > a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--color-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
}
.main-nav__list > li > a:hover::after,
.main-nav__list > li.is-active > a::after { transform: scaleX(1); }
.main-nav__list > li.is-active > a { color: var(--color-orange); }
.main-nav__list a:hover { color: var(--color-orange); }
.main-nav__list .caret { font-size: .7rem; display: inline-block; margin-left: 2px; }

/* Dropdown de Categorías / Marcas (escritorio) */
.main-nav__list .dropdown {
    list-style: none;
    margin: 0;
    padding: .5rem;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s ease;
    z-index: 60;
}
.main-nav__list .has-dropdown:hover > .dropdown,
.main-nav__list .has-dropdown:focus-within > .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav__list .dropdown li { width: 100%; }
.main-nav__list .dropdown a {
    display: flex;
    align-items: center;
    gap: .55rem;
    padding: .55rem .7rem;
    border-radius: var(--radius-sm);
    font-weight: 500;
    white-space: nowrap;
}
.main-nav__list .dropdown a:hover { background: var(--color-cream-alt); color: var(--color-orange); }

.dropdown--brands .dropdown__brand-logo {
    width: 22px;
    height: 22px;
    object-fit: contain;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    padding: 2px;
    flex-shrink: 0;
}
.dropdown--brands .dropdown__all {
    border-bottom: 1px solid var(--color-border);
    margin-bottom: .3rem;
    padding-bottom: .3rem;
}
.dropdown--brands .dropdown__all a { font-weight: 700; color: var(--color-orange); }

/* Enlace de Ofertas destacado */
.nav-item--offers > a { color: var(--color-orange) !important; font-weight: 700; }

/* Buscador en la barra de navegación */
.nav-search {
    display: flex;
    align-items: center;
    background: var(--color-cream-alt);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    overflow: hidden;
    height: 38px;
}
.nav-search input {
    border: none;
    background: transparent;
    padding: 0 .3rem 0 .9rem;
    font-size: .88rem;
    color: var(--color-text);
    width: 128px;
    outline: none;
}
.nav-search input::placeholder { color: var(--color-text-muted); }
.nav-search button {
    border: none;
    background: var(--color-orange);
    color: #fff;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color .15s ease;
}
.nav-search button:hover { background: var(--color-orange-dark); }
.nav-search button svg { width: 18px; height: 18px; }

/* Barra de búsqueda móvil (siempre visible bajo el header en pantallas chicas) */
.site-header__mobile-search { display: none; }

@media (max-width: 1000px) {
    .site-logo img { height: 64px; max-width: 180px; }
    .main-nav__toggle { display: block; }
    /* Buscador siempre visible en móvil, como segunda fila del header */
    .site-header__mobile-search {
        display: block;
        padding: .55rem 1.25rem .65rem;
        border-top: 1px solid var(--color-border);
        background: var(--color-white);
    }
    .site-header__mobile-search .nav-search { width: 100%; height: 44px; }
    .site-header__mobile-search .nav-search input { width: 100%; font-size: 16px; }
    .site-header__mobile-search .nav-search button { width: 46px; height: 44px; flex-shrink: 0; }
    /* El buscador dentro del menú hamburguesa se oculta (ya hay uno visible arriba) */
    .main-nav__search-item { display: none; }
    .main-nav__list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        border-top: 1px solid var(--color-border);
        border-bottom: 1px solid var(--color-border);
        box-shadow: var(--shadow-card-hover);
        max-height: calc(100vh - 100%);
        overflow-y: auto;
        flex-wrap: nowrap;
        padding-bottom: .5rem;
    }
    .main-nav__list.is-open { display: flex; }
    .main-nav__list li { width: 100%; border-bottom: 1px solid var(--color-border); }
    .main-nav__list > li > a {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: .8rem 1.25rem;
        width: 100%;
        font-size: 1rem;
    }
    /* En móvil el subrayado animado estorba: lo desactivamos */
    .main-nav__list > li > a::after { display: none; }
    .main-nav__list > li.is-active > a { background: var(--color-cream-alt); color: var(--color-orange); }
    .main-nav__list .caret { margin-left: auto; transition: transform .2s ease; }
    /* En móvil el submenú está COLAPSADO por defecto: se abre al tocar Categorías/Marcas */
    .main-nav__list .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        background: var(--color-cream-alt);
        padding: 0;
        display: none;
        min-width: 0;
    }
    .main-nav__list .has-dropdown.submenu-open > .dropdown { display: block; }
    .main-nav__list .has-dropdown.submenu-open > a .caret { transform: rotate(180deg); }
    .main-nav__list .dropdown li:last-child { border-bottom: none; }
    .main-nav__list .dropdown a { padding: .65rem 1.25rem .65rem 2.5rem; min-height: 42px; }
    /* Buscador ocupa todo el ancho arriba del menú móvil */
    .main-nav__search-item { order: -1; padding: .8rem 1.25rem; background: var(--color-cream); }
    .main-nav__search-item .nav-search { width: 100%; height: 44px; }
    .main-nav__search-item .nav-search input { width: 100%; }
    .main-nav__search-item .nav-search button { width: 44px; height: 44px; }
}

/* ===== Footer ===== */
.site-footer {
    background: var(--color-navy);
    color: #d9e2ef;
}
.site-footer a { color: #d9e2ef; }
.site-footer a:hover { color: var(--color-orange); }
.site-footer__inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 2.5rem 1.25rem 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}
.site-footer h4 { color: var(--color-white); margin-bottom: .8rem; font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; font-size: .92rem; }
.site-footer__bottom {
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    padding: 1rem;
    font-size: .82rem;
    color: #b7c3d6;
}
.site-footer__disclosure {
    font-size: .8rem;
    color: #b7c3d6;
    max-width: 640px;
}

/* ===== Buttons / CTA ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: .98rem;
    border: none;
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}
.btn-primary {
    background: var(--color-orange);
    color: var(--color-white);
}
.btn-primary:hover { background: var(--color-orange-dark); color: var(--color-white); transform: translateY(-1px); }
.btn-outline {
    background: transparent;
    border: 2px solid var(--color-navy);
    color: var(--color-navy);
}
.btn-outline:hover { background: var(--color-navy); color: var(--color-white); }
.btn-block { width: 100%; }

.cta-block { text-align: center; margin: 1.75rem 0; }
.cta-block__disclosure {
    display: block;
    margin-top: .5rem;
    font-size: .78rem;
    color: var(--color-text-muted);
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Hero (home) ===== */
.hero {
    position: relative;
    background:
        radial-gradient(1100px 380px at 85% -10%, rgba(236,121,32,.12), transparent 60%),
        linear-gradient(135deg, var(--color-cream-alt), var(--color-cream));
    padding: 3.5rem 0;
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 3rem;
    align-items: center;
}
.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: var(--color-white);
    color: var(--color-navy);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-card);
    padding: .4rem .9rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
}
.hero h1 { margin-bottom: .75rem; }
.hero__accent { color: var(--color-orange); }
.hero p { color: var(--color-text-muted); font-size: 1.08rem; max-width: 520px; }
.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 1.4rem;
}
.hero__actions .btn { padding: .85rem 1.75rem; font-size: 1.02rem; }
.btn-ghost {
    background: transparent;
    color: var(--color-navy);
    border: 2px solid var(--color-navy);
}
.btn-ghost:hover { background: var(--color-navy); color: var(--color-white); transform: translateY(-1px); }
.hero__stats {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
    font-size: 1.7rem;
    line-height: 1;
    color: var(--color-navy);
    font-weight: 800;
}
.hero__stats span { font-size: .82rem; color: var(--color-text-muted); margin-top: .2rem; }
.hero__stats li + li { padding-left: 2rem; border-left: 1px solid var(--color-border); }
.hero__image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: visible;
    aspect-ratio: 16 / 10;
}
.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover);
    transition: transform .4s ease;
}
.hero__image:hover img { transform: scale(1.02); }
.hero__image-badge {
    position: absolute;
    left: -18px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: .55rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card-hover);
    padding: .7rem .95rem;
    font-size: .8rem;
    font-weight: 600;
    color: var(--color-navy);
    line-height: 1.2;
    max-width: 220px;
}
.hero__image-badge-star {
    display: flex; align-items: center; justify-content: center;
    width: 34px; height: 34px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white);
    font-size: 1.1rem;
}
@media (max-width: 860px) {
    .hero { padding: 2rem 0; }
    .hero__inner { grid-template-columns: 1fr; text-align: center; gap: 1.75rem; }
    .hero p { margin-left: auto; margin-right: auto; }
    .hero__badge { margin-left: auto; margin-right: auto; }
    .hero__actions { justify-content: center; }
    .hero__stats { justify-content: center; }
    .hero__image { order: -1; aspect-ratio: 16 / 9; }
    .hero__image-badge { left: 10px; bottom: 10px; }
}
@media (max-width: 460px) {
    .hero__stats { gap: 1rem; }
    .hero__stats li + li { padding-left: 1rem; }
    .hero__stats strong { font-size: 1.4rem; }
}

/* ===== Cards ===== */
.card-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.card-grid > * { flex: 0 1 267px; }
.card-grid--3 > * { flex-basis: 330px; }
.card-grid--tight { gap: 1.1rem; }
@media (max-width: 720px) {
    .card-grid > * { flex-basis: 100%; }
}

/* Carrusel horizontal (guías en móvil) */
@media (max-width: 720px) {
    .card-grid--carousel {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding-bottom: 1rem;
        margin: 0 -1.25rem;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
        scrollbar-width: thin;
    }
    .card-grid--carousel > * {
        flex: 0 0 82%;
        scroll-snap-align: center;
    }
    .card-grid--carousel::-webkit-scrollbar { height: 6px; }
    .card-grid--carousel::-webkit-scrollbar-thumb {
        background: var(--color-orange);
        border-radius: 3px;
    }
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--color-border);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s ease, transform .15s ease, border-color .15s ease;
}
.product-card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: var(--color-orange); }
.product-card__image { aspect-ratio: 1 / 1; overflow: hidden; background: var(--color-white); padding: .9rem; }
.product-card__image img { width: 100%; height: 100%; object-fit: contain; }
.product-card__body { padding: 1rem 1.1rem 1.25rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.product-card__name { font-size: 1.02rem; color: var(--color-navy); font-weight: 700; }
.product-card__name a { color: inherit; }
.product-card__intro { font-size: .88rem; color: var(--color-text-muted); flex: 1; }
.product-card__price { font-weight: 700; color: var(--color-navy); }
.product-card__footer { margin-top: .3rem; }

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    aspect-ratio: 1 / 1;
    display: block;
}
.category-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.category-card:hover img { transform: scale(1.05); }
.category-card__label {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(to top, rgba(10,47,89,.88), rgba(10,47,89,0));
    color: var(--color-white);
    padding: 2.2rem .9rem .8rem;
    font-weight: 700;
    font-size: 1.05rem;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}
.brand-grid a {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    height: 80px;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
}
.brand-grid a:hover { border-color: var(--color-orange); color: var(--color-orange); }
.brand-grid img { max-height: 40px; width: auto; }

.brand-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}
.brand-header__logo {
    width: 110px;
    height: 110px;
    flex-shrink: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .8rem;
}
.brand-header__logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
@media (max-width: 560px) {
    .brand-header { flex-direction: column; text-align: center; }
}

/* ===== Star rating ===== */
.stars { color: var(--color-star); letter-spacing: 1px; font-size: 1rem; white-space: nowrap; }
.stars__value { color: var(--color-text-muted); font-size: .85rem; margin-left: .35rem; }
.stars-wrap { position: relative; display: inline-block; font-size: 1.05rem; line-height: 1; letter-spacing: 2px; white-space: nowrap; vertical-align: middle; }
.stars-wrap .stars-back { color: #d9d9d9; }
.stars-wrap .stars-front { color: var(--color-star); position: absolute; top: 0; left: 0; overflow: hidden; }

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    font-size: .85rem;
    color: var(--color-text-muted);
    margin: 1rem 0;
}
.breadcrumbs a { color: var(--color-text-muted); }
.breadcrumbs a:hover { color: var(--color-orange); }
.breadcrumbs span[aria-current] { color: var(--color-navy); font-weight: 600; }

/* ===== Category page ===== */
.category-hero { position: relative; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 1.5rem; }
.category-hero img { width: 100%; max-height: 340px; object-fit: cover; }
/* Solo margen vertical, para no anular el centrado (margin:0 auto) cuando se combina con .container */
.content-block { margin-top: 2rem; margin-bottom: 2rem; }
.content-block h2 { border-left: 5px solid var(--color-orange); padding-left: .7rem; }
/* Título y cuerpo alineados al borde izquierdo del contenedor (a la altura del logo), como el resto de secciones */
.content-block-body { max-width: 820px; margin: 0; }

/* ===== Product / review page ===== */
.product-header { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start; margin-bottom: 1rem; }
@media (max-width: 780px) { .product-header { grid-template-columns: 1fr; } }
.gallery__main { border-radius: var(--radius-md); overflow: hidden; background: var(--color-white); box-shadow: var(--shadow-card); margin-bottom: .6rem; aspect-ratio: 4/3; padding: 1.4rem; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.gallery__thumbs { display: flex; gap: .5rem; flex-wrap: wrap; }
.gallery__thumbs img { width: 66px; height: 66px; object-fit: contain; background: var(--color-white); padding: 4px; border-radius: var(--radius-sm); border: 2px solid var(--color-border); cursor: pointer; transition: border-color .15s ease, transform .15s ease; box-sizing: border-box; }
.gallery__thumbs img:hover { transform: translateY(-2px); border-color: var(--color-cream-alt); }
.gallery__thumbs img.is-active { border-color: var(--color-orange); }
.gallery__thumbs img:focus-visible { outline: none; box-shadow: var(--focus-ring); }

.product-summary__intro { color: var(--color-text-muted); }
.product-summary__price { font-size: 1.3rem; font-weight: 800; color: var(--color-navy); margin: .5rem 0; }

.spec-table { border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); background: var(--color-white); }
.spec-table th, .spec-table td { text-align: left; padding: .65rem .9rem; border-bottom: 1px solid var(--color-border); font-size: .92rem; }
.spec-table th { width: 42%; color: var(--color-text-muted); font-weight: 600; }
.spec-table tbody tr:nth-child(even) { background: var(--color-cream); }
.spec-table tbody tr:last-child th, .spec-table tbody tr:last-child td { border-bottom: none; }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .pros-cons { grid-template-columns: 1fr; } }
.pros-cons__col { background: var(--color-white); border-radius: var(--radius-md); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-card); }
.pros-cons__col--pros h3 { color: var(--color-success); }
.pros-cons__col--cons h3 { color: #b3261e; }
.pros-cons__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; font-size: .93rem; }
.pros-cons__col li::before { content: "✔"; color: var(--color-success); margin-right: .5rem; }
.pros-cons__col--cons li::before { content: "✕"; color: #b3261e; }

.lightbox-overlay {
    position: fixed; inset: 0; background: rgba(10,20,35,.9);
    display: none; align-items: center; justify-content: center; z-index: 100; padding: 2rem;
}
.lightbox-overlay.is-open { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); }
.lightbox-overlay__close { position: absolute; top: 1.2rem; right: 1.5rem; color: #fff; font-size: 2rem; background: none; border: none; cursor: pointer; }

/* ===== Forms (contacto / panel) ===== */
.form-field { margin-bottom: 1.1rem; display: flex; flex-direction: column; gap: .35rem; }
.form-field label { font-weight: 600; font-size: .92rem; color: var(--color-navy); }
.form-field input, .form-field textarea, .form-field select {
    padding: .65rem .8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: .95rem;
    background: var(--color-white);
}
.form-field textarea { min-height: 110px; resize: vertical; }
.form-field--hidden { position: absolute; left: -9999px; }
.form-hint { font-size: .8rem; color: var(--color-text-muted); }
.form-alert { padding: .8rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1.2rem; font-size: .9rem; }
.form-alert--success { background: #e6f4ea; color: #1e4620; }
.form-alert--error { background: #fdecea; color: #7a1f16; }

/* ===== Admin panel ===== */
.panel-body { background: #f2f4f7; min-height: 100vh; }
.panel-shell { display: flex; min-height: 100vh; }
.panel-sidebar { width: 220px; background: var(--color-navy); color: #fff; flex-shrink: 0; }
.panel-sidebar__brand { padding: 1.2rem; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.15); }
.panel-sidebar nav ul { list-style: none; padding: 0; margin: 0; }
.panel-sidebar nav a { display: block; padding: .75rem 1.2rem; color: #cdd8e8; font-size: .92rem; }
.panel-sidebar nav a:hover, .panel-sidebar nav a.is-active { background: var(--color-navy-dark); color: #fff; }
.panel-main { flex: 1; padding: 1.75rem 2rem; max-width: 980px; }
.panel-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.4rem; }
.panel-card { background: #fff; border-radius: var(--radius-md); padding: 1.4rem 1.6rem; box-shadow: var(--shadow-card); margin-bottom: 1.4rem; }
.panel-table { width: 100%; border-collapse: collapse; }
.panel-table th, .panel-table td { padding: .6rem .7rem; border-bottom: 1px solid var(--color-border); font-size: .9rem; text-align: left; }
.panel-table tr:hover { background: #fafbfc; }
.badge { display: inline-block; padding: .15rem .55rem; border-radius: 20px; font-size: .75rem; font-weight: 700; }
.badge--on { background: #e6f4ea; color: #1e4620; }
.badge--off { background: #f1f1f1; color: #666; }
.login-shell { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--color-cream-alt); }
.login-card { background: #fff; padding: 2.2rem; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; max-width: 360px; text-align: center; }
.login-card img { height: 50px; margin: 0 auto 1rem; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.repeatable-row { display: flex; gap: .5rem; margin-bottom: .5rem; align-items: center; }
.repeatable-row input, .repeatable-row textarea { flex: 1; }
.link-btn { background: none; border: none; color: #b3261e; cursor: pointer; font-size: .85rem; }

/* ===== Homepage: ayuda para decidir ===== */
.decision-helper__chips { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.2rem; }

/* ===== Homepage: pasos de compra ===== */
.steps-list {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 1.2rem;
    margin: 2rem 0;
}
.steps-list__item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    padding: 1.8rem 1.4rem;
    box-shadow: var(--shadow-card);
    text-align: center;
    height: 100%;
    border-top: 4px solid var(--color-orange);
    transition: transform .2s ease, box-shadow .2s ease;
}
.steps-list__item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card-hover);
}
.steps-list__icon-wrap {
    position: relative;
    width: 72px;
    height: 72px;
    margin: 0 auto 1.1rem;
}
.steps-list__icon {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, var(--color-navy-light), var(--color-navy));
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
}
.steps-list__icon svg { width: 32px; height: 32px; }
.steps-list__num {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: var(--color-orange);
    color: var(--color-white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: .8rem;
    border: 3px solid var(--color-white);
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
}
.steps-list__item h3 {
    font-size: 1.2rem;
    margin-bottom: .5rem;
}
.steps-list__item p {
    margin-bottom: 0;
    font-size: .95rem;
    color: var(--color-text-muted);
}
.steps-list__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-orange);
    opacity: .55;
}
.steps-list__arrow svg { width: 28px; height: 28px; }
@media (max-width: 860px) {
    .steps-list { grid-template-columns: 1fr; }
    .steps-list__arrow { display: none; }
}

/* ===== Contacto: bloque de referido a agencia ===== */
.agency-cta {
    margin-top: 2rem;
    padding: 1.6rem 1.8rem;
    background: var(--color-cream-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    text-align: center;
}
.agency-cta h2 { margin-bottom: .6rem; }
.agency-cta p { margin-bottom: 1rem; }

/* ===== Marca: reseña destacada, tabla de precios, opiniones ===== */
.featured-review {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.75rem;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    align-items: stretch;
}
.featured-review__image { display: block; background: var(--color-white); padding: 1.2rem; }
.featured-review__image img { width: 100%; height: 100%; object-fit: contain; }
.featured-review__body { padding: 1.5rem 1.75rem 1.5rem 0; display: flex; flex-direction: column; gap: .6rem; justify-content: center; }
.featured-review__body h3 { font-size: 1.25rem; }
.featured-review__body h3 a { color: var(--color-navy); }
.featured-review__body p { color: var(--color-text-muted); }
@media (max-width: 700px) {
    .featured-review { grid-template-columns: 1fr; }
    .featured-review__image { aspect-ratio: 16/9; }
    .featured-review__body { padding: 1.25rem; }
}

.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: var(--color-white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card); }
.price-table th, .price-table td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--color-border); font-size: .9rem; white-space: nowrap; }
.price-table th { color: var(--color-text-muted); font-weight: 600; background: var(--color-cream-alt); }
.price-table tbody tr:hover { background: var(--color-cream); }
.price-table tr:last-child td { border-bottom: none; }
.price-table__thumb { width: 48px; height: 48px; max-width: none; min-width: 48px; object-fit: contain; border-radius: var(--radius-sm); background: var(--color-white); border: 1px solid var(--color-border); padding: 3px; }
.price-table td:first-child { width: 60px; }

.reviews-summary-list { display: flex; flex-direction: column; gap: .9rem; }
.reviews-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    padding: 1rem 1.25rem;
    flex-wrap: wrap;
}
.reviews-summary-item a strong { color: var(--color-navy); }

/* ===== Byline / autor ===== */
.byline { display: flex; align-items: center; gap: .75rem; margin: .5rem 0 1.5rem; }
.byline__avatar {
    width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    background: var(--color-navy); color: var(--color-white);
    display: flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none;
}
.byline__avatar img { width: 100%; height: 100%; object-fit: cover; }
.byline__meta { display: flex; flex-direction: column; font-size: .85rem; line-height: 1.4; }
.byline__by { color: var(--color-text); }
.byline__by a { color: var(--color-navy); font-weight: 700; }
.byline__role, .byline__dates { color: var(--color-text-muted); font-size: .8rem; }

.author-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin: 1.2rem 0; }
.author-card {
    display: flex; gap: 1rem; align-items: center;
    background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); padding: 1rem;
}
.author-card__avatar, .author-header__avatar {
    width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; overflow: hidden;
    background: var(--color-navy); color: var(--color-white);
    display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.5rem;
}
.author-card__avatar img, .author-header__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-card__body h3 { font-size: 1.05rem; margin: 0; }
.author-card__body h3 a { color: var(--color-navy); }
.author-card__role { color: var(--color-orange); font-weight: 600; font-size: .88rem; margin: .15rem 0; }
.author-card__cred { color: var(--color-text-muted); font-size: .82rem; }

.author-header { display: flex; gap: 1.25rem; align-items: center; margin: 1rem 0 1.5rem; }
.author-header__avatar { width: 90px; height: 90px; font-size: 2rem; }
.author-header__role { color: var(--color-orange); font-weight: 600; margin: .2rem 0; }
.author-header__cred { color: var(--color-text-muted); font-size: .9rem; }
@media (max-width: 560px) { .author-header { flex-direction: column; text-align: center; } }

/* ===== Fuentes ===== */
.sources {
    background: var(--color-cream-alt); border: 1px solid var(--color-border);
    border-left: 4px solid var(--color-orange);
    border-radius: var(--radius-md); padding: 1.25rem 1.4rem; margin: 2rem 0;
}
.sources__list a { font-weight: 600; text-decoration: underline; text-decoration-color: rgba(236,121,32,.4); }
.sources__list a:hover { text-decoration-color: var(--color-orange); }
.sources h2 { border: none; padding: 0; margin-top: 0; font-size: 1.2rem; }
.sources__intro { font-size: .85rem; color: var(--color-text-muted); }
.sources__list { margin: .6rem 0 0; padding-left: 1.1rem; display: flex; flex-direction: column; gap: .5rem; font-size: .9rem; }
.sources__note { color: var(--color-text-muted); }

/* ===== Ranking ===== */
.ranking-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.ranking-item {
    display: grid; grid-template-columns: auto 90px 1fr auto; gap: 1rem; align-items: center;
    background: var(--color-white); border: 1px solid var(--color-border);
    border-radius: var(--radius-md); box-shadow: var(--shadow-card); padding: 1rem 1.25rem;
}
.ranking-item__pos {
    width: 44px; height: 44px; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    background: var(--color-navy); color: var(--color-white);
    border-radius: 50%; font-size: 1.05rem; font-weight: 800;
}
.ranking-item:first-child .ranking-item__pos { background: var(--color-orange); box-shadow: 0 0 0 4px rgba(236,121,32,.18); }
.ranking-item__img { width: 90px; height: 90px; border-radius: var(--radius-sm); overflow: hidden; background: var(--color-white); border: 1px solid var(--color-border); padding: 6px; }
.ranking-item__img img { width: 100%; height: 100%; object-fit: contain; }
.ranking-item__name { font-size: 1.05rem; margin: 0 0 .3rem; }
.ranking-item__name a { color: var(--color-navy); }
.ranking-item__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; }
.ranking-item__cat { font-size: .82rem; color: var(--color-text-muted); }
.ranking-item__facts { font-size: .9rem; color: var(--color-text); margin-top: .3rem; }
.ranking-item__cta { display: flex; flex-direction: column; gap: .4rem; }
@media (max-width: 720px) {
    .ranking-item { grid-template-columns: auto 70px 1fr; }
    .ranking-item__img { width: 70px; height: 70px; }
    .ranking-item__cta { grid-column: 1 / -1; flex-direction: row; }
    .ranking-item__cta .btn { flex: 1; }
}

/* ===== Tabla comparativa / costo por kilo ===== */
.compare-table th:first-child { width: 30%; color: var(--color-text-muted); }
.compare-table td { text-align: center; vertical-align: middle; }
.compare-table thead th { text-align: center; background: var(--color-cream-alt); }
/* Celda ganadora de la fila (mejor calificación / menor costo por kilo) */
.compare-table td.is-better {
    background: rgba(46, 125, 50, .09);
    position: relative;
}
.compare-table td.is-better::after {
    content: "✓ mejor";
    display: block;
    font-size: .68rem;
    font-weight: 700;
    color: var(--color-success);
    letter-spacing: .02em;
    margin-top: .15rem;
}
.cost-kg-table td:nth-child(3), .cost-kg-table td:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-kg-table td:nth-child(4) { color: var(--color-navy); font-weight: 700; }
.cost-kg-table tbody tr:first-child { background: rgba(46, 125, 50, .07); }
.cost-kg-table tbody tr:first-child td:nth-child(4)::after { content: " · más barato"; color: var(--color-success); font-weight: 600; font-size: .78rem; }
.cost-kg-note { font-size: .8rem; color: var(--color-text-muted); margin-top: .6rem; }

/* ===== FAQ (acordeón) ===== */
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 0 1.1rem;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.faq-item[open] { border-color: var(--color-orange); box-shadow: var(--shadow-card); }
.faq-item summary {
    list-style: none;
    cursor: pointer;
    font-weight: 700;
    color: var(--color-navy);
    padding: 1rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--color-orange);
    line-height: 1;
    flex-shrink: 0;
    transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item__answer { padding: 0 0 1rem; color: var(--color-text); }
.faq-item__answer p { margin-top: 0; }

/* ===== 404 ===== */
.page-404 { text-align: center; padding: 4rem 1rem; }
.page-404 .category-links { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }

/* ===== Página de búsqueda ===== */
.search-page__form { display: flex; gap: .6rem; margin: 1.2rem 0 1.5rem; max-width: 640px; }
.search-page__form input {
    flex: 1;
    padding: .75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    background: var(--color-white);
}
.search-page__hint, .search-page__count { color: var(--color-text-muted); }
.search-page__count { margin-bottom: 1.5rem; }
.search-page__empty { background: var(--color-cream-alt); border-radius: var(--radius-md); padding: 1.5rem; }
.search-page__chips { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.5rem; }
.search-page .card-grid, .container > .card-grid { margin-bottom: 2rem; }

/* ===== Ofertas ===== */
.offers-hero { margin-bottom: 1.8rem; }
.offers-hero__badge {
    display: inline-block;
    background: var(--color-orange);
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    padding: .3rem .8rem;
    border-radius: 999px;
    margin-bottom: .8rem;
}
.offers-hero p { color: var(--color-text-muted); max-width: 640px; }
.offers-empty { background: var(--color-cream-alt); border-radius: var(--radius-md); padding: 1.6rem; }
.offer-card { position: relative; }
.offer-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    background: #d33; 
    color: #fff;
    font-weight: 800;
    font-size: .82rem;
    padding: .25rem .6rem;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.offer-card__cat { font-size: .82rem; color: var(--color-text-muted); margin: 0 0 .3rem; }
.offer-card__prices { display: flex; align-items: baseline; gap: .5rem; margin: .5rem 0; }
.offer-card__now { font-size: 1.35rem; font-weight: 800; color: var(--color-navy); }
.offer-card__was { font-size: .95rem; color: var(--color-text-muted); text-decoration: line-through; }
.offer-card__ends { font-size: .8rem; color: #c0392b; margin: 0 0 .5rem; }
.offer-card__actions { display: flex; flex-direction: column; gap: .5rem; }
.offers-disclosure { font-size: .82rem; color: var(--color-text-muted); margin-top: 1.5rem; }

/* ===== Recomendador de alimento (Food Finder) ===== */
.food-finder { background: linear-gradient(160deg, var(--color-cream-alt), var(--color-cream)); }
.ff-head { text-align: center; max-width: 640px; margin: 0 auto 1.6rem; }
.ff-badge {
    display: inline-block; background: var(--color-orange); color: #fff;
    font-weight: 700; font-size: .82rem; padding: .3rem .85rem; border-radius: 999px; margin-bottom: .7rem;
}
.ff-head p { color: var(--color-text-muted); }
.ff-card {
    max-width: 720px; margin: 0 auto; background: var(--color-white);
    border: 1px solid var(--color-border); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card-hover); padding: 1.6rem 1.6rem 1.1rem; overflow: hidden;
}
.ff-progress { height: 6px; background: var(--color-cream-alt); border-radius: 999px; overflow: hidden; margin-bottom: 1.4rem; }
.ff-progress__bar { height: 100%; background: var(--color-orange); border-radius: 999px; transition: width .3s ease; }
.ff-step { display: none; animation: ffFade .25s ease; }
.ff-step.is-active { display: block; }
@keyframes ffFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.ff-q { font-size: 1.2rem; font-weight: 700; color: var(--color-navy); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .5rem; }
.ff-q__num {
    display: inline-flex; align-items: center; justify-content: center;
    width: 28px; height: 28px; flex-shrink: 0; border-radius: 50%;
    background: var(--color-navy); color: #fff; font-size: .9rem;
}
.ff-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.ff-opt {
    display: flex; flex-direction: column; align-items: center; gap: .2rem; text-align: center;
    background: var(--color-white); border: 2px solid var(--color-border); border-radius: var(--radius-md);
    padding: 1rem .8rem; cursor: pointer; font-weight: 700; color: var(--color-navy);
    font-size: 1rem; transition: border-color .15s ease, transform .12s ease, background-color .15s ease;
}
.ff-opt:hover { border-color: var(--color-orange); transform: translateY(-2px); }
.ff-opt.is-selected { border-color: var(--color-orange); background: #fff7ef; }
.ff-opt__emoji { font-size: 1.7rem; line-height: 1; }
.ff-opt small { font-weight: 500; color: var(--color-text-muted); font-size: .78rem; }
.ff-nav { display: flex; align-items: center; justify-content: space-between; margin-top: 1.3rem; }
.ff-back { background: none; border: none; color: var(--color-navy); font-weight: 600; cursor: pointer; padding: .3rem; }
.ff-back:hover { color: var(--color-orange); }
.ff-stepcount { font-size: .85rem; color: var(--color-text-muted); margin-left: auto; }

/* Resultados */
.ff-recos { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.2rem; }
.ff-reco { border: 1px solid var(--color-border); border-radius: var(--radius-md); overflow: hidden; }
.ff-reco--top { border-color: var(--color-orange); box-shadow: 0 4px 16px rgba(236,121,32,.18); }
.ff-reco__crown { display: block; background: var(--color-orange); color: #fff; font-weight: 700; font-size: .82rem; padding: .35rem .9rem; }
.ff-reco__body { display: flex; gap: 1rem; padding: 1rem; align-items: center; }
.ff-reco__img { flex-shrink: 0; width: 90px; height: 90px; background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-sm); padding: 5px; }
.ff-reco__img img { width: 100%; height: 100%; object-fit: contain; }
.ff-reco__info { flex: 1; min-width: 0; }
.ff-reco__info h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.ff-reco__why { font-size: .85rem; color: var(--color-success); margin: 0 0 .4rem; font-weight: 600; }
.ff-reco__price { font-size: 1.15rem; font-weight: 800; color: var(--color-navy); margin: 0 0 .6rem; }
.ff-reco__actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.ff-reco__actions .btn { padding: .5rem 1rem; font-size: .85rem; }
.ff-restart { width: 100%; }
@media (max-width: 560px) {
    .ff-card { padding: 1.1rem 1rem .9rem; }
    .ff-reco__body { flex-direction: column; text-align: center; }
    .ff-reco__actions { justify-content: center; }
    .ff-reco__img { width: 110px; height: 110px; }
}

/* ===== Banner CTA al recomendador ===== */
.finder-banner {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: linear-gradient(135deg, var(--color-navy), var(--color-navy-light));
    border-radius: var(--radius-lg);
    border-left: 5px solid var(--color-orange);
    padding: 1.2rem 1.4rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-card);
}
.finder-banner__icon {
    font-size: 2.2rem;
    line-height: 1;
    flex-shrink: 0;
}
.finder-banner__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .2rem; }
.finder-banner__text strong { color: #fff; font-size: 1.08rem; }
.finder-banner__text span { color: #d7e2f0; font-size: .92rem; line-height: 1.45; }
.finder-banner__cta { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 720px) {
    .finder-banner { flex-direction: column; text-align: center; gap: .8rem; padding: 1.2rem 1rem; }
    .finder-banner__cta { width: 100%; }
}

/* ===== Encabezado "VS" en comparativas ===== */
.vs-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    margin: 1.5rem 0 2rem;
}
.vs-header__side {
    flex: 1;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .6rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1rem;
    box-shadow: var(--shadow-card);
    transition: transform .15s ease, box-shadow .15s ease;
}
.vs-header__side:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); }
.vs-header__side img {
    width: 100%;
    height: 190px;
    object-fit: contain;
    background: var(--color-white);
}
.vs-header__side span {
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    font-size: .95rem;
}
.vs-header__badge {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--color-orange);
    color: #fff;
    font-weight: 800;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(236,121,32,.35);
}
@media (max-width: 640px) {
    .vs-header { flex-direction: column; }
    .vs-header__side { max-width: 100%; width: 100%; }
    .vs-header__side img { height: 220px; }
    .vs-header__badge { margin: -.6rem 0; }
}

/* ===== Foto de portada diseñada para comparativas (cover_image) ===== */
.vs-cover {
    margin: 1.5rem 0 2rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card-hover);
    aspect-ratio: 2 / 1;
    background: var(--color-cream-alt);
}
.vs-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
