/* =========================================================
   DOLCI HANDS
   COMPONENTES GENERALES
   ========================================================= */


/* =========================================================
   BARRA DE BENEFICIOS
   ========================================================= */

.benefits-strip {

    width:
        min(
            100% - (
                var(--container-padding) * 2
            ),
            var(--container-width)
        );

    margin:
        0 auto;

    padding:
        28px 0;

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        24px;

    border-top:
        1px solid
        var(--color-border-soft);

    border-bottom:
        1px solid
        var(--color-border-soft);

}


.benefit-item {

    display:
        flex;

    align-items:
        center;

    gap:
        14px;

}


.benefit-icon {

    width:
        42px;

    height:
        42px;

    flex:
        0 0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--dh-cream-warm);

    color:
        var(--color-accent);

    font-size:
        1.05rem;

}


.benefit-item h3 {

    margin:
        0;

    color:
        var(--color-text);

    font-size:
        var(--text-sm);

    font-weight:
        var(--font-weight-semibold);

    line-height:
        1.3;

}


.benefit-item p {

    margin:
        3px 0 0;

    color:
        var(--color-text-soft);

    font-size:
        var(--text-xs);

    line-height:
        1.4;

}


/* =========================================================
   CÓMO COMPRAR
   ========================================================= */

.how-it-works {

    width:
        min(
            100% - (
                var(--container-padding) * 2
            ),
            var(--container-width)
        );

    margin:
        0 auto;

    padding:
        var(--space-24) 0;

}


.steps {

    margin-top:
        64px;

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        20px;

}


.step {

    position:
        relative;

    min-height:
        230px;

    padding:
        30px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    text-align:
        center;

    background:
        var(--color-surface);

    border:
        1px solid
        var(--color-border-soft);

    border-radius:
        var(--radius-xl);

    transition:
        transform var(--transition-normal),
        box-shadow var(--transition-normal),
        border-color var(--transition-normal);

}


.step:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(
            184,
            111,
            91,
            0.25
        );

    box-shadow:
        var(--shadow-soft);

}


.step-number {

    position:
        absolute;

    top:
        20px;

    left:
        22px;

    color:
        var(--color-accent);

    font-family:
        var(--font-display);

    font-size:
        var(--text-sm);

    font-weight:
        var(--font-weight-bold);

}


.step-icon {

    width:
        64px;

    height:
        64px;

    margin-bottom:
        22px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--dh-cream-warm);

    color:
        var(--color-accent);

    font-size:
        1.35rem;

}


.step h3 {

    margin:
        0;

    color:
        var(--color-text);

    font-family:
        var(--font-display);

    font-size:
        var(--text-lg);

    line-height:
        1.25;

}


/* =========================================================
   ENTREGA
   ========================================================= */

.delivery-section {

    width:
        min(
            100% - (
                var(--container-padding) * 2
            ),
            var(--container-width)
        );

    margin:
        0 auto;

    padding:
        var(--space-20);

    display:
        grid;

    grid-template-columns:
        1.2fr
        0.8fr;

    align-items:
        center;

    gap:
        70px;

    border-radius:
        var(--radius-xl);

    background:
        var(--dh-cream-warm);

}


.delivery-content {

    max-width:
        650px;

}


.delivery-content h2 {

    margin:
        0;

    color:
        var(--color-text);

    font-family:
        var(--font-display);

    font-size:
        var(--text-3xl);

    line-height:
        1.15;

}


.delivery-content p {

    max-width:
        600px;

    margin:
        20px 0 0;

    color:
        var(--color-text-soft);

}


.delivery-highlight {

    padding:
        28px;

    display:
        flex;

    align-items:
        flex-start;

    gap:
        16px;

    border:
        1px solid
        var(--color-border-soft);

    border-radius:
        var(--radius-lg);

    background:
        var(--dh-warm-white);

}


.delivery-icon {

    width:
        48px;

    height:
        48px;

    flex:
        0 0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--dh-cream);

    color:
        var(--color-accent);

}


.delivery-highlight strong {

    display:
        block;

    color:
        var(--color-text);

    font-size:
        var(--text-base);

}


.delivery-highlight p {

    margin:
        4px 0 0;

    color:
        var(--color-text-soft);

    font-size:
        var(--text-sm);

}


/* =========================================================
   SOBRE MÍ
   ========================================================= */

.about-preview {

    width:
        min(
            100% - (
                var(--container-padding) * 2
            ),
            var(--container-width)
        );

    margin:
        0 auto;

    padding:
        var(--space-24) 0;

    display:
        grid;

    grid-template-columns:
        0.9fr
        1.1fr;

    align-items:
        center;

    gap:
        80px;

}


.about-image {

    min-height:
        480px;

    border-radius:
        var(--radius-xl);

    background:
        var(--dh-cream-warm);

}


.about-content {

    max-width:
        600px;

}


.about-content h2 {

    margin:
        0;

    color:
        var(--color-text);

    font-family:
        var(--font-display);

    font-size:
        var(--text-3xl);

    line-height:
        1.15;

}


