/* ========================================
   HOME
   ======================================== */

body {
    margin: 0;
}


/* ========================================
   HERO / SLIDER
   ======================================== */

.hero {
    width: 100%;

    padding-top: 0px;
    padding-bottom: 20px;

    box-sizing: border-box;
}


/* ========================================
   CONTENEDOR
   ======================================== */

.hero .uk-container {
    position: relative;

    box-sizing: border-box;
}


/* ========================================
   SLIDER
   ======================================== */

.hero-slider {
    position: relative;

    width: 100%;
}


/* ========================================
   ÁREA DEL SLIDESHOW - DESKTOP
   ======================================== */

.hero-slider .uk-slideshow-items {
    width: 100%;

    aspect-ratio: 1282 / 558;

    margin: 0;

    border-radius: 14px;

    overflow: hidden;
}


/* ========================================
   SLIDES
   ======================================== */

.hero-slider .uk-slideshow-items > li {
    width: 100%;
    height: 100%;
}


.hero-slider .uk-slideshow-items a,
.hero-slider .uk-slideshow-items picture {
    display: block;

    width: 100%;
    height: 100%;
}


/* ========================================
   IMÁGENES DESKTOP
   ======================================== */

.hero-slider .uk-slideshow-items img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* ========================================
   FLECHAS DESKTOP
   ======================================== */

.hero-arrow {
    position: absolute;

    top: 50%;

    transform: translateY(-50%);

    z-index: 50;

    width: 45px;
    height: 60px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #9a9a9a;

    text-decoration: none;

    transition: color 0.2s ease;
}


/* Flecha izquierda */

.hero-arrow-left {
    left: -55px;
}


/* Flecha derecha */

.hero-arrow-right {
    right: -55px;
}


.hero-arrow:hover {
    color: #f97316;

    text-decoration: none;
}


/* ========================================
   PUNTOS / INDICADORES
   ======================================== */

.hero-dotnav {
    margin-top: 8px !important;
    margin-bottom: 0 !important;

    position: relative;

    z-index: 20;
}


.hero-dotnav > * {
    padding-left: 10px;
}


.hero-dotnav > * > * {
    width: 8px;
    height: 8px;
}


.hero-dotnav > .uk-active > * {
    background-color: #f97316;
}

/* ========================================
   TABLET
   ======================================== */

@media (min-width: 768px) and (max-width: 1100px) {

    .hero {
        padding-top: 10px;
        padding-bottom: 20px;
    }

    .hero-arrow-left {
        left: 10px;
    }

    .hero-arrow-right {
        right: 10px;
    }

    /* OCULTAR FLECHAS EN MOBILE */

    .hero-arrow {
        display: none;
    }

}


/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 767px) {

    /* HERO */

    .hero {
        padding-top: 15px;
        padding-bottom: 15px;
    }


    /* CONTENEDOR */

    .hero .uk-container {
        padding-left: 15px;
        padding-right: 15px;
    }


    /* ========================================
       SLIDER VERTICAL
       ======================================== */

    .hero-slider .uk-slideshow-items {
        width: 100%;

        height: 700px;

        aspect-ratio: auto;

        margin: 0;

        border-radius: 15px;

        overflow: hidden;
    }


    /* SLIDES */

    .hero-slider .uk-slideshow-items > li {
        width: 100%;
        height: 100%;
    }


    /* ENLACE E IMAGEN */

    .hero-slider .uk-slideshow-items a,
    .hero-slider .uk-slideshow-items picture {
        width: 100%;
        height: 100%;

        display: block;
    }


    .hero-slider .uk-slideshow-items img {
        width: 100%;
        height: 100%;

        display: block;

        object-fit: cover;

        object-position: center;
    }


    /* OCULTAR FLECHAS EN MOBILE */

    .hero-arrow {
        display: none;
    }


    /* PUNTOS */

    .hero-dotnav {
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }

}


/* ========================================
   SECCIONES GENERALES
   ======================================== */

.home-section {
    padding: 60px 0;
}


/* ========================================
   TÍTULOS DE SECCIÓN
   ======================================== */

.home-section-title {
    margin-bottom: 35px;
}

/* ========================================
   CATEGORÍAS
   ======================================== */

.categories {
    padding-top: 50px;
    padding-bottom: 50px;
}


/* Título */

#categories-title {
    margin: 0 0 30px;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
}


/* Tarjetas */

.categories .uk-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 180px;

    padding: 20px 15px;

    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);

    text-decoration: none;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


/* Imagen */

.categories .uk-card img {
    width: 100px;
    height: 100px;

    object-fit: contain;

    display: block;
}


