/* ============================================================
   RESET GENERAL
============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #F5F5F7;
    color: #1C1C1E;
}


/* ============================================================
   HEADER
============================================================ */

.header {
    background: #1C1C1E;
    color: #F5F5F7;
    position: relative;
    z-index: 10000;
}

.header-container {
    width: min(100% - 40px, 1400px);
    min-height: clamp(80px, 8vw, 100px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: clamp(12px, 2vw, 30px);

    position: relative;
    z-index: 2;
    padding: clamp(15px, 2vw, 20px) 0;
}


/* ============================================================
   BUSCADOR
============================================================ */

.search-box {
    width: min(100%, 380px);
    height: 48px;

    display: flex;
    position: relative;

    border: 1px solid #3A3A3C;
}

.search-box input {
    width: 100%;
    min-width: 0;
    flex: 1;

    border: none;
    outline: none;

    padding: 0 clamp(10px, 2vw, 18px);

    background: #F5F5F7;
    color: #1C1C1E;

    font-size: clamp(13px, 1.2vw, 15px);
}

.search-box button {
    width: clamp(45px, 5vw, 58px);
    flex-shrink: 0;

    border: none;

    background: #AEAEB2;
    color: #1C1C1E;

    font-size: 21px;
    cursor: pointer;

    transition: 0.3s ease;
}

.search-box button:hover {
    background: #F5F5F7;
}


/* ============================================================
   RESULTADOS DE BÚSQUEDA
============================================================ */

#resultados-busqueda {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;

    width: 100%;

    background: #FFFFFF;
    border: 1px solid #E5E5E7;

    z-index: 1000;
    display: none;
}

.resultado-busqueda {
    display: flex;
    flex-direction: column;
    gap: 5px;

    padding: 15px 18px;

    text-decoration: none;
    color: #1C1C1E;

    border-bottom: 1px solid #E5E5E7;

    transition: 0.2s ease;

    
}

.resultado-busqueda:last-child {
    border-bottom: none;
}

.resultado-busqueda:hover {
    background: #F5F5F7;
}

.resultado-busqueda strong {
    font-size: 15px;
}

.resultado-busqueda span {
    font-size: 11px;
    letter-spacing: 2px;
    color: #6C6C70;
}


/* ============================================================
   LOGO
============================================================ */

.logo {
    position: static;
    transform: none;

    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    letter-spacing: clamp(5px, 0.8vw, 10px);

    color: #F5F5F7;
    white-space: nowrap;

    transition: 0.3s ease;
}

.logo:hover {
    letter-spacing: clamp(6px, 1vw, 12px);
}


/* ============================================================
   ICONOS
============================================================ */

.header-icons {
    justify-self: end;

    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 10px);
}

.icon-button {
    position: relative;

    width: 48px;
    height: 48px;
    flex-shrink: 0;

    border: 1px solid #3A3A3C;

    background: transparent;
    color: #F5F5F7;

    font-size: 24px;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.3s ease;
    text-decoration: none;
}

.icon-button:hover {
    background: #F5F5F7;
    color: #1C1C1E;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;

    min-width: 20px;
    height: 20px;
    padding: 0 5px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 2px solid #1C1C1E;

    background: #F5F5F7;
    color: #1C1C1E;

    font-size: 11px;
    font-weight: bold;
}


/* ============================================================
   NOMBRE DEL USUARIO
============================================================ */

.usuario-header {
    width: auto;
    min-width: 48px;
    height: 48px;

    padding: 0 clamp(8px, 1vw, 12px);

    font-size: clamp(11px, 1vw, 13px);
    font-weight: 700;
    letter-spacing: 1px;

    white-space: nowrap;
}


/* ============================================================
   NAVEGACIÓN
============================================================ */

.navigation {
    width: min(100% - 40px, 1400px);
    margin: 0 auto;

    border-top: 1px solid #3A3A3C;

    display: flex;
    align-items: center;
    gap: clamp(18px, 3.2vw, 45px);

    padding: clamp(15px, 2vw, 20px) 0;

    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
}

.navigation::-webkit-scrollbar {
    display: none;
}

.navigation a {
    flex: 0 0 auto;

    color: #F5F5F7;
    text-decoration: none;

    font-size: clamp(12px, 1.2vw, 15px);
    font-weight: 500;
    letter-spacing: 1px;

    position: relative;

    transition: 0.3s ease;
    white-space: nowrap;
}

.navigation a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: #F5F5F7;

    transition: 0.3s ease;
}

.navigation a:hover {
    color: #AEAEB2;
}

.navigation a:hover::after {
    width: 100%;
}



/* ============================================================
   HERO
============================================================ */

.hero {
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;

    background:
        linear-gradient(
            90deg,
            rgba(28, 28, 30, 0.95) 0%,
            rgba(28, 28, 30, 0.80) 45%,
            rgba(28, 28, 30, 0.20) 100%
        ),
        url("images/hero.jpg");

    background-size:
    100% 100%,
    auto clamp(470px, 58vw, 650px);
background-position:
    center,
    98% center;

background-repeat: no-repeat;
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 80px 60px;
    color: #F5F5F7;
}

.hero-small {
    font-size: 14px;
    letter-spacing: 4px;
    margin-bottom: 25px;
    color: #AEAEB2;
}

.hero h1 {
    font-size: clamp(50px, 7vw, 105px);
    line-height: 0.95;
    letter-spacing: -3px;
    font-weight: 900;
    margin-bottom: 35px;
}

.hero-personaje {
    display: none;
}

.hero-description {
    max-width: 420px;
    font-size: 18px;
    line-height: 1.6;
    color: #E5E5E7;
    margin-bottom: 35px;
}

.hero-button {
    display: inline-block;
    border: none;
    padding: 16px 30px;
    background: #F5F5F7;
    color: #1C1C1E;
    font-size: 14px;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
}

.hero-button:hover {
    background: #AEAEB2;
}


/* ============================================================
   SECCIONES
============================================================ */

.categories,
.products {
    padding: 100px 50px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title p {
    font-size: 13px;
    letter-spacing: 4px;
    color: #6C6C70;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: 46px;
    letter-spacing: -1px;
    font-weight: 900;
}


/* ============================================================
   NOSOTROS
============================================================ */

.nosotros {
    max-width: 1100px;
    margin: 0 auto;
    padding: 110px 50px 120px;
    text-align: center;
}

.nosotros .section-title {
    margin-bottom: 35px;
}

.nosotros .section-title p {
    font-size: 16px;
    letter-spacing: 5px;
    color: #6C6C70;
    margin-bottom: 18px;
}

.nosotros .section-title h2 {
    font-size: 58px;
    letter-spacing: -2px;
    line-height: 1;
}

.nosotros > p {
    max-width: 650px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.7;
    color: #6C6C70;
}

.nosotros-texto {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
}

.nosotros-texto p {
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 19px;
    font-weight: 400;
}


/* ============================================================
   CATEGORÍAS
============================================================ */

.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (min-width: 801px) and (max-width: 1229px) {

    .pagina-inicio .category-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

.category-card {
    min-height: 300px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-decoration: none;
    background: #3A3A3C;
    color: #F5F5F7;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease;
}

.category-card::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border: 1px solid #6C6C70;
    border-radius: 50%;
    top: -60px;
    right: -60px;
    transition: 0.4s ease;
}

.category-card:hover {
    background: #1C1C1E;
    transform: translateY(-7px);
}

.category-card:hover::before {
    transform: scale(1.3);
}

.category-card h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.1;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.category-card[href="multivitaminicos.html"] h3 {
    font-size: 24px;
    letter-spacing: -1px;
    white-space: nowrap;
}

.titulo-largo {
    font-size: 24px !important;
    letter-spacing: -1px;
    white-space: nowrap;
    width: max-content;
}

.category-card span {
    font-size: 12px;
    letter-spacing: 2px;
    color: #AEAEB2;
    position: relative;
    z-index: 2;
}

.category-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    z-index: 0;
    transition: 0.4s ease;
}

.category-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.05)
    );
    z-index: 1;
}

.category-card:hover img {
    transform: scale(1.05);
}


/* ============================================================
   PRODUCTOS
============================================================ */

.products {
    max-width: none;
    background: #E5E5E7;
}

.product-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: #FFFFFF;
    border: 1px solid #E5E5E7;
    overflow: hidden;
    transition: 0.3s ease;

    display: flex;
    flex-direction: column;
    min-height: 560px;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10);
}

.product-image {
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E5E5E7;
    overflow: hidden;
    border: 1px solid #FFFFFF;
}

.product-image img {
    width: 160%;
    height: 160%;
    object-fit: contain;
    padding: 0;
    transition: 0.4s ease;
}

.product-description {
    display: block;
    margin-bottom: 20px;
}

.pagina-catalogo .descripcion-corta {
    transform: translateY(-6px);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 28px;
    background: #FFFFFF;

    display: flex;
    flex-direction: column;
    flex: 1;
}
.product-info p {
    font-size: 12px;
    letter-spacing: 3px;
    color: #6C6C70;
    margin-bottom: 10px;
}

