/* ========================= GENERAL========================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* =========================HEADER PRINCIPAL========================= */

.heder-principal {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.heder-principal .content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;

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

    position: relative; /* CLAVE PARA EL MENÚ MOBILE */
}

/* =========================ICONO HAMBURGUESA========================= */

.jam-menu {
    display: none;
    font-size: 32px;
    cursor: pointer;
    z-index: 10000;
}

/* =========================REDES SOCIALES (IZQUIERDA)========================= */

.redes-sociales ul {
    display: flex;
    gap: 15px;
}

.redes-sociales a {
    font-size: 18px;
    color: #000;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.redes-sociales a:hover {
    color: #777;
}

/* =========================LOGO (CENTRO)========================= */

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.logo img {
    height: 60px;
}

/* ========================= MENÚ PRINCIPAL (DERECHA)========================= */

.menu .categorias {
    display: flex;
    gap: 25px;
}

.menu .categorias > li {
    position: relative;
}

.menu .categorias > li > a {
    position: relative;
    text-decoration: none;
    color: #000;
    font-size: 18px;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

/* Línea animada */
.menu .categorias > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: #000;
    transition: width 0.3s ease;
}

.menu .categorias > li > a:hover::after {
    width: 100%;
}




/* =========================SUBMENÚ (DESKTOP)========================= */

.sub-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    padding: 20px;
    display: flex;
    gap: 40px;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;

    box-shadow: 0 10px 30px rgba(46, 35, 35, 0.1);
    z-index: 9999;
}

.categorias li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu p {
    font-weight: bold;
    margin-bottom: 10px;
}

.sub-menu li a {
    color: #000000;
    text-decoration: none;
}

.sub-menu ul li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    margin-bottom: 8px;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.sub-menu ul li a:hover {
    padding-left: 5px;
    color: #000;
}

/* =========================RESPONSIVE (MOBILE)========================= */

@media (max-width: 992px) {

    /* Mostrar hamburguesa */
    .jam-menu {
        display: block;
    }

    /* Ocultar redes */
    .redes-sociales {
        display: none;
    }

    /* Logo normal */
    .logo {
        position: static;
        transform: none;
    }

    /* Ocultar menú por defecto */
    nav.menu:not(.redes-sociales) {
        display: none;
    }

    /* Mostrar menú al hacer click */
    nav.menu:not(.redes-sociales).active {
        display: block;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 20px;
        border-top: 1px solid #e5e5e5;
        z-index: 9999;
    }

    .menu .categorias {
        flex-direction: column;
        gap: 15px;
    }

    .menu .categorias > li > a {
        font-size: 18px;
    }

    /* Submenú móvil (oculto por defecto) */
    .sub-menu {
        position: static;
        box-shadow: none;
        padding: 0;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
    }
}

/* =========================SUBMENÚ MOBILE (CLICK)========================= */

@media (max-width: 992px) {

    .sub-menu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        display: block;
    }

    .sub-menu.open {
        max-height: 600px;
    }

    .categorias > li > a::before {
        content: "▸";
        margin-right: 8px;
        transition: transform 0.3s ease;
        display: inline-block;
    }

    .categorias > li > a.active::before {
        transform: rotate(90deg);
    }
}








/* ---------------------------- */
/* =========================BANNER PRINCIPAL========================= */

/* ═══════════════════════════════
   HERO — INDEX
   ═══════════════════════════════ */
.content-w {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 92vh;
    align-items: center;
    gap: 60px;
    padding: 100px 80px 80px;
    background: #111;
    position: relative;
    overflow: hidden;
}

