/* 2026-01-26 developer3: Varibles y estilos globales */
:root {
    --color-white: #FFF;
    --color-black: #000;
    --font-nexa-reg: 'Poppins Regular', sans-serif;
    --font-nexa-bold: 'Poppins Semi-Bold', sans-serif;
    --font-nexa-xbold: 'Poppins Semi-Bold', sans-serif;
    --bg-overlay: rgb(15, 15, 15, 35%);
}

.show-general,
.show-blackfriday {
    height: 100%;
}

.slick-slider {
    height: 100%;
}

picture {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 0;
}

/* 2026-11-06 developer3: Slider home (responsive_slider) */
.em-rs {
    margin-top: 40px;
}

.em-rs .box {
    height: 100%;
}


.em-ss-item {
    background-image: var(--bg-image-ss);
    background-position: 73% 70%;
    background-size: cover;
}

.back-en {
    background-position: 11% 30% !important;
}

.back-it {
    background-position: center 30% !important;
}

.em-ss-item-container {
    padding: 0 !important;
}

.em-ss-item-container-info {
    background: rgb(15, 15, 15, 35%);
    max-width: 100%;
    padding: 10px 35px;
}

.em-ss-item-container-info-title {
    font-family: 'Poppins Regular';
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #FFF;
    margin-bottom: 0
}

.em-ss-item-container-info-subtitle {
    font-family: Neon;
    font-style: normal;
    font-weight: 800;
    font-size: 24px;
    line-height: 24px;
    color: #FFF;
    margin-bottom: 5px;
}

.em-ss-item-container-info-text {
    font-family: 'Poppins Regular';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 16px;
    color: #FFF;
    margin-top: 0;
    margin-bottom: 0;
}

.em-ss-item-container-info-btn {
    display: none;
}

.em-ss-item-container-info-btn:hover {
    color: #FFF;
}

.em-ss-h-100vh {
    height: 100% !important;
}

.text-promocion {
    margin-top: 20px;
}

.slider-item-wrapper {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}


/* Mantiene las flechas centradas verticalmente */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none !important;
    border: none !important;
    font-size: 50px !important;
    color: rgb(0, 0, 0, 70%) !important;

    /* Color con ligera transparencia */
    z-index: 1;
    transition: color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

/* Flecha izquierda */
.slick-prev {
    left: 10px !important;
}

/* Flecha derecha */
.slick-next {
    right: 10px !important;
}

/* Personalización de los símbolos de las flechas */
.slick-prev::after {
    content: '<' !important;
}

.slick-next::after {
    content: '>' !important;
}

/* Efecto hover en las flechas */
.slick-prev:hover,
.slick-next:hover {
    color: rgb(0, 0, 0, 100%) !important;

    /* Oscurece al pasar el ratón */
    transform: translateY(-50%) scale(1.2);

    /* Le da un pequeño zoom */
}



/* Oculta las flechas si no hay más elementos para deslizar */
.slick-prev.slick-disabled,
.slick-next.slick-disabled {
    opacity: 0.3 !important;
    pointer-events: none;
}

.fa-arrow-left,
.fa-arrow-right {
    display: none !important;

    /* Oculta completamente las flechas predeterminadas */
    opacity: 0 !important;
    visibility: hidden !important;
}

.slick-dots li {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}

.appt-btn {
    height: 60px;
    width: 250px;
    display: flex;
    align-items: center;

    /* Centrado Vertical */
    justify-content: center;

    /* Centrado Horizontal (Por defecto) */
    border: 2px solid white;
    color: white;
    background-color: transparent;
    font-weight: 600;
    font-size: 18px;
    padding: 0 16px;
    line-height: normal;
    cursor: pointer;
    transition: 0.2s;
    -webkit-font-smoothing: antialiased;
}

.appt-btn:hover {
    background: #000;
}

/* Estilo Variación Black Friday (Alineado a la izquierda) */

/* IMPORTANTE: Sin espacio entre las clases */
.appt-btn.blackfriday {
    text-align: center;
    margin-top: 100px;
    background: #000;
    border: none;
    color: white;

}

.txt-aviso-legal {
    text-decoration: underline;
}


.btn-es {
    height: 60px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: transparent;
    font-weight: 600;
    font-size: 18px;
    padding: 0 16px;
    line-height: normal;
    cursor: pointer;
    transition: 0.2s;
    -webkit-font-smoothing: antialiased;
}

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


.btn-general, .btn-blackfriday, .btn-it, .btn-en {
    height: 3.25rem;
    width: 15.6rem;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
    background-color: #FFF;
    color: #000;
    font-weight: bold;
    font-size: clamp(1.1rem, 1.2vw, 1.5rem);
    line-height: normal;
    cursor: pointer;
    transition: 0.2s;
    -webkit-font-smoothing: antialiased;

}

