/* ==========================================================================
   HAPPYBOX HOME - MILK BAR DESIGN SYSTEM & ERGONOMICS (V2.1 REFINED)
   ========================================================================== */

:root {
    --hb-font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --hb-font-heading: 'Outfit', 'Montserrat', -apple-system, sans-serif;
    --hb-color-black: #111111;
    --hb-color-dark: #222222;
    --hb-color-muted: #555555;
    --hb-color-light-muted: #777777;
    --hb-color-cream: #FAF7F2;
    --hb-color-peach: #FFEFDA;
    --hb-color-white: #FFFFFF;
    --hb-color-border: #E8E2D9;
    --hb-color-border-light: rgba(0, 0, 0, 0.08);
    --hb-color-accent-pink: #E83A87;
    --hb-color-accent-gold: #C28E00;
    --hb-radius-pill: 9999px;
    --hb-radius-card: 16px;
    --hb-radius-img: 14px;
    --hb-container-max: 1200px;
    --hb-transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Wrapper Reset */
/* Base Wrapper Reset & Blindaje contra FOUC de estilo o script en Elementor */
style, script {
    display: none !important;
}

/* ==========================================================================
   INTEGRACIÓN UNIFICADA DE CABECERA (Ticker + Navbar a pantalla completa en /inicio-milkbar/)
   ========================================================================== */
body.page-id-59426 .elementor-element-620b0cb9 {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
body.page-id-59426 .elementor-element-6e7af4f8 {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}
body.page-id-59426 .happy-ticker-1 {
    border-radius: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 9px 0 !important;
}
body.page-id-59426 #happy-header-shell {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background-color: #FAF8F5 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
}
body.page-id-59426 #happy-header-shell .e-con-inner {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 10px 24px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.hb-milkbar-wrapper {
    font-family: var(--hb-font-main);
    color: var(--hb-color-black);
    background-color: var(--hb-color-cream);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    width: 100%;
    margin: 0;
    padding: 0;
}

.hb-milkbar-wrapper * {
    box-sizing: border-box;
}

/* Theme / Hello Elementor overrides for this page */
body.page-id-59426,
body.page-id-59426 #page,
body.page-id-59426 #content,
body.page-id-59426 .page-content,
body.page-id-59426 .site-main {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    background-color: var(--hb-color-cream) !important;
}

/* Standard Section & Container */
.hb-section {
    padding: 56px 0;
    position: relative;
    width: 100%;
}

.hb-container {
    width: 100%;
    max-width: var(--hb-container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.hb-container-narrow {
    max-width: 820px;
}

/* Typography Helpers */
.text-center {
    text-align: center;
}

.hb-section-header {
    margin-bottom: 36px;
}

.hb-section-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hb-color-muted);
    margin-bottom: 8px;
}

.hb-section-title {
    font-family: var(--hb-font-heading);
    font-size: clamp(1.6rem, 3.6vw, 2.4rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hb-color-black);
    margin: 0 0 10px 0;
}

.hb-section-subtitle {
    font-size: clamp(0.92rem, 1.8vw, 1.05rem);
    color: var(--hb-color-muted);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.45;
}

/* Pill Buttons (Strict Reset) */
.hb-btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--hb-font-heading);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: var(--hb-radius-pill);
    padding: 14px 36px;
    transition: var(--hb-transition);
    cursor: pointer;
    line-height: 1;
}

.hb-btn-black {
    background-color: var(--hb-color-black) !important;
    color: var(--hb-color-white) !important;
    border: 2px solid var(--hb-color-black) !important;
}