/* Nombre */

.categories .uk-card-title {
    margin: 12px 0 0;

    color: #222222;

    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
}


/* Hover desktop */

.categories .uk-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

.categories .uk-card:hover .uk-card-title {
    color: #f97316;
}

/* ========================================
   TABLET
   ======================================== */

@media (min-width: 768px) and (max-width: 1100px) {

    .categories {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    #categories-title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .categories .uk-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .categories .uk-card {
        min-height: 170px;
        padding: 18px 12px;
    }

    .categories .uk-card img {
        width: 90px;
        height: 90px;
    }

}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 767px) {

    .categories {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    #categories-title {
        font-size: 32px;
        line-height: 1.15;
        margin-bottom: 25px;
    }

    .categories .uk-card {
        min-height: 150px;
        padding: 15px 10px;
    }

    .categories .uk-card img {
        width: 80px;
        height: 80px;
    }

    .categories .uk-card-title {
        font-size: 14px;
        margin-top: 10px;
    }

}

/* ========================================
   MARCAS
   ======================================== */

.brands {
    padding-top: 50px;
    padding-bottom: 50px;
}


/* ========================================
   TÍTULO
   ======================================== */

#brands-title {
    margin: 0 0 30px;

    font-size: 32px;
    line-height: 1.2;
    font-weight: 500;
}


/* ========================================
   SLIDER
   ======================================== */

.brands-slider-wrapper {
    position: relative;
}


/* ========================================
   FONDO GRIS
   ======================================== */

.brands .uk-slider-container {
    background-color: #f8f7f7;

    border-radius: 12px;

    padding: 18px 45px;

    box-sizing: border-box;
}


/* ========================================
   ELEMENTOS
   ======================================== */

.brands .uk-slider-items > li {
    display: flex;

    align-items: center;
    justify-content: center;

    height: 60px;

    box-sizing: border-box;
}


/* ========================================
   ENLACES
   ======================================== */

.brands .uk-slider-items > li > a {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    text-decoration: none;
}


/* ========================================
   LOGOS DE MARCAS - NORMALIZACION
   ======================================== */

.brands .brand-item-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.brands .brand-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 50px;
    max-width: 100%;
    box-sizing: border-box;
}

.brands .brand-logo-container img,
.brands .uk-slider-items img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}


/* ========================================
   TODAS
   ======================================== */

.brands .brands-all {
    color: #222222;

    font-size: 24px;
    font-weight: 600;

    text-decoration: none;
}

.brands .brands-all:hover {
    color: #f97316;
}


/* ========================================
   FLECHAS
   ======================================== */

.brands-arrow {
    position: absolute;

    top: 50%;
    transform: translateY(-50%);

    z-index: 10;

    width: 24px;
    height: 40px;

    display: flex;

    align-items: center;
    justify-content: center;

    color: #333333;

    margin: 0;

    text-decoration: none;
}


/* Izquierda */

.brands-arrow-left {
    left: -35px;
}


/* Derecha */

.brands-arrow-right {
    right: -35px;
}


/* Hover */

.brands-arrow:hover {
    color: #f97316;
}

/* ========================================
   TABLET
   ======================================== */

@media (min-width: 768px) and (max-width: 1100px) {

    .brands {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    #brands-title {
        font-size: 30px;
        margin-bottom: 25px;
    }

    .brands .uk-slider-items > li {
        width: 25%;
        height: 60px;
    }

    .brands .brand-logo-container {
        width: 130px;
        height: 45px;
    }

    .brands .brand-logo-container img,
    .brands .uk-slider-items img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }

    .brands .uk-slider-container {
        padding: 16px 40px;
    }

    .brands-arrow-left {
        left: -30px;
    }

    .brands-arrow-right {
        right: -30px;
    }

}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 767px) {

    .brands {
        padding-top: 40px;
        padding-bottom: 40px;
    }


    /* Título */

    #brands-title {
        font-size: 32px;
        margin-bottom: 25px;
    }


    /* Slider */

    .brands-slider-wrapper {
        margin: 0px;
    }


    /* Fondo gris */

    .brands .uk-slider-container {
        padding: 15px 30px;

        border-radius: 12px;
    }


    /* Elementos */

    .brands .uk-slider-items > li {
    height: 55px;
    padding: 0 15px;
    box-sizing: border-box;
}


    /* Logos */

    .brands .brand-logo-container {
        width: 120px;
        height: 42px;
    }

    .brands .brand-logo-container img,
    .brands .uk-slider-items img {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
    }


    /* ========================================
   FLECHAS - OCULTAS EN MOBILE
   ======================================== */

