*{
    box-sizing:border-box;
}

body{
    margin:0;
    padding-top:75px;
    background:#F7F4F1;
}

html{
    margin:0;
    padding:0;
}

.barra-superior{

    height:75px;
    background:#6B1425;

}
.barra-superior{

width:100%;
height:75px;
background:#6B1425;

display:flex;
align-items:center;
justify-content:center;

position:fixed;

top:0;
left:0;

z-index:5000;

}


.nombre-marca{

font-family:'Cormorant Garamond', serif;
font-size:32px;
letter-spacing:5px;
color:#FFF8EE;

}


.sub-marca{

font-family:'League Spartan', sans-serif;
font-size:12px;
letter-spacing:5px;
color:#FFF8EE;
text-align:center;

}

.menu-icono{

position:absolute;
left:20px;

background:transparent;
border:none;

color:#FFF8EE;

font-size:24px;

}
.acciones{

position:absolute;
right:20px;

display:flex;
align-items:center;
gap:12px;

}


.buscador-icono,
.carrito-icono{

background:transparent;
border:none;
padding:0;

display:flex;
align-items:center;
justify-content:center;

color:#FFF8EE;

}


.buscador-icono svg{

width:22px;
height:22px;

stroke:#FFF8EE;
fill:none;
stroke-width:2;

}


.carrito-icono svg{

width:26px;
height:26px;

stroke:#FFF8EE;
fill:none;
stroke-width:1.8;

}
.hero{

width:100%;
height:auto;
display:block;
overflow:hidden;

}


.hero img{

width:100%;
height:auto;
display:block;
object-fit:cover;

}
.tarjeta-perfume{

background:#F8F4EE;
border:1px solid #6B1425;
border-radius:18px;
padding:8px;

}
.imagen-perfume{

height:150px;

display:flex;
justify-content:center;
align-items:center;

}


.imagen-perfume img{

height:150px;
width:auto;

object-fit:contain;

}

.marca{

font-family:'League Spartan',sans-serif;
font-size:8px;
letter-spacing:2px;
color:#6B1425;

}


.fragancia{

font-family:'Cormorant Garamond',serif;
font-size:17px;
font-weight:600;
color:#6B1425;
margin-top:5px;

}


.tipo{

font-family:'League Spartan',sans-serif;
font-size:10px;
color:#6B1425;
margin-top:8px;

}


.detalle h3{

font-family:'League Spartan',sans-serif;
font-size:11px;
letter-spacing:1.5px;
color:#6B1425;
margin-bottom:6px;
margin-top:18px;

}


.detalle p{

font-family:'League Spartan',sans-serif;
font-size:14px;
line-height:1.5;
color:#555;

}
.productos{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:12px;

padding:12px;

align-items:start;


}
.informacion-perfume{
padding:0 5px;
}
.botones{

display:flex;

gap:10px;

}


.btn-whatsapp,
.btn-carrito{

width:45px;

height:45px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

padding:0;

}


.btn-whatsapp{

width:34px;
height:34px;

border-radius:50%;

background:#6B1425;
color:#FFF8EE;

display:flex;
align-items:center;
justify-content:center;

font-size:0;

}


.btn-whatsapp svg{

width:24px;

height:24px;

fill:#FFF8EE;

}


.btn-carrito{

width:34px;
height:34px;

border-radius:50%;

background:#F8F4EE;

border:1px solid #6B1425;

}


.btn-carrito svg{

width:24px;

height:24px;

stroke:#6B1425;

fill:none;

stroke-width:1.8;

}
.parte-inferior{

margin-top:12px;

display:flex;
align-items:center;
justify-content:space-between;

}

.informacion-extra{

max-height:0;
overflow:hidden;
transition:max-height .4s ease;

}

.tarjeta-perfume.activa .informacion-extra{

max-height:300px;
opacity:1;


}
.informacion-extra{

max-height:0;
overflow:hidden;
transition:max-height .4s ease;

}


.tarjeta-perfume.activa .informacion-extra{

max-height:400px;

}
.informacion-extra{

margin-top:15px;

}


.informacion-extra .detalle{

margin-bottom:14px;

}


.informacion-extra strong{

font-family:'League Spartan',sans-serif;

font-size:9px;

letter-spacing:2px;

color:#6B1425;

display:block;

margin-bottom:5px;

}


