/* =========================================================
   CENTRAL - Landing Tarjeta Digital Supermix
   Aislado por body.central-home
   Colores: Azul #1f12a8, Naranja #FFA733
   ========================================================= */

body.central-home {
    background-color: #f5f5f5;
}

/* Contenedor principal */
body.central-home .page-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 15px 40px;
}

/* HERO */
body.central-home .central-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
}

/* Columna texto */
body.central-home .central-hero-text {
    flex: 1 1 360px;
}

body.central-home .central-hero-text h1 {
    font-size: 30px;
    line-height: 1.3;
    color: #1f12a8;
    margin-bottom: 15px;
    font-weight: 700;
}

body.central-home .central-hero-subtitle {
    font-size: 16px;
    color: #444;
    margin-bottom: 20px;
}

body.central-home .central-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    font-size: 15px;
    color: #333;
}

body.central-home .central-hero-bullets li {
    margin-bottom: 6px;
}

/* Botón principal */
body.central-home .central-btn-primary {
    display: inline-block;
    background-color: #FFA733;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

body.central-home .central-btn-primary:hover {
    background-color: #ff8800;
    transform: translateY(-1px);
    color: #ffffff;
}

body.central-home .central-hero-note {
    margin-top: 10px;
    font-size: 13px;
    color: #777;
}

/* Columna visual (tarjeta + familia) */
body.central-home .central-hero-visual {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

/* Tarjeta mockup */
body.central-home .central-card-mock {
    width: 100%;
    max-width: 320px;
    height: 190px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1f12a8, #4836e6);
    color: #ffffff;
    padding: 18px 20px;
    box-shadow: 0 10px 30px rgba(31,18,168,0.45);
    position: relative;
    overflow: hidden;
}

body.central-home .central-card-chip {
    width: 40px;
    height: 28px;
    border-radius: 6px;
    background: linear-gradient(135deg, #fdd17a, #f6b041);
    position: absolute;
    top: 18px;
    right: 20px;
}

body.central-home .central-card-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

body.central-home .central-card-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 35px;
}

body.central-home .central-card-footer {
    font-size: 13px;
    opacity: 0.9;
}

/* Familia */
body.central-home .central-hero-family {
    text-align: center;
    font-size: 14px;
    color: #333;
    background: #ffffff;
    border-radius: 16px;
    padding: 12px 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

body.central-home .central-family-icon {
    font-size: 32px;
    margin-bottom: 6px;
}

/* Secciones */
body.central-home .central-section {
    margin: 40px 0;
    text-align: center;
}

body.central-home .central-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #1f12a8;
    font-weight: 700;
}

/* Pasos */
body.central-home .central-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

body.central-home .central-step {
    flex: 1 1 220px;
    max-width: 260px;
    background: #ffffff;
    border-radius: 16px;
    padding: 18px 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
    text-align: center;
}

body.central-home .central-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    background-color: #FFA733;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

body.central-home .central-step h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: #333;
}

body.central-home .central-step p {
    font-size: 14px;
    color: #555;
}

/* Franja beneficios */
body.central-home .central-benefits-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    background: #1f12a8;
    color: #ffffff;
    border-radius: 18px;
    padding: 16px 12px;
    margin-bottom: 40px;
}

