/*========================

CONFIGURACIÓN GENERAL

========================*/

*{

margin:0;

padding:0;

box-sizing:border-box;

}

body{

font-family:Arial, Helvetica, sans-serif;

background:#ffffff;

color:#222;

}

.container{

width:90%;

max-width:1400px;

margin:auto;

}

img{

width:100%;

display:block;

}

a{

text-decoration:none;

color:inherit;

}

ul{

list-style:none;

}

/*========================

HEADER

========================*/

header{

background:#fff9dd;

border-bottom:1px solid #ddd;

padding:20px 0;

position:sticky;

top:0;

z-index:999;

}

.nav-container{

display:flex;

justify-content:space-between;

align-items:center;

}

.logo{

display:flex;

align-items:center;

gap:15px;

}

.logo img{

width:60px;

}

.logo h2{

font-size:22px;

}

.logo p{

font-size:13px;

color:#777;

}

nav ul{

display:flex;

gap:40px;

}

nav a{

font-weight:600;

transition:.3s;

}

nav a:hover{

color:#888;

}

.activo{

color:#000;

}

/*========================

BOTONES DEL HEADER

========================*/

.acciones{

display:flex;

align-items:center;

gap:15px;

}

/* Botones de proyectos */

.btn-proyecto{

padding:12px 22px;

border:1px solid #ffffff;

border-radius:6px;

font-weight:600;

background:rgba(129, 130, 130, 0.453);

transition:.3s;

}

.btn-proyecto:hover{

background:#111;

color:white;

border-color:#111;

}

/* Iconos */

.iconos-header{

display:flex;

align-items:center;

gap:18px;

margin-left:10px;

}

.iconos-header a{

font-size:22px;

color:#600808;

transition:.3s;

}

.iconos-header a:hover{

color:#fdf50d;

transform:translateY(-3px);

}
/*========================

HERO

========================*/

/*========================
HERO
========================*/

.hero{

padding:90px 0;

background:linear-gradient(135deg,#41260975,#ffffff);

}

.hero-grid{

display:grid;

grid-template-columns:1fr 1fr;

align-items:center;

gap:70px;

}

.etiqueta{

display:inline-block;

padding:8px 18px;

background:#111;

color:white;

border-radius:30px;

font-size:14px;

margin-bottom:25px;

}

.hero h1{

font-size:58px;

line-height:1.2;

margin-bottom:25px;

}

.hero p{

font-size:18px;

color:#666;

line-height:1.8;

margin-bottom:35px;

}

.hero-botones{

display:flex;

gap:20px;

}

.btn{

background:#111;

color:white;

padding:15px 35px;

border-radius:6px;

transition:.3s;

}

.btn:hover{

background:#333;

}

.btn-secundario{

padding:15px 35px;

border:1px solid #111;

border-radius:6px;

transition:.3s;

}

.btn-secundario:hover{

background:#111;

color:white;

}

.hero-imagen img{

border-radius:12px;

box-shadow:0 20px 50px rgba(0,0,0,.15);

animation:flotar 4s ease-in-out infinite;

}

@keyframes flotar{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-10px);

}

100%{

transform:translateY(0);

}

}


/*========================

BENEFICIOS

========================*/

.beneficios{

padding:60px 0;

border-top:1px solid #ffffff;

border-bottom:1px solid #ffffff;

}

.beneficios-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:40px;

text-align:center;

}

.beneficio i{

font-size:40px;

margin-bottom:20px;

}

.beneficio h3{

margin-bottom:10px;

}

.beneficio p{

color:#777;

line-height:1.6;

}

/*========================

TÍTULOS

========================*/

.titulo-seccion{

text-align:center;

margin-bottom:50px;

}

.titulo-seccion h2{

font-size:32px;

text-transform:uppercase;

letter-spacing:2px;

}

/*========================

CATEGORÍAS

========================*/

.categorias{

padding:80px 0;

}

.categorias-grid{

display:grid;

grid-template-columns:repeat(5,1fr);

gap:25px;

}