.product-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.product-info strong {
    display: block;
    font-size: 22px;
    margin-top: 15px;
    margin-bottom: 20px;
    font-weight: 700;
}

.bloque-precios {
    margin-top: auto;
    margin-bottom: 20px;
}

.bloque-precios strong {
    margin: 0;
}

.precio-transferencia {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.3;
    color: #555;
}

.product-info button {
    width: 100%;
    padding: 16px;
    margin-top: 0;
    border: 1px solid #1C1C1E;
    background: #1C1C1E;
    color: #F5F5F7;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;
    transition: 0.3s ease;
}

.product-info button:hover {
    background: #F5F5F7;
    color: #1C1C1E;
}


/* ============================================================
   FILTROS DE PRODUCTOS
============================================================ */

.filtros-productos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin: -25px auto 55px;
}

.filtro {
    padding: 13px 24px;
    border: 1px solid #AEAEB2;
    background: transparent;
    color: #1C1C1E;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: 0.3s ease;
}

.filtro:hover {
    background: #1C1C1E;
    color: #F5F5F7;
    border-color: #1C1C1E;
}

.filtro.activo {
    background: #1C1C1E;
    color: #F5F5F7;
    border-color: #1C1C1E;
}


/* ============================================================
   FOOTER
============================================================ */

.footer {
    background: #1C1C1E;
    color: #F5F5F7;
    padding: 70px 60px 25px;
}

.footer-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 70px;
    text-align: left;
}

.footer-marca {
    text-align: left;
}

.footer-logo {
    font-size: 38px;
    font-weight: 900;
    letter-spacing: 7px;
    margin-bottom: 15px;
}

.footer-marca p {
    color: #AEAEB2;
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 1px;
}

.footer-columna {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-columna h3 {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: 2px;
    color: #F5F5F7;
}

.footer-columna a {
    color: #AEAEB2;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s ease;
}

.footer-columna a:hover {
    color: #F5F5F7;
}

.footer-bottom {
    max-width: 1200px;
    margin: 60px auto 0;
    padding-top: 25px;
    border-top: 1px solid #3A3A3C;
    text-align: left;
}

.footer-bottom p {
    margin: 0;
    color: #6C6C70;
    font-size: 12px;
}


/* ============================================================
   CARRITO FLOTANTE
============================================================ */

.carrito-flotante {
    position: fixed;
    right: 90px;
    bottom: 22px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #5A5A5E;
    color: #6C6C70;
    text-decoration: none;
    border: 1px solid #6C6C70;
    font-size: 24px;
    z-index: 9999;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s ease;
}

.carrito-flotante .cart-count {
    border: 2px solid #6C6C70;
}

.carrito-flotante:hover {
    background: #6C6C70;
    color: #FFFFFF;
    transform: translateY(-4px);
}


/* ============================================================
   NOTIFICACIÓN CARRITO
============================================================ */

.notificacion-carrito {
    position: fixed;
    right: 90px;
    bottom: 95px;
    background: #5A5A5E;
    color: #FFFFFF;
    padding: 16px 22px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #6C6C70;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    z-index: 10000;
    animation: aparecerNotificacion 0.3s ease;
}

@keyframes aparecerNotificacion {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================================
   NOTIFICACIÓN DESCUENTO
============================================================ */

.notificacion-descuento {
    position: fixed;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);

    width: max-content;
    max-width: calc(100% - 30px);

    background: #5A5A5E;
    color: #FFFFFF;

    padding: 14px 20px;

    font-size: 14px;
    font-weight: 600;
    text-align: center;

    border: 1px solid #6C6C70;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);

    z-index: 10000;

    animation: aparecerDescuento 0.3s ease;
}

@keyframes aparecerDescuento {
    from {
        opacity: 0;
        transform: translate(-50%, 10px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* ============================================================
   CARRITO OCIO
============================================================ */

.carrito-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    min-height: 70vh;
}

body:has(.carrito-container) > header {
    background: #1C1C1E;
    color: #F5F5F7;
    padding: 45px 30px;
    text-align: center;
}

body:has(.carrito-container) > header h1 {
    font-size: 42px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.volver-inicio {
    color: #AEAEB2;
    text-decoration: none;
    font-size: 14px;
}

.producto-carrito {
    background: #FFFFFF;
    display: grid;
   grid-template-columns: 210px 1fr auto auto;
    align-items: center;
    gap: 30px;
    padding: 25px 30px;
    margin-bottom: 15px;
    border: 1px solid #E5E5E7;

    overflow: hidden;
}

.producto-carrito .producto-info h3 {
    font-size: 20px;
    margin-bottom: 24px;
}

.producto-info p {
    color: #6C6C70;
    font-size: 14px;
}

.cantidad {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cantidad button {
    width: 36px;
    height: 36px;
    border: none;
    background: #1C1C1E;
    color: #F5F5F7;
    font-size: 20px;
    cursor: pointer;
}

.cantidad span {
    min-width: 25px;
    text-align: center;
    font-weight: bold;
}

.acciones-carrito {
    display: flex;
    align-items: center;
    gap: 28px;
}

.eliminar-producto {
    border: none;
    background: transparent;
    color: #1F1F1F;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
}

.carrito-resumen {
    margin-top: 40px;
    padding: 35px;
    background: #E5E5E7;
}

.boton-comprar {
    width: 100%;
    padding: 16px 35px;
    border: none;
    background: #1C1C1E;
    color: #F5F5F7;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.carrito-vacio {
    text-align: center;
    background: #FFFFFF;
    padding: 80px 30px;
    border: 1px solid #E5E5E7;
}

.carrito-vacio h2 {
    font-size: 30px;
    margin-bottom: 15px;
}

.carrito-vacio p {
    color: #6C6C70;
    margin-bottom: 30px;
}

.carrito-vacio a {
    display: inline-block;
    padding: 15px 30px;
    background: #1C1C1E;
    color: #F5F5F7;
    text-decoration: none;
    font-weight: bold;
}


/* ============================================================
   FORMULARIO DE COMPRA
============================================================ */

#formulario-compra {
    margin-top: 30px;
    padding: 40px;
    background: #FFFFFF;
    border: 1px solid #E5E5E7;
}

#formulario-compra > h2 {
    font-size: 26px;
    margin-bottom: 30px;
}

#formulario-compra input:not([type="radio"]) {
    display: block;
    width: 100%;
    max-width: 600px;
    padding: 16px;
    margin-bottom: 15px;
    border: 1px solid #AEAEB2;
    background: #F5F5F7;
    font-size: 15px;
}

#formulario-compra button {
    padding: 16px 30px;
    border: none;
    background: #1C1C1E;
    color: #F5F5F7;
    font-weight: bold;
    cursor: pointer;
}

/* ============================================================
   FORMA DE ENTREGA - CARRITO
============================================================ */

.opcion-entrega {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 16px;
}

.opcion-entrega input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    flex-shrink: 0;
}

.opcion-entrega span {
    display: block;
}

.forma-entrega h3 {
    margin-bottom: 18px;
}

.opcion-entrega {
    margin-bottom: 22px;
}


/* PUNTOS DE RETIRO */

#puntos-retiro {
    margin: -6px 0 24px 27px;
}

#puntos-retiro label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

#puntos-retiro input[type="radio"] {
    width: 17px;
    height: 17px;
    margin: 0;
    flex-shrink: 0;
}


/* DATOS DEL ENVÍO */

#datos-envio {
    margin-top: 22px;
}


/* AVISO DEL ENVÍO */

.aviso-envio {
    margin-top: 20px;
    padding: 18px 20px;

    background: #F5F5F7;
    border: 1px solid #E5E5E7;

    font-size: 14px;
    line-height: 1.6;
    color: #555;
}


/* ============================================================
   FICHA INDIVIDUAL DEL PRODUCTO — OCIO
============================================================ */

.producto-detalle {
    width: min(1150px, 92%);
    margin: 55px auto;
    padding: 35px;
    background: #FFFFFF;
    border: 1px solid #E5E5E7;
    border-radius: 8px;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    grid-template-rows: auto;
    column-gap: 65px;
    row-gap: 30px;

    box-sizing: border-box;
}


/* ============================================================
   GALERÍA
============================================================ */

.producto-detalle-galeria {
    position: relative;
    width: 100%;
    height: 500px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #F7F7F7;
    overflow: hidden;
}


/* IMAGEN */

.producto-detalle-imagen {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #F7F7F7;
    overflow: hidden;
}

.producto-detalle-imagen img {
    width: 100%;
    height: 100%;

    object-fit: contain;
    padding: 20px;

    transform: scale(1.60);
    transition: transform 0.4s ease;
}

.producto-detalle-galeria:hover
.producto-detalle-imagen img {
    transform: scale(1.55);
}


/* ============================================================
   FLECHAS
============================================================ */