.informacion-extra p{

font-family:'League Spartan',sans-serif;

font-size:11px;

line-height:1.4;

color:#555;

margin:0;

}
.icono-whatsapp{

width:22px;

height:22px;

display:block;

fill:#FFF8EE;

}

.menu-lateral{

position:fixed;

top:0;

left:-100%;

width:75%;

height:100vh;

background:#F8F4EE;

z-index:1000;

padding:30px;

transition:.4s ease;

box-shadow:10px 0 30px rgba(0,0,0,.15);

}

.carrito-lateral{

position:fixed;
top:0;
right:-100%;
width:360px;
height:100vh;
background:#F8F4EE;
z-index:1000;
padding:25px;
transition:0.4s ease;
box-shadow:-5px 0 20px rgba(0,0,0,0.15);
overflow:hidden;
}


.carrito-lateral.activo{

right:0;

}


.cerrar-carrito{

position:absolute;
top:15px;
right:20px;
font-size:30px;
background:none;
border:none;
cursor:pointer;
color:#6B1425;

}


.carrito-lateral h2{

font-family:'Cormorant Garamond';
font-size:32px;
color:#6B1425;
text-align:center;
margin-bottom:30px;

}


.producto-carrito{

background:white;
border-radius:15px;
padding:15px;
margin-bottom:15px;
border:1px solid #ead8d2;

}


.producto-carrito h3{

font-family:'League Spartan';
font-size:15px;
color:#6B1425;

}


.cantidad{

display:flex;
align-items:center;
gap:10px;
margin-top:10px;

}


.cantidad button{

width:25px;
height:25px;
border-radius:50%;
border:1px solid #6B1425;
background:#F8F4EE;
color:#6B1425;

}


.total-carrito{

margin-top:25px;
font-family:'Cormorant Garamond';
font-size:28px;
font-weight:600;
color:#6B1425;
text-align:right;

}



.menu-lateral.activo{

left:0;

}



.cerrar-menu{

position:absolute;

right:20px;

top:15px;

background:none;

border:none;

font-size:32px;

color:#6B1425;

}



.menu-lateral h2{

font-family:'Cormorant Garamond',serif;

font-size:32px;

letter-spacing:4px;

color:#6B1425;

margin-top:50px;

}



.menu-lateral ul{

list-style:none;

padding:0;

margin-top:40px;

}



.menu-lateral li{

font-family:'League Spartan',sans-serif;

font-size:16px;

letter-spacing:2px;

color:#6B1425;

padding:18px 0;

border-bottom:1px solid rgba(107,20,37,.2);

display:flex;

justify-content:space-between;

align-items:center;

}

.submenu{

list-style:none;

padding:0;

margin:0;

max-height:0;

overflow:hidden;

transition:max-height .4s ease;

}



.submenu li{

font-size:13px;

padding:12px 20px;

border:none;

color:#555;

}



.submenu.activo{

max-height:250px;

}



.flecha{

transition:.3s ease;

}



.flecha.activa{

transform:rotate(180deg);

}

.precio-oferta{

font-family:'League Spartan',sans-serif;

font-size:18px;

font-weight:600;

color:#6B1425;

}


.precio-anterior{

font-family:'League Spartan',sans-serif;

font-size:11px;

color:#888;

text-decoration:line-through;

margin-top:3px;

}


.precio-normal{

font-family:'League Spartan',sans-serif;

font-size:18px;

font-weight:600;

color:#6B1425;

}

.buscador-container{

position:absolute;

top:0;
left:0;

width:100%;
height:75px;

background:#6B1425;

display:flex;
align-items:center;

overflow:hidden;

transform:translateX(-100%);

transition:transform .4s ease;

z-index:2000;

}


.buscador-container.activo{

transform:translateX(0);

}


.buscador-box{

width:100%;

height:100%;

display:flex;

align-items:center;

gap:10px;

padding:0 20px;

background:#F8F4EE;

border:2px solid #6B1425;

border-radius:0;

}


.buscador-box svg{

width:22px;

height:22px;

stroke:#6B1425;

fill:none;

stroke-width:2;

flex-shrink:0;

}


.buscador-box input{

flex:1;

border:none;

outline:none;

background:transparent;

font-family:'League Spartan',sans-serif;

font-size:14px;

color:#6B1425;

}


.buscador-box input::placeholder{

color:#6B1425;

opacity:.7;

}


