/* ============================================================
   HELIA BEAUTY — HOME BASE
   Banner, Trust, Colecciones, Categorias, Marcas
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,300&display=swap');

/* ============================================================
   VARIABLES LOCALES — extienden las del sitio
   ============================================================ */
.hb-home {
    --hb-cream: #fff;
    --hb-dark: #1a1015;
    --hb-gray: #515151;
    --hb-gray-light: #999;
    --hb-display: 'Abel', sans-serif;
    --hb-body: 'Abel', sans-serif;
    --hb-ease: cubic-bezier(.4,0,.2,1);
    --hb-radius: 12px;
    --hb-radius-lg: 20px;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.hb-reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s var(--hb-ease), transform .7s var(--hb-ease);
}

.hb-reveal.is-visible         { opacity: 1; transform: none; }

.hb-reveal-left {
    opacity: 0;
    transform: translateX(-32px);
    transition: opacity .7s var(--hb-ease), transform .7s var(--hb-ease);
}
.hb-reveal-left.is-visible    { opacity: 1; transform: none; }

.hb-reveal-right {
    opacity: 0;
    transform: translateX(32px);
    transition: opacity .7s var(--hb-ease), transform .7s var(--hb-ease);
}
.hb-reveal-right.is-visible   { opacity: 1; transform: none; }

.hb-d1 { transition-delay: .1s; }
.hb-d2 { transition-delay: .2s; }
.hb-d3 { transition-delay: .3s; }
.hb-d4 { transition-delay: .4s; }
.hb-d5 { transition-delay: .5s; }

/* ============================================================
   KEYFRAMES
   ============================================================ */
@keyframes hbMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ============================================================
   BANNER SIMPLE
   ============================================================ */
.hb-banner-simple .SiteBanner {
    height: 580px;
}
.hb-banner-simple .SiteBanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hb-banner-simple .slick-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.75);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    transition: background .2s;
}
.hb-banner-simple .slick-arrow:hover {
    background: var(--color-rosa3);
    color: #fff;
}
.hb-banner-simple .slick-prev { left: 16px; }
.hb-banner-simple .slick-next { right: 16px; }
.hb-banner-simple .slick-prev::before { content: '\f053'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.hb-banner-simple .slick-next::before { content: '\f054'; font-family: 'Font Awesome 6 Free'; font-weight: 900; }
.hb-banner-simple .slick-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex !important;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
    z-index: 10;
}
.hb-banner-simple .slick-dots li button {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    cursor: pointer;
    font-size: 0;
    padding: 0;
    transition: all .3s;
}
.hb-banner-simple .slick-dots li.slick-active button {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ============================================================
   BOTONES COMPARTIDOS
   ============================================================ */
.hb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 50px;
    font-family: var(--hb-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all .3s var(--hb-ease);
    border: 2px solid transparent;
    white-space: nowrap;
}
.hb-btn--primary {
    background: var(--color-rosa3);
    color: #fff;
    border-color: var(--color-rosa3);
}
.hb-btn--primary:hover {
    background: #d9649a;
    border-color: #d9649a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,149,191,.4);
}
.hb-btn--outline {
    background: #fff;
    color: var(--color-rosa3);
    border-color: var(--color-rosa3);
}
    .hb-btn--outline:hover {
        background: var(--color-rosa3);
        color: #fff;
        border-color: none;
    }

/* ============================================================
   SECTION HEADERS COMPARTIDOS
   ============================================================ */
.hb-section-header {
    text-align: center;
    margin-bottom: 28px;
}
.hb-section-tag {
    display: inline-block;
    font-family: var(--hb-body);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-rosa3);
    background: var(--color-rosa1);
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.hb-section-title {
    font-family: var(--hb-display);
    font-size: clamp(28px, 3.5vw, 32px);
    font-weight: 600;
    color: var(--hb-dark);
    line-height: 1.15;
    margin: 0 0 14px;
}
.hb-section-title em {
    font-style: normal;
    color: var(--color-rosa3);
}
.hb-section-subtitle {
    font-family: var(--hb-body);
    font-size: 15px;
    font-weight: 300;
    color: var(--hb-gray-light);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================================
   TRUST BAR — fondo blanco, íconos simples
   ============================================================ */
.hb-trust {
    background: #fff;
    padding: 0;
    overflow: hidden;
    border-bottom:var(--color-rosa2);
    margin-bottom:15px;
}
.hb-trust__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 130px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.hb-trust__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 24px 20px;
    transition: background .3s;
}
.hb-trust__item:last-child { border-right: none; }
.hb-trust__item:hover      { opacity: .7}
.hb-trust__icon {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--color-rosa3);
    width: 36px;
    text-align: center;
    transition: transform .3s;
}
.hb-trust__item:hover .hb-trust__icon {
    transform: scale(1.15);
}
.hb-trust__text strong {
    display: block;
    font-family: var(--hb-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--hb-dark);
    margin-bottom: 2px;
}
.hb-trust__text span {
    font-family: var(--hb-body);
    font-size: 11px;
    color: var(--hb-gray-light);
}