.brands-arrow {
    display: none;
}

}


/* ========================================
   CÓMO COMPRAR
   ======================================== */

.how-to-buy {
    padding-top: 60px;
    padding-bottom: 60px;
}


/* ========================================
   TÍTULO
   ======================================== */

#how-to-buy-title {
    margin: 0;

    font-size: 28px;
    line-height: 1.2;
    font-weight: 500;
}

#how-to-buy-title span {
    color: #f97316;
}


/* ========================================
   CONTENEDOR DE PASOS
   ======================================== */

.how-to-buy .uk-flex {
    width: 100%;
}


/* ========================================
   TARJETAS
   ======================================== */

.how-to-buy-step {
    width: 230px;
    min-height: 155px;

    padding: 15px 15px;

    box-sizing: border-box;

    border: 1px solid #e5e5e5;
    border-radius: 12px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);

    background-color: #ffffff;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}


/* ========================================
   ICONOS
   ======================================== */

.how-to-buy-step > img {
    width: 65px;
    height: 65px;

    object-fit: contain;

    display: block;

    margin-bottom: 5px;
}


/* ========================================
   NÚMERO
   ======================================== */

.how-to-buy-step h3 {
    margin: 0 0 3px;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 500;

    color: #222222;
}


/* ========================================
   TÍTULO DEL PASO
   ======================================== */

.how-to-buy-step h4 {
    margin: 0 0 5px;

    color: #222222;

    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}


/* ========================================
   DESCRIPCIÓN
   ======================================== */

.how-to-buy-step p {
    margin: 0;

    color: #666666;

    font-size: 12px;
    line-height: 1.35;
}


/* ========================================
   FLECHAS
   ======================================== */

.how-to-buy-arrow {
    width: 60px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.how-to-buy-arrow img {
    width: 45px;
    height: auto;

    display: block;
}

/* ========================================
   TABLET
   ======================================== */

@media (min-width: 768px) and (max-width: 1100px) {

    .how-to-buy {
        padding-top: 50px;
        padding-bottom: 50px;
    }

    #how-to-buy-title {
        font-size: 26px;
    }

    .how-to-buy .uk-flex {
        gap: 0;
    }

    .how-to-buy-step {
    width: 190px;
    height: 170px;
    min-height: 190px;

    padding: 12px 10px;
}

    .how-to-buy-step > img {
        width: 55px;
        height: 55px;
    }

    .how-to-buy-step h3 {
        font-size: 13px;
    }

    .how-to-buy-step h4 {
        font-size: 13px;
    }

    .how-to-buy-step p {
        font-size: 11px;
    }

    .how-to-buy-arrow {
        width: 35px;
    }

    .how-to-buy-arrow img {
        width: 30px;
    }

}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 767px) {

    .how-to-buy {
        padding-top: 40px;
        padding-bottom: 40px;
    }


    #how-to-buy-title {
        font-size: 24px;
    }


    .how-to-buy .uk-flex {
        flex-direction: column;
        gap: 15px;
    }


    .how-to-buy-step {
        width: 100%;
        max-width: 320px;
        min-height: 150px;
    }


    .how-to-buy-arrow {
        transform: rotate(90deg);

        width: 40px;
        height: 30px;
    }

}

/* =========================================================
   CONTACTO Y REDES SOCIALES
   ========================================================= */

.contact-social {
    padding-top: 50px;
    padding-bottom: 50px;
}


/* =========================================================
   BANNER
   ========================================================= */