.about-content p {

    margin:
        22px 0 28px;

    color:
        var(--color-text-soft);

    font-size:
        var(--text-md);

    line-height:
        1.7;

}


/* =========================================================
   FAQ
   ========================================================= */

.faq-preview {

    width:
        min(
            100% - (
                var(--container-padding) * 2
            ),
            var(--container-width)
        );

    margin:
        0 auto;

    padding:
        var(--space-24) 0;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    text-align:
        center;

}


.faq-preview .section-heading p {

    margin-bottom:
        28px;

}


/* =========================================================
   BENEFICIOS FINALES
   ========================================================= */

.final-benefits {

    width:
        min(
            100% - (
                var(--container-padding) * 2
            ),
            var(--container-width)
        );

    margin:
        0 auto;

    padding:
        36px 0;

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        20px;

    border-top:
        1px solid
        var(--color-border-soft);

}


.final-benefit {

    display:
        flex;

    align-items:
        flex-start;

    gap:
        12px;

}


.final-benefit > span {

    width:
        38px;

    height:
        38px;

    flex:
        0 0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--dh-cream-warm);

    color:
        var(--color-accent);

}


.final-benefit h3 {

    margin:
        0;

    color:
        var(--color-text);

    font-size:
        var(--text-sm);

    line-height:
        1.35;

}


.final-benefit p {

    margin:
        4px 0 0;

    color:
        var(--color-text-soft);

    font-size:
        var(--text-xs);

    line-height:
        1.45;

}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {

    margin-top:
        var(--space-20);

    padding:
        64px
        max(
            var(--container-padding),
            calc(
                (100vw - var(--container-width))
                / 2
            )
        )
        28px;

    background:
        var(--dh-chocolate-deep);

    color:
        var(--dh-warm-white);

}


.footer-brand strong {

    font-family:
        var(--font-display);

    font-size:
        var(--text-xl);

}


.footer-brand p {

    max-width:
        300px;

    margin:
        8px 0 0;

    color:
        rgba(
            255,
            253,
            248,
            0.70
        );

    font-size:
        var(--text-sm);

}


.footer-links {

    margin-top:
        45px;

    display:
        grid;

    grid-template-columns:
        1fr
        1fr
        1fr;

    gap:
        40px;

}


.footer-links h3 {

    margin:
        0 0 14px;

    font-size:
        var(--text-sm);

}


.footer-links a,
.footer-links span {

    display:
        block;

    width:
        fit-content;

    margin-bottom:
        8px;

    color:
        rgba(
            255,
            253,
            248,
            0.68
        );

    font-size:
        var(--text-sm);

    transition:
        color var(--transition-fast);

}

/* =========================================================
   CONTACTO — BLOQUE ESTABLE
   ========================================================= */

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}


.footer-contact h3 {
    margin-bottom: 14px;
}


.footer-contact a,
.footer-contact span {
    display: block;
    width: fit-content;
    margin-bottom: 8px;
}


/* =========================================================
   CONTACTO — MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .footer-contact {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

}


.footer-links a:hover {

    color:
        var(--dh-warm-white);

}


.footer-bottom {

    margin-top:
        50px;

    padding-top:
        20px;

    display:
        flex;

    justify-content:
        space-between;

    gap:
        20px;

    border-top:
        1px solid
        rgba(
            255,
            253,
            248,
            0.15
        );

    color:
        rgba(
            255,
            253,
            248,
            0.55
        );

    font-size:
        var(--text-xs);

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .benefits-strip {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .steps {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .delivery-section {

        grid-template-columns:
            1fr;

        gap:
            35px;

    }


    .about-preview {

        grid-template-columns:
            1fr
            1fr;

        gap:
            40px;

    }


    .final-benefits {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .benefits-strip {

        width:
            min(
                100% - (
                    var(--container-padding) * 2
                ),
                var(--container-width)
            );

        padding:
            24px 0;

        grid-template-columns:
            1fr;

        gap:
            18px;

    }


    .benefit-item {

        padding:
            4px 0;

    }


    .how-it-works {

        padding:
            var(--space-20) 0;

    }


    .steps {

        margin-top:
            38px;

        grid-template-columns:
            1fr 1fr;

        gap:
            12px;

    }


    .step {

        min-height:
            180px;

        padding:
            24px 16px;

    }


    .step-number {

        top:
            14px;

        left:
            16px;

    }


    .step-icon {

        width:
            52px;

        height:
            52px;

        margin-bottom:
            15px;

    }


    .step h3 {

        font-size:
            var(--text-base);

    }


    .delivery-section {

        width:
            min(
                100% - (
                    var(--container-padding) * 2
                ),
                var(--container-width)
            );

        padding:
            32px 24px;

    }


    .delivery-content h2 {

        font-size:
            var(--text-2xl);

    }


    .about-preview {

        padding:
            var(--space-20) 0;

        grid-template-columns:
            1fr;

        gap:
            30px;

    }


    .about-image {

        min-height:
            360px;

    }


    .about-content h2 {

        font-size:
            var(--text-2xl);

    }


    .final-benefits {

        grid-template-columns:
            1fr;

    }


    .footer-links {

        grid-template-columns:
            1fr 1fr;

    }


    .footer-bottom {

        flex-direction:
            column;

    }

}



/* =========================================================
   DOLCI HANDS - ICONOS ARTESANALES
   ========================================================= */


