.container {
    padding: unset;
}

/* ================================================================
   .top_left (logo) y .top_right (lupa + login + carrito)
   >1370px:     padding 0 — el .container ya tiene márgenes auto.
   769–1370px:  30px — la pantalla aún pega al contenido.
   769–1024px:  16px — tablet, espacio reducido.
   ≤768px:      .top oculto, no aplica.
   ================================================================ */
@media (min-width: 1371px) {
    #header-site .top_left  { padding-left:  0; }
    #header-site .top_right { padding-right: 0; }
}

@media (min-width: 1025px) and (max-width: 1370px) {
    #header-site .top_left  { padding-left:  30px; }
    #header-site .top_right { padding-right: 30px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
    #header-site .top_left  { padding-left:  16px; }
    #header-site .top_right { padding-right: 16px; }
}

.ch-blend-image {
  mix-blend-mode: multiply;   /* white becomes invisible over darker bg */
  display: block;
}

/* Barra roja y logo responsivo */
    .ch-barra-roja {
        background: #880000;
        color: #ffffffCC;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 60px;
        flex-direction: row;
        padding: 0 20px;
    }

    .ch-barra-roja .ch-barra-texto {
        margin-left: 20px;
        font-size: 0.9em;
        cursor: default;
    }

    .ch-barra-texto-enfasis {
        border-bottom: 1px solid #ffffffcc;
        padding-bottom: 2px;
        font-family: "Domaine Disp";
        font-style: italic;
    }

    .ch-barra-roja .ch-barra-logo {
        margin-right: 20px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    .ch-barra-roja .ch-barra-logo img {
        height: 40px;
        display: inline-block;
        vertical-align: middle;
    }

    .ch-barra-roja .ch-barra-logo span {
        display: none;
        font-family: 'Playfair Display', serif;
        font-weight: bold;
        font-size: 2em;
        letter-spacing: 1px;
    }

    /* Tablet */
    @media (max-width: 768px) {
        .ch-barra-roja {
            height: 50px;
            padding: 0 15px;
        }
        .ch-barra-roja .ch-barra-texto {
            margin-left: 10px;
            font-size: 0.8em;
        }
        .ch-barra-roja .ch-barra-logo {
            margin-right: 10px;
        }
        .ch-barra-roja .ch-barra-logo img {
            height: 35px;
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        .ch-barra-roja {
            display: none; /* Mantengo el comportamiento actual */
        }
    }

    /* Banner y título destacado responsivo */
    .ch-banner-principal {
        position: relative;
        width: 100%;
        overflow: hidden;
    }

    .ch-banner-principal img {
        width: 100%;
        display: block;
        max-height: 360px;
        object-fit: cover;
    }

    /* Overlay degradado de izquierda (30%) a derecha (15%) */
    .ch-banner-principal .ch-banner-overlay {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        pointer-events: none;
        background: linear-gradient(90deg,
                #32222280 0%,
                #88000000 100%);
        z-index: 1;
    }

    .ch-banner-titulo {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: end;
        padding: 50px 40px;
        z-index: 2;
    }

    .ch-banner-titulo h1.ch-banner-titulo-principal {
        color: #fff;
        font-size: 36px;
        font-family: "Domaine Disp", serif;
        font-weight: 600;
        text-shadow: 2px 2px 1px #1d1d1b;
        letter-spacing: 0.05em;
        line-height: 1.1;
        text-align: left;
        word-break: break-word;
        display: block;
        margin-bottom: 10px;
    }

    .ch-banner-titulo span.ch-banner-subtitulo {
        color: #fff;
        font-size: 16px;
        font-family: "Domaine Disp", serif;
        font-weight: 400;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
        letter-spacing: 0.01em;
        line-height: 1.2;
        margin-top: 0;
        display: block;
        opacity: 0.85;
        text-align: center;
    }

    .ch-subtitulo-banner {
        text-align: center;
        padding: 0 20px;
    }

    /* Banner sin subtítulo: eliminar margen inferior del título */
    .ch-banner-sin-subtitulo h1.ch-cafe-contenido,
    .ch-banner-sin-subtitulo h1.ch-cafe-contenido span {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    .ch-banner-sin-subtitulo {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .ch-banner-sin-subtitulo .ch-subtitulo-banner {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Tablet */
    @media (max-width: 1024px) {
        .ch-banner-titulo {
            padding: 40px 30px;
        }
        .ch-banner-titulo h1.ch-banner-titulo-principal {
            font-size: 32px;
        }
        .ch-banner-titulo span.ch-banner-subtitulo {
            font-size: 15px;
        }
    }

    /* Tablet pequeña */
    @media (max-width: 768px) {
        .ch-banner-titulo {
            padding: 30px 25px;
        }
        .ch-banner-titulo h1.ch-banner-titulo-principal {
            font-size: 28px;
        }
        .ch-banner-titulo span.ch-banner-subtitulo {
            font-size: 14px;
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        .ch-banner-titulo {
            justify-content: flex-end;
            align-items: center;
            padding: 20px 15px;
            text-align: center;
        }
        .ch-banner-titulo h1.ch-banner-titulo-principal {
            font-size: 24px;
            text-align: center;
            margin-bottom: 8px;
        }
        .ch-banner-titulo span.ch-banner-subtitulo {
            font-size: 14px;
            text-align: center;
        }
    }

    /* Mobile pequeño */
    @media (max-width: 480px) {
        .ch-banner-titulo {
            padding: 15px 10px;
        }
        .ch-banner-titulo h1.ch-banner-titulo-principal {
            font-size: 20px;
        }
        .ch-banner-titulo span.ch-banner-subtitulo {
            font-size: 12px;
        }
    }

    /* ============================================================
       SISTEMA DE THEMES DEL BANNER
       ============================================================
       Los estilos base del banner (arriba) corresponden al Theme 1.
       Cada theme adicional se aplica mediante la clase
       .ch-banner-theme-{N} en el contenedor del banner.
       
       Theme 1: Sin línea. Fuente normal (DM Sans), título y subtítulo
                mismo carácter, cada uno en su línea.
       Theme 2: (por definir)
       Theme 3: (por definir)
       Theme 4: (por definir)
       
       Campo ACF: theme_selection (Select)
       Valores: 1 | 2 | 3 | 4
       ============================================================ */

    /* Theme 1 — Sin línea, fuente normal, título y subtítulo mismo carácter */
    .ch-banner-theme-1 h1.ch-cafe-contenido,
    .ch-banner-theme-1 h1.ch-cafe-contenido span {
        font-family: "DM Sans", Arial, sans-serif;
        font-weight: 600;
    }

    .ch-banner-theme-1 .ch-subtitulo-banner,
    .ch-banner-theme-1 .ch-subtitulo-banner p {
        font-family: "DM Sans", Arial, sans-serif;
        font-weight: 400;
        font-size: 16px;
    }

    /* Theme 1 — Mobile: texto sobre la imagen, abajo a la izquierda */
    @media (max-width: 768px) {
        .ch-banner-theme-1 {
            position: relative;
        }

        .ch-banner-theme-1 .ch-banner-principal img {
            max-height: none;
            min-height: 280px;
        }

        .ch-banner-theme-1 .ch-banner-textos {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 20px 20px;
            z-index: 2;
        }

        .ch-banner-theme-1 .ch-banner-textos h1.ch-cafe-contenido {
            color: #fff;
            text-align: left;
            font-size: 18px;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
            margin: 0 0 4px;
            padding: 0;
        }

        .ch-banner-theme-1 .ch-subtitulo-banner,
        .ch-banner-theme-1 .ch-subtitulo-banner p {
            text-align: left;
            color: #fff;
            font-size: 14px;
            text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
            padding: 0;
            margin: 0;
        }
    }

    /* Theme 1 — Mobile pequeño */
    @media (max-width: 480px) {
        .ch-banner-theme-1 .ch-banner-textos {
            padding: 15px;
        }

        .ch-banner-theme-1 .ch-banner-textos h1.ch-cafe-contenido {
            font-size: 16px;
        }

        .ch-banner-theme-1 .ch-subtitulo-banner,
        .ch-banner-theme-1 .ch-subtitulo-banner p {
            font-size: 13px;
        }
    }

    /* Theme 2 — placeholder para futuro layout
    .ch-banner-theme-2 .ch-banner-principal { }
    .ch-banner-theme-2 .ch-banner-overlay { }
    .ch-banner-theme-2 h1.ch-cafe-contenido { }
    .ch-banner-theme-2 .ch-subtitulo-banner { }
    */

    /* Theme 3 — placeholder para futuro layout
    .ch-banner-theme-3 .ch-banner-principal { }
    .ch-banner-theme-3 .ch-banner-overlay { }
    .ch-banner-theme-3 h1.ch-cafe-contenido { }
    .ch-banner-theme-3 .ch-subtitulo-banner { }
    */

    /* Theme 4 — placeholder para futuro layout
    .ch-banner-theme-4 .ch-banner-principal { }
    .ch-banner-theme-4 .ch-banner-overlay { }
    .ch-banner-theme-4 h1.ch-cafe-contenido { }
    .ch-banner-theme-4 .ch-subtitulo-banner { }
    */

    /* ----------- FIN SISTEMA DE THEMES DEL BANNER ----------- */

    /* ----------- NUEVO ESTILO PARA EL CUERPO DE LA PÁGINA ----------- */
    .ch-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .ch-cafe-body {
        padding: 40px 20px;
        max-width: 1346px;
        width: 100%;
        box-sizing: border-box;
    }

    /* Tablet */
    @media (max-width: 1024px) {
        .ch-cafe-body {
            padding: 35px 18px;
        }
    }

    /* Tablet pequeña */
    @media (max-width: 768px) {
        .ch-cafe-body {
            padding: 30px 15px;
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        .ch-cafe-body {
            padding: 25px 12px;
        }
    }

    /* Mobile pequeño */
    @media (max-width: 480px) {
        .ch-cafe-body {
            padding: 20px 10px;
        }
    }

    .ch-introduccion {
        margin-bottom:40px; 
    }

    /* Margen adicional para banner (equivalente al padding-top de ch-cafe-body) */
    .ch-banner-margen-extra {
        margin-bottom: 40px;
    }

    @media (max-width: 1024px) {
        .ch-banner-margen-extra {
            margin-bottom: 35px;
        }
    }

    @media (max-width: 768px) {
        .ch-banner-margen-extra {
            margin-bottom: 30px;
        }
    }

    @media (max-width: 600px) {
        .ch-banner-margen-extra {
            margin-bottom: 25px;
        }
    }
    
    @media (max-width: 480px) {
        .ch-banner-margen-extra {
            margin-bottom: 20px;
        }
    }

    /* ============================================================
       Menú Nosotros: visible en mobile, debajo del slider
       ============================================================ */
    @media (max-width: 768px) {
        .nosotros_menu {
            display: flex !important;
            flex-wrap: wrap;
            height: auto;
            justify-content: center;
            gap: 0;
            border-bottom: none;
            padding: 0 10px;
        }

        .nosotros_menu a {
            flex: 1 1 auto;
            height: 44px;
            line-height: 44px;
            font-size: 14px;
            min-width: 0;
            padding: 0 8px;
            white-space: nowrap;
        }
    }

    @media (max-width: 480px) {
        .nosotros_menu a {
            font-size: 12px;
            height: 40px;
            line-height: 40px;
            padding: 0 4px;
        }
    }

    .ch-cafe-titulo,
    h1.ch-cafe-contenido,
    .ch-cafe-contenido h2,
    .ch-cafe-contenido h3,
    .ch-cafe-contenido h4 {
        font-family: "Domaine Disp", serif;
        font-weight: 600;
        color: #222;
        margin: unset;
    }

    h1.ch-cafe-contenido,
    h1.ch-cafe-contenido span {
        font-size: 35px;
        margin-top: 40px;
        margin-bottom: 20px;
        text-align: center;
        line-height: 1.2em;
        padding: 0 20px;
    }

    /* Desktop: mostrar título ACF, ocultar título de página */
    .ch-titulo-mobile {
        display: none;
    }

    .ch-titulo-desktop {
        display: block;
    }

    .ch-cafe-titulo {
        font-size: 3em;
    }

    .ch-cafe-contenido h2 {
        font-size: 2.2em;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .ch-cafe-contenido h3 {
        font-size: 1.8em;
        font-weight: 600;
        margin-top: 1em;
    }

    .ch-cafe-contenido h4 {
        font-size: 1.4em;
        font-weight: 600;
        margin-top: 1em;
    }

    .ch-cafe-seccion-titulo {
        font-family: "Domaine Disp", serif;
        font-size: 2.1em;
        font-weight: 600;
        color: #222;
        margin-bottom: 0.3em;
        margin-top: 2em;
        line-height: 1.1;
        position: relative;
    }

    /* Tablet */
    @media (max-width: 1024px) {
        h1.ch-cafe-contenido,
        h1.ch-cafe-contenido span {
            font-size: 32px;
            margin-top: 35px;
        }
        .ch-cafe-titulo {
            font-size: 2.8em;
        }
        .ch-cafe-contenido h2 {
            font-size: 2em;
        }
        .ch-cafe-contenido h3 {
            font-size: 1.6em;
        }
        .ch-cafe-seccion-titulo {
            font-size: 1.9em;
        }
    }

    /* Tablet pequeña */
    @media (max-width: 768px) {
        h1.ch-cafe-contenido,
        h1.ch-cafe-contenido span {
            font-size: 28px;
            margin-top: 30px;
            margin-bottom: 15px;
        }
        /* Mobile: ocultar título ACF, mostrar título de página padre */
        .ch-titulo-desktop {
            display: none;
        }
        .ch-titulo-mobile {
            display: block;
        }
        .ch-cafe-titulo {
            font-size: 2.5em;
        }
        .ch-cafe-contenido h2 {
            font-size: 1.8em;
        }
        .ch-cafe-contenido h3 {
            font-size: 1.4em;
        }
        .ch-cafe-seccion-titulo {
            font-size: 1.7em;
            margin-top: 1.5em;
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        h1.ch-cafe-contenido,
        h1.ch-cafe-contenido span {
            font-size: 24px;
            margin-top: 25px;
        }
        .ch-cafe-titulo {
            font-size: 2.2em;
        }
        .ch-cafe-contenido h2 {
            font-size: 1.6em;
        }
        .ch-cafe-contenido h3 {
            font-size: 1.3em;
        }
        .ch-cafe-contenido h4 {
            font-size: 1.2em;
        }
        .ch-cafe-seccion-titulo {
            font-size: 1.5em;
            margin-top: 1.2em;
        }
    }

    /* Mobile pequeño */
    @media (max-width: 480px) {
        h1.ch-cafe-contenido,
        h1.ch-cafe-contenido span {
            font-size: 20px;
            margin-top: 20px;
        }
        .ch-cafe-titulo {
            font-size: 2em;
        }
        .ch-cafe-contenido h2 {
            font-size: 1.4em;
        }
        .ch-cafe-contenido h3 {
            font-size: 1.2em;
        }
        .ch-cafe-contenido h4 {
            font-size: 1.1em;
        }
        .ch-cafe-seccion-titulo {
            font-size: 1.3em;
        }
    }

    .ch-cafe-subtitulo {
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 16px;
        color: #222;
        margin-bottom: 2.2em;
        margin-top: 0.2em;
        font-weight: 400;
    }

    .ch-cafe-seccion-titulo:after {
        content: "";
        display: block;
        width: 100%;
        height: 1px;
        background: #890205;
        margin-top: 0.3em;
    }

    .ch-carrusel-seccion.footer-mode {
        margin-bottom: -40px;
        margin-top: 80px;
    }

    .ch-cafe-seccion-titulo.footer-mode {
        font-size: x-large;
        text-align: center;
    }

    .ch-cafe-seccion-titulo.footer-mode:after {
        display: none;
    }

    .ch-cafe-contenido {
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 16px;
        color: #222;
        font-weight: 400;
        line-height: 1.6;
    }

    .ch-container p {
        font-size: 16px;
    }

    /* Responsive para subtítulos y contenido */
    @media (max-width: 768px) {
        .ch-cafe-subtitulo {
            font-size: 14px;
            margin-bottom: 2em;
        }            
        .ch-cafe-contenido {
            font-size: 14px;
        }
        .ch-container p {
            font-size: 14px;
        }
    }

    @media (max-width: 600px) {
        .ch-cafe-subtitulo {
            font-size: 14px;
            margin-bottom: 1.8em;
        }
        .ch-cafe-contenido {
            font-size: 14px;
        }
        .ch-container p {
            font-size: 14px;
        }
    }

    /* ----------- FIN NUEVO ESTILO CUERPO ----------- */

    /* Tarjetas modernas y grid de productos 3 por fila */
    .ch-escaparate-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px 20px;
        margin-top: 2em;
        margin-bottom: 2em;
        padding: 0 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Desktop grande */
    @media (max-width: 1200px) {
        .ch-escaparate-grid {
            gap: 20px 18px;
            padding: 0 12px;
        }
    }

    /* Tablet grande */
    @media (max-width: 1024px) {
        .ch-escaparate-grid {
            grid-template-columns: repeat(2, 1fr);
            gap: 20px 16px;
            padding: 0 10px;
        }
        .ch-escaparate-card {
            padding: 32px 18px 24px 18px;
        }
    }

    /* Tablet */
    @media (max-width: 768px) {
        .ch-escaparate-grid {
            gap: 18px 14px;
        }
        .ch-escaparate-card {
            padding: 28px 16px 20px 16px;
            min-height: 380px;
        }
        .ch-escaparate-nombre {
            font-size: 26px !important;
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        .ch-escaparate-grid {
            grid-template-columns: 1fr;
            padding: 0 8px;
            gap: 16px;
        }
        .ch-escaparate-card {
            padding: 24px 12px 16px 12px;
            min-height: 360px;
        }
        .ch-escaparate-nombre {
            font-size: 24px !important;
        }
    }

    /* Mobile pequeño */
    @media (max-width: 480px) {
        .ch-escaparate-grid {
            padding: 0 5px;
        }
        .ch-escaparate-card {
            padding: 20px 10px 14px 10px;
            min-height: 340px;
        }
        .ch-escaparate-nombre {
            font-size: 22px !important;
        }
    }

    .ch-escaparate-card {
        background: #F0EEE6;
        padding: 38px 22px 28px 22px;
        display: flex;
        flex-direction: column;
        align-items: center;
        min-height: 420px;
        width: 100%;
        box-sizing: border-box;
    }

    @media (max-width: 360px) {
       .ch-escaparate-card {
            padding: 5px 10px;
        }
    }

    .ch-escaparate-card-flex {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Alinea arriba */
        flex: 1 1 auto;
        width: 100%;
        align-items: center;
    }

    .ch-escaparate-img {
        width: 100%;
        margin-bottom: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border-radius: 18px;
        overflow: hidden;
    }

    .ch-escaparate-img img {
        max-height: 350px;
        height: auto;
        width:100%;
        object-fit: contain;
        display: block;
    }

    .ch-escaparate-nombre {
        font-family: "Domaine Disp", serif;
        font-size: 30px !important;
        font-weight: 700;
        color: #000;
        text-align: center;

    }

    .ch-escaparate-info {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .ch-escaparate-desc {
        font-size: 15px;
        color: #333;
        margin-bottom: 1em;
        text-align: center;
        font-family: "DM Sans", Arial, sans-serif;
        font-weight: bold;
    }

    .ch-escaparate-detalles {
        width: 100%;
        margin-bottom: 1.1em;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.4em;
    }

    .ch-escaparate-det {
        display: flex;
        justify-content: center;
        gap: 0.5em;
        font-size: 15px;
        color: #555;
        margin-bottom: 0.2em;
    }

    .ch-escaparate-det-label {
        font-weight: 600;
        color: #880000;
        min-width: 60px;
    }

    .ch-escaparate-btn {
        display: block;
        background: #FFF;
        color: #000;
        font-family: "DM Sans", Arial, sans-serif;
        font-weight: 600;
        font-size: 15px;
        text-transform: uppercase;
        padding: 8px 20px;
        text-decoration: none;
        margin: 28px auto 0 auto;
        width: 140px;
        text-align: center;
        transition: background 0.18s;
        border: solid 1px black;
    }

    .ch-escaparate-btn:hover {
        background: #000;
        color: #fff;
    }

    /* Responsive para elementos del escaparate */
    @media (max-width: 768px) {
        .ch-escaparate-desc {
            font-size: 14px;
        }
        .ch-escaparate-det {
            font-size: 14px;
        }
        .ch-escaparate-btn {
            font-size: 14px;
            width: 130px;
            padding: 7px 18px;
        }
    }

    @media (max-width: 600px) {
        .ch-escaparate-desc {
            font-size: 14px;
        }
        .ch-escaparate-det {
            font-size: 14px;
        }
        .ch-escaparate-btn {
            font-size: 14px;
            width: 120px;
            padding: 6px 16px;
            margin: 20px auto 0 auto;
        }
    }

    @media (max-width: 480px) {
        .ch-escaparate-desc {
            font-size: 14px;
        }
        .ch-escaparate-det {
            font-size: 14px;
        }
        .ch-escaparate-btn {
            font-size: 14px;
            width: 110px;
            padding: 6px 14px;
        }
    }

    .ch-escaparate-label {
        display: inline-block;
        margin: 18px 0;
        /* border-radius: 18px; */
        font-size: 15px;
        font-weight: bold;
        text-align: center;
        letter-spacing: 0.02em;
        margin-top: 0.1em;
        /* El color de fondo se sobrescribe en línea */
    }

    /* ----------- MOLIENDAS ----------- */
    .ch-moliendas-seccion {
        margin-top: 3em;
        margin-bottom: 2em;
        background: #fff;
        padding: 32px 18px;
    }

    .ch-molienda-detalle {
        margin-bottom: 2em;
        text-align: center;
        min-height: 230px;
        padding: 25px 12px;
        max-width: 943px;
        margin-left: auto;
        margin-right: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 1rem;
    }

    .ch-molienda-detalle-icon img {
        display: block;
        width: 50px;
        height: 50px;
    }

    .ch-molienda-detalle-texto {
        flex: 1;
    }

    .ch-molienda-detalle-nombre {
        font-family: "Domaine Disp", serif;
        font-size: 30px;
        font-weight: 700;
        color: #880000;
        margin-bottom: 0.3em;
        min-height: 1.5em;
    }

    .ch-molienda-detalle-detalles {
        font-family: "DM Sans", Arial, sans-serif;
        font-size: 15px;
        color: #222;
        margin-bottom: 0.2em;
        min-height: 2em;
        opacity: 0.95;
        text-wrap-style: balance;
    }

    .ch-molienda-detalle-default {
        color: #555;
        font-size: 15px;
        font-style: italic;
        opacity: 0.8;
        margin-top: 0.5em;
    }

    .ch-moliendas-lista {
        display: flex;
        flex-direction: row;
        gap: 32px;
        justify-content: center;
        align-items: flex-start;
        list-style: none;
        padding: 0;
        margin: 0;
        flex-wrap: wrap;
    }

    .ch-molienda-item {
        cursor: pointer;
        text-align: center;
        padding: 12px 10px;
        border: 2px solid transparent;
        min-width: 120px;
        max-width: 140px;
        height: 210px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        gap: 8px;
    }

    .ch-molienda-item.active,
    .ch-molienda-item:hover {
        background: #F2EEE6;
    }

    .ch-molienda-img {
        flex: 0 0 auto;
        margin-top: 15px;
        margin-bottom: 0;
        width: 100px;
        height: 100px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ch-molienda-img img {
        width: 100px;
        height: 100px;
        object-fit: contain;
    }

    .ch-molienda-nombre {
        font-family: "Domaine Disp", serif;
        font-size: 15px;
        font-weight: 600;
        color: #222;
        margin-bottom: 0;
        flex: 1 1 auto;
        word-break: break-word;
        max-width: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        line-height: 1.2;
    }

    /* Tablet */
    @media (max-width: 1024px) {
        .ch-moliendas-seccion {
            padding: 28px 15px;
        }
        .ch-molienda-detalle {
            padding: 20px 10px;
        }
        .ch-molienda-detalle-nombre {
            font-size: 28px;
        }
        .ch-molienda-detalle-detalles {
            font-size: 14px;
        }
        .ch-moliendas-lista {
            gap: 24px;
        }
    }

    /* Tablet pequeña */
    @media (max-width: 768px) {
        .ch-moliendas-seccion {
            padding: 24px 12px;
        }
        .ch-molienda-detalle {
            padding: 18px 8px;
        }
        .ch-molienda-detalle-nombre {
            font-size: 26px;
        }
        .ch-molienda-detalle-detalles {
            font-size: 14px;
        }
        .ch-moliendas-lista {
            gap: 20px;
        }
        .ch-molienda-item {
            min-width: 100px;
            max-width: 120px;
            padding: 10px 8px;
            height: 180px;
        }
        .ch-molienda-img {
            margin-top: 12px;
            width: 85px;
            height: 85px;
        }
        .ch-molienda-img img {
            width: 85px;
            height: 85px;
        }
        .ch-molienda-nombre {
            font-size: 14px;
            max-width: 100px;
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        .ch-moliendas-seccion {
            padding: 20px 10px;
        }
        .ch-molienda-detalle {
            padding: 15px 6px;
        }
        .ch-molienda-detalle-nombre {
            font-size: 24px;
        }
        .ch-molienda-detalle-detalles {
            font-size: 14px;
        }
        .ch-moliendas-lista {
            gap: 15px;
        }
        .ch-molienda-item {
            min-width: 85px;
            max-width: 105px;
            padding: 8px 4px;
            height: 150px;
        }
        .ch-molienda-img {
            margin-top: 10px;
            width: 75px;
            height: 75px;
        }
        .ch-molienda-img img {
            width: 75px;
            height: 75px;
        }
        .ch-molienda-nombre {
            font-size: 14px;
            max-width: 85px;
        }
    }

    /* Mobile pequeño */
    @media (max-width: 480px) {
        .ch-moliendas-seccion {
            padding: 18px 8px;
        }
        .ch-molienda-detalle {
            padding: 12px 5px;
        }
        .ch-molienda-detalle-nombre {
            font-size: 22px;
        }
        .ch-molienda-detalle-detalles {
            font-size: 14px;
        }
        .ch-moliendas-lista {
            gap: 12px;
        }
        .ch-molienda-item {
            min-width: 75px;
            max-width: 95px;
            padding: 6px 2px;
            height: 130px;
        }
        .ch-molienda-img {
            margin-top: 8px;
            width: 65px;
            height: 65px;
        }
        .ch-molienda-img img {
            width: 65px;
            height: 65px;
        }
        .ch-molienda-nombre {
            font-size: 14px;
            max-width: 75px;
        }
    }

    /* ----------- FIN MOLIENDAS ----------- */

    /* ----------- CARRUSEL INFINITO ----------- */
    .ch-carrusel-seccion {
        margin-top: 3em;
        margin-bottom: 2em;
        padding: 32px 18px;
        background: #fff;
    }

    .ch-carrusel-container {
        width: 100%;
        margin-top: 2em;
        display: flex;
        justify-content: center;
        padding: 0 20px;
    }

    .ch-carrusel-wrapper {
        width: 100%;
        max-width: 1200px;
        overflow: hidden;
        position: relative;
        outline: none;
    }

    .ch-carrusel-track {
        display: flex;
        align-items: center;
        transition: transform 0.5s ease-in-out;
        will-change: transform;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .ch-carrusel-item {
        flex: 0 0 auto;
        width: 180px;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 15px;
        box-sizing: border-box;
        margin-right: 20px;
    }

    .ch-carrusel-item:last-child {
        margin-right: 0;
    }

    .ch-carrusel-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        opacity: 1;
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        pointer-events: none;
    }

    /* Indicador de carga suave */
    .ch-carrusel-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    .ch-carrusel-wrapper.loading::before {
        opacity: 1;
    }

    /* Tablet */
    @media (max-width: 1024px) {
        .ch-carrusel-seccion {
            padding: 28px 15px;
        }
        .ch-carrusel-container {
            padding: 0 15px;
        }
        .ch-carrusel-item {
            width: 160px;
            height: 110px;
            margin-right: 18px;
        }
    }

    /* Tablet pequeña */
    @media (max-width: 768px) {
        .ch-carrusel-seccion {
            padding: 24px 12px;
        }
        .ch-carrusel-container {
            padding: 0 12px;
        }
        .ch-carrusel-item {
            width: 140px;
            height: 100px;
            margin-right: 16px;
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        .ch-carrusel-seccion {
            padding: 20px 10px;
        }
        .ch-carrusel-container {
            padding: 0 8px;
        }
        .ch-carrusel-item {
            width: 120px;
            height: 80px;
            margin-right: 14px;
            padding: 12px;
        }
    }

    /* Mobile pequeño */
    @media (max-width: 480px) {
        .ch-carrusel-seccion {
            padding: 18px 8px;
        }
        .ch-carrusel-container {
            padding: 0 5px;
        }
        .ch-carrusel-item {
            width: 100px;
            height: 70px;
            margin-right: 12px;
            padding: 10px;
        }
    }

    /* ----------- FIN CARRUSEL ----------- */

    /* ----------- CARRUSEL LOCALES ----------- */
    .ch-carrusel-locales-seccion {
        width: 100%;          /* era 80%: principal causa del encajonamiento */
        margin: 60px 0;
        box-sizing: border-box;
    }

    .ch-carrusel-locales-seccion .productos_titulo {
        margin-bottom: 40px;
    }

    .ch-carrusel-locales-descripcion {
        font-family: 'DM Sans', sans-serif;
        font-size: 14px;
        text-align: center;
        color: #1d1d1b;
        margin-bottom: 20px;
    }

    .ch-carrusel-locales-container {
        margin-top: 0;
        padding: 0;
        position: relative;
    }

    /* Elimina el max-width:1200px del wrapper genérico para este carrusel */
    .ch-carrusel-locales-container .ch-carrusel-wrapper {
        max-width: 100%;
    }

    /* ── Flechas: base genérica (otros carruseles, no se toca) ── */
    .ch-carrusel-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #1d1d1b;
        font-size: 60px;
        line-height: 1;
        cursor: pointer;
        padding: 20px;
        z-index: 10;
        transition: opacity 0.3s ease;
        outline: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    .ch-carrusel-nav:hover  { opacity: 0.5; }
    .ch-carrusel-nav:active { opacity: 0.7; }

    .ch-carrusel-prev { left: -60px; }
    .ch-carrusel-next { right: -60px; }

    /* ──────────────────────────────────────────────────────────────────────
       OVERLAYS RECTANGULARES — carrusel de locales
       Estrategia: zonas full-height sobre los bordes laterales del wrapper.
       Gradiente opaco→transparente: funciona con cualquier foto, no depende
       del contenido. Sin círculos. Sin glassmorphism. Plano/editorial.
       En mobile se ocultan (swipe nativo).
    ────────────────────────────────────────────────────────────────────── */

    /* Reset completo de la regla genérica para este carrusel */
    .ch-carrusel-locales-container .ch-carrusel-nav {
        /* Posición: cubre de arriba a abajo del container */
        position: absolute;
        top: 0;
        bottom: 0;
        transform: none;        /* anula translateY(-50%) del genérico */
        width: 72px;
        padding: 0;

        /* Sin decoración circular */
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;

        /* Centrar ícono */
        display: flex;
        align-items: center;
        justify-content: center;

        /* Ícono oscuro: contrasta sobre degradado blanco */
        color: rgba(29, 29, 27, 0.75);
        font-size: 36px;
        line-height: 1;

        /* Oculto por defecto — aparece al hover del carrusel */
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.20s ease, background 0.18s ease;

        z-index: 10;
        cursor: pointer;
        outline: none;
        user-select: none;
        -webkit-tap-highlight-color: transparent;
    }

    /* Revelar al hacer hover sobre el container */
    .ch-carrusel-locales-container:hover .ch-carrusel-nav {
        opacity: 1;
        pointer-events: auto;
    }

    /* Gradiente izquierda: de opaco a transparente hacia el interior */
    .ch-carrusel-locales-container .ch-carrusel-prev {
        left: 0;
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.82) 0%,
            rgba(255, 255, 255, 0.30) 60%,
            rgba(255, 255, 255, 0)    100%
        );
    }

    /* Gradiente derecha: de opaco a transparente hacia el interior */
    .ch-carrusel-locales-container .ch-carrusel-next {
        right: 0;
        background: linear-gradient(
            to left,
            rgba(255, 255, 255, 0.82) 0%,
            rgba(255, 255, 255, 0.30) 60%,
            rgba(255, 255, 255, 0)    100%
        );
    }

    /* Hover: gradiente levemente más denso */
    .ch-carrusel-locales-container .ch-carrusel-prev:hover {
        background: linear-gradient(
            to right,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.40) 60%,
            rgba(255, 255, 255, 0)    100%
        );
    }

    .ch-carrusel-locales-container .ch-carrusel-next:hover {
        background: linear-gradient(
            to left,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.40) 60%,
            rgba(255, 255, 255, 0)    100%
        );
    }

    /* Nudge sutil del ícono en hover (no del overlay completo) */
    .ch-carrusel-locales-container .ch-carrusel-nav span {
        display: block;
        pointer-events: none;
        transition: transform 0.15s ease, color 0.15s ease;
    }

    .ch-carrusel-locales-container .ch-carrusel-prev:hover span {
        transform: translateX(-4px);
        color: rgba(29, 29, 27, 1);
    }

    .ch-carrusel-locales-container .ch-carrusel-next:hover span {
        transform: translateX(4px);
        color: rgba(29, 29, 27, 1);
    }

    /* Active: compresión mínima */
    .ch-carrusel-locales-container .ch-carrusel-nav:active span {
        transform: translateX(0) scale(0.92);
        color: rgba(29, 29, 27, 0.50);
    }

    /* Focus teclado: borde interior recto, sin círculo */
    .ch-carrusel-locales-container .ch-carrusel-nav:focus-visible {
        outline: 2px solid #8b1a1a;
        outline-offset: -2px;
    }

    /* Mobile (≤600px): ocultar overlays, usar swipe natural */
    @media (max-width: 600px) {
        .ch-carrusel-locales-container .ch-carrusel-nav {
            display: none;
        }
    }

    /* Tablet (≤768px): reducir ancho del overlay */
    @media (max-width: 768px) and (min-width: 601px) {
        .ch-carrusel-locales-container .ch-carrusel-nav {
            width: 52px;
            font-size: 28px;
        }
    }

    /* ──────────────────────────────────────────────────────────────────────
       PAGINACIÓN POR PUNTOS — carrusel de locales
       Reset explícito del nav de Materialize (background rojo, box-shadow,
       height/line-height fijos). Estilo plano/editorial.
    ────────────────────────────────────────────────────────────────────── */
    .ch-carrusel-locales-paginacion {
        /* Reset de Materialize nav */
        background-color: transparent !important;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
        height: auto !important;
        line-height: normal !important;

        display: flex;
        align-items: center;
        justify-content: center;
        gap: 7px;
        margin-top: 40px;
        padding: 0;
        min-height: 16px;
        list-style: none;
    }

    /* Punto base */
    .ch-cl-dot {
        display: block;
        width: 8px;
        height: 8px;
        border-radius: 1px;         /* casi cuadrado, editorial */
        background: #c8c8c4;
        border: none;
        padding: 0;
        flex-shrink: 0;
        cursor: pointer;
        outline: none;
        transition:
            width      0.18s ease,
            background 0.18s ease;
    }

    /* Punto activo: pill rectangular más ancho */
    .ch-cl-dot--active {
        width: 28px;
        background: #1d1d1b;
        cursor: default;
    }

    /* Grouper: indicador de overflow (más chico, sin interacción) */
    .ch-cl-dot--group {
        width: 5px;
        height: 5px;
        background: #d4d4d0;
        border-radius: 50%;          /* redondo para distinguirlos de los dots */
        cursor: default;
        pointer-events: none;
        opacity: 0.55;
        transition: none;
    }

    .ch-cl-dot:hover:not(.ch-cl-dot--active) {
        background: #888882;
    }

    .ch-cl-dot:focus-visible {
        outline: 2px solid #8b1a1a;
        outline-offset: 3px;
    }

    .ch-carrusel-nav span {
        display: block;
        pointer-events: none;
    }

    .ch-carrusel-local-item {
        flex: 0 0 auto;
        /* 4 items visibles: slot = 25% del wrapper.
           Fórmula: width = (N% - GAP) + margin-right: GAP = N% exacto → JS correcto */
        width: calc(25% - 32px);
        height: auto;
        padding: 0;
        margin-right: 32px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .ch-carrusel-local-item:last-child {
        margin-right: 0;
    }

    .ch-carrusel-local-item img {
        width: 100%;
        height: auto;
        aspect-ratio: 580 / 360;
        object-fit: cover;
        border-radius: 0;
        max-height: none;
        pointer-events: none;
        user-select: none;
    }

    .ch-carrusel-local-info {
        padding-top: 10px;
    }

    .ch-carrusel-local-info h5 {
        font-family: 'Domaine Disp';
        font-weight: 600;
        font-size: 18px;
        line-height: 24px;
        color: #1d1d1b;
        margin: 0 0 4px;
    }

    .ch-carrusel-local-info p {
        font-family: 'DM Sans', sans-serif;
        font-weight: 500;
        font-size: 12px;
        line-height: 18px;
        text-transform: uppercase;
        color: #1d1d1b;
        margin: 0;
    }

    /* Tablet */
    @media (max-width: 1024px) {
        .ch-carrusel-locales-seccion {
            width: 100%;
            padding: 0 24px;
        }
        .ch-carrusel-local-item {
            /* 3 items: slot = 33.333%; gap 24px → width = 33.333% - 24px */
            width: calc(33.333% - 24px);
            margin-right: 24px;
        }
        .ch-carrusel-nav {
            font-size: 50px;
            padding: 15px;
        }
    }

    /* Tablet pequeña */
    @media (max-width: 768px) {
        .ch-carrusel-locales-seccion {
            width: 100%;
            margin: 40px 0;
            padding: 0 20px;
        }
        .ch-carrusel-local-item {
            /* 2 items: slot = 50%; gap 20px → width = 50% - 20px */
            width: calc(50% - 20px);
            margin-right: 20px;
        }
        .ch-carrusel-nav {
            font-size: 40px;
            padding: 10px;
        }
    }

    /* Mobile */
    @media (max-width: 600px) {
        .ch-carrusel-locales-seccion {
            width: 100%;
            margin: 30px 0;
            padding: 0 16px;
        }
        .ch-carrusel-local-item {
            /* 1 item + peek del siguiente (~15%): slot = 85%; gap 16px → width = 85% - 16px */
            width: calc(85% - 16px);
            margin-right: 16px;
        }
        .ch-carrusel-nav {
            font-size: 32px;
            padding: 8px;
        }
    }

    /* ----------- FIN CARRUSEL LOCALES ----------- */

    /* ----------- FORMULARIOS DE CONTACTO: LAYOUT VERTICAL ----------- */
    .contact-form-stack {
        display: flex;
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }

    .contact-form-stack .fila_container_info,
    .contact-form-stack .producto_container_imagen {
        width: 100%;
        max-width: 960px;
        margin-left: auto;
        margin-right: auto;
        padding: 0;
    }

    .contact-form-stack .cotizador_form {
        width: 100%;
        max-width: 960px;
        margin: 0 auto;
    }

    .contact-form-stack .el_subtitulo {
        margin-bottom: 12px;
        text-align: center;
    }

    .contact-form-stack .fila_container_info > p {
        text-align: center;
    }

    .contact-form-stack .separador_2 {
        margin: 16px 0;
        width: 100%;
    }

    @media (max-width: 768px) {
        .contact-form-stack {
            padding: 0 20px;
        }
    }

    @media (max-width: 600px) {
        .contact-form-stack {
            padding: 0 16px;
        }
    }

    /* ----------- FIN FORMULARIOS DE CONTACTO ----------- */


/* ============================================================
   BUSCADOR HEADER — rediseño completo sobre FiboSearch
   Estrategia: ocultar TODA la UI del plugin dentro del header,
   crear un wrapper propio (.ch-search) con botón e input.
   El input real del plugin se mueve dentro de nuestro wrapper
   por JS, así el ajax search sigue funcionando.
   ============================================================ */

/* --- 1. Ocultar la salida completa del plugin en el header --- */
#header-site .top_right > div[style*="max-width"] {
    display: none !important;
}

/* Cuando está abierto, restaurar contenedor para que el dropdown funcione */
#header-site .top_right > div[style*="max-width"].ch-search-active {
    display: block !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: visible !important;
    top: 100%;
    right: 0;
    z-index: 9999;
}

/* Dentro del contenedor restaurado: ocultar form pero dejar dropdown visible */
#header-site .top_right > div[style*="max-width"].ch-search-active .dgwt-wcas-sf-wrapp {
    display: none !important;
}

/* --- 2. Nuestro wrapper propio --- */
.ch-search {
    display: inline-flex;
    align-items: center;
    position: relative;
    vertical-align: middle;
    height: 44px;
}

/* --- 3. Botón lupa --- */
.ch-search__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    margin: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    color: #1d1d1b;
    opacity: 0.65;
    transition: opacity 0.15s, background-color 0.15s;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
    order: 2;
}

.ch-search__toggle:hover {
    opacity: 1;
    background-color: rgba(29, 29, 27, 0.06);
}

.ch-search__toggle:focus-visible {
    outline: 2px solid #890205;
    outline-offset: 2px;
    opacity: 1;
}

.ch-search__toggle svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    pointer-events: none;
    display: block;
}

/* --- 4. Input propio — colapsado por defecto --- */
.ch-search__input {
    order: 1;
    width: 0;
    max-width: 0;
    padding: 0;
    margin: 0;
    border: none;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: transparent;
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    color: #1d1d1b;
    height: 36px;
    line-height: 36px;
    outline: none;
    box-shadow: none;
    opacity: 0;
    overflow: hidden;
    transition:
        width 0.22s ease,
        max-width 0.22s ease,
        padding 0.22s ease,
        opacity 0.18s ease,
        border-color 0.22s ease;
    -webkit-appearance: none;
    appearance: none;
}

.ch-search__input::placeholder {
    color: #999;
    font-style: normal;
    font-weight: 400;
}

/* --- 5. Estado expandido --- */
.ch-search.is-open .ch-search__input {
    width: 220px;
    max-width: 220px;
    padding: 0 8px;
    opacity: 1;
    overflow: visible;
    border-bottom-color: #1d1d1b;
    background: #fff;
}

.ch-search.is-open .ch-search__input:focus {
    border-bottom-color: #890205;
    outline: none;
}

.ch-search.is-open .ch-search__toggle {
    opacity: 1;
}

/* --- 6. Dropdown de resultados del plugin --- */
.ch-search__results {
    position: absolute;
    top: 100%;
    right: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #c8c8c4;
    border-top: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    z-index: 10000;
    display: none;
}

.ch-search.is-open .ch-search__results.has-results {
    display: block;
}

/* Resultados individuales */
.ch-search__results .ch-search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    text-decoration: none;
    color: #1d1d1b;
    font-size: 13px;
    border-bottom: 1px solid #f0f0ed;
    transition: background-color 0.1s;
}

.ch-search__results .ch-search-item:hover,
.ch-search__results .ch-search-item.is-selected {
    background-color: #f5f5f2;
}

.ch-search__results .ch-search-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    flex-shrink: 0;
}

.ch-search__results .ch-search-item-title {
    font-weight: 500;
}

.ch-search__results .ch-search-item-price {
    font-size: 12px;
    color: #666;
}

/* --- 7. Responsive --- */
@media (max-width: 768px) {
    .ch-search.is-open .ch-search__input {
        width: 150px;
        max-width: 150px;
    }
    .ch-search__results {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .ch-search.is-open .ch-search__input {
        width: 120px;
        max-width: 120px;
    }
    .ch-search__results {
        width: 240px;
        right: -20px;
    }
}

/* --- 8. Override dropdown nativo del plugin cuando lo reposicionamos --- */
.dgwt-wcas-suggestions-wrapp {
    border-radius: 0 !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border: 1px solid #c8c8c4 !important;
    border-top: none !important;
}

/* ----------- FIN BUSCADOR HEADER ----------- */