.contact-social-banner {
    position: relative;

    width: 100%;

    aspect-ratio: 2048 / 768;

    background-image: url("../../uploads/banner-sin-texto.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    border-radius: 28px;

    overflow: hidden;
}


/* =========================================================
   BLOQUE DE CONTACTO
   ========================================================= */

.contact-social-contact {
    position: absolute;

    left: 6%;
    top: 50%;

    transform: translateY(-50%);

    width: 29%;

    z-index: 2;
}


.contact-social-contact h2 {
    margin: 0 0 25px;

    color: #111111;

    font-size: clamp(38px, 3.25vw, 52px);

    line-height: 1.03;

    font-weight: 700;
}


.contact-social-contact h2 span {
    color: #f97316;
}


.contact-social-contact p {
    margin: 0 0 35px;

    color: #111111;

    font-size: clamp(16px, 1.25vw, 20px);

    line-height: 1.45;
}


/* =========================================================
   BOTÓN WHATSAPP
   ========================================================= */

.contact-whatsapp {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 14px;

    height: 58px;

    padding: 0 28px;

    border: 2px solid #f97316;

    border-radius: 30px;

    background: transparent;

    color: #111111;

    font-size: 18px;

    white-space: nowrap;

    font-weight: 600;

    text-transform: none;

    box-sizing: border-box;
}


.contact-whatsapp:hover {
    background-color: rgba(255, 247, 237, 0.7);

    border-color: #f97316;

    color: #111111;

    text-decoration: none;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    object-fit: contain;
}


/* =========================================================
   BLOQUE DE REDES
   ========================================================= */

.contact-social-networks {
    position: absolute;

    left: 40%;

    top: 50%;

    transform: translateY(-50%);

    width: 29%;

    z-index: 2;

    text-align: center;
}


.contact-social-networks h3 {
    margin: 0 0 24px;

    color: #111111;

    font-size: clamp(22px, 1.7vw, 30px);

    line-height: 1.1;

    font-weight: 600;
}


/* =========================================================
   ICONOS SOCIALES
   ========================================================= */

.contact-social-icons {
    display: flex;

    align-items: flex-start;

    justify-content: center;

    gap: 20px;
}


/* Cada red */

.social-item {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: flex-start;

    gap: 8px;

    color: #111111;

    text-decoration: none;

    flex: 0 0 auto;
}


.social-item:hover {
    color: #111111;

    text-decoration: none;
}


/* Círculo del icono */

.social-item > span:first-child {
    width: 68px;

    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    color: #ffffff;
}


/* Tamaño del icono UIkit */

.social-item > span:first-child svg {
    width: 38px;

    height: 38px;
}


/* =========================================================
   INSTAGRAM
   ========================================================= */

.social-instagram > span:first-child {
    background: linear-gradient(
        135deg,
        #833ab4 0%,
        #fd1d1d 50%,
        #fcb045 100%
    );
}


/* =========================================================
   FACEBOOK
   ========================================================= */

.social-facebook > span:first-child {
    background: #1877f2;
}


/* =========================================================
   YOUTUBE
   ========================================================= */

.social-youtube > span:first-child {
    background: #ff0000;
}


/* =========================================================
   USUARIO / HANDLE
   ========================================================= */

.social-handle {
    color: #111111;

    font-size: 14px;

    line-height: 1.2;

    font-weight: 500;

    white-space: nowrap;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .contact-social-contact {
        left: 6%;

        width: 32%;
    }


    .contact-social-networks {
        left: 41%;

        width: 31%;
    }


    .contact-social-icons {
        gap: 20px;
    }


    .social-item > span:first-child {
        width: 82px;

        height: 82px;
    }


    .social-item > span:first-child svg {
        width: 42px;

        height: 42px;
    }


    .social-handle {
        font-size: 14px;
    }

    @media (min-width: 768px) and (max-width: 1100px) {

    .contact-social-banner {
        aspect-ratio: auto;
        min-height: 420px;

        background-size: auto 100%;
        background-position: center;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .contact-social {
        padding-top: 30px;

        padding-bottom: 30px;
    }


    .contact-social-banner {

        aspect-ratio: auto;

        min-height: 720px;

        border-radius: 20px;

        /*
         * En móvil usamos la misma imagen,
         * pero desplazamos el fondo hacia la derecha
         * para conservar los productos.
         */
        background-size: auto 100%;

        background-position: 72% center;
    }


    /* =====================================================
       CONTACTO MOBILE
       ===================================================== */

    .contact-social-contact {

        position: absolute;

        left: 25px;
        right: 25px;

        top: 40px;

        transform: none;

        width: auto;

        z-index: 2;
    }


    .contact-social-contact h2 {

        margin-bottom: 20px;

        font-size: 38px;

        line-height: 1.05;
    }


    .contact-social-contact p {

        margin-bottom: 25px;

        font-size: 17px;

        line-height: 1.45;
    }


    /* =====================================================
       BOTÓN MOBILE
       ===================================================== */

    .contact-whatsapp {

        width: 100%;

        height: 52px;

        padding: 0 18px;

        gap: 10px;

        font-size: 15px;
    }


    /* =====================================================
       REDES MOBILE
       ===================================================== */

    .contact-social-networks {

        position: absolute;

        left: 25px;
        right: 25px;

        bottom: 45px;

        top: auto;

        transform: none;

        width: auto;

        z-index: 2;
    }


    .contact-social-networks h3 {

        margin-bottom: 25px;

        font-size: 24px;
    }


    .contact-social-icons {

        gap: 22px;
    }


    .social-item > span:first-child {

        width: 62px;

        height: 62px;
    }


    .social-item > span:first-child svg {

        width: 32px;

        height: 32px;
    }


    .social-handle {

        font-size: 12px;
    }

}