/* =========================================================
   ICONOS DEL NAVBAR
   ========================================================= */

.navbar-icon img {

    width:
        24px;

    height:
        24px;

    display:
        block;

    object-fit:
        contain;

}


/* =========================================================
   ICONOS DEL HERO
   ========================================================= */

.hero-benefit-icon img {

    width:
        38px;

    height:
        38px;

    display:
        block;

    object-fit:
        contain;

}


.hero-floating-icon img {

    width:
        30px;

    height:
        30px;

    display:
        block;

    object-fit:
        contain;

}


/* =========================================================
   ICONOS - CÓMO COMPRAR
   ========================================================= */

.step-icon img {

    width:
        48px;

    height:
        48px;

    display:
        block;

    object-fit:
        contain;

}



/* =========================================================
   DOLCI HANDS
   COMO COMPRAR - FLUJO HORIZONTAL
   ========================================================= */

.how-it-works {

    padding-top:
        70px;

    padding-bottom:
        70px;

}


/* =========================================================
   TITULO
   ========================================================= */

.how-it-works .section-heading {

    margin-bottom:
        42px;

}


/* =========================================================
   LINEA DE PASOS
   ========================================================= */

.steps-grid {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    align-items:
        center;

    gap:
        0;

    width:
        100%;

}


/* =========================================================
   TARJETA
   ========================================================= */

.step-card {

    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        center;

    min-height:
        auto;

    padding:
        10px 35px;

    border:
        0;

    border-radius:
        0;

    background:
        transparent;

    box-shadow:
        none;

}


/* =========================================================
   LINEA ENTRE LOS PASOS
   ========================================================= */

.step-card:not(:last-child)::after {

    content:
        "";

    position:
        absolute;

    top:
        50%;

    right:
        -1px;

    width:
        45px;

    height:
        1px;

    background:
        var(--color-border);

    transform:
        translateY(-50%);

}


/* =========================================================
   NUMERO
   ========================================================= */

.step-number {

    margin-bottom:
        8px;

    color:
        var(--color-accent);

    font-size:
        var(--text-xs);

    font-weight:
        var(--font-weight-bold);

}


/* =========================================================
   ICONO
   ========================================================= */

.step-icon {

    width:
        52px;

    height:
        52px;

    margin-bottom:
        12px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--dh-cream-warm);

}


/* =========================================================
   IMAGEN DEL ICONO
   ========================================================= */

.step-icon img {

    width:
        30px;

    height:
        30px;

    display:
        block;

    object-fit:
        contain;

}


/* =========================================================
   TITULO DEL PASO
   ========================================================= */

.step-card h3 {

    margin:
        0;

    color:
        var(--color-text);

    font-family:
        var(--font-display);

    font-size:
        var(--text-base);

    line-height:
        1.2;

    text-align:
        center;

}


/* =========================================================
   DESCRIPCION
   ========================================================= */

.step-card p {

    display:
        none;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .steps-grid {

        grid-template-columns:
            repeat(2, 1fr);

        row-gap:
            35px;

    }


    .step-card:nth-child(2)::after {

        display:
            none;

    }

}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 600px) {

    .how-it-works {

        padding-top:
            50px;

        padding-bottom:
            50px;

    }


    .steps-grid {

        grid-template-columns:
            1fr;

        gap:
            24px;

    }


    .step-card {

        padding:
            5px 20px;

    }


    .step-card::after {

        display:
            none;

    }

}



/* =========================================================
   DOLCI HANDS
   CÓMO COMPRAR
   FLUJO HORIZONTAL COMPACTO
   ========================================================= */

.how-it-works {

    padding-top:
        35px;

    padding-bottom:
        35px;

}


/* =========================================================
   ENCABEZADO
   ========================================================= */

.how-it-works .section-heading {

    margin-bottom:
        45px;

    text-align:
        center;

}


.how-it-works .section-heading > span {

    display:
        block;

    margin-bottom:
        8px;

    font-size:
        var(--text-xs);

    letter-spacing:
        0.04em;

}


.how-it-works .section-heading h2 {

    max-width:
        650px;

    margin:
        0 auto;

    font-size:
        var(--text-3xl);

    line-height:
        1.05;

}


/* =========================================================
   CONTENEDOR DE LOS PASOS
   ========================================================= */

.how-it-works .steps {

    display:
        flex;

    align-items:
        flex-start;

    justify-content:
        center;

    width:
        100%;

}


/* =========================================================
   PASO
   ========================================================= */