/* ============================================================
   COLECCIONES
   ============================================================ */
.hb-colecciones {
    padding: 50px 0;
    background: var(--hb-cream);
    padding-top:0px;
}
.hb-colecciones__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.hb-colecciones__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hb-col-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--hb-radius-lg);
    cursor: pointer;
    text-decoration: none;
    display: block;
    height: 220px;
    background: var(--color-rosa1);
}
.hb-col-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-rosa1) 0%, var(--color-rosa2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .7s var(--hb-ease);
}
.hb-col-card:hover .hb-col-card__placeholder { transform: scale(1.05); }
.hb-col-card__placeholder i {
    font-size: 56px;
    color: var(--color-rosa3);
    opacity: .35;
    transition: opacity .3s, transform .3s;
}
.hb-col-card:hover .hb-col-card__placeholder i {
    opacity: .55;
    transform: scale(1.1);
}
.hb-col-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 25%, rgba(255,149,191,.7) 100%);
    transition: opacity .4s;
}
.hb-col-card:hover .hb-col-card__overlay { opacity: .9; }
.hb-col-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 20px;
}
.hb-col-card__name {
    font-family: var(--hb-display);
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.1;
}
.hb-col-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hb-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity .3s, transform .3s;
}
.hb-col-card:hover .hb-col-card__cta {
    opacity: 1;
    transform: none;
}

/* ============================================================
   CATEGORÍAS
   ============================================================ */
.hb-categories {
    padding: 50px 0;
    background: #fff;
    padding-top: 25px;
}
.hb-categories__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.hb-categories__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
   /* grid-template-rows: 300px 300px;*/
    gap: 16px;
}
.hb-cat-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--hb-radius-lg);
    cursor: pointer;
    text-decoration: none;
    display: block;
    background: var(--color-rosa1);
}
.hb-cat-card--featured { grid-row: 1 / 3; }
.hb-cat-card__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-rosa1) 0%, var(--color-rosa2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .7s var(--hb-ease);
}
.hb-cat-card:hover .hb-cat-card__placeholder { transform: scale(1.05); }
.hb-cat-card__placeholder i {
    font-size: 48px;
    color: var(--color-rosa3);
    opacity: .4;
}
.hb-cat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(255,149,191,.72) 100%);
    transition: opacity .4s;
}
.hb-cat-card:hover .hb-cat-card__overlay { opacity: .9; }
.hb-cat-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px 24px;
    color: #fff;
}
.hb-cat-card__tag {
    font-family: var(--hb-body);
    font-size: 9px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: .85;
    margin-bottom: 6px;
    display: block;
}
.hb-cat-card__name {
    font-family: var(--hb-display);
    font-size: 26px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.1;
}
.hb-cat-card--featured .hb-cat-card__name { font-size: 35px; }
.hb-cat-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--hb-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .35s, transform .35s;
}
.hb-cat-card:hover .hb-cat-card__cta {
    opacity: 1;
    transform: none;
}

/* ============================================================
   MARCAS MARQUEE — fondo blanco, texto gris
   ============================================================ */