.hb-btn-black:hover {
    background-color: #333333 !important;
    border-color: #333333 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


/* ==========================================================================
   BLOQUE 1: CATEGORY BUBBLES HUB (4 Burbujas con aire y calibradas a 74px)
   ========================================================================== */
/* ==========================================================================
   BLOQUE 1: CATEGORY BUBBLES HUB (Hub Táctil con Scroll Suave en Móvil V5)
   ========================================================================== */
.hb-categories-section {
    padding: 16px 0;
    background-color: #FAF8F5;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.hb-bubbles-hub {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 4px 0;
}

.hb-bubble-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.2, 0, 0.2, 1);
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.hb-bubble-img-wrap {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    overflow: hidden;
    background-color: #FFFFFF;
    border: 1.5px solid #EAE6DF;
    transition: all 0.25s cubic-bezier(0.2, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    padding: 0;
}

.hb-bubble-img-wrap img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.35s ease;
    display: block;
}

.hb-bubble-label {
    font-family: var(--hb-font-heading);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    color: #1F1E1D;
    margin-top: 8px;
    text-align: center;
    transition: color 0.25s ease;
}

.hb-bubble-item:hover .hb-bubble-img-wrap {
    border-color: #C2410C;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.hb-bubble-item:hover .hb-bubble-label {
    color: #C2410C;
}

.hb-bubble-item:hover .hb-bubble-img-wrap img {
    transform: scale(1.06);
}

.hb-bubble-item:active {
    transform: scale(0.96);
}

/* Hub de 3 Categorías en móvil 390px: perfectamente centradas y visibles al primer pantallazo */
@media (max-width: 767px) {
    body.page-id-59426 #happy-header-shell .e-con-inner {
        padding: 8px 16px !important;
    }
    .hb-categories-section {
        padding: 12px 0 10px 0 !important;
    }
    .hb-categories-section .hb-container {
        padding: 0 16px !important;
    }
    .hb-bubbles-hub {
        justify-content: center !important;
        gap: 22px !important;
        padding: 0 !important;
        overflow: visible !important;
        margin: 0 auto !important;
        max-width: 100% !important;
    }
    .hb-bubbles-hub::-webkit-scrollbar {
        display: none !important;
    }
    .hb-bubble-img-wrap {
        width: 80px !important;
        height: 80px !important;
        border: 1.5px solid #EAE6DF !important;
        background-color: #FFFFFF !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
        padding: 0 !important;
    }
    .hb-bubble-label {
        font-size: 0.76rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.03em !important;
        margin-top: 6px !important;
        color: #222222 !important;
    }
}


/* ==========================================================================
   BLOQUE 2: EDITORIAL HERO V5 (Estética Boutique: Milk Bar & Sarelly)
   ========================================================================== */
.hb-hero-section {
    padding: 44px 0 54px 0;
    background-color: #FAF8F5;
}

.hb-hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 52px;
    align-items: center;
}

.hb-hero-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
}

.hb-hero-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background-color: #EDE8DF;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0, 0.2, 1);
}

.hb-hero-card img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hb-hero-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.12);
}

.hb-hero-card:hover img {
    transform: scale(1.04);
}

.hb-hero-content {
    display: flex;
    flex-direction: column;
}

.hb-kicker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background-color: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #C2410C;
    padding: 6px 14px;
    border-radius: 24px;
    margin-bottom: 12px;
    align-self: flex-start;
}

.hb-badge-star {
    color: #F59E0B;
    font-size: 0.85rem;
}

.hb-hero-title {
    font-family: var(--hb-font-heading);
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-transform: uppercase;
    color: #1A1A1A;
    margin: 0 0 12px 0;
}

.hb-hero-social-proof {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}

.hb-stars {
    color: #F59E0B;
    font-size: 1.05rem;
    letter-spacing: 2px;
}

.hb-social-text {
    font-size: 0.86rem;
    color: #404040;
}

.hb-hero-desc {
    font-size: clamp(0.92rem, 1.5vw, 1.05rem);
    color: #555555;
    line-height: 1.5;
    margin: 0 0 22px 0;
    max-width: 480px;
}

.hb-hero-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.hb-hero-actions .hb-btn-pill {
    padding: 15px 34px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
    transition: all 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}

.hb-hero-actions .hb-btn-pill:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.hb-btn-arrow {
    font-size: 1.1rem;
    transition: transform 0.25s ease;
    display: inline-block;
}