.galeria-flecha {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #E5E5E7;
    color: #1C1C1E;

    font-size: 22px;
    font-weight: 400;

    cursor: pointer;
    z-index: 10;

    opacity: 0;
    transition: 0.25s ease;
}

.producto-detalle-galeria:hover .galeria-flecha {
    opacity: 1;
}

.galeria-anterior {
    left: 15px;
}

.galeria-siguiente {
    right: 15px;
}

.galeria-flecha:hover {
    background: #1C1C1E;
    color: #FFFFFF;
}


/* ============================================================
   INFORMACIÓN
============================================================ */

.producto-detalle-info {
    width: 100%;
    max-width: 470px;

    align-self: center;

    display: flex;
    flex-direction: column;

    padding: 20px 0;
}


/* MARCA */

.producto-categoria {
    margin: 0 0 14px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;

    color: #6C6C70;
    text-transform: uppercase;
}


/* NOMBRE */

.producto-detalle-info h1 {
    margin: 0 0 18px;

    font-size: 33px;
    line-height: 1.05;
    letter-spacing: -1.5px;

    font-weight: 800;
    color: #1C1C1E;
}


/* DESCRIPCIÓN CORTA */

.producto-descripcion-corta {
    margin: 0 0 25px;

    max-width: 430px;

    font-size: 15px;
    line-height: 1.65;

    color: #6C6C70;
}


/* PRECIO */

.producto-precio {
    display: block;

    margin: 0 0 28px;

    font-size: 27px;
    font-weight: 700;

    color: #1C1C1E;
}

.producto-bloque-precios {
    margin-bottom: 28px;
}

.producto-bloque-precios .producto-precio {
    margin-bottom: 0;
}

.producto-precio-transferencia {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.3;
    color: #555;
}

/* ============================================================
   COMPRA
============================================================ */

.producto-compra {
    width: 100%;

    display: flex;
    align-items: stretch;

    gap: 10px;
}


/* SELECTOR */

.producto-compra .selector-cantidad {
    width: 115px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #D1D1D3;
    background: #FFFFFF;

    margin: 0;
}

.producto-compra .selector-cantidad button {
    width: 35px;
    height: 100%;

    border: none;
    background: transparent;
    color: #1C1C1E;

    font-size: 18px;
    cursor: pointer;

    transition: 0.2s ease;
}

.producto-compra .selector-cantidad button:hover {
    background: #F5F5F7;
}

.producto-compra .selector-cantidad span {
    width: 40px;

    text-align: center;

    font-size: 13px;
    font-weight: 700;

    color: #1C1C1E;
}


/* BOTÓN */

.producto-compra .producto-agregar {
    flex: 1;
    width: auto;
    height: 50px;

    padding: 0 20px;

    border: 1px solid #1C1C1E;
    background: #1C1C1E;
    color: #FFFFFF;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;

    cursor: pointer;

    transition: 0.25s ease;
}

.producto-compra .producto-agregar:hover {
    background: #FFFFFF;
    color: #1C1C1E;
}


/* ============================================================
   DESCRIPCIÓN DESPLEGABLE
============================================================ */

.descripcion-desplegable {
    width: 100%;
    margin-top: 18px;
    border-top: 1px solid #C7C7C9;
    border-bottom: 1px solid #C7C7C9;
}


/* BOTÓN DE INFORMACIÓN */

.descripcion-boton {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 5px;

    border: none;
    background: #FFFFFF;

    color: #1C1C1E;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 1.5px;

    cursor: pointer;

    text-align: left;
}

.descripcion-boton:hover {
    background: #FAFAFA;
}


/* SIGNO + / − */

.descripcion-icono {
    font-size: 22px;
    font-weight: 300;
    line-height: 1;

    transition: transform 0.3s ease;
}


/* CONTENIDO OCULTO */

.descripcion-contenido {
    max-height: 0;

    overflow: hidden;

    opacity: 0;

    transition:
        max-height 0.4s ease,
        opacity 0.3s ease;
}


/* CONTENIDO ABIERTO */

.descripcion-desplegable.abierto .descripcion-contenido {
    max-height: 600px;
    opacity: 1;
}
/* CONTENIDO */

#producto-descripcion-larga,
.descripcion-envios {

    width: 100%;
    padding: 10px 5px 15px;
    margin: 0;
    background: #FFFFFF;
    border: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}


.descripcion-producto-item {

    display: flex;

   align-items: flex-start;

    gap: 12px;

}


.descripcion-producto-check {

    width: 20px;

    height: 20px;

    min-width: 20px;

    border-radius: 50%;

    background: #1d1d1f;

    color: #FFFFFF;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 12px;

    font-weight: 700;

    margin-top: 2px;

}


.descripcion-producto-texto {

    line-height: 1.5;

}

/* ============================================================
   CONTACTO
============================================================ */

.contacto {
    padding: 80px 8%;
    text-align: center;
}

.contacto-info {
    max-width: 1000px;
    margin: 40px auto 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.contacto-info > div {
    padding: 25px 20px;
    border: 1px solid #222;
    border-radius: 8px;
}

.contacto-info strong {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    letter-spacing: 1px;
}

.contacto-info p {
    margin: 0;
}


/* ============================================================
   BOTÓN ARRIBA
============================================================ */

#btn-arriba {
    position: fixed !important;
    bottom: 25px !important;
    right: 30px !important;

    width: 50px !important;
    height: 50px !important;

    background:  #5A5A5E !important;
    color: white !important;
border: 1px solid #6C6C70 !important;
outline: none !important;
    
    border-radius: 50% !important;

    font-size: 25px !important;

    z-index: 99999 !important;

    display: none;
}


/* ============================================================
   PÁGINA DE AYUDA
============================================================ */

.ayuda {
    max-width: 1100px;
    margin: 0 auto;
    padding: 100px 50px 120px;
}

.ayuda > .section-title {
    margin-bottom: 90px;
}

.ayuda > .section-title h1 {
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -1.5px;
}


/* SECCIONES */

.ayuda-seccion {
    padding: 65px 0;
    border-top: 1px solid #D1D1D3;
}

.ayuda-seccion:last-child {
    border-bottom: 1px solid #D1D1D3;
}


/* TÍTULO */

.ayuda-titulo {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-bottom: 40px;
}

.ayuda-titulo span {
    font-size: 13px;
    letter-spacing: 2px;
    color: #6C6C70;
}

.ayuda-titulo h2 {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -1px;
    margin: 0;
}


/* CONTENIDO */

.ayuda-contenido {
    max-width: 650px;
}

.ayuda-contenido p {
    margin: 0;
    font-size: 18px;
    line-height: 1.8;
    color: #6C6C70;
}


/* CÓMO COMPRAR */

.paso-compra {
    display: flex;
    align-items: center;
    gap: 25px;
    padding: 20px 0;
    border-bottom: 1px solid #E5E5E7;
}

.paso-compra:last-child {
    border-bottom: none;
}

.paso-compra span {
    min-width: 35px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #6C6C70;
}

.paso-compra p {
    margin: 0;
    font-size: 18px;
    line-height: 1.5;
}


/* ENVÍOS */

.ayuda-envios {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.envio-dato {
    padding: 25px;
    background: #F5F5F7;
    border: 1px solid #E5E5E7;
}

.envio-dato span {
    display: block;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #6C6C70;
}

.envio-dato p {
    margin: 0;
    font-size: 17px;
}


/* PREGUNTAS FRECUENTES */

.preguntas {
    border-top: 1px solid #E5E5E7;
}

.pregunta {
    border-bottom: 1px solid #E5E5E7;
}

.pregunta button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 25px 5px;

    border: none;
    background: transparent;

    color: #1C1C1E;

    font-size: 17px;
    font-weight: 600;

    text-align: left;
    cursor: pointer;
}