.buscador-box button{

background:none;

border:none;

font-size:30px;

color:#6B1425;

font-family:'Cormorant Garamond',serif;

}
.hero{

transition:
opacity .4s ease,
transform .4s ease,
max-height .5s ease;

max-height:1000px;

}


.hero.oculto{

opacity:0;

transform:translateY(-20px);

max-height:0;

overflow:hidden;

margin:0;

}

.contador-resultados{

font-family:'League Spartan',sans-serif;

font-size:12px;

letter-spacing:2px;

color:#6B1425;

text-align:center;

padding:15px 0;

display:none;

}

.sin-resultados{

display:none;

text-align:center;

padding:35px 25px;

font-family:'League Spartan',sans-serif;

color:#6B1425;

}


.sin-resultados h3{

font-family:'Cormorant Garamond',serif;

font-size:26px;

letter-spacing:1px;

margin:0 0 12px;

}


.sin-resultados p{

font-size:12px;

letter-spacing:1.5px;

line-height:1.8;

color:#555;

}


.sin-resultados span{

display:inline-block;

margin-top:15px;

font-size:11px;

letter-spacing:2px;

border:1px solid #6B1425;

padding:8px 15px;

border-radius:20px;

color:#6B1425;

}

.carrito-lateral{

position:fixed;

top:0;

right:-420px;

width:380px;

height:100vh;

background:#F8F4EE;

z-index:2000;

padding:30px;

display:flex;

flex-direction:column;

box-shadow:-5px 0 20px rgba(0,0,0,.15);

transition:.4s ease;

color:#6B1425;

}


.carrito-lateral.activo{

right:0;

}


.cerrar-carrito{

position:absolute;

top:20px;

right:20px;

border:none;

background:none;

font-size:30px;

color:#6B1425;

cursor:pointer;

}


.carrito-lateral h2{

font-family:'Cormorant Garamond';

font-size:32px;

text-align:center;

margin-top:30px;

}


.total-carrito{

border-top:1px solid #6B1425;

margin-top:30px;

padding-top:20px;

font-family:'Cormorant Garamond';

font-size:28px;

font-weight:600;

}


.acciones-carrito{

display:flex;

flex-direction:column;

gap:12px;

margin-top:30px;

}


.btn-dudas,
.btn-finalizar{

height:45px;

border-radius:25px;

font-family:'League Spartan';

font-size:13px;

cursor:pointer;

}


.btn-dudas{

background:#6B1425;

color:#F8F4EE;

border:none;

}


.btn-finalizar{

background:#F8F4EE;

color:#6B1425;

border:1px solid #6B1425;

}


.btn-dudas svg{

width:18px;

height:18px;

fill:#F8F4EE;

vertical-align:middle;

margin-right:8px;

}

.producto-carrito{

padding:18px 0;

}


.producto-carrito h3{

font-family:"Cormorant Garamond";
font-size:22px;
color:#6B1425;
margin-bottom:12px;

}


.cantidad{

display:flex;
justify-content:space-between;
align-items:center;
font-family:"League Spartan";
font-size:13px;

}


.controles-cantidad{

display:flex;
align-items:center;
gap:12px;

}


.controles-cantidad button{

width:28px;
height:28px;
border-radius:50%;
border:1px solid #6B1425;
background:white;
color:#6B1425;
font-size:18px;
cursor:pointer;

}


.controles-cantidad strong{

font-size:16px;

}


.subtotal{

font-family:"Cormorant Garamond";
font-size:20px;
font-weight:600;
color:#6B1425;
margin-top:12px;

}

.productos-carrito{

overflow-y:auto;

padding-right:10px;

margin-bottom:15px;

max-height:320px;

}
.acciones-carrito{

flex-shrink:0;

}

.modal-compra{

display:none;

width:100%;
height:100vh;

background:#F8F4EE;

position:absolute;

top:0;
left:0;

z-index:3000;

overflow:hidden;

}

.modal-compra.activo{

display:flex;

}



.formulario-compra{

width:100%;

height:100vh;

background:#F8F4EE;

padding:25px;

overflow-y:auto;

position:relative;

}


/* cerrar */

.cerrar-formulario{

position:absolute;

right:20px;
top:15px;

background:none;

border:none;

font-size:30px;

color:#6B1425;

cursor:pointer;

}