.hb-hero-actions .hb-btn-pill:hover .hb-btn-arrow {
    transform: translateX(4px);
}

.hb-hero-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #666;
}

.hb-hero-trust-badge svg {
    color: #15803D;
}

/* Comportamiento Desktop: Categorías flotantes integradas + Hero dinámico escalonado */
@media (min-width: 992px) {
    .hb-categories-section {
        padding: 18px 0 !important;
        background-color: #FAF8F5;
    }
    .hb-categories-section .hb-container {
        display: flex !important;
        justify-content: center !important;
    }
    .hb-bubbles-hub {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 48px !important;
        padding: 12px 52px !important;
        background: #FFFFFF !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
        border-radius: 9999px !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03) !important;
    }
    .hb-bubble-img-wrap {
        width: 82px !important;
        height: 82px !important;
        border: 1.5px solid #F0ECE4 !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
    }

    .hb-hero-grid {
        grid-template-columns: 1.05fr 0.95fr;
        gap: 48px;
        align-items: center;
    }
    .hb-hero-content {
        order: 1;
        text-align: left;
        align-items: flex-start;
    }
    .hb-hero-media {
        order: 2;
        gap: 18px;
        align-items: center;
    }
    /* Composición dinámica con desfase vertical de 15px entre fotos (efecto editorial) */
    .hb-hero-card-primary {
        transform: translateY(15px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    }
    .hb-hero-card-primary:hover {
        transform: translateY(11px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    }
    .hb-hero-card-secondary {
        transform: translateY(-15px);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    }
    .hb-hero-card-secondary:hover {
        transform: translateY(-19px);
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    }
    .hb-kicker-badge {
        align-self: flex-start;
    }
    .hb-hero-actions {
        justify-content: flex-start;
    }
}

/* Comportamiento Móvil & Tableta: Altura calibrada para 100% Above the Fold */
@media (max-width: 991px) {
    .hb-hero-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .hb-hero-media {
        order: 1;
        gap: 10px;
        max-width: 340px;
        margin: 0 auto;
    }
    .hb-hero-card {
        border-radius: 16px !important;
        border: 1px solid rgba(0, 0, 0, 0.04) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06) !important;
        background-color: #EDE8DF;
    }
    .hb-hero-card img {
        aspect-ratio: 4 / 4.2;
        max-height: 150px !important;
        border-radius: 16px !important;
    }
    .hb-hero-content {
        order: 2;
        text-align: center;
        align-items: center;
        width: 100%;
    }
    .hb-kicker-badge {
        align-self: center;
        font-size: 0.68rem;
        padding: 5px 12px;
        margin-bottom: 6px;
    }
    .hb-hero-title {
        font-size: 1.52rem;
        line-height: 1.14;
        letter-spacing: -0.01em;
        margin-bottom: 6px;
    }
    .hb-hero-social-proof {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        margin-bottom: 6px !important;
        white-space: nowrap !important;
        max-width: 100% !important;
        text-align: center;
    }
    .hb-stars {
        color: #F59E0B;
        font-size: 0.88rem !important;
        letter-spacing: 1.5px !important;
        line-height: 1;
        display: inline-flex;
    }
    .hb-social-text {
        font-size: 0.78rem !important;
        color: #374151;
        line-height: 1;
    }
    .hb-hero-desc {
        font-size: 0.84rem;
        line-height: 1.38;
        margin: 0 auto 10px auto;
        max-width: 330px;
    }
    .hb-hero-actions {
        justify-content: center;
        flex-direction: column;
        gap: 6px;
        width: 100%;
        padding-bottom: 6px;
    }
    .hb-hero-actions .hb-btn-pill {
        width: auto;
        padding: 12px 28px;
        font-size: 0.82rem;
    }
    .hb-hero-trust-badge {
        font-size: 0.74rem;
        padding-bottom: 18px;
    }
}

@media (max-width: 767px) {
    .hb-hero-section {
        padding: 10px 0 16px 0 !important;
    }
}