.pregunta button strong {
    font-size: 24px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.respuesta {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.respuesta p {
    margin: 0;
    padding: 0 5px 25px;
    color: #6C6C70;
    font-size: 16px;
    line-height: 1.6;
}

.pregunta.activa .respuesta {
    max-height: 100px;
}

.pregunta.activa button strong {
    transform: rotate(45deg);
}


/* ============================================================
   PÁGINA DE USUARIO
============================================================ */

.usuario {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 50px 120px;
}

.usuario > .section-title {
    margin-bottom: 70px;
}

.usuario > .section-title h1 {
    font-size: 52px;
    font-weight: 900;
    letter-spacing: -2px;
}


/* CONTENEDOR */

.usuario-contenedor {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    align-items: stretch;
}


/* CAJAS */

.usuario-box {
    background: #FFFFFF;
    border: 1px solid #E5E5E7;
    padding: 45px;

    display: flex;
    flex-direction: column;
}


/* TÍTULO DE CADA CAJA */

.usuario-box-titulo {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
}

.usuario-box-titulo span {
    font-size: 12px;
    letter-spacing: 2px;
    color: #6C6C70;
}

.usuario-box-titulo h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -1px;
}


/* DESCRIPCIÓN */

.usuario-descripcion {
    color: #6C6C70;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 35px;
}


/* CAMPOS */

.campo-usuario {
    margin-bottom: 20px;
}

.campo-usuario label {
    display: block;
    margin-bottom: 9px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #6C6C70;
}

.campo-usuario input {
    width: 100%;
    padding: 15px 16px;

    border: 1px solid #AEAEB2;
    background: #F5F5F7;
    color: #1C1C1E;

    font-size: 15px;
    outline: none;

    transition: 0.3s ease;
}

.campo-usuario input:focus {
    border-color: #1C1C1E;
    background: #FFFFFF;
}


/* BOTÓN */

.boton-usuario {
    width: 100%;
    padding: 17px;
    margin-top: 10px;

    border: 1px solid #1C1C1E;
    background: #1C1C1E;
    color: #F5F5F7;

    font-size: 13px;
    font-weight: bold;
    letter-spacing: 1.5px;

    cursor: pointer;

    transition: 0.3s ease;
}

.boton-usuario:hover {
    background: #F5F5F7;
    color: #1C1C1E;
}

.usuario-box .boton-usuario,
.usuario-box > a.boton-usuario {
    margin-top: auto;
}


/* MENSAJES */

.mensaje-usuario {
    min-height: 20px;
    margin-top: 18px;
    font-size: 14px;
    color: #6C6C70;
}


/* ============================================================
   MI CUENTA
============================================================ */

.datos-usuario {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 30px 0;
    border-top: 1px solid #E5E5E7;
}

.datos-usuario p {
    display: flex;
    flex-direction: column;
    gap: 7px;

    padding: 18px 0;
    margin: 0;

    border-bottom: 1px solid #E5E5E7;

    font-size: 16px;
    color: #1C1C1E;
}

.datos-usuario strong {
    font-size: 10px;
    letter-spacing: 2px;
    color: #6C6C70;
    font-weight: 700;
}


/* ============================================================
   MENÚ DE CATEGORÍAS
============================================================ */

.menu-categorias {
    position: absolute;
    top: 20px;
    left: -10px;
    z-index: 1000;
}


/* BOTÓN */

.boton-categorias {
    background: transparent;
    border: none;
    padding: 10px 10px;

    font-family: inherit;
    font-size: 25px;
    font-weight: 600;

    cursor: pointer;
    letter-spacing: 1.5px;

    color: inherit !important;
    text-align: left;
}


/* MENÚ PRINCIPAL DESPLEGABLE */

.categorias-desplegable {
    position: absolute;
    top: 100%;
    left: 0;

    min-width: 220px;

    background: white;
    border: 1px solid #E5E5E5;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    padding: 10px 0;

    display: none;

    text-align: left;
}


.categoria-destacada > a {
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}


/* MOSTRAR AL PASAR EL MOUSE */

.menu-categorias:hover .categorias-desplegable {
    display: block;
}


/* TÍTULO SUPLEMENTOS */

.categoria-principal {
    padding: 10px 18px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;

    color: #555;
}


/* CATEGORÍAS */

.categoria-item {
    position: relative;
}

.categoria-item > a {
    display: block;

    padding: 10px 18px;

    color: #111;
    text-decoration: none;

    font-size: 14px;
    text-align: left;
}

.categoria-item > a:hover {
    background: #F5F5F5;
}


/* MARCAS */

.marcas-desplegable {
    position: absolute;
    top: 0;
    left: 100%;

    min-width: 190px;

    background: white;
    border: 1px solid #E5E5E5;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);

    padding: 10px 0;

    display: none;

    text-align: left;
}


/* MOSTRAR MARCAS */

.categoria-item:hover .marcas-desplegable {
    display: block;
}

.marcas-desplegable a {
    display: block;

    padding: 9px 16px;

    color: #111;
    text-decoration: none;

    font-size: 13px;
    text-align: left;
}

.marcas-desplegable a:hover {
    background: #F5F5F5;
}



/* ============================================================
   BOTÓN VOLVER
============================================================ */

#volver-volver {
    margin-left: auto;
    margin-right: 0px;

    color: #F5F5F7;
    text-decoration: none;

    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;

    transition: 0.3s ease;
}

#volver-volver:hover {
    color: #AEAEB2;
}


/* ============================================================
   BOTÓN VOLVER — FICHA DE PRODUCTO
============================================================ */

.header-categoria > #volver-volver {
    display: block;
    width: fit-content;

    margin: 0 40px 15px auto;

    color: #F5F5F7;
}


/* ============================================================
   HEADER - PRODUCTOS, OFERTAS, AYUDA Y CATEGORÍAS
============================================================ */

.header-productos .logo,
.header-ofertas .logo,
.pagina-ayuda .logo,
.header-categoria .logo {
    grid-column: 2;
    justify-self: center;
}

.header-productos .header-icons,
.header-ofertas .header-icons,
.pagina-ayuda .header-icons,
.header-categoria .header-icons {
    grid-column: 3;
    justify-self: end;
}

/* ============================================================
   MEDIA QUERIES — CELULAR
============================================================ */