.categoria-card{

border:1px solid #ffffff;

padding:35px;

text-align:center;

transition:.3s;

cursor:pointer;

background:#fff5cd;

}

.categoria-card:hover{

transform:translateY(-8px);

box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.categoria-card img{

width:70px;

margin:auto;

margin-bottom:20px;

}

.categoria-card h3{

font-size:17px;

}

/*========================

PRODUCTOS

========================*/

.productos{

padding:90px 0;

}

.productos-grid{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:30px;

}

.producto{

border:1px solid #e6e6e6;

padding:20px;

position:relative;

transition:.3s;

background:white;

}

.producto:hover{

transform:translateY(-10px);

box-shadow:0 15px 30px rgba(0,0,0,.08);

}

.producto img{

margin-bottom:20px;

}

.producto h3{

font-size:18px;

margin-bottom:10px;

}

.producto span{

font-weight:bold;

font-size:18px;

}

.favorito{

position:absolute;

right:15px;

top:15px;

border:none;

background:white;

width:40px;

height:40px;

border-radius:50%;

cursor:pointer;

box-shadow:0 5px 10px rgba(0,0,0,.15);

transition:.3s;

}

.favorito:hover{

background:#111;

color:white;

}

.boton-centro{

margin-top:50px;

text-align:center;

}

/*========================

FOOTER

========================*/

footer{

background:#111;

color:white;

padding-top:60px;

margin-top:80px;

}

.footer-grid{

display:grid;

grid-template-columns:2fr 1fr 1fr 1fr;

gap:50px;

padding-bottom:50px;

}

.footer-logo{

display:flex;

align-items:center;

gap:15px;

margin-bottom:20px;

}

.footer-logo img{

width:55px;

}

.footer-texto{

color:#bbb;

line-height:1.8;

}

.footer-col h4{

margin-bottom:20px;

font-size:18px;

}

.footer-col ul{

display:flex;

flex-direction:column;

gap:15px;

}

.footer-col a{

color:#bbb;

transition:.3s;

}

.footer-col a:hover{

color:white;

padding-left:5px;

}

.footer-col li{

color:#bbb;

}

.footer-col i{

margin-right:10px;

}

.copyright{

border-top:1px solid #333;

padding:20px;

text-align:center;

font-size:14px;

color:#999;

}

/*====================================
CABECERA COLECCIÓN
====================================*/

.cabecera-coleccion{

    padding:60px 0 35px;
    text-align:center;

}

.cabecera-coleccion h1{

    font-size:38px;
    font-weight:700;
    margin-bottom:10px;
    letter-spacing:2px;

}

.cabecera-coleccion p{

    color:#666;
    font-size:16px;
    line-height:1.7;

}

/*====================================
FILTROS
====================================*/

.filtros{

    padding-bottom:45px;

}

.barra-filtros{

    display:flex;
    justify-content:center;
    gap:25px;
    flex-wrap:wrap;

}

.barra-filtros select{

    width:250px;
    height:45px;

    border:1px solid #ddd;

    padding:0 15px;

    background:white;

    font-size:14px;

    cursor:pointer;

    transition:.3s;

}

.barra-filtros select:hover{

    border-color:#111;

}

.barra-filtros select:focus{

    outline:none;

    border-color:#111;

}

/*====================================
PRODUCTOS
====================================*/

.productos-coleccion{

    padding-bottom:60px;

}

.productos-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

/*====================================
TARJETA
====================================*/

.producto{

    position:relative;

    border:1px solid #ececec;

    background:#fff;

    transition:.35s;

}

.producto:hover{

    transform:translateY(-8px);

    box-shadow:0 12px 30px rgba(0,0,0,.10);

}

.producto img{

    width:100%;

    aspect-ratio:1/1;

    object-fit:cover;

}

.producto h3{

    font-size:17px;

    margin:15px;

    font-weight:600;

}

.producto span{

    display:block;

    margin:0 15px 20px;

    font-weight:bold;

    font-size:18px;

}

/*====================================
BOTÓN FAVORITO
====================================*/

.favorito{

    position:absolute;

    top:12px;

    right:12px;

    width:38px;

    height:38px;

    border:none;

    border-radius:50%;

    background:#fff;

    cursor:pointer;

    box-shadow:0 5px 15px rgba(0,0,0,.12);

    transition:.3s;

}

.favorito:hover{

    background:#111;

    color:#fff;

}

/*====================================
PAGINACIÓN
====================================*/

.paginacion{

    padding-bottom:70px;

}

.paginacion-contenedor{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:12px;

}

.paginacion-contenedor button{

    width:40px;

    height:40px;

    border:1px solid #ddd;

    background:white;

    cursor:pointer;

    transition:.3s;

}

.paginacion-contenedor button:hover{

    background:#111;

    color:white;

}

.paginacion-contenedor .activo{

    background:#111;

    color:white;

}

.paginacion-contenedor span{

    color:#888;

}

/*====================================
FOOTER
====================================*/

footer{

    border-top:1px solid #ececec;

    padding-top:50px;

}

.footer-grid{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:40px;

}

.footer-logo{

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:15px;

}

.footer-logo img{

    width:55px;

}

.footer-texto{

    color:#666;

    line-height:1.8;

}

.footer-col h4{

    margin-bottom:18px;

}

.footer-col ul{

    list-style:none;

}

.footer-col li{

    margin-bottom:12px;

}

.footer-col a{

    color:#555;

    transition:.3s;

}

.footer-col a:hover{

    color:#111;

}

.copyright{

    text-align:center;

    padding:35px 0;

    margin-top:45px;

    border-top:1px solid #ececec;

    color:#666;

}

.link-producto{

    text-decoration:none;

    color:inherit;

    display:block;

}

.mensaje-vacio{

    display:none;

    text-align:center;

    padding:40px;

    font-size:18px;

    color:#777;

}

.carrito-header{

    position: relative;

    display: inline-flex;

    align-items: center;

    justify-content: center;

}

.badge-carrito{

    position: absolute;

    left: -4px;      /* hacia la izquierda */
    bottom: -4px;    /* hacia abajo */

    width: 18px;
    height: 18px;

    border-radius: 50%;

    background: red;

    color: white;

    font-size: 11px;

    font-weight: bold;

    display: flex;

    justify-content: center;

    align-items: center;

    display: none;

}


/*==================================
SOBRE NOSOTROS
==================================*/

.sobre-nosotros{

    padding:80px 0;

}

.sobre-grid{

    display:grid;

    grid-template-columns:45% 55%;

    gap:60px;

    align-items:stretch;

}

.sobre-imagen img{

    width:100%;

    height:100%;

    object-fit:cover;

    border-radius:12px;

}

.sobre-texto h2{

    margin-bottom:20px;

    font-size:36px;

}

.sobre-texto p{

    line-height:1.9;

    color:#555;

}

/*==================================
HISTORIA
==================================*/

.historia{

    padding:80px 0;

    background:#fafafa;

    text-align:center;

}

.historia h2{

    margin-bottom:25px;

    font-size:34px;

}

.historia p{

    max-width:900px;

    margin:auto;

    line-height:1.9;

    color:#555;

}

/*==================================
VALORES
==================================*/

.valores{

    padding:80px 0;

}

.valores h2{

    text-align:center;

    margin-bottom:50px;

    font-size:34px;

}

.valores-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.valor{

    text-align:center;

    padding:35px 25px;

    border:1px solid #eee;

    border-radius:12px;

    transition:.3s;

}

.valor:hover{

    transform:translateY(-8px);

    box-shadow:0 10px 25px rgba(189, 25, 25, 0.08);

}

.valor i{

    font-size:45px;

    color:#c89b3c;

    margin-bottom:20px;

}

.valor h3{

    margin-bottom:15px;

}

.valor p{

    color:#666;

    line-height:1.7;

}

/*==================================
GUÍA DE TALLAS
==================================*/

.guia-tallas{

    padding:80px 0;

}

.guia-tallas h1{

    text-align:center;

    font-size:36px;

    margin-bottom:10px;

}

.subtitulo{

    text-align:center;

    color:#666;

    margin-bottom:40px;

}

/*==================================
BOTONES
==================================*/

.tabs-tallas{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-bottom:50px;

}

/*==================================
BOTONES DE CATEGORÍAS
==================================*/

.tab{

    padding:12px 25px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    background:#f5f5f5;

    color:#333;

    font-weight:600;

    transition:all .30s ease;

}

.tab:hover{

    background:#d4af37;

    color:#fff;

    transform:translateY(-3px);

}

.tab.activo{

    background:#c9a227;

    color:#fff;

    transform:scale(1.05);

    box-shadow:0 8px 20px rgba(0,0,0,.18);

}

/*==================================
CONTENIDO
==================================*/

.contenido-tallas{

    display:grid;

    grid-template-columns:320px 1fr;

    gap:50px;

    align-items:center;

}

.imagen-medidas img{

    width:100%;

    display:block;

}

/*==================================
TABLA
==================================*/

.tabla-medidas table{

    width:100%;

    border-collapse:collapse;

}

.tabla-medidas th{

    background:#111;

    color:#fff;

    padding:12px;

}

.tabla-medidas td{

    border:1px solid #ddd;

    padding:12px;

    text-align:center;

}

/*==================================
COMO MEDIR
==================================*/

.como-medir{

    margin-top:60px;

}

.como-medir h3{

    margin-bottom:20px;

}

.como-medir p{

    margin-bottom:10px;

    color:#555;

    line-height:1.8;

}

/*==================================
ANIMACIÓN GUÍA DE TALLAS
==================================*/

.animar{

    animation: aparecer .35s ease;

}

@keyframes aparecer{

    from{

        opacity:0;
        transform:translateY(15px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}

/*==================================
ANIMACIÓN DE IMÁGENES
==================================*/

.imagen-medidas img{

    width:100%;

    transition:opacity .35s ease,
               transform .35s ease;

}

.fade-out{

    opacity:0;

    transform:scale(.95);

}

.fade-in{

    opacity:1;

    transform:scale(1);

}

/*==================================
CONTACTO
==================================*/

.contacto{

    padding:80px 0 40px;
    text-align:center;

}

.contacto h1{

    font-size:42px;
    margin-bottom:10px;

}

.contacto .subtitulo{

    color:#666;
    font-size:18px;

}

/*==================================
CONTENIDO
==================================*/

.contacto-grid{

    display:grid;
    grid-template-columns:350px 1fr;
    gap:60px;
    align-items:flex-start;

}

/*==================================
INFORMACIÓN
==================================*/

.info-contacto{

    display:flex;
    flex-direction:column;
    gap:35px;

}

.item-contacto{

    display:flex;
    align-items:flex-start;
    gap:18px;

}

.item-contacto i{

    font-size:28px;
    color:#111;

}

.item-contacto h4{

    margin-bottom:8px;
    font-size:18px;

}

.item-contacto p{

    color:#555;
    line-height:1.6;

}

/*==================================
FORMULARIO
==================================*/

.formulario-contacto{

    display:flex;
    flex-direction:column;
    gap:18px;

}

.formulario-contacto input,
.formulario-contacto textarea{

    width:100%;
    padding:15px;
    border:1px solid #ddd;
    outline:none;
    font-size:15px;

}

.formulario-contacto textarea{

    min-height:170px;
    resize:none;

}

.formulario-contacto input:focus,
.formulario-contacto textarea:focus{

    border-color:#111;

}

.formulario-contacto button{

    background:#111;
    color:#fff;
    border:none;
    padding:16px;
    cursor:pointer;
    transition:.3s;

}

.formulario-contacto button:hover{

    background:#333;

}

/*==================================
MAPA
==================================*/

.mapa-contacto{

    margin:70px 0;

}

.mapa-contacto iframe{

    width:100%;
    height:420px;
    border:none;

}