/* Grano sutil de textura */
.content-w::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(255,255,255,0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* ETIQUETA SOBRE EL TÍTULO */
.descripcion::before {
    content: 'Nueva colección 2026';
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #888;
    border: 1px solid #333;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
}

/* TÍTULO */
.descripcion h1 {
    font-size: 58px;
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

/* DESCRIPCIÓN */
.descripcion p {
    font-size: 17px;
    color: #888;
    margin-bottom: 36px;
    max-width: 440px;
    line-height: 1.7;
}

/* BOTONES CTA */
.descripcion .button {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
}

.descripcion .button a {
    display: inline-block;
    padding: 14px 36px;
    background: #fff;
    color: #111;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.3px;
    border-radius: 50px;
    transition: all 0.25s ease;
    border: 1.5px solid #fff;
}

.descripcion .button a:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
}

/* SEGUNDO CTA (enlace sutil) */
.descripcion .button a:last-child:not(:first-child) {
    background: transparent;
    color: #fff;
    border-color: #444;
    padding: 14px 28px;
}

.descripcion .button a:last-child:not(:first-child):hover {
    border-color: #888;
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}
/* ------------------------------- */
/* =========================SLIDER========================= */
.img_slider {
    width: 100%;
    height: 540px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
}

.img_slider ul {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: sliderPingPong 30s infinite ease-in-out;
}

.img_slider li {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

.img_slider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DOTS de navegación */
.img_slider::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 64px;
    height: 4px;
    background: rgba(255,255,255,0.25);
    border-radius: 2px;
    background-image:
        linear-gradient(#fff, #fff),
        linear-gradient(#fff, #fff),
        linear-gradient(#fff, #fff),
        linear-gradient(#fff, #fff);
    background-size: 12px 4px;
    background-position: 0 0, 17px 0, 34px 0, 51px 0;
    background-repeat: no-repeat;
}

/* =========================ANIMACIÓN IDA Y VUELTA========================= */

@keyframes sliderPingPong {

    /* Imagen 1 */
    0%   { transform: translateX(0); }
    12%  { transform: translateX(0); }

    /* Imagen 2 */
    17%  { transform: translateX(-100%); }
    29%  { transform: translateX(-100%); }

    /* Imagen 3 */
    34%  { transform: translateX(-200%); }
    46%  { transform: translateX(-200%); }

    /* Imagen 4 */
    51%  { transform: translateX(-300%); }
    63%  { transform: translateX(-300%); }

    /* Regreso */
    68%  { transform: translateX(-200%); }
    76%  { transform: translateX(-200%); }

    81%  { transform: translateX(-100%); }
    89%  { transform: translateX(-100%); }

    94%  { transform: translateX(0); }
    100% { transform: translateX(0); }
}

/* =========================RESPONSIVE========================= */

@media (max-width: 992px) {
    .content-w {
        grid-template-columns: 1fr;
        padding: 100px 28px 60px;
        gap: 40px;
        text-align: center;
    }

    .descripcion::before {
        display: block;
        text-align: center;
    }

    .descripcion h1 {
        font-size: 40px;
    }

    .descripcion p {
        margin: 0 auto 30px;
        font-size: 16px;
    }

    .descripcion .button {
        justify-content: center;
    }

    .img_slider {
        height: 340px;
        border-radius: 14px;
    }
}

@media (max-width: 480px) {
    .content-w {
        padding: 80px 18px 48px;
        gap: 32px;
    }

    .descripcion h1 {
        font-size: 32px;
        letter-spacing: -0.5px;
    }

    .descripcion p {
        font-size: 15px;
    }

    .descripcion .button a {
        padding: 13px 28px;
        font-size: 14px;
    }

    .img_slider {
        height: 260px;
        border-radius: 12px;
    }
}







/* ═══════════════════════════════
   FRANJA DE CONFIANZA
   ═══════════════════════════════ */
.trust-strip {
    background: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 24px 60px;
}

.trust-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.trust-text strong {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}

.trust-text span {
    font-size: 11px;
    color: #888;
}

@media (max-width: 768px) {
    .trust-strip { padding: 20px 20px; }
    .trust-items  { gap: 24px; flex-wrap: wrap; }
    .trust-item   { flex: 1; min-width: 130px; }
}

@media (max-width: 480px) {
    .trust-items { gap: 16px; }
    .trust-icon  { font-size: 18px; }
    .trust-text strong { font-size: 12px; }
    .trust-text span   { font-size: 10px; }
}


/* ═══════════════════════════════
   CATEGORÍAS VISUALES
   ═══════════════════════════════ */

.content-w2 {
    padding: 90px 60px;
    background: #fff;
}

.content-w2-header {
    text-align: center;
    margin-bottom: 48px;
}

.content-w2-header h2 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #111;
    margin-bottom: 8px;
}

.content-w2-header p {
    font-size: 15px;
    color: #888;
}

.categ {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* CARD BASE */
.categ > div {
    position: relative;
    height: 420px;
    overflow: hidden;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: transform 0.5s ease;
}

/* FONDOS */
.con1 { background: url("/assets/IMAGENES/mujer.png") center/110% no-repeat; }
.con2 { background: url("/assets/IMAGENES/hombre.jpg") center/110% no-repeat; }
.con3 { background: url("/assets/IMAGENES/niños.jpg") center/110% no-repeat; }

/* OVERLAY */
.categ > div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.65),
        rgba(0,0,0,0.15)
    );
    transition: background 0.4s ease;
}

/* CONTENIDO INTERNO */
.categ > div > div {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* TEXTO — siempre visible */
.categ span {
    position: relative;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1.5px;
    z-index: 2;
    transition: transform 0.35s ease;
}

/* BOTÓN — siempre visible */
.categ a {
    position: relative;
    display: inline-block;
    padding: 10px 24px;
    border: 1.5px solid rgba(255,255,255,0.7);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    border-radius: 50px;
    z-index: 2;
    backdrop-filter: blur(4px);
    background: rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    align-self: flex-start;
}

/* HOVER */
.categ > div:hover {
    transform: scale(1.03);
}

.categ > div:hover::before {
    background: linear-gradient(
        to top,
        rgba(0,0,0,0.75) 0%,
        rgba(0,0,0,0.2) 60%,
        rgba(0,0,0,0.05) 100%
    );
}

.categ > div:hover a {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.categ > div:hover span {
    transform: translateY(-3px);
}

/* PARALLAX SUAVE */
.categ > div:hover {
    background-position: center 42%;
    transition: background-position 1.4s ease, transform 0.5s ease;
}

/* =========================RESPONSIVE========================= */

@media (max-width: 992px) {

    .content-w2 {
        padding: 40px 20px;
    }

    .categ {
        grid-template-columns: repeat(3, 1fr); /* 🔥 DOS POR FILA */
        gap: 20px;
    }

    .categ > div {
        height: 260px;
    }

    .categ span {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .categ {
        grid-template-columns: 1fr;
    }
}



/* ═══════════════════════════════
   PRODUCTOS DESTACADOS
   ═══════════════════════════════ */
.productos {
    padding: 96px 60px;
    background: #f8f7f5;
}

.productos-section-header {
    text-align: center;
    margin-bottom: 52px;
}

.productos-section-header h2 {
    font-size: 34px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #111;
    margin-bottom: 8px;
}

.productos-section-header p {
    font-size: 15px;
    color: #888;
}

.productos h2 {
    text-align: center;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.productos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* ═══════════════════════════════
   CARD PRODUCTO
   ═══════════════════════════════ */
.producto {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    position: relative;
    transform: translateY(32px);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
                opacity    0.55s ease,
                box-shadow 0.3s ease;
    border: 1px solid #f0f0f0;
}

/* ANIMACIÓN SCROLL — más fluida */
.producto.active {
    transform: translateY(0);
    opacity: 1;
}

/* DELAY escalonado para las cards */
.producto:nth-child(2) { transition-delay: 0.07s; }
.producto:nth-child(3) { transition-delay: 0.14s; }
.producto:nth-child(4) { transition-delay: 0.21s; }

/* BADGE */
.badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    z-index: 3;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

.badge.nuevo  { background: #111; }
.badge.oferta { background: #c62828; }

/* IMAGEN DOBLE */
.img-box {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #f8f7f5;
}

.img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.45s ease, transform 0.6s ease;
}

.img-back {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.producto:hover .img-back  { opacity: 1; }
.producto:hover .img-front { opacity: 0; }
.producto:hover .img-front,
.producto:hover .img-back  { transform: scale(1.04); }

/* TEXTO */
.producto h3 {
    margin: 16px 14px 6px;
    font-size: 15px;
    font-weight: 600;
    color: #111;
    line-height: 1.3;
}

.precio {
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin-bottom: 16px;
}

/* ACCIONES */
.acciones {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 0 16px;
}

.btn {
    padding: 9px 18px;
    border: 1.5px solid #111;
    color: #111;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    border-radius: 50px;
    transition: all 0.22s ease;
}

.cart {
    border: none;
    background: #111;
    color: #fff;
    font-size: 14px;
    padding: 9px 16px;
    cursor: pointer;
    border-radius: 50px;
    transition: background 0.22s ease;
}

.cart:hover { background: #333; }

.producto:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.10);
}

.producto:hover .btn {
    background: #111;
    color: #fff;
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1200px) {
    .productos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .productos { padding: 50px 20px; }
    .productos-grid { grid-template-columns: repeat(2, 1fr); }
    .img-box { height: 260px; }
}

@media (max-width: 480px) {
    .productos-grid { grid-template-columns: 1fr; }
}



/* ---------------------------------------- */

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

.footer {
    background: #111;
    color: #ccc;
    padding-top: 70px;
    border-top: 1px solid #1e1e1e;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 30px 50px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

/* Redes */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    color: #fff;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.footer-social a:hover {
    transform: translateY(-4px);
}

/* Bottom */
.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #222;
    font-size: 13px;
    color: #777;
}

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

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-container {
        grid-template-columns: 1fr;
    }
}