@media (max-width: 800px) {


    /* HERO */

    .hero {
        min-height: 600px;
    }

    .hero-content {
        padding: 50px 25px;
    }

    .hero h1 {
        font-size: 58px;
    }


    /* SECCIONES */

    .categories,
    .products {
        padding: 70px 20px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

.product-card {
    height: 560px;
}

    .section-title h2 {
        font-size: 32px;
    }


    /* FOOTER */

    .footer {
        padding: 60px 25px 25px;
    }

    .footer-contenido {
        grid-template-columns: 1fr 1fr;
        gap: 45px 30px;
    }

    .footer-marca {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-bottom {
        margin-top: 45px;
    }


    /* CARRITO */

    body:has(.carrito-container) > header {
        padding: 35px 20px;
    }

    body:has(.carrito-container) > header h1 {
        font-size: 30px;
    }

    .carrito-container {
        padding: 50px 20px;
    }

    .producto-carrito {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .carrito-resumen {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .boton-comprar {
        width: 100%;
    }

    #formulario-compra {
        padding: 25px;
    }


    /* PRODUCTO */

    .producto-detalle {
        width: 94%;
        margin: 25px auto;
        padding: 30px 20px;

        grid-template-columns: 1fr;
        gap: 30px;
    }

    .producto-detalle-galeria {
        height: 400px;
        min-height: 350px;
    }

    .producto-detalle-imagen {
        height: 400px;
    }

    .producto-detalle-info {
        max-width: none;
        padding: 0;
    }

    .producto-detalle-info h1 {
        font-size: 40px;
    }

    .descripcion-desplegable {
        grid-column: auto;
    }


    /* AYUDA */

    .ayuda {
        padding: 70px 20px 90px;
    }

    .ayuda > .section-title {
        margin-bottom: 60px;
    }

    .ayuda > .section-title h1 {
        font-size: 34px;
    }

    .ayuda-titulo {
        gap: 15px;
    }

    .ayuda-titulo h2 {
        font-size: 25px;
    }

    .ayuda-seccion {
        padding: 50px 0;
    }

    .ayuda-envios {
        grid-template-columns: 1fr;
    }

    .paso-compra {
        gap: 15px;
    }

    .paso-compra p {
        font-size: 16px;
    }

    .ayuda-contenido p {
        font-size: 16px;
    }


    /* USUARIO */


    .usuario {
        padding: 70px 20px 90px;
    }

    .usuario > .section-title {
        margin-bottom: 50px;
    }

    .usuario > .section-title h1 {
        font-size: 36px;
    }

    .usuario-contenedor {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .usuario-box {
        padding: 30px 25px;
    }

    .usuario-box-titulo h2 {
        font-size: 24px;
    }

    .datos-usuario {
        margin-top: 25px;
    }

    .datos-usuario p {
        padding: 16px 0;
    }


    /* BOTÓN ARRIBA */

    #btn-arriba {
        bottom: 25px !important;
        right: 25px !important;
    }
}

/* ============================================================
   CARRITO DEL HEADER
============================================================ */

.cart-button {
    width: 48px;
    height: 47px;
    padding: 0;
    position: relative;
    overflow: visible;
    border: 1px solid #3A3A3A;
}

.carrito-header-img {
    width: 115%;
    height: 115%;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.cart-button::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid #3A3A3A;
    pointer-events: none;
    z-index: 5;
}

.cart-button .cart-count {
    position: absolute;
    top: -8px;
    right: -9px;
    z-index: 20;
    min-width: 18px;
width: 18px;
height: 18px;
padding: 0;
font-size: 10px;
}

/* El carrito especial de la ficha existe solo para celular */
.carrito-ficha-header {
    display: none !important;
}

/* ============================================================
   FOOTER - TABLET 501px A 800px
============================================================ */

@media (min-width: 501px) and (max-width: 800px) {

    .footer-contenido {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: clamp(12px, 3vw, 30px);
    }

    .footer-marca {
        grid-column: 1 / -1;
        text-align: center;
    }

    .footer-columna {
        justify-self: center;
        width: auto;
        min-width: 0;
    }
}


/* ============================================================
   CATEGORÍAS PRINCIPALES DEL MENÚ
============================================================ */

.categoria-principal,
.categoria-destacada > a,
.categoria-item > a[href="accesorios.html"] {
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* ============================================================
   DESTACADOS DEL INICIO - CARRUSEL
============================================================ */

.pagina-inicio .destacados-carrusel {
    width: 100%;
    position: relative;
}

.pagina-inicio .destacados-viewport {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;

    scroll-behavior: auto;
    scrollbar-width: none;
}

.pagina-inicio .destacados-viewport::-webkit-scrollbar {
    display: none;
}

.pagina-inicio .product-grid.destacados-grid {
    width: 100%;
    max-width: none;

    display: flex !important;
    flex-wrap: nowrap;

    gap: 20px;
}

.pagina-inicio .destacados-grid .product-card {
    flex: 0 0 calc((100% - 60px) / 4);
}

@media (min-width: 801px) and (max-width: 1100px) {

    .pagina-inicio .destacados-grid .product-card {
        flex: 0 0 calc((100% - 40px) / 3);
    }

}

.pagina-inicio .destacados-grid .product-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pagina-inicio .destacados-grid .bloque-precios {
    margin-top: auto;
}

.pagina-inicio .destacados-grid .product-info button {
    margin-top: 0px;
}


/* ============================================================
   CELULAR - AJUSTES GENERALES
============================================================ */

@media (max-width: 800px) {


    /* Ficha individual: carrito especial del header */
    .pagina-ficha .carrito-ficha-header {
        display: flex !important;
        position: absolute;
        right: -8px;
        top: 25px;
    }

    .pagina-ficha .carrito-flotante {
        display: none !important;
    }

/* --------------------------------------------------------
   HEADER OFERTAS Y AYUDA - CELULAR
-------------------------------------------------------- */

/* TRES BARRITAS */

.pagina-ayuda .boton-categorias {
    transform: translateY(23px);
}

/* --------------------------------------------------------
   HEADER CATÁLOGO - CELULAR
   ☰ + OCIO + CARRITO
-------------------------------------------------------- */

/* Ocultar usuario */
.pagina-catalogo .usuario-header {
    display: none !important;
}

/* Fila superior */
.pagina-catalogo .header-container {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr;
    min-height: 90px;
    padding: 15px 0;
}

/* Tres barritas */

.pagina-catalogo .menu-categorias {
    left: -10px;
    top: 15px;
}

.pagina-catalogo .boton-categorias {
    transform: none;
}

/* OCIO */
.pagina-catalogo .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    transform: none;
}

/* Iconos */
.pagina-catalogo .header-icons {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
}

    /* --------------------------------------------------------
       HEADER DE FICHA INDIVIDUAL - CELULAR
    -------------------------------------------------------- */

    .pagina-ficha .header {
        min-height: 0;
        height: 105px;
        padding-top: 0;
        padding-bottom: 0;
    }

    .pagina-ficha .header-container {
        min-height: 0;
        height: 105px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .pagina-ficha .carrito-ficha-header .cart-button {
        width: 55px;
        height: 45px;
    }

   .pagina-ficha .logo {
    grid-column: 2;
    justify-self: center;
    transform: none;
}

    .pagina-ficha .boton-categorias {
        transform: translate(-15px, 0);
    }


    /* --------------------------------------------------------
       BOTÓN VOLVER - OCULTO EN CELULAR
    -------------------------------------------------------- */

    #volver-volver {
        display: none !important;
    }


    /* --------------------------------------------------------
       NAVEGACIÓN HORIZONTAL - CELULAR
    -------------------------------------------------------- */

    .pagina-inicio .navigation a[href="#inicio"] {
        display: none;
    }

    /* --------------------------------------------------------
   HEADER INICIO - DISTRIBUCIÓN CELULAR
-------------------------------------------------------- */

.pagina-inicio .header-container {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 8px;
    row-gap: 18px;
}

/* LOGO - FILA DE ARRIBA */
.pagina-inicio .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
}

/* USUARIO - ARRIBA A LA DERECHA */
.pagina-inicio .header-icons {
    display: contents;
}

.pagina-inicio .usuario-header {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    transform: translateX(12px);
}

/* BUSCADOR - SEGUNDA FILA */
.pagina-inicio .search-box {
    grid-column: 1 / 3;
    grid-row: 2;
    width: 100%;
    min-width: 0;
    transform: translateX(-10px);
}


/* CARRITO - SEGUNDA FILA A LA DERECHA */
.pagina-inicio .cart-button {
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    transform: translateX(12px);
}

    /* --------------------------------------------------------
       MENÚ LATERAL - CELULAR
    -------------------------------------------------------- */

.pagina-inicio .menu-categorias {
    position: absolute;
    top: 20px;
    left: 25px;
}

.pagina-inicio .boton-categorias {
    transform: translate(-45px, -10px);
}

    .categorias-desplegable {
        position: fixed;
        top: 0;
        left: 0;
        width: 85%;
        max-width: 320px;
        height: 100%;
        background: #FFFFFF;
        padding: 25px 0;
        overflow-y: auto;
        overflow-x: hidden;
        z-index: 99999;
        display: block;
        transform: translateX(-100vw);
        transition: transform 0.3s ease;
    }

    .menu-categorias.menu-abierto .categorias-desplegable {
        transform: translateX(0);
    }

    .marcas-desplegable {
        position: static;
        width: 100%;
        min-width: 0;
        border: none;
        box-shadow: none;
        padding: 0 0 5px 15px;
        display: none;
        background: #f7f7f7;
    }

    .categoria-item.submenu-abierto .marcas-desplegable {
        display: block;
    }

    .categoria-item:hover .marcas-desplegable {
        display: none;
    }

    .categoria-item.submenu-abierto:hover .marcas-desplegable {
        display: block;
    }

/* --------------------------------------------------------
   HERO DEL INICIO - CELULAR
-------------------------------------------------------- */

.pagina-inicio .hero {

    min-height: 0;

    background:
        linear-gradient(
            90deg,
            #1C1C1E 0%,
            #555558 50%,
            #E5E5E7 100%
        );

}


.pagina-inicio .hero-content {

    min-height: 0;

    padding: 30px 25px 35px;

    display: flex;

    flex-direction: column;

    align-items: flex-start;

}


.pagina-inicio .hero-small {

    transform: none;

    font-size: 12px;

    letter-spacing: 4px;

    white-space: nowrap;

    color: #E5E5E7;

    margin-bottom: 22px;

}

.pagina-inicio .hero h1 {
    font-size: 35px;
    margin-bottom: 10px;
}

.pagina-inicio .hero-personaje {

    display: block;

    width: clamp(220px, 60vw, 280px);

    height: auto;

    align-self: center;

    margin: -24px auto 8px;

    transform: none;

}


.pagina-inicio .hero-description {

    transform: none;

    margin-top: 5px;

    margin-bottom: 20px;

    max-width: 340px;

    font-size: 14px;

    line-height: 1.5;

    font-family: Arial, Helvetica, sans-serif;

    letter-spacing: 1px;

}


.pagina-inicio .hero-button {

    transform: none;

    margin: 0;

}
    /* --------------------------------------------------------
       NOSOTROS - INICIO CELULAR
    -------------------------------------------------------- */

    .pagina-inicio .nosotros {
        width: 100%;
        max-width: 100%;
        padding: 70px 20px 80px;
        box-sizing: border-box;
    }

    .pagina-inicio .nosotros .section-title {
        width: 100%;
        margin-bottom: 25px;
    }

    .pagina-inicio .nosotros .section-title h2 {
        font-size: 34px;
        line-height: 1.05;
        letter-spacing: -1px;
        overflow-wrap: break-word;
    }

    .pagina-inicio .nosotros .section-title p {
        font-size: 13px;
        letter-spacing: 3px;
    }

    .pagina-inicio .nosotros-texto {
        width: 100%;
        max-width: 100%;
        margin: 30px auto 0;
        box-sizing: border-box;
    }

    .pagina-inicio .nosotros-texto p {
        font-size: 16px;
        line-height: 1.7;
    }


    /* --------------------------------------------------------
       CONTACTO - INICIO CELULAR
    -------------------------------------------------------- */

    .pagina-inicio .contacto {
        width: 100%;
        padding: 60px 20px;
        box-sizing: border-box;
    }

    .pagina-inicio .contacto-info {
        width: 100%;
        max-width: 100%;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .pagina-inicio .contacto-info > div:nth-child(4),
    .pagina-inicio .contacto-info > div:nth-child(5),
    .pagina-inicio .contacto-info > div:nth-child(6) {
        display: none;
    }

    .pagina-inicio .contacto-info > div {
        width: 100%;
        box-sizing: border-box;
    }


    /* --------------------------------------------------------
       CARRITO FLOTANTE - INICIO CELULAR
    -------------------------------------------------------- */

    .pagina-inicio .carrito-flotante {
        display: none;
    }

    .pagina-inicio .carrito-flotante.con-productos {
        display: flex;
    }


    /* --------------------------------------------------------
       TODAS LAS PÁGINAS DE CATÁLOGO - CELULAR
    -------------------------------------------------------- */

    .pagina-catalogo .product-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .pagina-catalogo .products {
        padding-left: 6px;
        padding-right: 6px;
    }

    .pagina-catalogo .product-card {
        min-height: 0;
        height: auto;
        display: flex;
        flex-direction: column;
    }

    .pagina-catalogo .product-image {
        height: 200px;
    }

    .pagina-catalogo .product-image img {
        width: 135%;
        height: 135%;
    }

    .pagina-catalogo .product-info {
        padding: 8px 10px;
        display: flex;
        flex-direction: column;
    }

    .pagina-catalogo .product-info p {
        font-size: 9px;
        letter-spacing: 1.5px;
        margin-bottom: 7px;
    }

    .pagina-catalogo .product-info h3 {
        font-size: 15px;
        line-height: 1.2;
        margin-bottom: 2px;
        min-height: 36px;
    }

    .pagina-catalogo .descripcion-corta {
        font-size: 11px;
        line-height: 1.4;
        min-height: 25px;
        margin-top: 10px;
        margin-bottom: 8px;
        transform: translateY(-6px);
    }

    .pagina-catalogo .product-info strong {
        font-size: 17px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .pagina-catalogo .bloque-precios {
    margin-top: auto;
    margin-bottom: 10px;
}

.pagina-catalogo .precio-transferencia {
    margin-top: 5px;
    font-size: 11px;
    line-height: 1.3;
}

    .pagina-catalogo .product-info button {
        padding: 12px 5px;
        font-size: 10px;
        letter-spacing: 0.8px;
        margin-top: 0;
    }

    .pagina-catalogo
    .product-card[data-producto-id="creatina-body-advance-300g"]
    .marca-producto,
    .pagina-catalogo
    .product-card[data-producto-id="proteina-body-advance-907g"]
    .marca-producto {
        font-size: 7.5px;
        letter-spacing: 0.8px;
        white-space: nowrap;
    }


    /* --------------------------------------------------------
       PÁGINA PRODUCTOS - CELULAR
    -------------------------------------------------------- */

    .pagina-productos .products {
        padding-top: 45px;
    }

    .pagina-productos .section-title {
        margin-bottom: 35px;
    }

    .pagina-productos .section-title p {
        font-size: 10px;
        letter-spacing: 2.5px;
        margin-bottom: 10px;
    }

    .pagina-productos .section-title h1,
    .pagina-productos .section-title h2 {
        font-size: 26px;
        letter-spacing: -0.5px;
        white-space: nowrap;
    }

    .pagina-productos .filtros-productos {
        gap: 8px;
        margin: -10px auto 35px;
    }

    .pagina-productos .filtro {
        padding: 9px 14px;
        font-size: 10px;
        letter-spacing: 1px;
    }


    /* --------------------------------------------------------
       DESTACADOS DEL INICIO - 2 POR FILA CELULAR
    -------------------------------------------------------- */

    .pagina-inicio .product-grid.destacados-grid {
        width: 100%;
        max-width: 100%;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 6px;
    }

    .pagina-inicio #productos {
        padding-left: 6px;
        padding-right: 6px;
    }

    .pagina-inicio .destacados-grid .product-card {
    flex: 0 0 calc((100% - 6px) / 2);

    min-height: 0;
    height: auto;

    display: flex;
    flex-direction: column;
}
  
    .pagina-inicio .destacados-grid .product-image {
        height: 200px;
    }

    .pagina-inicio .destacados-grid .product-image img {
        width: 135%;
        height: 135%;
    }

    .pagina-inicio .destacados-grid .product-info {
        padding: 8px 10px;
        display: flex;
        flex-direction: column;
    }

    .pagina-inicio .destacados-grid .product-info p {
        font-size: 9px;
        letter-spacing: 1.5px;
        margin-bottom: 7px;
    }

    .pagina-inicio .destacados-grid .product-info h3 {
        font-size: 15px;
        line-height: 1.2;
        margin-bottom: 2px;
        min-height: 36px;
    }

    .pagina-inicio .destacados-grid .product-description {
        font-size: 11px;
        line-height: 1.4;
        min-height: 25px;
        margin-top: 10px;
        margin-bottom: 8px;
        transform: translateY(-6px);
    }

    .pagina-inicio .destacados-grid .product-info strong {
        font-size: 17px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .pagina-inicio .destacados-grid .product-info button {
    padding: 8px 4px;
    font-size: 8px;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin-top: 0;
}

    /* --------------------------------------------------------
       FICHA INDIVIDUAL - CELULAR
    -------------------------------------------------------- */

    .pagina-ficha .producto-detalle {
        width: 96%;
        margin: 12px auto;
        padding: 12px;
        grid-template-columns: 1fr;
        gap: 18px;
        border-radius: 10px;
    }

    .pagina-ficha .producto-detalle-galeria {
        width: 100%;
        height: 390px;
        min-height: 390px;
    }

    .pagina-ficha .producto-detalle-imagen {
        width: 100%;
        height: 390px;
    }

    .pagina-ficha .producto-detalle-imagen img {
        width: 100%;
        height: 100%;
        object-fit: contain;
        padding: 0;
        transform: scale(1.35);
    }

    .pagina-ficha .producto-detalle-galeria:hover
    .producto-detalle-imagen img {
        transform: scale(1.35);
    }

    .pagina-ficha .producto-detalle-info {
        width: 100%;
        max-width: none;
        padding: 3px 4px 0;
    }

    .pagina-ficha .producto-categoria {
        margin-bottom: 7px;
        font-size: 10px;
        letter-spacing: 3px;
    }

    .pagina-ficha .producto-detalle-info h1 {
        margin-bottom: 10px;
        font-size: 25px;
        line-height: 1.08;
        letter-spacing: -1px;
    }

    .pagina-ficha .producto-descripcion-corta {
        margin-bottom: 14px;
        font-size: 14px;
        line-height: 1.45;
    }

.pagina-ficha .descripcion-producto-texto {
    font-size: 14px;
    line-height: 1.45;
}

.pagina-ficha .descripcion-producto-check {
    margin-top: -1px;
}
    .pagina-ficha .producto-precio {
        margin-bottom: 16px;
        font-size: 25px;
    }

    .pagina-ficha .producto-compra {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .pagina-ficha .selector-cantidad {
        display: none;
    }

    .pagina-ficha .producto-compra button.producto-agregar {
        width: 100%;
        height: 55px !important;
        min-height: 55px !important;
        padding: 0 18px !important;
        font-size: 12px;
        letter-spacing: 1.5px;
    }

    .pagina-ficha .descripcion-desplegable {
        margin-top: 14px;
    }

    .pagina-ficha .descripcion-boton {
        padding: 17px 4px;
        font-size: 12px;
    }

    
}


/* ============================================================
   CELULARES MUY CHICOS
============================================================ */

@media (max-width: 500px) {

    .footer-contenido {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .footer-marca {
        grid-column: auto;
    }

    .descripcion-item {
        font-size: 13px;
    }


}
/* ============================================================
   OPCIÓN "TODOS" - OCULTA EN COMPUTADORA
============================================================ */

.marcas-desplegable .ver-todos-mobile {
    display: none !important;
}


/* ============================================================
   OPCIÓN "TODOS" - SOLO CELULAR
============================================================ */

@media (max-width: 800px) {

    .marcas-desplegable .ver-todos-mobile {
        display: block !important;
    }

.categorias-desplegable .categoria-item.menu-enlace-mobile {
    display: block !important;
}

/* SEPARACIÓN ANTES DE AYUDA */

.categorias-desplegable .menu-ayuda-mobile {
    margin-top: 120px;
    padding-top: 12px;
    border-top: 1px solid #E5E5E5;
}

/* AYUDA Y CONTACTO - MISMO ESTILO DESTACADO */

.categorias-desplegable .menu-enlace-mobile > a {
    color: #555;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
}




/* --------------------------------------------------------
   HEADER DE USUARIO - CELULAR
   ☰ + OCIO + CARRITO
-------------------------------------------------------- */

/* Ocultar icono de usuario porque ya estamos en Mi Cuenta */
.pagina-usuario .usuario-header {
    display: none !important;
}


/* Fila principal del header */
.pagina-usuario .header-container {
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: 1fr;
    min-height: 90px;
    padding: 15px 0;
}


/* Tres barritas */
.pagina-usuario .menu-categorias {
    left: -10px;
    top: 15px;
}

.pagina-usuario .boton-categorias {
    transform: none;
}


/* OCIO centrado */
.pagina-usuario .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-self: center;
    transform: none;
}


/* Carrito a la derecha */
.pagina-usuario .header-icons {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
}

.pagina-usuario .navigation {
    display: none;
}

/* --------------------------------------------------------
   AYUDA - TARJETAS MÁS COMPACTAS EN CELULAR
-------------------------------------------------------- */

.pagina-ayuda .paso-compra {
    padding: 14px 12px;
    min-height: 0;
}

.pagina-ayuda .envio-dato {
    padding: 14px 12px;
    min-height: 0;
}

.pagina-ayuda .pregunta button {
    padding: 15px 12px;
}

}


/* AYUDA Y CONTACTO DEL MENÚ - OCULTOS EN COMPUTADORA */

.menu-enlace-mobile {
    display: none;
}

/* VOLVER - CARRITO */

body:has(.carrito-container) #volver-volver {
    position: absolute;
    right: 50px;
     transform: translateY(-5px);

}

body:has(.carrito-container) .volver-inicio {
    color: #fff;
    font-weight: 700;
    position: absolute;
    left: 30px;

    transform: translateY(-5px);
}

/* TÍTULO TU CARRITO */

body:has(.carrito-container) header h1 {
    transform: translateY(20px);
}

/* IMAGEN DEL PRODUCTO - CARRITO */
.producto-imagen-carrito {
    width: 150px;
    height: 150px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: none;
    overflow: visible;
}

.producto-imagen-carrito img {
    width: 199px;
    height: 199px;

    object-fit: contain;
    display: block;
     transform: scale(1.30);
}

/* ============================================================
   CARRITO - CELULAR
============================================================ */

@media (max-width: 800px) {

   .carrito-container {
    width: 100%;
    max-width: none;

    margin: 0;

    padding-top: 18px;
    padding-right: 12px;
    padding-bottom: 30px;
    padding-left: 12px;
}

   .producto-carrito {
    width: 100%;

    grid-template-columns: 110px 1fr;

    grid-template-areas:
        "imagen info"
        "imagen acciones";

    gap: 10px 16px;

    padding: 18px 0;

    margin-bottom: 0;

    background: transparent;

    border: none;
    border-bottom: 1px solid #D8D8D8;

    overflow: hidden;
}


    /* FOTO */

    .producto-imagen-carrito {
    grid-area: imagen;

    width: 110px;
    height: 125px;

    transform: none;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.producto-imagen-carrito img {
    width: 110px;
    height: 110px;

    object-fit: contain;
    transform: none;
    display: block;
}

.producto-carrito .producto-info h3 {
    font-size: 18px;
    line-height: 1.2;
    margin-bottom: 8px;
}

.producto-carrito .producto-info p {
    font-size: 15px;
    line-height: 1.25;
    margin: 0;
    color: #6C6C70;
}


    /* NOMBRE + PRECIO */

    .producto-carrito .producto-info {
        grid-area: info;

        align-self: end;
    }


    /* CANTIDAD */

.acciones-carrito {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 10px;
}

.producto-carrito .cantidad {
    display: flex;
    align-items: center;
    gap: 7px;
}

.producto-carrito .cantidad button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;

    padding: 0;

    font-size: 15px;
    line-height: 1;
}

.producto-carrito .cantidad span {
    min-width: 16px;

    font-size: 14px;
    font-weight: 600;
    text-align: center;
}



    /* ELIMINAR */

   .producto-carrito .eliminar-producto {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;

    padding: 0;
}

    #carrito-productos {
    width: 100%;
    margin-top: 0;
}

.producto-carrito:first-child {
    padding-top: 0;
}

.carrito-resumen {
    margin-top: 18px;
    padding: 12px 16px;
}

.boton-comprar {
    padding: 12px 22px;
    font-size: 13px;
}

.volver-inicio {
    display: none;
}

/* SWORK - TAMAÑO ESPECIAL EN CELULAR */
.imagen-swork-carrito {
    height: 102px;
}


    .imagen-swork-carrito img {
        transform: scale(0.98) !important;
    }

    .notificacion-carrito {
    right: 23px;
    bottom: 160px;
}

.carrito-flotante {
    right: 15px;
    bottom: 90px;
}

#btn-arriba {
    right: 20px !important;
    bottom: 25px !important;
}

/* CARRITO FLOTANTE - SOLO SI HAY PRODUCTOS EN CELULAR */

.carrito-flotante {
    display: none;
}

.carrito-flotante.con-productos {
    display: flex;
}

}

.imagen-swork-carrito img {
    transform: scale(1.14);
}

/* CARRITO FLOTANTE - INICIO */

.pagina-inicio .carrito-flotante {
    display: none;
}

.pagina-inicio .carrito-flotante.con-productos {
    display: flex;
}

#formulario-compra button {
    width: 100%;
}

/* ============================================================
   HERO DEL INICIO - TABLET
============================================================ */

@media (min-width: 600px) and (max-width: 800px) {

    .pagina-inicio .hero {
        min-height: 580px;
    }


    .pagina-inicio .hero-content {

        min-height: 580px;

        padding: 35px 28px 38px;

        display: grid;

        grid-template-columns: 46% 54%;

        grid-template-rows:
            auto
            auto
            1fr
            auto
            auto;

        column-gap: 18px;

        align-items: start;

    }


    .pagina-inicio .hero-small {

        grid-column: 1 / -1;

        grid-row: 1;

        margin-bottom: 18px;

    }


    .pagina-inicio .hero h1 {

        grid-column: 1;

        grid-row: 2;

        margin: 0;

        font-size: clamp(38px, 6vw, 46px);

    }


    .pagina-inicio .hero-personaje {

        grid-column: 2;

        grid-row: 2 / 5;

        width: min(90%, 360px);

        height: auto;

        justify-self: end;

        align-self: center;

        margin: 0;

        transform: none;

    }


    .pagina-inicio .hero-description {

        grid-column: 1;

        grid-row: 4;

        align-self: end;

        max-width: 290px;

        margin: 0 0 18px;

    }


    .pagina-inicio .hero-button {

        grid-column: 1;

        grid-row: 5;

        justify-self: start;

        margin: 0;

    }

/* CATEGORÍAS DEL INICIO - TABLET */

.pagina-inicio .category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
    
.pagina-inicio .footer-contenido {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 45px;
}

.pagina-inicio .footer-marca {
    grid-column: 1 / -1;
    text-align: center;
}

.pagina-inicio .footer-columna {
    justify-self: center;
    width: 150px;
}

}



/* ============================================================
   AJUSTE SOLO PARA CELULARES CHICOS
============================================================ */

@media (max-width: 380px) {

    .carrito-flotante {
        right: 8px;
        bottom: 82px;

        width: 52px;
        height: 52px;
    }

    #btn-arriba {
        right: 10px !important;
        bottom: 20px !important;

        width: 46px !important;
        height: 46px !important;

        font-size: 22px !important;
    }

}
/* ============================================================
   AJUSTE EXTRA - CELULARES MUY CHICOS
============================================================ */