/* titulo */


.formulario-compra h2{

font-family:'Cormorant Garamond',serif;

font-size:38px;

font-weight:600;

text-align:center;

letter-spacing:2px;

color:#6B1425;

margin:10px 0 25px;

}



/* resumen */


.resumen-formulario{

background:white;

border-radius:18px;

padding:18px;

margin-bottom:25px;

border:1px solid #ead8d2;

font-family:'League Spartan',sans-serif;

font-size:13px;

color:#6B1425;

line-height:1.8;

}



.resumen-producto{

display:flex;

justify-content:space-between;

border-bottom:1px solid #eee;

padding:8px 0;

}



.resumen-producto:last-child{

border:none;

}



/* etiquetas */


.formulario-compra label{

font-family:'League Spartan',sans-serif;

font-size:11px;

letter-spacing:1.5px;

color:#6B1425;

display:block;

margin:18px 0 8px;

}



/* inputs */


.formulario-compra input,
.formulario-compra select,
.formulario-compra textarea{


width:100%;

padding:14px;

border-radius:10px;

border:1px solid #d9bbb3;

background:#FFF8EE;

outline:none;

font-family:'League Spartan',sans-serif;

font-size:13px;

color:#6B1425;


}



.formulario-compra textarea{

height:90px;

resize:none;

}



/* boton final */


.btn-enviar-pedido{

width:100%;

height:50px;

margin-top:25px;

border-radius:12px;

border:none;

background:#6B1425;

color:#FFF8EE;

font-family:'League Spartan',sans-serif;

font-size:13px;

letter-spacing:1px;

cursor:pointer;

}

#datosDelivery,
#datosNacional{

display:none;

}

/* =========================
   NUEVO DISEÑO CARRITO
========================= */


.carrito-lateral{

background:#F8F4EE;

color:#6B1425;

padding:30px;

}



.carrito-lateral h2{

font-family:'Cormorant Garamond',serif;

font-size:38px;

letter-spacing:3px;

color:#6B1425;

text-align:center;

margin-top:35px;

margin-bottom:10px;

}



.contador-carrito-texto{

font-family:'League Spartan',sans-serif;

font-size:11px;

letter-spacing:2px;

text-align:center;

color:#6B1425;

margin-bottom:30px;

}



/* CARRITO VACIO */


.carrito-vacio{

display:flex;

flex-direction:column;

align-items:center;

justify-content:center;

height:45%;

text-align:center;

}



.carrito-vacio p{

font-family:'Cormorant Garamond',serif;

font-size:30px;

line-height:1.2;

color:#6B1425;

}



.btn-seguir-comprando{

margin-top:20px;

height:45px;

padding:0 35px;

background:#6B1425;

border:none;

border-radius:12px;

color:#FFF8EE;

font-family:'League Spartan',sans-serif;

font-size:12px;

letter-spacing:1px;

cursor:pointer;

}



/* PRODUCTOS */


.productos-carrito{

overflow-y:auto;

}



.producto-carrito{


display:flex;

align-items:center;

gap:15px;

padding:15px 0;

border-bottom:1px solid rgba(107,20,37,.2);

background:transparent;

}



.producto-carrito h3{


font-family:'Cormorant Garamond',serif;

font-size:22px;

font-weight:600;

color:#6B1425;

margin:0 0 5px;


}

.producto-carrito img{

width:90px;
height:110px;

object-fit:contain;

flex-shrink:0;

}

.producto-carrito > div{

flex:1;

}



.cantidad{

margin-top:8px;

}



.controles-cantidad button{

width:25px;
height:25px;

border:none;
background:transparent;

color:#6B1425;

font-family:'Cormorant Garamond',serif;
font-size:28px;

display:flex;
align-items:center;
justify-content:center;

cursor:pointer;

padding:0;

}



.controles-cantidad strong{

font-family:'League Spartan',sans-serif;

color:#6B1425;

}



.subtotal{

font-family:'League Spartan',sans-serif;

font-size:14px;

color:#6B1425;

margin:5px 0;

}



/* TOTAL */


.resumen-carrito{

border-top:none;

margin-top:15px;

padding-top:15px;

}



.total-carrito{

font-family:'Cormorant Garamond',serif;

font-size:32px;

color:#6B1425;

text-align:right;

}



/* BOTONES */


