/* =========================================================
   JUICEBOX W
   ESTILOS GENERALES
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #111111;
    overflow-x: hidden;
}


/* =========================================================
   NAVBAR
   ========================================================= */

.navbar {
    width: 100%;
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 6%;

    background: #ffffff;

    border-bottom: 1px solid #eeeeee;

    position: relative;
    z-index: 10;
}

.logo {
    text-decoration: none;
    color: #111111;

    font-size: 24px;
    font-weight: 900;

    letter-spacing: -1.5px;
}

.nav-links {
    display: flex;

    list-style: none;

    gap: 38px;

    align-items: center;
}

.nav-links a {
    text-decoration: none;

    color: #111111;

    font-size: 14px;

    font-weight: 700;

    transition: opacity 0.2s ease;
}

.nav-links a:hover {
    opacity: 0.55;
}


/* =========================================================
   ENCABEZADO DEL MENÚ
   ========================================================= */

.menu-header {
    width: 100%;

    text-align: center;

    padding: 55px 5% 45px;
}

.eyebrow {
    font-size: 14px;

    font-weight: 800;

    letter-spacing: 7px;

    margin-bottom: 18px;
}

.menu-header h1 {
    font-size: clamp(36px, 4vw, 58px);

    line-height: 0.82;

    font-weight: 900;

    letter-spacing: -2px;

    margin-bottom: 20px;
}

.menu-header h1 .brand {
    line-height: 0.75;

    margin: 0;

    padding: 0;
}

.menu-header h1 .brand + .brand {
    margin-top: -8px;
}

.menu-header p {
    font-size: 20px;

    color: #555555;

    font-weight: 500;
}


/* =========================================================
   PRODUCTOS
   ========================================================= */

.products {
    width: 92%;

    max-width: 1500px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 28px;

    align-items: start;
}


/* =========================================================
   TARJETA DEL PRODUCTO
   ========================================================= */

.product-card {
    width: 100%;

    background: #ffffff;

    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.10);
}


/* =========================================================
   IMÁGENES
   ========================================================= */

.product-card img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: contain;

    background: #eef2ee;
}


/* =========================================================
   INFORMACIÓN DEL PRODUCTO
   ========================================================= */

.product-info {
    padding: 16px 18px 20px;
}

.product-category {
    display: block;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 2px;

    color: #888888;

    margin-bottom: 8px;
}

.product-info h2 {
    font-size: 22px;

    line-height: 1.05;

    margin-bottom: 10px;

    font-weight: 900;

    letter-spacing: -0.8px;
}

.product-info p {
    font-size: 14px;

    line-height: 1.45;

    color: #666666;

    margin-bottom: 14px;
}

.price {
    display: block;

    font-size: 20px;

    font-weight: 900;

    text-align: right;
}


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    width: 100%;

    margin-top: 100px;

    padding: 50px 6%;

    text-align: center;

    border-top: 1px solid #eeeeee;

    background: #ffffff;
}

footer strong {
    font-size: 20px;

    letter-spacing: -1px;
}

footer p {
    margin-top: 8px;

    color: #777777;

    font-size: 13px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    .products {
        width: 94%;

        grid-template-columns: repeat(4, 1fr);

        gap: 12px;
    }

    .product-card {
        border-radius: 12px;
    }

    .product-info {
        padding: 10px;
    }

    .product-info h2 {
        font-size: 15px;
    }

    .product-info p {
        font-size: 11px;
    }

    .price {
        font-size: 14px;
    }
}


/* =========================================================
   CELULAR
   ========================================================= */

@media (max-width: 600px) {

    .products {
        width: 96%;

        grid-template-columns: repeat(4, minmax(0, 1fr));

        gap: 5px;

        margin: 0 auto;
    }


    /* NAVBAR CELULAR */

    .navbar {
        height: 58px;

        padding: 0 3%;
    }

    .logo {
        font-size: 15px;

        letter-spacing: -1px;
    }

    .nav-links {
        gap: 8px;
    }

    .nav-links a {
        font-size: 9px;
    }


    /* ENCABEZADO CELULAR */

    .menu-header {
        padding: 30px 3% 25px;
    }

    .eyebrow {
        font-size: 8px;

        letter-spacing: 3px;

        margin-bottom: 10px;
    }

    .menu-header h1 {
        font-size: 38px;

        line-height: 0.9;

        letter-spacing: -2px;

        margin-bottom: 15px;
    }

    .menu-header p {
        font-size: 11px;
    }


    /* TARJETAS CELULAR */

    .product-card {
        border-radius: 7px;

        box-shadow:
            0 2px 8px rgba(0, 0, 0, 0.05);
    }


    /* IMAGEN CELULAR */

    .product-card img {
        width: 100%;

        height: auto;

        display: block;

        object-fit: contain;
    }


    /* INFORMACIÓN CELULAR */

    .product-info {
        padding: 5px;
    }

    .product-category {
        font-size: 6px;

        letter-spacing: 0.8px;

        margin-bottom: 4px;
    }

    .product-info h2 {
        font-size: 9px;

        line-height: 1.05;

        margin-bottom: 4px;

        letter-spacing: -0.2px;
    }

    .product-info p {
        font-size: 7px;

        line-height: 1.3;

        margin-bottom: 5px;
    }

    .price {
        font-size: 9px;
    }


    /* FOOTER CELULAR */

    footer {
        margin-top: 50px;

        padding: 30px 3%;
    }

    footer strong {
        font-size: 14px;
    }

    footer p {
        font-size: 9px;
    }
}


/* =========================================================
   CELULARES MUY PEQUEÑOS
   ========================================================= */

@media (max-width: 380px) {

    .products {
        width: 97%;

        gap: 4px;
    }

    .menu-header h1 {
        font-size: 32px;
    }

    .product-info h2 {
        font-size: 8px;
    }

    .product-info p {
        font-size: 6px;
    }

    .price {
        font-size: 8px;
    }
}


/* =========================================================
   HERO - TÍTULO PRINCIPAL
   ========================================================= */

/*
   IMPORTANTE:
   Tenemos DOS títulos en index.html:

   .hero-title-desktop = computadora
   .hero-title-mobile  = celular

   SOLO UNO SE MUESTRA dependiendo del dispositivo.
*/


/* =========================================================
   POR DEFECTO
   ========================================================= */

.hero-title-desktop {
    display: none !important;
}

.hero-title-mobile {
    display: block !important;
}


/* =========================================================
   COMPUTADORA
   ========================================================= */

@media screen and (min-width: 769px) {

    .hero-title-desktop {
        display: block !important;

        font-size: clamp(42px, 4vw, 64px);

        line-height: 0.95;

        font-weight: 900;

        letter-spacing: -2px;

        margin: 0 0 25px 0;

        max-width: 1200px;

        width: 100%;

        white-space: normal;

        overflow-wrap: normal;
    }

    .hero-title-desktop span {
        display: block !important;

        width: 100%;
    }

    .hero-title-mobile {
        display: none !important;
    }
}


/* =========================================================
   CELULAR
   ========================================================= */

@media screen and (max-width: 768px) {

    .hero-title-desktop {
        display: none !important;
    }

    .hero-title-mobile {
        display: block !important;

        font-size: clamp(40px, 11vw, 58px);

        line-height: 0.95;

        font-weight: 900;

        letter-spacing: -2px;

        margin: 0 0 25px 0;

        max-width: 100%;

        width: 100%;

        white-space: normal;

        overflow-wrap: break-word;
    }

    .hero-title-mobile span {
        display: block !important;

        width: auto;
    }
}