@media (max-width: 360px) {

    .carrito-flotante {
        right: 12px;
    }

    #btn-arriba {
        right: 12px !important;
    }


.pagina-inicio .hero-small {

    font-size: 10px;

    letter-spacing: 2px;

    line-height: 1.2;

    white-space: nowrap;

    max-width: 100%;

    margin-bottom: 16px;

}


.pagina-inicio .hero h1 {

    font-size: 31px;

}


.pagina-inicio .hero-description {

    max-width: 260px;

    font-size: 13px;

    line-height: 1.45;

    margin-bottom: 16px;

}


.pagina-inicio .hero-button {

    width: 100%;

    max-width: 100%;

    padding: 14px 16px;

    font-size: 13px;

    text-align: center;

}

.pagina-inicio .nosotros .section-title h2 {
    font-size: 33px;
}

/* USUARIO - CELULARES MUY CHICOS */

.pagina-usuario .usuario-box-titulo {
    gap: 10px;
}

.pagina-usuario .usuario-box-titulo h2 {
    font-size: 20px;
}

}

/* ============================================================
   HEADER INICIO - AJUSTE 769px A 800px
   Mantiene la distribución móvil sin bajar el botón ☰ sobre el buscador.
============================================================ */

@media (min-width: 769px) and (max-width: 800px) {

    .pagina-inicio .header-container {
        grid-template-columns: 1fr auto 1fr;
        grid-template-rows: auto auto;
        column-gap: 8px;
        row-gap: 18px;
    }

    .pagina-inicio .logo {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        align-self: center;
    }

    .pagina-inicio .header-icons {
        display: contents;
    }

    .pagina-inicio .usuario-header {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        align-self: center;
        transform: translateX(12px);
    }

    .pagina-inicio .search-box {
        grid-column: 1 / 3;
        grid-row: 2;
        width: 100%;
        min-width: 0;
        transform: translateX(-10px);
    }

    .pagina-inicio .cart-button {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
        align-self: center;
        transform: translateX(12px);
    }

    .pagina-inicio .menu-categorias {
        top: 20px;
        left: -19px;
    }

    .pagina-inicio .boton-categorias {
          transform: translateY(-10px);
}
}

