body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff8f8;
  color: #333;
}
:root {
  --accent:#F25C05;
  --font: "Poppins", sans-serif;
  --font-title: "Playfair Display", serif;
}



.icon-user {
    font-size: 2px;
    display: inline-block;
    filter: brightness(0) invert(0.6);   /* gris medio forzado */
    transition: 0.3s ease;
}

.icon-user:hover {
    filter: brightness(0) invert(1);     /* blanco forzado */
}


/* HEADER */
.site-header{
  position:absolute;
  top:18px;
  left:20px;
  right:20px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  z-index:1000;
}

.logo img{ height:100px; display:block; }


#primary_nav_wrap ul{
  list-style:none;
  display:flex;
  gap:18px;
  align-items:center;
  margin:0;
  padding:0;
}

/*  Oscurece imagen  */
#primary_nav_wrap img,
.slide {
  filter: brightness(0.6); 
  transition: filter 0.3s ease;
}

#primary_nav_wrap img:hover,
.slide:hover {
  filter: brightness(0.8); }


* Submenús */
#primary_nav_wrap ul ul li a:hover{ background:#f6f6f6; }


#primary_nav_wrap ul li{ position:relative; }

#primary_nav_wrap ul li a{
  color: var(--accent);
  text-decoration:none;
  font-weight:600;
  font-size:18px;
  padding:8px 6px;
  display:inline-block;
  transition: color .18s ease;
  font-family: var(--font-title);
}

#primary_nav_wrap ul li a::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent);
  transform-origin: center;
  transition: transform .22s ease;
}

#primary_nav_wrap ul li:hover > a::after{
  transform: translateX(-50%) scaleX(1);
}

/* Submenús */
#primary_nav_wrap ul ul{
  display:none;
  position:absolute;
  top: calc(100% + 8px);
  right:0;
  background:#fff;
  padding:6px 0;
  box-shadow:0 8px 18px rgba(0,0,0,0.12);
  border-radius:6px;
  min-width:200px;
  z-index:1100;
}

#primary_nav_wrap ul li:hover > ul{ display:block; }

#primary_nav_wrap ul ul li a{
  color:#333;
  padding:9px 16px;
  display:block;
  font-weight:500;
  font-family: var(--font);
}

#primary_nav_wrap ul ul li a:hover{ background:#f6f6f6; }

/* HERO */
.hero{
  width:100%;
  height:100vh;
  position:relative;
  overflow:hidden;
}




.encabezado-seccion {
  margin-top: 120px; /* 🔥 deja espacio debajo del menú fijo */
  text-align: center;
  background-color: #ffffff;
  padding: 40px 0;
}

.encabezado-seccion h1 {
  font-size: 2.8rem;
  color: #0a0908;
  font-weight: 700;
  margin: 0;
}

.nosotros {
  padding: 80px 10%;
  background-color: #fefefe;
}

.nosotros-contenido {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.texto {
  width: 55%;
  text-align: justify;
}

.texto h2 {
  font-size: 28px;
  color: #5a2d2d;
  margin-bottom: 15px;
}

.texto h3 {
  color: #0a0a0a;
  margin-top: 20px;
  margin-bottom: 10px;
}

.imagen {
  width: 40%;
}

.imagen img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Cajas inferiores */
.cajas {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.caja {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 25px;
  width: 32%;
}

.caja h3 {
  color: #5a2d2d;
  margin-bottom: 10px;
}

.caja p, .caja ul {
  color: #333;
  font-size: 15px;
  line-height: 1.6;
}

/* FOOTER */
.pie {
  background: #3a2418;
  color: #f1e7dd;
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 40px 20px;
  font-family: 'Poppins', sans-serif;
  margin-top: 80px;
}

.pie-logo img {
  width: 100px;
  height: auto;
}

.pie-columna {
  min-width: 200px;
  margin: 15px;
}

.pie-columna h3 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 10px;
}

.pie-columna p {
  font-size: 14px;
  color: #ffffff;
  margin: 5px 0;
}

.pie-columna a {
  text-decoration: none;
  color: #ffb347;
  font-size: 14px;
}

.pie-columna a:hover {
  text-decoration: underline;
}

.redes {
  display: flex;
  gap: 10px;
  margin-top: 5px;
}

.redes img {
  width: 25px;
  height: 25px;
  transition: transform 0.3s;
}

.redes img:hover {
  transform: scale(1.1);
}






.icon-carrito {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 24px;
    padding: 8px 12px;
    transition: all 0.3s ease;
}

.icon-carrito:hover {
    transform: scale(1.05);
}

.badge-carrito {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #F25C05, #ff7f32);
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(242, 92, 5, 0.4);
    border: 2px solid white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.badge-carrito:empty {
    display: none;
}

.icono-carrito-producto {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    z-index: 10;
}

.icono-carrito-producto:hover {
    background: #F25C05;
    color: white;
    transform: scale(1.1);
}

/* Animaciones para notificación */
@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(400px);
        opacity: 0;
    }
}