.hb-brands {
    padding: 15px 0;
    background: #fff;
    overflow: hidden;
}
.hb-brands__label {
    font-family: var(--hb-body);
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--hb-gray-light);
    text-align: center;
    margin-bottom: 28px;
}
.hb-marquee-track {
    display: flex;
    width: max-content;
    animation: hbMarquee 22s linear infinite;
}
.hb-brands:hover .hb-marquee-track { animation-play-state: paused; }
.hb-marquee-set {
    display: flex;
    align-items: center;
}
.hb-brand-item {
    padding: 0 40px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--color-rosa1);
    opacity: .55;
    transition: opacity .3s;
}
.hb-brand-item:hover { opacity: 1; }
.hb-brand-item img {
    height: 36px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    transition: filter .3s;
}
.hb-brand-item:hover img { filter: none; }
.hb-brand-placeholder {
    font-family: var(--hb-display);
    font-size: 18px;
    font-style: normal;
    color: var(--hb-gray-light);
    white-space: nowrap;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .hb-trust__inner              { grid-template-columns: repeat(2, 1fr); }
    .hb-trust__item:nth-child(2)  { border-right: none; }

    .hb-colecciones__inner        { padding: 0 20px; }

    .hb-categories__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 280px 280px;
    }
    .hb-cat-card--featured        { grid-column: 1 / 3; grid-row: 1; }
}

@media (max-width: 768px) {
    .hb-banner-simple .SiteBanner { height: 260px; }

    .hb-trust__inner {
        grid-template-columns: 1fr 1fr;
        padding: 0 16px;
    }
    .hb-trust__item               { padding: 10px 12px; }
    .hb-trust__item:nth-child(2)  { border-right: 1px solid var(--color-rosa1); }
    .hb-trust__item:nth-child(4)  { border-right: none; }

    /* Colecciones — slick se encarga del layout */
    .hb-colecciones               { padding: 10px 0; }
    .hb-colecciones__grid         { display: block; }
    .hb-col-card                  { height: 180px; margin: 15px 6px; }
    .hb-col-card__name            { font-size: 20px; }

    /* Categorías — slick se encarga del layout */
    .hb-categories                { padding: 20px 0; }
    .hb-categories__inner         { padding: 0 20px; }
    .hb-categories__grid          { display: block; }
    .hb-cat-card                  { height: 260px; margin: 15px 6px; }
    .hb-cat-card--featured        { height: 260px; }

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

    /* Dots de slick para colecciones y categorias */
    .hb-colecciones__grid .slick-dots,
    .hb-categories__grid .slick-dots {
        display: flex !important;
        justify-content: center;
        gap: 6px;
        list-style: none;
        padding: 16px 0 0;
        margin: 0;
    }
    .hb-colecciones__grid .slick-dots li button,
    .hb-categories__grid .slick-dots li button {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--color-rosa2);
        border: none;
        cursor: pointer;
        font-size: 0;
        padding: 0;
        transition: all .3s;
    }
    .hb-colecciones__grid .slick-dots li.slick-active button,
    .hb-categories__grid .slick-dots li.slick-active button {
        background: var(--color-rosa3);
        width: 22px;
        border-radius: 4px;
    }
}

.hb-categories__grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    grid-template-rows: unset; /* ← cancela el 300px 300px del bloque original */
    grid-auto-rows: 300px;
    gap: 16px;
}

.hb-cat-card--featured {
    grid-row: 1 / 3;
}

@media (max-width: 1024px) {
    .hb-categories__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: unset;
        grid-auto-rows: 280px;
    }

    .hb-cat-card--featured {
        grid-column: 1 / 3;
        grid-row: 1;
    }
}


.BtnVerTodasCategorias {
    margin-top: 48px;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .hb-categories__grid {
        display: block;
    }


    .BtnVerTodasCategorias {
        margin-top: 25px;
        margin-bottom: 0;
    }

    .hb-cat-card {
        height: 260px;
        margin: 15px 6px;
    }
}

.hb-col-card__cta,
.hb-cat-card__cta {
    opacity: 1 !important;
    transform: none !important;
}

.hb-col-card__bg,
.hb-cat-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s var(--hb-ease);
}

.hb-col-card:hover .hb-col-card__bg,
.hb-cat-card:hover .hb-cat-card__bg {
    transform: scale(1.05);
}

.hb-col-card__name,
.hb-cat-card__name,
.hb-col-card__cta,
.hb-cat-card__cta {
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.banner-cta-wrapper {
    display: flex;
    justify-content: center;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}
.SiteBanner {
    position: relative;
}

.banner-cta-wrapper {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.banner-cta-btn {
    background: #fff;
    border: 2px solid var(--color-rosa3);
    color: var(--color-rosa3);
    padding: 12px 40px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

    .banner-cta-btn:hover {
        background: var(--color-rosa3);
        color: #fff;
        opacity: 1;
    }