/* ============================================================
   TRES BARRITAS - ESCRITORIO DESDE 801px
============================================================ */
@media (min-width: 801px) {

    /* Un poco más de altura para el header */
    .pagina-inicio .header-container {
        padding-top: 55px;
        padding-bottom: 20px;
    }

    /* ☰ sola arriba del buscador */
   .pagina-inicio .menu-categorias {
    left: 0;
    top: 8px;
}

.pagina-inicio .boton-categorias {
    transform: none;
 margin-left: -10px;
}

 /* RESTO DE PÁGINAS */
    .pagina-catalogo .menu-categorias,
    .header-ofertas .menu-categorias,
    .pagina-ayuda .menu-categorias {
        top: 20px;
    }

 .pagina-inicio .logo {
        transform: translateX(clamp(70px, 7.5vw, 120px));
    }

    /* FICHA INDIVIDUAL - HEADER ESCRITORIO */

.pagina-ficha .logo {
    grid-column: 2;
    justify-self: center;
    transform: none;
}

.pagina-ficha #volver-volver {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
}

}

/* ============================================================
   CÓMO TOMARLO
============================================================ */

.como-tomarlo {
    background: #F5F5F7;
    min-height: 100vh;
    padding: 70px 20px 100px;
}

.como-tomarlo-intro {
    width: min(100%, 1200px);
    margin: 0 auto;
}