/* Smooth scrolling para anclas */
html {
    scroll-behavior: smooth;
}

#los-mas-pedidos {
    scroll-margin-top: 36px;
}

/* ==========================================================================
   BLOQUE 3: "LOS MÁS PEDIDOS" SHOWCASE (Nivelación Matemática + Milk Bar)
   ========================================================================== */
.hb-showcase-section {
    padding: 60px 0 70px 0;
    background-color: var(--hb-color-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hb-products-grid {
    display: grid;
    gap: 24px;
    margin-top: 36px;
}

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

/* Tarjeta Milk Bar 1:1: Fondo transparente, contenedor flex vertical */
.hb-product-card {
    display: flex;
    flex-direction: column;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: 100%;
}

.hb-card-img-link {
    text-decoration: none !important;
    display: block;
}

.hb-card-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.hb-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb-product-card:hover .hb-card-img-wrap img {
    transform: scale(1.04);
}

/* Micro-badges de Alto Valor Comercial */
.hb-microbadge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    font-family: var(--hb-font-heading);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--hb-radius-pill);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.hb-badge-gold {
    background-color: #FFE699;
    color: #4A3500;
}

.hb-badge-dark {
    background-color: #111111;
    color: #FFFFFF;
}

/* Card Body: Flex column para nivelación matemática */
.hb-card-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 12px 2px 0 2px;
}

.hb-product-card .hb-card-title {
    font-family: var(--hb-font-heading);
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin: 0 0 6px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.5em;
    min-height: 2.5em;
    max-height: 2.5em;
    color: var(--hb-color-black) !important;
}

.hb-product-card .hb-card-title a,
.hb-product-card .hb-card-title a:visited,
.hb-product-card .hb-card-title a:link {
    color: var(--hb-color-black) !important;
    text-decoration: none !important;
}

.hb-product-card .hb-card-title a:hover {
    color: #444444 !important;
}

/* Card Footer: Anclado abajo matemáticamente con margin-top: auto */
.hb-card-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.hb-card-price-row {
    margin-bottom: 12px;
    line-height: 1.2;
}

.hb-card-price {
    font-family: var(--hb-font-heading);
    font-size: 1.12rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    color: var(--hb-color-black);
}

.hb-card-price small {
    font-family: var(--hb-font-main);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--hb-color-muted);
    margin-left: 3px;
}

.hb-card-actions {
    width: 100%;
}

.hb-milkbar-wrapper .hb-btn-card-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    background-color: var(--hb-color-black) !important;
    color: var(--hb-color-white) !important;
    text-decoration: none !important;
    font-family: var(--hb-font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 12px 0;
    border-radius: var(--hb-radius-pill);
    transition: var(--hb-transition);
    border: none !important;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.hb-milkbar-wrapper .hb-btn-card-cta:hover {
    background-color: #333333 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.16);
}

/* Responsive Grid Columns y Nivelación Móvil */
@media (max-width: 1024px) and (min-width: 768px) {
    .hb-grid-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

@media (max-width: 767px) {
    .hb-showcase-section {
        padding: 38px 0 46px 0;
    }
    .hb-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-top: 20px;
    }
    .hb-card-img-wrap {
        border-radius: 14px;
    }
    .hb-product-card .hb-card-title {
        font-size: 0.8rem;
        line-height: 1.25;
        height: 2.5em !important;
        min-height: 2.5em !important;
        max-height: 2.5em !important;
        margin-bottom: 6px;
    }
    .hb-card-price-row {
        margin-bottom: 8px !important;
    }
    .hb-card-price {
        font-size: 0.96rem;
    }
    .hb-milkbar-wrapper .hb-btn-card-cta {
        padding: 10px 0;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }
    .hb-microbadge {
        font-size: 0.56rem;
        padding: 3px 6px;
        top: 6px;
        left: 6px;
    }
}


/* ==========================================================================
   BLOQUE 4: "REGALOS PARA CADA OCASIÓN" (3 Categorías Maestras)
   ========================================================================== */
.hb-collections-section {
    padding: 64px 0 74px 0;
    background-color: var(--hb-color-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    scroll-margin-top: 72px;
}

.hb-collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 36px;
}

.hb-collection-card {
    display: flex;
    flex-direction: column;
    text-decoration: none !important;
    background: transparent !important;
    cursor: pointer;
}

.hb-collection-img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    overflow: hidden;
    background-color: #EDE8DF;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.hb-collection-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.hb-collection-card:hover .hb-collection-img-wrap img {
    transform: scale(1.04);
}