.acciones-carrito button{

height:45px;

border-radius:12px;

font-family:'League Spartan',sans-serif;

font-size:12px;

letter-spacing:1px;

cursor:pointer;

}



.btn-dudas{

background:#6B1425;

color:#FFF8EE;

border:none;

}



.btn-finalizar{

background:#F8F4EE;

color:#6B1425;

border:1px solid #6B1425;

}

/* MEJORA VISUAL PRODUCTO CARRITO */

.producto-carrito{

background:transparent;

border-bottom:none;

border-radius:0;

padding:12px 0;

}

.info-producto-carrito{

display:flex;

flex-direction:column;

justify-content:center;

}

.marca-carrito{

font-family:'League Spartan',sans-serif;

font-size:9px;

letter-spacing:2px;

color:#6B1425;

margin-bottom:3px;

}

.producto-carrito h3{

font-family:'Cormorant Garamond',serif;

font-size:21px;

font-weight:600;

margin:0;

color:#6B1425;

}

.precio-carrito{

font-family:'League Spartan',sans-serif;

font-size:12px;

letter-spacing:1px;

color:#6B1425;

margin-top:5px;

}

/* MODAL ELIMINAR PRODUCTO */


.modal-eliminar{

position:fixed;

top:0;
left:0;

width:100%;
height:100vh;

background:rgba(107,20,37,.35);

display:none;

align-items:center;
justify-content:center;

z-index:4000;

padding:20px;

}



.modal-eliminar.activo{

display:flex;

}



.caja-eliminar{

width:100%;

max-width:350px;

background:#F8F4EE;

border-radius:25px;

padding:30px 25px;

text-align:center;

box-shadow:0 20px 50px rgba(0,0,0,.2);

animation:aparecerEliminar .3s ease;

}



.caja-eliminar h2{

font-family:'Cormorant Garamond',serif;

font-size:32px;

color:#6B1425;

margin:0 0 15px;

}



.caja-eliminar p{

font-family:'League Spartan',sans-serif;

font-size:12px;

line-height:1.6;

color:#555;

}



.botones-eliminar{

display:flex;

gap:12px;

margin-top:25px;

}



.botones-eliminar button{

flex:1;

height:45px;

border-radius:25px;

font-family:'League Spartan',sans-serif;

font-size:12px;

cursor:pointer;

}



.cancelar-eliminar{

background:#F8F4EE;

border:1px solid #6B1425;

color:#6B1425;

}



.confirmar-eliminar{

background:#6B1425;

border:none;

color:#FFF8EE;

}



@keyframes aparecerEliminar{

from{

transform:translateY(20px);

opacity:0;

}

to{

transform:translateY(0);

opacity:1;

}

}

/* CONTADOR ICONO CARRITO */


.icono-carrito-contenedor{

position:relative;

display:flex;

align-items:center;

justify-content:center;

}



.contador-carrito{

position:absolute;

top:-8px;

right:-10px;

min-width:18px;

height:18px;

padding:0 5px;

border-radius:20px;

background:#FFF8EE;

color:#6B1425;

font-family:'League Spartan',sans-serif;

font-size:10px;

display:flex;

align-items:center;

justify-content:center;

font-weight:600;

}


.contador-carrito.oculto{

display:none;

}

/* AJUSTE FINAL CARRITO */

.carrito-lateral{
    justify-content:flex-start;
}


.productos-carrito{
    flex:0 0 auto;
    height:auto;
    max-height:300px;
    overflow-y:auto;
    margin-bottom:0;
}


.resumen-carrito{
    margin-top:5px;
    padding-top:10px;
}


.total-carrito{
    margin-top:0;
}


.acciones-carrito{
    margin-top:15px;
}

/* BLOQUEAR MOVIMIENTO FORMULARIO */

.modal-compra{
    position:fixed;
    inset:0;
    overflow:hidden;
}


.formulario-compra{
    height:100vh;
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:auto;
}

/* AJUSTE FINAL TARJETAS EN MOVIL */

body{
    overflow-x:hidden;
}


.productos{
    width:100%;
    max-width:100%;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    align-items:stretch;
}


.tarjeta-perfume{
    width:100%;
    min-width:0;
    max-width:100%;
    height:100%;
}


.informacion-perfume{
    min-width:0;
}


.fragancia{
    min-width:0;
    overflow-wrap:break-word;
}