.como-tomarlo .section-title {
    margin-bottom: 20px;
}

.como-tomarlo-descripcion {
    max-width: 650px;
    margin: 0 0 45px;
    color: #6C6C70;
    font-size: 16px;
    line-height: 1.6;
}


/* TARJETAS */

.como-tomarlo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.como-tomarlo-card {
    min-height: 180px;
    padding: 0;
    background: #FFFFFF;
    border: 1px solid #E5E5E7;
    text-decoration: none;
    color: #1C1C1E;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    transition: 0.25s ease;
}

.como-tomarlo-card-imagen {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.como-tomarlo-card-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.como-tomarlo-card-info {
    padding: 28px;
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.como-tomarlo-card h2 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
}

.como-tomarlo-card span {
    font-size: 13px;
    font-weight: 600;
    color: #6C6C70;
}

.como-tomarlo-card:hover {
    transform: translateY(-4px);
    border-color: #1C1C1E;
}


/* ============================================================
   CÓMO TOMARLO - TABLET
============================================================ */

@media (max-width: 900px) {

    .como-tomarlo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

/* ============================================================
   ENCABEZADO - CÓMO TOMARLO
============================================================ */

.pagina-como-tomarlo .section-title {
    margin-bottom: 20px;
    text-align: center;
}

.pagina-como-tomarlo .section-title p {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #6C6C70;
}

.pagina-como-tomarlo .section-title h1 {
    margin: 0;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    color: #1C1C1E;
}

.pagina-como-tomarlo .como-tomarlo-descripcion {
    max-width: 900px;
    margin: 0 auto 45px;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    color: #6C6C70;
}

/* ============================================================
   CÓMO TOMARLO - CELULAR
============================================================ */

@media (max-width: 600px) {

    .como-tomarlo {
        padding: 45px 16px 70px;
    }

    .como-tomarlo-descripcion {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .como-tomarlo-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .como-tomarlo-card {
        min-height: 125px;
        padding: 0;
    }

    .como-tomarlo-card h2 {
        font-size: 19px;
    }

.como-tomarlo .section-title h1 {
    display: block;
    color: #1C1C1E;
    font-size: 42px;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -1px;
    margin: 10px 0 0;
    opacity: 1;
    visibility: visible;
}

}


/* ============================================================
   MODAL - CÓMO TOMARLO
============================================================ */

.modal-modo-uso {
    position: fixed;
    inset: 0;
    z-index: 999999;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 25px;
}

/* MODAL ABIERTO */

.modal-modo-uso.abierto {
    display: flex;
}


/* FONDO OSCURO */

.modal-modo-uso-fondo {
    position: absolute;
    inset: 0;

    background: rgba(28, 28, 30, 0.65);
}


/* VENTANA */

.modal-modo-uso-contenido {
    position: relative;
    z-index: 1;

    width: min(100%, 720px);
    max-height: 85vh;
    overflow-y: auto;

    background: #FFFFFF;
    padding: 40px;
}


/* BOTÓN CERRAR */

.cerrar-modal-modo-uso {
    position: absolute;
    top: 18px;
    right: 20px;

    width: 38px;
    height: 38px;

    border: none;
    background: transparent;

    color: #1C1C1E;
    font-size: 30px;
    line-height: 1;

    cursor: pointer;
}


/* TÍTULO */

.modal-modo-uso-titulo {
    margin-bottom: 35px;
    padding-right: 45px;
}

.modal-modo-uso-titulo p {
    margin: 0 0 8px;

    color: #6C6C70;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
}

.modal-modo-uso-titulo h2 {
    margin: 0;

    color: #1C1C1E;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: -1px;
}


/* PRODUCTO */

.modal-producto-uso {
    border-top: 1px solid #E5E5E7;
    padding-top: 25px;
}

.modal-producto-marca {
    margin: 0 0 8px;

    color: #6C6C70;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.modal-producto-uso h3 {
    margin: 0;

    color: #1C1C1E;
    font-size: 21px;
    line-height: 1.3;
}

.modal-producto-separador {
    width: 100%;
    height: 1px;

    margin: 22px 0;

    background: #E5E5E7;
}

.modal-modo-label {
    display: block;

    margin-bottom: 10px;

    color: #6C6C70;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.modal-producto-texto {
    margin: 0;

    color: #3A3A3C;
    font-size: 15px;
    line-height: 1.7;
}


/* ============================================================
   MODAL - CELULAR
============================================================ */

@media (max-width: 600px) {

    .modal-modo-uso {
        padding: 15px;
    }

    .modal-modo-uso-contenido {
        width: 100%;
        max-height: 88vh;
        padding: 30px 22px;
    }

    .modal-modo-uso-titulo {
        margin-bottom: 25px;
    }

    .modal-modo-uso-titulo h2 {
        font-size: 28px;
    }

    .modal-producto-uso h3 {
        font-size: 18px;
    }

    .modal-producto-texto {
        font-size: 14px;
    }

}

/* ============================================================
   MÉTODODOS DE PAGO - CARRITO
============================================================ */

.metodos-pago {
    margin: 30px 0;
}

.metodos-pago h3 {
    margin: 0 0 15px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1C1C1E;
}

.metodo-pago {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    margin-bottom: 10px;
    padding: 16px 18px;

    background: #FFFFFF;
    border: 1px solid #D1D1D6;

    cursor: pointer;
    transition: 0.2s ease;
}

.metodo-pago:hover {
    border-color: #1C1C1E;
}

.metodo-pago input {
    width: 17px;
    height: 17px;
    margin: 0;

    accent-color: #1C1C1E;
    cursor: pointer;
}

.metodo-pago span {
    font-size: 14px;
    font-weight: 500;
    color: #1C1C1E;
    cursor: pointer;
}

.metodo-pago:has(input:checked) {
    border-color: #1C1C1E;
    background: #F5F5F7;
}
/* ============================================================
   CUPÓN DE DESCUENTO - CARRITO
============================================================ */

.cupon-descuento {
    margin: 30px 0;
}

.cupon-descuento h3 {
    margin: 0 0 15px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #1C1C1E;
}

.cupon-contenedor {
    width: 100%;
    max-width: 600px;

    display: flex;
    align-items: stretch;
    gap: 10px;
}

#formulario-compra .cupon-contenedor #codigo-cupon {
    flex: 1;
    min-width: 0;
    max-width: none;
    margin: 0;
}

#formulario-compra .cupon-contenedor #aplicar-cupon {
    width: auto;
    flex-shrink: 0;
    padding: 0 25px;
}

#mensaje-cupon {
    margin-top: 10px;
    margin-bottom: 0;
}

.notificacion-cupon {
    bottom: 75px;
}

/* ============================================================
   TOTAL FINAL - CARRITO
============================================================ */

.total-final {
    margin: 30px 0 20px;
    padding: 22px 25px;
    background: #E5E5E7;
}

.total-final h2 {
    margin: 0;
    font-size: 26px;
    text-align: center;
    color: #1C1C1E;
}
/* SEGUIR COMPRANDO - SOLO CELULAR Y TABLET */

.seguir-comprando-mobile {
    display: none;
}

@media (max-width: 800px) {

    .seguir-comprando-mobile {
        display: block;
        text-align: center;
        margin-top: 12px;
        color: white;
        text-decoration: none;
        font-size: 14px;
        font-weight: 600;
    }

}