/* ========================= */
/* RESET Y BASE             */
/* ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #E8D9CE; /* Fondo arena */
    color: #3a2a22;
}

/* ========================= */
/* HEADER                    */
/* ========================= */
.header {
    width: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    background: #f8f4f0;
    z-index: 100;
    border-bottom: 1px solid #e8e1da;
}

.header-inner {
    width: 100%;
    max-width: 1100px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */
.logo {
    display: flex;
    align-items: center;
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    letter-spacing: 6px;
    font-weight: 500;
    color: #3a2a22;
}

.logo-mark {
    font-size: 42px;
    margin-right: 12px;
    color: #c7a98c;
}

/* NAV */
.nav a {
    margin: 0 18px;
    text-decoration: none;
    color: #3a2a22;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.nav a:hover {
    opacity: .7;
    transform: translateY(-1px);
}

/* Carrito en header */
.carrito-icono {
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* ========================= */
/* CONTENIDO PRINCIPAL       */
/* ========================= */
.contenido-principal {
    margin-top: 90px; /* compensa el header fijo */
}


.slider-categorias {
    display: flex;
    gap: 35px;
    white-space: nowrap;
    animation: deslizar 22s linear infinite;
    align-items: center;
}

.banner-categorias .item {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

.banner-categorias .estrella {
    font-size: 20px;
    color: #c7c7c7;
}

@keyframes deslizar {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* ========================= */
/* CATEGORÍAS REDONDAS       */
/* ========================= */
.productos-categorias {
    width: 100%;
    padding: 40px 0 20px;
    background-color: #f1dfd3;
    margin-top: 30px;
    margin-bottom: 15px; /* ajustado para no dejar tanto espacio */
}

.productos-categorias-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.categoria-item {
    text-align: center;
    text-decoration: none;
    color: #3a2a22;
}

.categoria-item img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    transition: all .3s ease;
}

.categoria-item:hover img {
    transform: scale(1.07);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.categoria-item p {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 600;
}

/* ========================= */
/* BANNER EDITORIAL (INDEX Y CATALOGO) */
/* ========================= */
.banner-editorial {
    width: 100%;
    padding: 35px 0;
    background: linear-gradient(to right, #f2d5cd, #e8bfb4);
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 50px;
    border-top: 1px solid #e2cdbf;
    border-bottom: 1px solid #e2cdbf;
    margin: 25px 0;
    margin-top: -25px !important; /* lo subimos un poco en index */
}

.banner-editorial .linea {
    width: 70px;
    height: 2px;
    background: #3a2a22;
    border-radius: 2px;
}

.banner-editorial p {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: #3a2a22;
    font-weight: 500;
    letter-spacing: 1px;
}

/* ESPACIADO ESPECIAL PARA CATÁLOGO */
.catalogo-body .banner-editorial {
    margin-top: 60px !important;  /* baja un poco en catálogo */
    margin-bottom: 0 !important;
    padding-top: 18px !important;
    padding-bottom: 18px !important;
}

/* ========================= */
/* HERO + SLIDER (INDEX)    */
/* ========================= */
.hero-mosaic {
    margin-top: -1px;
    padding: 40px 60px;
    
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* imagen más grande, texto más estilizado */
    align-items: center;              /* centra verticalmente el texto */
    gap: 60px;

    background: #e8d9ce30;            /* fondo suave opcional */
    border-radius: 18px;              /* estilo editorial */
}


.hero-flex {
    background: linear-gradient(to right, #e8d9ce 40%, #f3e6dd);
    padding: 40px;
    border-radius: 16px;
    display: flex;
    gap: 40px;
    align-items: center;
}

/* Slider principal */
.hero-slider {
    position: relative;
    width: 55%;
    height: 750px;
    overflow: hidden;
    border-radius: 16px;
}

/* Mostrar fotos completas sin cortar */
.hero-slider .slide {
    position: absolute;
    inset: 0;
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #e8d9ce;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.hero-slider .slide.active {
    opacity: 1;
}

/* Texto a la derecha del hero */
.hero-mosaic-text {
    width: 45%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.hero-title {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
}

.btn-primary {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 32px;
    border: 2px solid #3a2a22;
    border-radius: 10px;
    color: #3a2a22;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #3a2a22;
    color: #fff;
}

/* ========================= */
/* RECIÉN LLEGADOS (INDEX)   */
/* ========================= */
.new-arrivals {
    padding: 80px 40px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 30px;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 10px;
}

.new-arrivals-grid {
    display: grid;
   grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.product-card {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.product-xl {
    grid-column: span 2; /* ocupa más espacio */
}

/* product-img de Recién Llegados (NO catálogo) */
.product-img {
    width: 100%;
    aspect-ratio: 1/1;
    background-size: contain !important;
    background-repeat: no-repeat;
    background-position: center 30%;
    border-radius: 10px;
    margin-bottom: 12px;
}

.product-price {
    font-weight: 600;
    margin-top: 5px;
}

/* ========================= */
/* HISTORIAS                 */
/* ========================= */
.stories-section {
    padding: 80px 40px;
    text-align: center;
}

.stories-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.story {
    width: 180px;
    aspect-ratio: 9/14;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 16px;
    cursor: pointer;
}

/* VISOR HISTORIAS */
.story-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
    justify-content: center;
    align-items: center;
}

.story-viewer:not(.hidden) {
    display: flex;
}

.story-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.story-modal {
    position: relative;
    background: #000;
    padding: 10px;
    border-radius: 12px;
}

.close-story,
.sound-toggle {
    position: absolute;
    top: 10px;
    background: transparent;
    color: #fff;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.close-story { right: 50px; }
.sound-toggle { right: 10px; }

/* ========================= */
/* SOBRE / CONTACTO / FOOTER */
/* ========================= */
.about-section {
    padding: 70px 40px;
    text-align: center;
    margin-top: 3px;
}

.about-section h2 {
    font-size: 36px;
    font-family: 'Playfair Display', serif;
}

.about-section p {
    margin-top: 10px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.info-section {
    text-align: center;
    max-width: 600px;
    margin: 60px auto 3px;
}

.contact-links,
.info-links {
    font-size: 16px;
    margin-top: 8px;
}

.contact-links a,
.info-links a {
    color: #3a2a22;
    font-weight: 600;
    text-decoration: none;
    margin: 0 5px;
    transition: 0.3s;
}

.contact-links a:hover,
.info-links a:hover {
    opacity: 0.6;
}

.footer {
    text-align: center;
    padding: 30px;
    opacity: 0.6;
}

/* WhatsApp flotante */
.whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    font-size: 28px;
    text-decoration: none;
    background: #25D366;
    color: #fff;
    padding: 14px;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

/* ========================= */
/* CATÁLOGO – LISTADO        */
/* ========================= */
.titulo-catalogo {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 34px;
    margin-top: 40px;
    margin-bottom: 25px;
    color: #3a2a22;
}

.catalogo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 60px;
    padding: 40px 120px;
}

/* Tarjeta del catálogo */
.card-producto {
    text-decoration: none !important;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.card-producto {
    overflow: hidden;
}

.card-producto:hover .producto-img {
    transform: scale(1.08);
}

.card-producto h3,
.card-producto p {
    text-decoration: none !important;
}

.card-producto:hover {
    text-decoration: none !important;
}


.producto-img {
    width: 100% !important;
    height: 420px !important;

    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;

    border-radius: 14px !important;
    margin: 0 auto 12px;
    display: block;

    background-color: #fff;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    transition: transform .3s ease;
}



.producto-img:hover {
    transform: scale(1.03);
}



/* DETALLES DEL PRODUCTO EN EL CATÁLOGO */
.producto-categoria {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #997f6f;
    margin-bottom: 5px;
}

.producto-nombre {
    margin-top: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #3a2a22;
}

.estrellas {
    color: #d4a373;
    font-size: 14px;
    margin: 5px 0;
}

.producto-precio {
    font-size: 17px;
    font-weight: 700;
    color: #3a2a22;
    margin-top: 5px;
}

.btn-agregar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    background: #f6e9e3; /* rosado premium */
    color: #3a2a22;      /* café suave */
    padding: 12px 28px;
    border-radius: 14px;
    text-decoration: none;

    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;

    border: 1.6px solid #d4b38a; /* dorado fino */
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.btn-agregar i {
    font-size: 15px;
    color: #d4b38a; /* icono dorado */
}

/* HOVER PREMIUM */
.btn-agregar:hover {
    background: #d4b38a;  /* dorado */
    color: #fff;          /* blanco elegante */
    border-color: #c7a171;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212,179,138,0.55);
}

.btn-agregar:hover i {
    color: #fff; /* icono blanco en hover */
}



.lista-deseos {
    margin-top: 10px;
    font-size: 14px;
    color: #3a2a22;
    cursor: pointer;
}

.lista-deseos:hover {
    opacity: 0.7;
}

/* Ajustes especiales para catálogo usando la clase en <body> */
.catalogo-body .banner-categorias {
    margin-top: 5px !important;
}

.catalogo-body .titulo-catalogo {
    margin-top: 25px !important;
}

.catalogo-body .catalogo-grid {
    margin-top: 20px !important;
}

/* ========================= */
/* CARRITO – MODAL           */
/* ========================= */
.carrito-modal {
    display: none;
    position: fixed;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 200;
}

.carrito-contenido {
    background: #fff;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 12px;
}

.carrito-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    gap: 10px;
}

.carrito-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.btn-cerrar {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 8px;
}

/* Botón Ir a pagar en modal */
.btn-pagar {
    display: block;
    margin-top: 15px;
    background: #000;
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}



/* BANNER EDITORIAL – INDEX */
.index-body .banner-editorial {
    width: 100%;
    padding: 20px 0;
    background: linear-gradient(to right, #f2d5cd, #e8bfb4);
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 50px;
    border-top: 1px solid #e2cdbf;
    border-bottom: 1px solid #e2cdbf;
    margin: 30px 0;
}

/* BANNER EDITORIAL – CATÁLOGO */
.catalogo-body .banner-editorial {
    width: 100%;
    padding: 75px 0;
    background: linear-gradient(to right, #f2d5cd, #e8bfb4);
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 40px;
    border-top: 1px solid #e2cdbf;
    border-bottom: 1px solid #e2cdbf;
    margin-top: 65px;
    margin-bottom: 15px;
}


/* ========================= */
/* BANNER CATEGORÍAS (NEGRO) */
/* ========================= */

/* BASE */
.banner-categorias {
    width: 100%;
    background:#000;
    border-bottom: 1px solid #dbc3b8;
    overflow: visible;
    position: relative;
    z-index: 5;
}

/* SLIDER */
.slider-categorias {
    display: flex;
    gap: 35px;
    white-space: nowrap;
    animation: deslizar 22s linear infinite;
    align-items: center;
}

.banner-categorias .item {
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
}

/* INDEX */
.index-body .banner-categorias {
    padding: 8px 0 !important;
    margin-top: 0px !important;
}

/* CATÁLOGO */
.catalogo-body .banner-categorias {
    padding: 14px 0 !important;
    margin-top: 35px !important;
}
/* BOTÓN AGREGAR AL CARRITO – PREMIUM (OPCIÓN 1) */
.btn-agregar {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 26px;
    font-family: 'Playfair Display', serif;
    font-size: 16px;
    font-weight: 500;
    color: #3a2a22; /* café elegante */
    border: 2px solid #d4b38a; /* dorado fino */
    background: transparent;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.video-carousel {
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    margin: 40px 0 60px;

    /* CENTRAR TODO EL CONTENIDO */
    display: flex;
    justify-content: center;
}

.video-track {
    display: flex;
    gap: 20px;

    /* Movimiento más lento */
    animation: scrollVideos 40s linear infinite;
}

.video-item {
    width: 280px;
    height: 380px;
    border-radius: 12px;
    object-fit: cover;
}

@keyframes scrollVideos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Detener movimiento al pasar el mouse */
.video-carousel:hover .video-track {
    animation-play-state: paused;
}

.titulo-seccion {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    text-align: center;
    margin: 60px auto 25px;
    color: #3a2a22;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Líneas decorativas */
.titulo-seccion::before,
.titulo-seccion::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 80px;
    height: 2px;
    background: #d1b6a3;
}

.titulo-seccion::before {
    left: calc(50% - 120px);
}

.titulo-seccion::after {
    right: calc(50% - 120px);
}

.mensaje-vacio {
    width: 100%;
    text-align: center;
    font-size: 18px;
    color: #7a6a63;
    margin-bottom: 30px;
    font-family: 'Inter', sans-serif;
}

/* Contenedor de cada producto */
.product-card {
    background: #fff;
    border-radius: 14px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
}

/* IMAGEN CUADRADA 1:1 */
.product-img {
    width: 100%;
    aspect-ratio: 1 / 1;         /* LO MÁS IMPORTANTE: cuadro perfecto */
    background-size: contain;    /* evita pixelación */
    background-repeat: no-repeat;
    background-position: center 30%;
    background-color: #ffffff;   /* fondo neutro */
    border-radius: 10px;
    margin-bottom: 12px;
}

/* Ajuste de texto */
.product-card h3 {
    font-size: 18px;
    margin: 10px 0 4px;
    font-weight: 600;
}

.product-price {
    font-weight: 600;
    color: #3a2a22;
}

a {
    text-decoration: none;
    color: inherit;
}

.hombres-body{
     background:#c7c8ca;
    color:#282828;
}

/* BANNER SECCIÓN HOMBRE */
.banner-hombre{
    background:#e8e6e3;
    padding:60px 0;
    text-align:center;
}

.banner-hombre h1{
    font-family:'Playfair Display', serif;
    font-size:38px;
    color:#3a2a22;
}

.banner-hombre p{
    color:#6b5c55;
    margin-top:5px;
}

.banner-categorias{
    background:#000;
    color:white;
    overflow:hidden;
    white-space:nowrap;
}

.slider-categorias{
    display:inline-block;
    padding:10px 0;
    animation:sliderMove 25s linear infinite;
}

.slider-categorias .item{
    margin:0 30px;
    font-size:13px;
    letter-spacing:1px;
}

.luna-icon{
    margin:0 20px;
    opacity:0.7;
}

@keyframes sliderMove{
    0%{transform:translateX(0);}
    100%{transform:translateX(-50%);}
}

.menu-container {
  position: relative;
}

.nav {
  position: absolute;
  top: 100%; /* 👈 clave */
  left: 0;

  background: white;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);

  display: none;
  flex-direction: column;
  min-width: 180px;
}

/* 👇 ESTA ES LA CLAVE */
.menu-container:hover .nav {
  display: flex;
}

/* 🔥 MEJORA DEL MENÚ */

.nav {
  top: 100%;
  left: 0;

  padding: 20px;
  min-width: 220px;
}

/* links más grandes */
.nav a {
  padding: 12px 10px;
  font-size: 15px;
  letter-spacing: 1px;
  display: block;
}

/* hover bonito */
.nav a:hover {
  background: #f3e6dd;
  border-radius: 6px;
}

/* 🔥 evita que se cierre al bajar */
.menu-container {
  position: relative;
  padding-bottom: 10px; /* 👈 zona invisible clave */
}

.menu-toggle {
  font-size: 26px; /* 👈 cambia este valor */
  cursor: pointer;
}

.logo {
  cursor: pointer;
}

.logo:hover {
  opacity: 0.7;
}

.new-arrivals {
    background: #F6E9E3;
    padding: 60px 40px;
    border-radius: 20px;
    margin: 40px 60px;
}

.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.12);
}

/* animación */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-img {
    transition: transform 0.4s ease;
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}




