.hb-collection-info {
    padding: 16px 4px 0 4px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hb-collection-title {
    font-family: var(--hb-font-heading);
    font-size: 1.08rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--hb-color-black);
    margin: 0 0 6px 0;
    transition: color 0.2s ease;
}

.hb-collection-card:hover .hb-collection-title {
    color: #333333;
}

.hb-collection-link {
    font-family: var(--hb-font-heading);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #555555;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.hb-link-arrow {
    display: inline-block;
    transition: transform 0.25s ease;
}

.hb-collection-card:hover .hb-collection-link {
    color: var(--hb-color-black);
}

.hb-collection-card:hover .hb-link-arrow {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .hb-collections-section {
        padding: 38px 0 46px 0;
        scroll-margin-top: 72px;
    }
    .hb-collections-grid {
        display: flex !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        -webkit-overflow-scrolling: touch !important;
        gap: 16px !important;
        padding: 0 20px 16px 20px !important;
        margin: 22px -20px 0 -20px !important;
        scrollbar-width: none !important;
    }
    .hb-collections-grid::-webkit-scrollbar {
        display: none !important;
    }
    .hb-collection-card {
        flex: 0 0 80% !important;
        max-width: 300px !important;
        scroll-snap-align: center !important;
        width: auto !important;
    }
    .hb-collection-img-wrap {
        border-radius: 16px !important;
        aspect-ratio: 1 / 1 !important;
    }
    .hb-collection-info {
        padding: 12px 4px 0 4px !important;
    }
    .hb-collection-title {
        font-size: 0.98rem !important;
        margin-bottom: 4px !important;
    }
    .hb-collection-link {
        font-size: 0.82rem !important;
    }
}


/* ==========================================================================
   BLOQUE 5: BANNER SPLIT DE PASTEL CON FOTO / OBLEA COMESTIBLE
   ========================================================================== */
.hb-editorial-split-section {
    padding: 68px 0;
    background-color: var(--hb-color-cream);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    scroll-margin-top: 72px;
}

.hb-split-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background-color: #FFFFFF;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    align-items: stretch;
}

.hb-split-media {
    position: relative;
    background-color: #EDE8DF;
    min-height: 400px;
    display: flex;
}

.hb-split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.hb-split-card:hover .hb-split-media img {
    transform: scale(1.03);
}

.hb-split-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #111111;
    color: #FFFFFF;
    font-family: var(--hb-font-heading);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    border-radius: var(--hb-radius-pill);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.hb-split-info {
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hb-split-kicker {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #C2410C;
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    padding: 5px 14px;
    border-radius: var(--hb-radius-pill);
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 12px;
}

.hb-split-title {
    font-family: var(--hb-font-heading);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    color: var(--hb-color-black);
    margin: 0 0 14px 0;
}

.hb-split-desc {
    font-size: 0.94rem;
    color: var(--hb-color-muted);
    line-height: 1.55;
    margin: 0 0 20px 0;
    max-width: 480px;
}

.hb-split-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px 0;
}

.hb-split-features li {
    font-size: 0.9rem;
    font-weight: 500;
    color: #444444;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.45;
}

.hb-split-features .hb-split-icon {
    color: #15803D;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.45;
    flex-shrink: 0;
}

.hb-split-features .hb-split-text {
    flex: 1;
}