.how-it-works .step {

    position:
        relative;

    flex:
        1;

    max-width:
        230px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    padding:
        0 25px;

    text-align:
        center;

}


/* =========================================================
   NÚMERO
   ========================================================= */

.how-it-works .step-number {

    position:
        absolute;

    top:
        -9px;

    left:
        calc(50% - 42px);

    z-index:
        5;

    width:
        28px;

    height:
        28px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        2px solid
        var(--color-surface);

    border-radius:
        50%;

    background:
        #ffffff;

    color:
        var(--color-accent);

    font-size:
        11px;

    font-weight:
        var(--font-weight-bold);

    line-height:
        1;

}


/* =========================================================
   ICONO
   ========================================================= */

.how-it-works .step-icon {

    width:
        72px;

    height:
        72px;

    margin:
        0 0 18px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--dh-cream-warm);

}


/* =========================================================
   IMAGEN DEL ICONO
   ========================================================= */

.how-it-works .step-icon img {

    width:
        42px;

    height:
        42px;

    display:
        block;

    object-fit:
        contain;

}


/* =========================================================
   CONECTORES PUNTEADOS
   ========================================================= */

.how-it-works .step:not(:last-child)::after {

    content:
        "";

    position:
        absolute;

    top:
        36px;

    left:
        calc(50% + 45px);

    width:
        calc(100% - 90px);

    height:
        3px;

    background:
        repeating-linear-gradient(
            to right,
            var(--color-accent)
            0,
            var(--color-accent)
            3px,
            transparent
            3px,
            transparent
            9px
        );

    opacity:
        0.75;

}


/* =========================================================
   TÍTULO DEL PASO
   ========================================================= */

.how-it-works .step h3 {

    margin:
        0;

    color:
        var(--color-text);

    font-family:
        var(--font-display);

    font-size:
        var(--text-base);

    line-height:
        1.25;

    text-align:
        center;

}


/* =========================================================
   DESCRIPCIONES
   ========================================================= */

.how-it-works .step p {

    display:
        none;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .how-it-works .step {

        padding:
            0 12px;

    }


    .how-it-works .step:not(:last-child)::after {

        width:
            calc(100% - 70px);

        left:
            calc(50% + 35px);

    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 650px) {

    .how-it-works {

        padding-top:
            30px;

        padding-bottom:
            30px;

    }


    .how-it-works .section-heading {

        margin-bottom:
            30px;

    }


    .how-it-works .section-heading h2 {

        font-size:
            var(--text-2xl);

    }


    .how-it-works .steps {

        display:
            grid;

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            35px 10px;

    }


    .how-it-works .step {

        max-width:
            none;

        padding:
            0 5px;

    }


    .how-it-works .step::after {

        display:
            none;

    }

}


/* =========================================================
   DOLCI HANDS
   CÓMO COMPRAR - AJUSTE FINAL
   ========================================================= */

.how-it-works .steps {

    display:
        grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap:
        0;

    align-items:
        start;

    width:
        100%;

}


.how-it-works .step {

    position:
        relative;

    min-height:
        0;

    padding:
        10px 35px;

    display:
        flex;

    flex-direction:
        column;

    align-items:
        center;

    justify-content:
        flex-start;

    background:
        transparent;

    border:
        none;

    border-radius:
        0;

    box-shadow:
        none;

    text-align:
        center;

}


/* =========================================================
   NÚMEROS
   ========================================================= */

.how-it-works .step-number {

    position:
        absolute;

    top:
        -5px;

    left:
        calc(50% - 48px);

    z-index:
        5;

    width:
        28px;

    height:
        28px;

    margin:
        0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        2px solid
        var(--dh-cream);

    border-radius:
        50%;

    background:
        var(--color-surface);

    color:
        var(--color-accent);

    font-size:
        11px;

    font-weight:
        var(--font-weight-bold);

}


/* =========================================================
   ICONOS
   ========================================================= */

.how-it-works .step-icon {

    width:
        76px;

    height:
        76px;

    margin:
        0 0 20px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border-radius:
        50%;

    background:
        var(--dh-cream-warm);

}


.how-it-works .step-icon img {

    width:
        46px;

    height:
        46px;

    display:
        block;

    object-fit:
        contain;

}


/* =========================================================
   CONECTORES PUNTEADOS
   ========================================================= */

.how-it-works .step:not(:last-child)::after {

    content:
        "";

    position:
        absolute;

    top:
        48px;

    right:
        0;

    width:
        55px;

    height:
        3px;

    background:
        repeating-linear-gradient(
            to right,
            var(--color-accent) 0,
            var(--color-accent) 3px,
            transparent 3px,
            transparent 9px
        );

    opacity:
        0.65;

}


/* =========================================================
   TITULOS
   ========================================================= */

.how-it-works .step h3 {

    margin:
        0;

    color:
        var(--color-text);

    font-family:
        var(--font-display);

    font-size:
        var(--text-base);

    line-height:
        1.25;

    text-align:
        center;

}


/* =========================================================
   SIN DESCRIPCIONES
   ========================================================= */

.how-it-works .step p {

    display:
        none;

}


/* =========================================================
   SECCIÓN MÁS COMPACTA
   ========================================================= */

.how-it-works {

    padding-top:
        30px;

    padding-bottom:
        30px;

}


.how-it-works .section-heading {

    margin-bottom:
        40px;

}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .how-it-works .steps {

        grid-template-columns:
            repeat(2, 1fr);

        row-gap:
            35px;

    }


    .how-it-works .step:not(:last-child)::after {

        display:
            none;

    }

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .how-it-works {

        padding-top:
            25px;

        padding-bottom:
            25px;

    }


    .how-it-works .section-heading {

        margin-bottom:
            30px;

    }


    .how-it-works .steps {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            30px 10px;

    }


    .how-it-works .step {

        padding:
            10px;

    }


    .how-it-works .step-icon {

        width:
            64px;

        height:
            64px;

    }


    .how-it-works .step-icon img {

        width:
            38px;

        height:
            38px;

    }


    .how-it-works .step-number {

        left:
            calc(50% - 40px);

    }

}