.btn-en {
    width: 400px;
    padding: 2rem;
    margin-top: 36rem;
    font-size: clamp(1.1rem, 0.6vw, 1.5rem);
}

.btn-en:hover,
.btn-it:hover {
    background: none;
    color: #fff;
    border: 2px solid #fff;
}

.btn-general:hover,
.btn-blackfriday:hover {
    background: none;
    color: #fff;
}

.show-general, .show-blackfriday, .show-en-button, .show-it-button {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    color: #FFF;
    z-index: 1;
}

.show-general .banner-home-title,
.show-blackfriday .banner-home-blackfriday-title,
.show-en-button .banner-home-title,
.show-it-button .banner-home-title {
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    font-family: 'Poppins Semi-Bold';
}

/* Espaciado superior del título (mobile first: crece con el ancho de pantalla) */
.show-general .banner-home-title,
.show-blackfriday .banner-home-blackfriday-title {
    margin-top: clamp(1rem, 3vw, 3rem);
}

.show-general h3.banner-home-subtitle,
.show-blackfriday h3.banner-home-blackfriday-subtitle,
.show-en-button h3.banner-home-subtitle,
.show-it-button h3.banner-home-subtitle {
    width: 58%;
    font-family: 'Poppins Bold';
    color: #FFF;
    margin-bottom: 0;
    font-size: clamp(6rem, 7vw, 8.1rem);
    line-height: 1;
}

p.banner-home-description,
p.banner-home-blackfriday-description {
    font-size: clamp(1.5rem, 1.5vw, 1.8rem);
    line-height: 1.2;
    font-family: 'Poppins Semi-Bold';
    text-wrap: balance;
}


/* Oculta las flechas por defecto en pantallas pequeñas */
@media (width <= 480px) {
    .slick-prev,
    .slick-next {
        font-size: 30px !important;
        color: rgb(0, 0, 0, 50%) !important;
    }

    .slick-prev {
        left: 5px !important;
    }

    .slick-next {
        right: 5px !important;
    }
}

/*
 * 2026-11-11 developer3: Media Queries Móvil (un único corte en 767px).
 * Coincide con el <source media="(max-width: 767px)"> de la imagen móvil y con
 * el breakpoint 768 de Slick (aplica por debajo de 768px).
 */