.hb-split-features .hb-split-text strong {
    font-weight: 700;
    color: #111111;
}

.hb-split-actions .hb-btn-pill {
    padding: 14px 34px;
    font-size: 0.85rem;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

@media (max-width: 991px) {
    .hb-split-card {
        grid-template-columns: 1fr;
        border-radius: 18px;
    }
    .hb-split-media {
        min-height: auto;
        max-height: 360px;
        aspect-ratio: 1 / 1;
    }
    .hb-split-info {
        padding: 28px 20px;
    }
    .hb-split-title {
        font-size: 1.35rem;
        margin-bottom: 10px;
    }
    .hb-split-desc {
        font-size: 0.86rem;
        margin-bottom: 16px;
    }
    .hb-split-features {
        margin-bottom: 22px;
    }
    .hb-split-features li {
        font-size: 0.84rem;
        margin-bottom: 10px;
        gap: 10px;
    }
    .hb-split-actions {
        width: 100%;
    }
    .hb-split-actions .hb-btn-pill {
        width: 100%;
        justify-content: center;
        padding: 13px 12px;
        font-size: clamp(0.7rem, 2.9vw, 0.78rem);
        letter-spacing: 0.02em;
        white-space: nowrap;
        gap: 6px;
    }
}


/* ==========================================================================
   BLOQUE 6: "¿POR QUÉ ELEGIR HAPPYBOX?" (Milk Bar 1:1: Fondo continuo #FFEFDA, CERO cajas blancas)
   ========================================================================== */
.hb-why-section {
    padding: 70px 0;
    background-color: var(--hb-color-peach) !important;
    border-top: 1px solid #ECDCC8;
    border-bottom: 1px solid #ECDCC8;
}

.hb-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
    margin-top: 48px;
}

/* Milk Bar 1:1: Sin cajas blancas, descansan directamente en el fondo */
.hb-pillar-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hb-pillar-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
    color: var(--hb-color-black);
}

.hb-pillar-title {
    font-family: var(--hb-font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--hb-color-black);
    margin: 0 0 10px 0;
}

.hb-pillar-desc {
    font-size: 0.92rem;
    color: #444444;
    line-height: 1.6;
    max-width: 320px;
    margin: 0 auto;
}

@media (max-width: 860px) {
    .hb-why-section {
        padding: 50px 0;
    }
    .hb-pillars-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        margin-top: 36px;
    }
}


/* ==========================================================================
   BLOQUE 7: FAQS ACORDEÓN + COMMUNITY INSTAGRAM CLOSE
   ========================================================================== */
.hb-faq-section {
    padding: 60px 0 60px 0;
    background-color: var(--hb-color-cream);
}

.hb-faq-list {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hb-faq-item {
    background-color: var(--hb-color-white);
    border: 1.5px solid var(--hb-color-border);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--hb-transition);
}

.hb-faq-item[open] {
    border-color: var(--hb-color-black);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.hb-faq-question {
    padding: 18px 22px;
    font-family: var(--hb-font-heading);
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--hb-color-black) !important;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.hb-faq-question::-webkit-details-marker {
    display: none;
}

.hb-faq-toggle-icon {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hb-faq-toggle-icon::before,
.hb-faq-toggle-icon::after {
    content: '';
    position: absolute;
    background-color: var(--hb-color-black);
    transition: transform 0.2s ease;
}

.hb-faq-toggle-icon::before {
    top: 6px;
    left: 0;
    width: 14px;
    height: 2px;
}

.hb-faq-toggle-icon::after {
    top: 0;
    left: 6px;
    width: 2px;
    height: 14px;
}

.hb-faq-item[open] .hb-faq-toggle-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.hb-faq-answer {
    padding: 0 22px 20px 22px;
    font-size: 0.92rem;
    color: var(--hb-color-muted);
    line-height: 1.6;
}

.hb-faq-answer p {
    margin: 0;
}

@media (max-width: 767px) {
    .hb-faq-section {
        padding: 40px 0 45px 0;
    }
}