/* =========================================================
   DOLCI HANDS
   AJUSTE DE TAMAÑO — ICONOS
   ========================================================= */


/* ICONOS DENTRO DE LOS CÍRCULOS */

.how-it-works .step-icon img {

    width:
        70px;

    height:
        70px;

}


/* NOTIFICACIONES Y CARRITO */

.navbar-icon img {

    width:
        45px;

    height:
        45px;

}



/* =========================================================
   DOLCI HANDS
   HERO — IMAGEN REAL
   ========================================================= */

.hero-image-placeholder {

    overflow:
        hidden;

}


.hero-image {

    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;

    object-position: 88% center;

}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 700px) {

    .hero-image {

        object-position:
            72% center;

    }

}



/* =========================================================
   TOAST — CARRITO
========================================================= */

.home-cart-toast {

    position: fixed;

    top: 92px;

    right: 28px;

    z-index: 99999;

    display: flex;

    align-items: center;

    gap: 12px;

    min-width: 270px;

    max-width: 360px;

    padding: 13px 17px;

    box-sizing: border-box;

    border:
        1px solid
        rgba(91, 64, 52, .12);

    border-radius: 14px;

    background:
        rgba(255, 253, 251, .96);

    box-shadow:
        0 14px 35px
        rgba(76, 51, 40, .14);

    backdrop-filter:
        blur(12px);

    color: #65493d;

    font-size: 12px;

    font-weight: 600;

    pointer-events: none;

    animation:
        homeCartToastIn .3s ease forwards;

}


.home-cart-toast-icon {

    width: 27px;

    height: 27px;

    flex-shrink: 0;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #f0dfd4;

    color: #a86c55;

    font-size: 13px;

    font-weight: 700;

}


.home-cart-toast-message {

    line-height: 1.4;

}


@keyframes homeCartToastIn {

    from {

        opacity: 0;

        transform:
            translateY(-12px)
            translateX(10px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            translateX(0);

    }

}


/* =========================================================
   TOAST — MÓVIL
========================================================= */

@media (max-width: 600px) {

    .home-cart-toast {

        top: 78px;

        left: 14px;

        right: 14px;

        min-width: 0;

        width: auto;

        max-width: none;

    }

}



@media (max-width: 600px) {

    .footer-contact {
        display: block;
        min-width: 0;
    }

    .footer-contact h3,
    .footer-contact a,
    .footer-contact span {
        display: block;
        width: fit-content;
    }

    .footer-contact h3 {
        margin-top: 0;
        margin-bottom: 14px;
    }

    .footer-contact a,
    .footer-contact span {
        margin-top: 0;
        margin-bottom: 8px;
    }

}


.footer-phone {
    white-space: nowrap;
}



@media (max-width: 600px) {

    .footer-contact {
        grid-column: 1 / -1;
        width: 100%;
    }

    .footer-contact .footer-phone {
        display: block;
        white-space: nowrap;
    }

}


.footer-phone-test {
    display: block;
    width: 100%;
    margin: 0 0 8px 0;
    padding: 0;
    line-height: 1.4;
    white-space: nowrap;
}


/* =====================================================
   RESEÑAS — MODAL SELECCIONAR PRODUCTO
===================================================== */

.review-product-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


/* -----------------------------------------------------
   MODAL ABIERTO
----------------------------------------------------- */

.review-product-modal[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
}


/* -----------------------------------------------------
   FONDO
----------------------------------------------------- */

.review-product-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(42, 25, 20, 0.42);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* -----------------------------------------------------
   CONTENEDOR
----------------------------------------------------- */

.review-product-modal-content {
    position: relative;
    z-index: 1;

    width: min(100%, 520px);
    max-height: min(760px, calc(100vh - 48px));

    overflow: hidden;

    display: flex;
    flex-direction: column;

    background: #fbf6ef;

    border: 1px solid rgba(79, 42, 32, 0.10);
    border-radius: 24px;

    box-shadow:
        0 24px 70px rgba(43, 25, 20, 0.18);

    transform: translateY(18px) scale(0.98);

    transition:
        transform 0.25s ease;
}


.review-product-modal[aria-hidden="false"]
.review-product-modal-content {
    transform: translateY(0) scale(1);
}


/* -----------------------------------------------------
   HEADER
----------------------------------------------------- */

.review-product-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    padding: 30px 32px 20px;
}