@media (width <= 767px) {
    /*
     * Tipografía fluida del banner: crece linealmente entre 360px y 767px.
     * Fórmula: clamp(min, min + (max - min) * (100vw - 360px) / 408px, max)
     * Para ajustar un tamaño, cambia solo sus valores min/max.
     */
    :root {
        --banner-title-fs: clamp(0.75rem, 0.53rem + 0.98vw, 1rem);         /* 12px → 16px */
        --banner-subtitle-fs: clamp(2.5rem, 1.62rem + 6vw, 3.5rem);       /* 40px → 56px */
        --banner-subtitle-lg-fs: clamp(2.75rem, 1.645rem + 4.91vw, 4rem); /* 44px → 64px (solo h3.banner-home-subtitle) */
        --banner-description-fs: clamp(1rem, 0.82rem + 0.78vw, 1.2rem);    /* 16px → 19.2px */
    }

    /* ---------- Sliders genéricos (simple, fixed, project_3d...) ---------- */
    .em-ss-item-container {
        width: 100vw;
    }

    .bnt-info-container {
        display: none;
        width: 0;
    }

    .slider-item-wrapper {
        height: 68vh;
    }

    picture {
        top: 50px;
    }

    .em-ss-item-container-info {
        padding: 12px 35px;
    }

    .em-ss-item-container-info-text {
        margin-top: 10px;
        margin-bottom: 1rem;
    }

    .slick-dots {
        display: none !important;
    }

    /* ---------- Bloque de texto del banner: general, versión inglesa e italiana comparten estilo ---------- */
    .show-general,
    .show-blackfriday,
    .show-en-button,
    .show-it-button {
        height: 100%;
        padding: clamp(20px, 3.9vw, 30px) clamp(20px, 5.2vw, 40px) clamp(60px, 11.7vw, 90px) clamp(20px, 6vw, 46px);
        justify-content: end;
        margin-top: 0;
        background: none;
        gap: clamp(10px, 3vw, 20px);
    }

    /* Versiones inglesa e italiana: el texto arriba (start) y el botón abajo (end) */
    .show-en-button,
    .show-it-button {
        justify-content: space-between;
    }

    /* El título y subtítulo EN/IT van agrupados en .banner-en-text: se reparte con el mismo gap */
    .show-en-button .banner-en-text,
    .show-it-button .banner-en-text {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        margin-top: 2rem;
        gap: inherit;
    }

    .show-general > *,
    .show-blackfriday > *,
    .show-en-button > *,
    .show-en-button .banner-en-text > *,
    .show-it-button > *,
    .show-it-button .banner-en-text > * {
        margin-top: 0;
        margin-bottom: 0;
    }

    .show-general .banner-home-title,
    .show-blackfriday .banner-home-blackfriday-title,
    .show-en-button .banner-home-title,
    .show-it-button .banner-home-title {
        font-size: var(--banner-title-fs);
        line-height: 1.2;
        white-space: pre-line;
    }

    .show-general h3.banner-home-subtitle {
        font-size: clamp(2.25rem, 14cqw, 4rem);
    }

    .show-blackfriday h3.banner-home-blackfriday-subtitle,
    .show-en-button h3.banner-home-subtitle,
    .show-it-button h3.banner-home-subtitle {
        width: 90%;
        font-family: 'Poppins Semi-Bold';
        font-size: var(--banner-subtitle-lg-fs);
        white-space: pre-line;
    }



    p.banner-home-description,
    p.banner-home-blackfriday-description {
        font-size: var(--banner-description-fs);
        line-height: 1;
    }

    .btn-general,
    .btn-blackfriday,
    .btn-en,
    .btn-it {
        width: 100%;
        font-family: 'Poppins Regular';
        display: inline-flex;
        font-size: clamp(1rem, 1.2vw, 1.5rem);
        padding: 14px 16px 12px;
        margin-top: 4rem;
        border: none;
        box-sizing: border-box;
    }

    /*
     * 2026-11-06 developer3: Slider home (responsive_slider).
     * El slide tiene la misma proporción que la imagen móvil (4:5) y el texto se
     * coloca y escala en unidades del slide (1cqw = 1% de su ancho), así que cae
     * en el mismo punto de la imagen en cualquier móvil.
     */
    .em-rs {
        margin-top: 90px; /* 40px de la sección + los 50px que antes bajaba solo la imagen */
    }

    .em-rs-slide {
        height: auto;
        aspect-ratio: 4 / 5;
        container-type: inline-size;

        --banner-title-fs: clamp(0.625rem, 3.3cqw, 1rem);
        --banner-subtitle-fs: clamp(2rem, 12.6cqw, 3.5rem);
        --banner-subtitle-lg-fs: clamp(2.25rem, 18cqw, 6rem); /* solo h3.banner-home-subtitle */
        --banner-description-fs: clamp(0.875rem, 4.3cqw, 1.2rem);
    }

    .em-rs-slide picture,
    .em-rs-slide .em-ss-item-container {
        position: absolute;
        inset: 0;
    }

    .em-rs-slide .img-slider-responsive {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .em-rs-slide .show-general {
        gap: 3cqw;
    }

    .em-rs-slide .show-blackfriday,
    .em-rs-slide .show-en-button,
    .em-rs-slide .show-it-button {
        padding: 5cqw 5cqw 15cqw 6cqw;
        gap: 2cqw;
    }

    .em-rs-slide .btn-general,
    .em-rs-slide .btn-blackfriday,
    .em-rs-slide .btn-en,
    .em-rs-slide .btn-it {
        padding: 2cqw;
        margin-top: 8cqw;
        font-size: clamp(0.875rem, 4.1cqw, 1.25rem);
    }

    .btn-general, .btn-blackfriday, .btn-it, .btn-en {
        height: 2.6rem;
    }


    /*
     * 2026-11-11 developer3: Versión italiana (.show-it-button), estilos propios.
     * Texto centrado en horizontal y tamaños invertidos: el título usa el tamaño
     * del subtítulo y el subtítulo el del título.
     */
    .show-it-button {
        align-items: center;
    }

    .show-it-button .banner-en-text {
        align-items: center;
        width: 100%;
        text-align: center;
    }

    .show-it-button .banner-home-title {
        font-size: var(--banner-subtitle-fs);
        line-height: 1;
    }

    .show-it-button h3.banner-home-subtitle {
        font-size: clamp(.75rem, 1rem + 1vw, 2rem);
        line-height: 1.2;
    }

    /* Subtítulo IT con icono de ubicación: 75% del ancho del padre, icono + texto centrados */
    .show-it-button .banner-home-subtitle-container {
        width: 75%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4em;
        font-size: var(--banner-title-fs);
        color: #FFF;
    }

    .show-it-button .banner-home-subtitle-container h3.banner-home-subtitle {
        width: auto;
        margin: 0;
    }

    .show-it-button .banner-home-subtitle-icon {
        flex-shrink: 0;
        width: auto;
        height: 2em;
    }

    /* Botón IT: ancho según su contenido (no el 100%), centrado por el contenedor */
    .show-it-button .btn-it {
        width: auto;
        padding-left: 12cqw;
        padding-right: 12cqw;
    }
}

/* 2026-01-23 developer3: Media Queries Desktop */
@media (width >= 768px) {
    .em-rs .slick-slider {
        height: 96vh;
    }
}

@media screen and (width >= 1024px) {
    p.banner-home-blackfriday-description{
        white-space: pre-line;
    }

    .slider-item-wrapper {
        position: relative;
        height: 100%;
        width: 100%;
        overflow: hidden;
    }

    .em-ss-item-container-info-btn {
        display: block;
        font-family: 'Poppins Regular';
        font-style: normal;
        font-weight: 800;
        font-size: 15px;
        line-height: 15px;
        text-align: center;
        color: #FFF;
        border: 2px solid #FFF;
        margin-top: 20px;
    }

    picture img {
        backface-visibility: hidden;
        perspective: 1000px;
        pointer-events: none;
        touch-action: none;
        user-select: none;
        min-height: 100vh;
        margin: 0 auto;
        margin-top: -8rem;
    }

    .show-general, .show-blackfriday, .show-en-button, .show-it-button {
        margin-top: 30px;
        height: auto;
        min-height: 86%;
        z-index: 1;
    }

    .show-blackfriday {
        min-height: 98%;
    }

    /* Versión italiana: estilos propios en escritorio */
    .show-it-button {
        min-height: 60%;
        align-items: center;
    }

    .show-general .banner-home-title,
    .show-blackfriday .banner-home-blackfriday-title {
        margin-bottom: 0;

        /* Usamos clamp para que el tamaño se ajuste solo */
        font-family: 'Poppins Semi-Bold';
        font-size: clamp(1.8rem, 1.5vw, 3.5rem);
    }

    .show-general h3.banner-home-subtitle,
    .show-blackfriday h3.banner-home-blackfriday-subtitle {
        line-height: 1;
        width: 70%;
        color: #FFF;
        margin-bottom: 0;
        margin-top: clamp(30px, 4vw, 26px);
        font-size: clamp(6rem, 6vw, 11.1rem);
    }

    .show-blackfriday h3.banner-home-blackfriday-subtitle {
        line-height: 1;
        width: 70%;
        color: #FFF;
        margin-bottom: 0;
        margin-top: clamp(30px, 4vw, 26px);
        font-size: clamp(6rem, 8vw, 11.1rem);
    }

    p.banner-home-description,
    p.banner-home-blackfriday-description {
        line-height: 1.2;
        margin-bottom: 0;
        margin-top: clamp(12px, 4vw, 50px);
        font-size: clamp(1.5rem, 1.5vw, 1.8rem);
    }

    .btn-general, .btn-blackfriday, .btn-it{
        /* padding: clamp(22px, 2vw, 24px) clamp(126px, 10vw, 134px); */
        margin-top: clamp(30px, 4vw, 80px);
        font-size: clamp(1.1rem, 0.6vw, 1.5rem);
    }

    .em-ss-item-container-info {
        background: rgb(15, 15, 15, 35%);
        max-width: 420px;
        padding: 35px 35px 70px;
    }

    .banner-en-text {
        display: none;
    }

}

@media (width >=1280px) and (width <=1366px) {
    .show-general,
    .show-blackfriday {
        margin-top: 28px;
        height: auto;
        min-height: 88%;
    }

    picture img {
        backface-visibility: hidden;
        perspective: 1000px;
        pointer-events: none;
        touch-action: none;
        user-select: none;
        min-height: 100vh;
        margin: 0 auto;
        margin-top: -4rem;
    }
}

/* @media (width >=1280px) and (width <=1366px) {

    .show-general {
        height: 87%;
    }

    .show-general .banner-home-title {
       margin-bottom: 0px;
        font-family: 'Poppins Semi-Bold';
        font-size: clamp(1.2rem, 1.5vw, 1.5rem);
    }

    .show-general h3.banner-home-subtitle {
        width: 58%;
        font-family: 'Poppins Semi-Bold';
        color: #FFF;
        margin-bottom: 0px;
        font-size: 6rem;
        margin-top: 42px;
    }

    p.banner-home-description {
        font-size: 1.8rem;
    }

    .btn-general {
        padding: 22px 126px;
        margin-top: 40px;
        font-size: 1.1rem;
    }
} */