body.central-home .central-benefit {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

body.central-home .central-benefit span {
    font-size: 20px;
}

/* CTA final */
body.central-home .central-final-cta p {
    font-size: 15px;
    margin-bottom: 18px;
}

/* =========================================================
   LIMPIEZA PARA LANDING CENTRAL
   Ocultar cabeceras/elementos de catálogo SOLO en central-home
   ========================================================= */

/* Ocultar barra superior promo, panel superior y menú de categorías */
body.central-home .top-bar,
body.central-home .page-header .panel.wrapper,
body.central-home .navigation {
    display: none !important;
}

/* Ocultar buscador central y enlaces de la derecha */
body.central-home .header-center,
body.central-home .header-right {
    display: none !important;
}

/* Ajustar cabecera para que solo se vea el logo, centrado y limpio */
body.central-home .page-header {
    box-shadow: none;
    border-bottom: none;
    margin-bottom: 0;
}

body.central-home .custom-header,
body.central-home .main-header {
    justify-content: center;
    text-align: center;
    padding: 10px 0;
}

body.central-home .header-left {
    margin: 0 auto;
    justify-content: center;
}

/* Ocultar banner fijo de envíos (abajo) */
body.central-home .promo-banner {
    display: none !important;
}

/* Ocultar carrito flotante si existe */
body.central-home .floating-cart,
body.central-home .floating-toggle,
body.central-home .floating-panel {
    display: none !important;
}

/* Asegurar fondo limpio y que el contenido arranque casi debajo del logo */
body.central-home .page-main {
    padding-top: 10px;
}

body.central-home .columns {
    display: block;
}

/* Responsive */
@media (max-width: 768px) {
    body.central-home .central-hero {
        padding: 20px 16px;
    }

    body.central-home .central-hero-text h1 {
        font-size: 24px;
    }

    body.central-home .central-hero-text {
        order: 1;
    }

    body.central-home .central-hero-visual {
        order: 2;
    }

    body.central-home .central-steps {
        flex-direction: column;
    }

    body.central-home .central-step {
        max-width: 100%;
    }

    body.central-home .central-benefits-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================================
   OCULTAR MENÚ DE CATEGORÍAS DEL TEMA SUPERMERCADO
   SOLO EN LA LANDING CENTRAL
   ========================================================= */

/* Menú horizontal personalizado del tema */
body.central-home nav,
body.central-home .navigation,
body.central-home .main-navigation,
body.central-home .categories-menu,
body.central-home .custom-categories,
body.central-home .header-categories,
body.central-home .header-navigation,
body.central-home .nav-sections,
body.central-home .nav-sections-item,
body.central-home .nav-sections-item-content,
body.central-home .nav-sections-item-title {
    display: none !important;
}

/* También ocultamos cualquier lista UL visible debajo del logo */
body.central-home .page-header ul,
body.central-home .page-header li {
    display: none !important;
}

/* Asegurar que la cabecera queda limpia solo con el logo */
body.central-home .page-header .header.content {
    display: flex !important;
    justify-content: center !important;
}

/* =========================================================
   OCULTAR SELECTOR DE IDIOMA (SOLO EN CENTRAL)
   ========================================================= */

body.central-home .language-switcher,
body.central-home .switcher-language,
body.central-home .store-language,
body.central-home .page-header .switcher,
body.central-home .page-header .switcher .options,
body.central-home .page-header .switcher .label {
    display: none !important;
}

/* También ocultamos cualquier icono o bandera */
body.central-home img[alt*="ES"],
body.central-home img[alt*="EN"],
body.central-home .lang,
body.central-home .flag {
    display: none !important;
}

/* =========================================================
   HEADER CENTRAL - Logo como tarjeta flotante
   SOLO en body.central-home
   ========================================================= */

/* Fondo general del header más limpio */
body.central-home .page-header {
    background: #f5f5f5;
    border-bottom: none;
}

/* Contenedor del logo como “card” */
body.central-home .header-left {
    margin: 20px auto 5px auto;
    padding: 8px 26px;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Efecto hover elegante */
body.central-home .header-left:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.12);
}

/* Logo un poco más grande y nítido */
body.central-home .header-left .logo img {
    max-width: 230px;
    height: auto;
    display: block;
}

/* Centrar el bloque en el header */
body.central-home .custom-header,
body.central-home .main-header {
    justify-content: center !important;
    text-align: center;
}

/* =========================================================
   HEADER CENTRAL - Logo limpio con animación "se junta"
   ========================================================= */

/* Reset del contenedor del logo: sin pill blanca ni sombra */
body.central-home .header-left {
    margin: 20px auto 10px auto;
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; /* para efecto de "unión" */
}

/* Logo un poco más grande, esquinas redondeadas y animación */
body.central-home .header-left .logo img {
    max-width: 260px;
    height: auto;
    display: block;
    border-radius: 12px;
    transform-origin: center;
    transform: scaleX(0);
    opacity: 0;
    animation: central-logo-reveal 0.7s ease-out forwards;
}

/* Animación: parte del centro y se “abre” hacia los lados */
@keyframes central-logo-reveal {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    60% {
        transform: scaleX(1.05);
        opacity: 1;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}

/* =========================================================
   BULLETS DEL HERO - Puntos redondeados con check
   ========================================================= */

body.central-home .central-hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

body.central-home .central-hero-bullets li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 8px;
    font-size: 15px;
}

/* Bolita redonda naranja con check blanco */
body.central-home .central-hero-bullets li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #FFA733;
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =========================================================
   CABECERA CENTRAL - Fondo gris uniforme
   ========================================================= */

body.central-home,
body.central-home .page-wrapper,
body.central-home .page-header,
body.central-home .page-header .header.content {
    background-color: #f5f5f5 !important;
    box-shadow: none;
    border-bottom: none;
}

/* CABECERA CENTRAL - fondo gris uniforme */
body.central-home,
body.central-home .page-wrapper,
body.central-home .page-header,
body.central-home .page-header .header.content {
    background-color: #f5f5f5 !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* =========================================================
   CABECERA CENTRAL - eliminar franja blanca superior
   ========================================================= */

/* Gris global */
body.central-home,
body.central-home html {
    background-color: #f5f5f5 !important;
}

/* Cualquier contenedor de cabecera que use el tema */
body.central-home .page-header,
body.central-home .page-header > .header,
body.central-home .page-header > .header.content,
body.central-home .page-header .header.content,
body.central-home .custom-header,
body.central-home .main-header,
body.central-home .page-header::before,
body.central-home .page-header::after {
    background-color: #f5f5f5 !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Reducir separación entre cabecera y hero */
body.central-home .central-hero {
    margin-top: 15px;
}

/* Gris global para toda la app CENTRAL */
body.central-home,
body.central-home html,
body.central-home .page-wrapper {
    background-color: #f5f5f5 !important;
}

/* Header siempre gris, sin sombras ni bordes */
body.central-home .page-header,
body.central-home .page-header .header,
body.central-home .page-header .header.content {
    background-color: #f5f5f5 !important;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* Gris global para toda la app CENTRAL */
body.central-home,
body.central-home html,
body.central-home .page-wrapper {
    background-color: #f5f5f5 !important;
}

/* Header siempre gris, sin sombras ni bordes */
body.central-home .page-header,
body.central-home .page-header .header,
body.central-home .page-header .header.content {
    background-color: #f5f5f5 !important;
    box-shadow: none !important;
    border-bottom: none !important;
}