.review-product-modal-header > div:first-child > span {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;

    color: #b95f42;
}


.review-product-modal-header h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
    line-height: 1.08;
    font-weight: 500;

    color: #321d18;
}


/* -----------------------------------------------------
   CERRAR
----------------------------------------------------- */

.review-modal-close {
    flex: 0 0 auto;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(79, 42, 32, 0.16);
    border-radius: 50%;

    background: transparent;

    color: #321d18;

    font-size: 25px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}


.review-modal-close:hover {
    background: #f1e3d6;
    border-color: #c36b4b;
}


/* -----------------------------------------------------
   BUSCADOR
----------------------------------------------------- */

.review-product-search {
    position: relative;

    margin: 0 32px 16px;
}


.review-product-search span {
    position: absolute;

    left: 16px;
    top: 50%;

    transform: translateY(-50%);

    color: #7b6259;

    font-size: 20px;

    pointer-events: none;
}


.review-product-search input {
    width: 100%;

    box-sizing: border-box;

    height: 48px;

    padding: 0 16px 0 46px;

    border: 1px solid #e3d5c9;
    border-radius: 12px;

    background: #fffdf9;

    color: #321d18;

    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.review-product-search input::placeholder {
    color: #9c8980;
}


.review-product-search input:focus {
    border-color: #c36b4b;

    box-shadow:
        0 0 0 3px rgba(195, 107, 75, 0.10);
}


/* -----------------------------------------------------
   CATEGORÍAS
----------------------------------------------------- */

.review-product-categories {
    display: flex;

    gap: 8px;

    overflow-x: auto;

    padding: 0 32px 18px;

    scrollbar-width: none;
}


.review-product-categories::-webkit-scrollbar {
    display: none;
}


.review-category {
    flex: 0 0 auto;

    padding: 9px 15px;

    border: 1px solid #e1d3c7;
    border-radius: 999px;

    background: #fffdf9;

    color: #49332b;

    font-family: inherit;
    font-size: 12px;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


.review-category:hover {
    border-color: #c36b4b;
}


.review-category.active {
    border-color: #4a2b22;

    background: #4a2b22;

    color: #fffaf5;
}


/* -----------------------------------------------------
   LISTA
----------------------------------------------------- */

.review-product-list {
    overflow-y: auto;

    padding: 0 32px 28px;

    scrollbar-width: thin;
}


.review-product-option {
    width: 100%;

    min-height: 76px;

    display: grid;

    grid-template-columns: 58px minmax(0, 1fr) 24px;

    align-items: center;

    gap: 14px;

    padding: 9px 4px;

    border: 0;
    border-bottom: 1px solid #eadfd7;

    background: transparent;

    color: #321d18;

    text-align: left;

    cursor: pointer;

    transition:
        background 0.2s ease;
}


.review-product-option:hover {
    background: #f4e8dd;
}


.review-product-option:last-child {
    border-bottom: 0;
}


/* -----------------------------------------------------
   IMAGEN
----------------------------------------------------- */

.review-product-option-image {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.review-product-option-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 5px 6px rgba(50, 29, 24, 0.12)
        );
}


/* -----------------------------------------------------
   INFORMACIÓN
----------------------------------------------------- */

.review-product-option-info {
    min-width: 0;

    display: flex;
    flex-direction: column;

    gap: 3px;
}


.review-product-option-info strong {
    overflow: hidden;

    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;
    text-overflow: ellipsis;

    color: #321d18;
}


.review-product-option-info span {
    font-size: 12px;

    color: #806b61;
}


.review-product-option-info small {
    width: fit-content;

    margin-top: 2px;

    padding: 3px 7px;

    border-radius: 999px;

    background: #f1e2d6;

    color: #b45d40;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 0.04em;
    text-transform: uppercase;
}


/* -----------------------------------------------------
   FLECHA
----------------------------------------------------- */

.review-product-option-arrow {
    color: #6f5045;

    font-size: 18px;

    transition:
        transform 0.2s ease;
}


.review-product-option:hover
.review-product-option-arrow {
    transform: translateX(3px);
}


/* -----------------------------------------------------
   SIN RESULTADOS
----------------------------------------------------- */

.review-product-empty {
    padding: 30px 20px;

    text-align: center;

    color: #806b61;

    font-size: 13px;
}


.review-product-empty[hidden] {
    display: none;
}


/* -----------------------------------------------------
   PRODUCTOS PRÓXIMAMENTE
----------------------------------------------------- */

.review-product-option[data-product-available="false"] {
    opacity: 0.62;
}


.review-product-option[data-product-available="false"]
.review-product-option-image img {
    filter:
        blur(3px)
        grayscale(0.15)
        drop-shadow(
            0 5px 6px rgba(50, 29, 24, 0.08)
        );
}


.review-product-option[data-product-available="false"]
.review-product-option-info strong,
.review-product-option[data-product-available="false"]
.review-product-option-info span {
    color: #8d7a71;
}


.review-product-option[data-product-available="false"]
.review-product-option-arrow {
    opacity: 0.55;
}


.review-product-option[data-product-available="false"]:hover {
    background: #f4e8dd;
    opacity: 0.72;
}


/* -----------------------------------------------------
   BLOQUEAR SCROLL
----------------------------------------------------- */

body.review-modal-open {
    overflow: hidden;
}


/* -----------------------------------------------------
   AVISO — PRÓXIMAMENTE
----------------------------------------------------- */

.review-unavailable-message {
    position: fixed;

    left: 50%;

    bottom: 28px;

    z-index: 10001;

    width: min(
        calc(100% - 40px),
        420px
    );

    box-sizing: border-box;

    display: flex;
    flex-direction: column;

    gap: 5px;

    padding: 16px 18px;

    border: 1px solid rgba(180, 93, 64, 0.18);
    border-radius: 14px;

    background: #fffaf5;

    box-shadow:
        0 12px 35px rgba(43, 25, 20, 0.16);

    color: #49332b;

    opacity: 0;

    transform:
        translate(-50%, 20px);

    pointer-events: none;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}


.review-unavailable-message.visible {
    opacity: 1;

    transform:
        translate(-50%, 0);
}


.review-unavailable-message strong {
    color: #9e4e36;

    font-size: 13px;
}


.review-unavailable-message span {
    font-size: 12px;
    line-height: 1.5;
}


/* =====================================================
   RESPONSIVE — MÓVIL
===================================================== */

@media (max-width: 700px) {

    .review-product-modal {
        align-items: flex-end;

        padding: 0;
    }


    .review-product-modal-content {
        width: 100%;
        max-height: 88vh;

        border-radius:
            24px 24px 0 0;

        transform:
            translateY(30px);
    }


    .review-product-modal[aria-hidden="false"]
    .review-product-modal-content {
        transform:
            translateY(0);
    }


    .review-product-modal-header {
        padding: 24px 20px 16px;
    }


    .review-product-modal-header h2 {
        font-size: 25px;
    }


    .review-product-search {
        margin:
            0 20px 14px;
    }


    .review-product-categories {
        padding:
            0 20px 16px;
    }


    .review-product-list {
        padding:
            0 20px 24px;
    }


    .review-product-option {
        grid-template-columns:
            54px minmax(0, 1fr) 20px;

        gap: 12px;

        min-height: 72px;
    }


    .review-product-option-image {
        width: 54px;
        height: 54px;
    }


    .review-product-option-info strong {
        font-size: 13px;

        white-space: normal;
    }


    .review-product-option-arrow {
        font-size: 16px;
    }


    .review-unavailable-message {
        bottom: 18px;
    }

}


/* -----------------------------------------------------
   OCULTAR PRODUCTOS FILTRADOS
----------------------------------------------------- */

.review-product-option[hidden] {
    display: none !important;
}


/* =====================================================
   RESEÑAS — MODAL AÑADIR RESEÑA
===================================================== */

.review-form-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;
    opacity: 0;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.review-form-modal[aria-hidden="false"] {
    visibility: visible;
    opacity: 1;
}


/* -----------------------------------------------------
   OVERLAY
----------------------------------------------------- */

.review-form-modal-overlay {
    position: absolute;
    inset: 0;

    background: rgba(42, 25, 20, 0.42);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* -----------------------------------------------------
   CONTENEDOR
----------------------------------------------------- */

.review-form-modal-content {
    position: relative;
    z-index: 1;

    width: min(100%, 540px);
    max-height: min(800px, calc(100vh - 48px));

    overflow-y: auto;

    padding: 0;

    background: #fbf6ef;

    border: 1px solid rgba(79, 42, 32, 0.10);
    border-radius: 24px;

    box-shadow:
        0 24px 70px rgba(43, 25, 20, 0.18);

    transform:
        translateY(18px) scale(0.98);

    transition:
        transform 0.25s ease;
}


.review-form-modal[aria-hidden="false"]
.review-form-modal-content {
    transform:
        translateY(0) scale(1);
}


/* -----------------------------------------------------
   HEADER
----------------------------------------------------- */

.review-form-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 24px;

    padding: 30px 32px 20px;
}


.review-form-header span {
    display: block;

    margin-bottom: 8px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.18em;

    color: #b95f42;
}


.review-form-header h2 {
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;

    font-size: 30px;
    line-height: 1.08;
    font-weight: 500;

    color: #321d18;
}


/* -----------------------------------------------------
   CAMPOS
----------------------------------------------------- */

.review-form-field {
    margin:
        0 32px 22px;
}


.review-form-field > label {
    display: block;

    margin-bottom: 9px;

    color: #49332b;

    font-size: 12px;
    font-weight: 700;
}


/* -----------------------------------------------------
   PRODUCTO SELECCIONADO
----------------------------------------------------- */

.review-selected-product {
    width: 100%;

    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    padding: 12px 16px;

    box-sizing: border-box;

    border: 1px solid #e1d3c7;
    border-radius: 13px;

    background: #fffdf9;

    color: #321d18;

    text-align: left;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}


.review-selected-product:hover {
    border-color: #c36b4b;

    background: #fffaf5;
}


.review-selected-product strong {
    display: block;

    font-size: 14px;
    font-weight: 600;
}


.review-selected-product > span {
    flex: 0 0 auto;

    color: #76574c;

    font-size: 18px;
}


/* -----------------------------------------------------
   ESTRELLAS
----------------------------------------------------- */

.review-stars {
    display: flex;
    align-items: center;

    gap: 5px;
}


.review-star {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 0;

    background: transparent;

    color: #b95f42;

    font-size: 32px;
    line-height: 1;

    cursor: pointer;

    transition:
        transform 0.15s ease;
}


.review-star:hover {
    transform:
        scale(1.12);
}


/* -----------------------------------------------------
   COMENTARIO
----------------------------------------------------- */

.review-comment-wrapper {
    position: relative;
}


.review-comment-wrapper textarea {
    width: 100%;
    min-height: 150px;

    box-sizing: border-box;

    resize: vertical;

    padding:
        15px 16px 36px;

    border: 1px solid #e1d3c7;
    border-radius: 13px;

    background: #fffdf9;

    color: #321d18;

    font-family: inherit;
    font-size: 14px;
    line-height: 1.55;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.review-comment-wrapper textarea::placeholder {
    color: #9c8980;
}


.review-comment-wrapper textarea:focus {
    border-color: #c36b4b;

    box-shadow:
        0 0 0 3px rgba(195, 107, 75, 0.10);
}


#review-comment-count {
    position: absolute;

    right: 14px;
    bottom: 11px;

    color: #927e74;

    font-size: 11px;

    pointer-events: none;
}


/* -----------------------------------------------------
   AVISO
----------------------------------------------------- */

.review-community-notice {
    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin:
        0 32px 22px;

    padding: 15px 16px;

    border: 1px solid rgba(195, 107, 75, 0.14);
    border-radius: 14px;

    background: #f5e9de;
}


.review-community-icon {
    flex: 0 0 auto;

    width: 28px;
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #ead3c4;

    color: #a8563b;

    font-size: 14px;
}


.review-community-notice strong {
    display: block;

    margin-bottom: 4px;

    color: #713d2e;

    font-size: 12px;
}


.review-community-notice p {
    margin: 0;

    color: #745d53;

    font-size: 11px;
    line-height: 1.5;
}


/* -----------------------------------------------------
   MENSAJE
----------------------------------------------------- */

.review-form-message {
    margin:
        0 32px 18px;

    padding: 13px 15px;

    border-radius: 12px;

    font-size: 12px;
    line-height: 1.5;
}


.review-form-message[hidden] {
    display: none;
}


.review-form-message.error {
    border: 1px solid rgba(170, 72, 49, 0.18);

    background: #f8e7e1;

    color: #8f3f2d;
}


.review-form-message.success {
    border: 1px solid rgba(74, 115, 73, 0.18);

    background: #eaf2e7;

    color: #4d7149;
}


/* -----------------------------------------------------
   PUBLICAR
----------------------------------------------------- */

.review-submit-button {
    width: calc(100% - 64px);

    min-height: 52px;

    margin:
        0 32px 32px;

    border: 0;
    border-radius: 13px;

    background: #4a2b22;

    color: #fffaf5;

    font-family: inherit;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}


.review-submit-button:hover {
    background: #60382d;

    transform:
        translateY(-1px);
}


.review-submit-button:disabled {
    opacity: 0.55;

    cursor: not-allowed;

    transform: none;
}


/* =====================================================
   RESPONSIVE — MÓVIL
===================================================== */

@media (max-width: 700px) {

    .review-form-modal {
        align-items: flex-end;

        padding: 0;
    }


    .review-form-modal-content {
        width: 100%;
        max-height: 91vh;

        border-radius:
            24px 24px 0 0;

        transform:
            translateY(30px);
    }


    .review-form-header {
        padding:
            24px 20px 18px;
    }


    .review-form-header h2 {
        font-size: 26px;
    }


    .review-form-field {
        margin:
            0 20px 20px;
    }


    .review-star {
        width: 40px;
        height: 40px;

        font-size: 30px;
    }


    .review-community-notice {
        margin:
            0 20px 20px;
    }


    .review-form-message {
        margin:
            0 20px 18px;
    }


    .review-submit-button {
        width: calc(100% - 40px);

        margin:
            0 20px 22px;
    }

}